Don't run this process on Windows. Otherwise, you'll run into issues like #86.
- Run
npm version [patch/minor/major]to bump the version number inpackage.json. - Update
CHANGELOG.mdby creating a section for the new version, moving all unreleased changes to that section, and adding a link for the new section at the bottom. Amend these changes into the commit created bynpm version. - Run
git pushto pushmasterto GitHub andgit push --tagsto push the Git tag created bynpm version. - Run
yarnto install dependencies. This is necessary to runnpm publish. - Run
npm loginto log into NPM andnpm publishto publish the new version to NPM.