0.3.0 • Published 2 years ago
@nyfulcrum/parser-utils v0.3.0
Symple store parser utils
Shared utilities for lambda functions
Environment setup
- Install Node.js
>=v16.13.0
. - Install yarn with
npm install -g yarn
. - To install JS dependencies, open a terminal and
cd <to project root>
, then runyarn
.
How to build locally?
If you followed the environment setup, you can just run the following:
yarn build
Then check the dist/
folder for the build output.
Contribution Guide
- Install ESLint Extension for VSCode to see lint errors real-time, any missed lint errors will result in a failed commit.
- Install CSPell Checker for VSCode to see the spelling errors real-time, add custom words to
cspell.json
or hover to the spelling error and then selectquick fix > add to cspell.json
. - Follow Conventional Commits, for easier code review and it is used to auto-bump the version on the CI/CD pipeline.
- Avoid pushing commits having too many files changed just to save time.
- A single commit should only describe one change, it can be multiple files as long as they are related.
For example:
// moduleA.ts - export const something = () => 'something'; + export const saySomething = () => 'something'; // moduleB.ts - import {something} from 'src/moduleA'; - something(); + import {saySomething} from 'src/moduleA'; + saySomething();
Then you can commit this with:
refactor: rename to saySomething