- Run:
npm run build
. - Be sure all tests pass:
npm t
. - Ensure 100% code coverage and write new tests if necessary:
npm run coverage
. - Add your changes to
CHANGELOG.md
.
If you are a maintainer of Teddy, please follow the following release procedure:
- Merge all desired pull requests into master.
- Bump
package.json
to a new version and runnpm i
to generate a newpackage-lock.json
. - Run:
npm run build
. - Be sure all tests pass:
npm t
. - Alter CHANGELOG "Next version" section and stamp it with the new version.
- Paste contents of CHANGELOG into new version commit.
- Open and merge a pull request with those changes.
- Tag the merge commit as the a new release version number.
- Publish commit to npm.