How to Prerelease an npm Package – Cloud Four
22-Nov-2024 60
Recently, we overhauled our shared ESLint config, and I needed to release an alpha version. Thankfully, it turns out to be straightforward, once you know how to do it.Normally, when we bump the version number of an npm package, we use the npm version command. This automatically increases the version number in both package.json and package-lock.json, as well as making a git commit and git tag with the new version. It follows the Semantic Versioning (SemVer) standard of MAJOR.MINOR.PATCH.
How to Prerelease an npm Package – Cloud Four #js #javascript #Prerelease #Package #Cloud #cloud https://javascript.ba/link/how-to-prerelease-an-npm-package-cloud-four