Thank you for considering contributing to this library! Below you can find the instructions on the development process, as well as testing and publishing guidelines. Don't hesitate to reach out to the library maintainers in the case of questions.
$ git checkout -b <FEATURE>
$ git add .
$ git commit -m 'Adds contribution guidelines'
$ git push -u origin <FEATURE>
Ensure that your feature branch is up-to-date with the latest main
before assigning it for code review:
$ git checkout master
$ git pull --rebase
$ git checkout <FEATURE>
$ git rebase master
Once your changes are ready, open a Pull request and assign one of the library maintainers as a reviewer. We will go through your changes and ensure they land in the next release.
$ yarn start
$ yarn test
$ yarn test test/add.test.ts
Follow this instructions to publish the library:
- Log in with your NPM account (verify your current user with
npm whoami
). - Run
yarn publish
. - Set the next version of the library.
- Wait for the build to succeed.
- Push the release commit and tag with
git push --follow-tags
.