This guide is for repository maintainers.
- Bump the version. Search the current version number in the code to know where to change it.
- Build and test the project.
- See what will get into the NPM package, make sure it contains the distribution files and no excess files.
To see, run
yarn pack
. An archive will appear nearby. Open it with any archive browser. - Run
# Add '--tag beta' (without the quotes) if you release a beta version # Add '--tag dev' if you release a development version (which is expected to get new features) yarn publish --access public
- Push the changes to the repository, and a version tag like
v1.3.4
to the commit. - Describe the version changes in the releases section.