thegreenwebfoundation / co2.js

An npm module for accessing the green web API, and estimating the carbon emissions from using digital services
Other
389 stars 49 forks source link

Document release process better for pushing changes to NPM #116

Open mrchrisadams opened 1 year ago

mrchrisadams commented 1 year ago

Right now, we use the tool np to automate some of the steps for publishing code to npm.

I don't think I fully understand how the version numbers are updated in the source code compared to on npm, and it has lead to a few confused releases of new code to npm, like with a recent shortlived push of what would have been a patch release taking us to 0.11.1 causing a deploy of 0.10.5.

This issue is to document our release process better, and if necessary check with folks who deploy npm packages more frequently than us using np, so we have a predictable and drama-free way to release code.

Stuff to cover: