Steps for releasing:
- Review open issues and PRs to see if any can easily be fixed, closed, or merged.
- Bump copyright year in
README.md, if necessary. - Review
CHANGELOG.mdfor completeness and correctness. Update its release date. - Set the new version in
package.json. - Create a release PR containing the updates relating to any of the steps above.
- Ensure that the release PR is merged into
main. - With
mainchecked out, runnpm publish. This will generate the docs, deploy the docs, and publish the package to NPM. - Verify the release on NPM.
- Tag the release, e.g.
git tag -a v1.2.3 -m v1.2.3 - Push the tag:
git push --tags - Create the release on GitHub. You can use the web interface.