Updating your published package version number | npm Docs

When you make significant changes to a published package, we recommend updating the version number to communicate the extent of the changes to others who rely on your code.

Note: If you have linked a git repository to a package, updating the package version number will also add a tag with the updated release number to the linked git repository.

  1. To change the version number in package.json, on the command line, in the package root directory, run the following command, replacing <update_type> with one of the semantic versioning release types (patch, major, or minor):

    npm version <update_type>
  2. Run npm publish.

  3. Go to your package page (https://npmjs.com/package/<package>) to check that the package version has been updated.

For more information on npm version, see the CLI documentation.

Edit this page on GitHub
2 contributorslukekarrysethomson
Last edited by lukekarrys on October 23, 2023

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.