- We use the active NodeJS LTS. If you need to work with multiple versions of Node, you might consider using nvm.
- This repository uses yarn to manage node dependencies. Please install yarn globally using
npm install --global yarn. - Tests are executed on the latest NodeJS as well as all active and maintained NodeJS LTS versions.
You would only do this once after you cloned the repository.
- Clone this repository from git.
cdintodev-scripts.- We develop using feature branches off
mainand release from themainbranch. At this point, it should be set tomainby default. If not, rungit checkout -t origin/main. yarnto bring in all the top-level dependencies and bootstrap.- Open the project in your editor of choice.
- We enforce commit message format. We recommend using commitizen by installing it with
yarn global add commitizenthen commit usinggit czwhich will prompt you questions to format the commit message. - Before commit and push, husky will run several hooks to ensure the message and that everything lints and compiles properly.
These commands assume that they are executed from the top-level directory.
This runs yarn compile on each of the package in packages.
This run yarn clean on each of the package in packages. Running yarn clean-all will also clean up the node_module directories.
This runs yarn test on each of the packages.
This runs yarn lint on each of the packages.