Contributions are welcome.
yarn install
yarn setup
— setup precommit hook- Check for type errors:
yarn tsc
- Run Rollup:
yarn build
- Run tests:
yarn test
- Run ESLint:
yarn lint-all
- Make sure that the CI workflow succeeded.
- Increment version in
package.json
. - (If production release) Add a git tag in the format
v1.0.0
. - Commit and push. Remember to push tags as well with
git push --tags
. yarn npm publish
oryarn npm publish --tag next
. Theprepack
script will automatically do a clean and build.- (If production release) Create a new release in GitHub.
You can build the API documentation by running yarn typedoc
.
There are some test projects that use real-cancellable-promise
in the real-cancellable-promise-test-projects repository.