Publishing a new version can be done using the following checklist:
- Set the version (via
npm version minorornpm version majorornpm version patch) - For most regular releases, this will be
npm version minor. - By default, npm publishes scoped modules as private. To make them public, be sure to add the
accessflag. The whole command is:npm run publish-please --access public - Push the tag to GitHub (
git push --tags) - Edit the release on Github to include a description of the changes and publish
- Bump the version to the next preminor:
npm --no-git-tag-version version preminor. This will bump the version inpackage.jsonandpackage-lock.jsonto the next minor and add a-0to it (ex:0.1.0 => 0.2.0-0) - Create a new branch, commit your changes and push them (
git checkout -b [name_of_your_new_branch]+git add -u+git commit+git push origin [name_of_your_new_branch]) - Create a new PR once your branch is pushed