Skip to content

Creating a new version

Ted edited this page Mar 15, 2021 · 1 revision

1. Compile a new version.

Run yarn build.

This command will remove the old files in the dist/ folder and have babel compile a new version.


2. Increment (i.e. bump) the version in package.json.

Ex: 0.96.4 to 0.96.5


3. Create a PR and make sure tests pass.

Conversely you can have the new dist/ files be a part of your PR changes that you made in src/, so you don't have to create an extra PR.


4. Ensure you're added to the npmjs organization.

If you're not added, create an account at https://www.npmjs.com/

Then have an engineer add you to the group.


5. Publish a new version.

Run yarn publish.

When prompted, make sure you enter the correct version number.

You'll be prompted to login with your npmjs credentials.


That should be it!

Please update this wiki if there are any discrepancies.

Clone this wiki locally