Install the dependencies.
$ npm installBuild the typescript and package it for distribution.
$ npm run build && npm run packRun the tests ✔️
$ npm testRun the tests and display only the first failing tests ✔️
$ npm run test:only-errorsRun the tests with the watch mode ✔️
$ npm run test:watchRun the linter and fix (almost) every issue for you ✔️
$ npm run lint:all:fixBuild, lint, package and test everything.
$ npm run allIMPORTANT: Be sure to commit the result of:
$ npm run packOtherwise PR checks will fail.
Based on standard-version.
You can run npm run release:dry-run to create a dry-run, or you can directly run npm run release to create a new local release.
It will run prerelease beforehand to build and pack everything.
If the prerelease succeeded, a bump of version will happen based on the unreleased commits.
It will:
- Update the package.json version field
- Update the package-lock.json version field
- Update the CHANGELOG.md to include the release notes of the new version
- Create a local tag
- Create a commit
If everything generated seems ok for you, you can push your tag by running git push --follow-tags origin {your-branch-name}.