yarn install
Build all packages in the correct order:
yarn build
Run all tests
yarn test
To check that the format is correct is the whole codebase
yarn format:check
To auto fix all formatting issues
yarn format:fix
All of those commands depends on yarn. So you need to be logged into NPM with yarn
yarn npm login
To deploy a specific version
yarn deploy -v $VERSION
# Example: yarn deploy -v 0.2.0-beta.3
And if you want to add an NPM tag (like next
)
yarn deploy -v $VERSION --tag $TAG
# Example: yarn deploy -v 0.2.0-beta.3 --tag next
Before opening a PR, we should need to open an issue so that you can get a taskId
(otherwise you can try to guess the next PR id).
All changes are made in a specific branch. When you are done with your changes you can create a pull request.
Each pushed commit will trigger a Github Action that will run tests. All tests has to pass before it is possible to merge a pull request.
task/{taskId}-{taskDescription}
In order to determine which version type a package should be released with and to be able to generate release notes, commits has to follow a certain format.
#{taskId}@{versionType}: {description}
You can pick between:
dev
patch
minor
major