Movatterモバイル変換


[0]ホーム

URL:


Skip to searchSkip to content

Site navigation

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 inpackage.json, on the command line, in the package root directory, run the following command, replacing<update_type> with one of thesemantic versioning release types (patch, major, or minor):

    npm version <update_type>
  2. Runnpm publish.

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

For more information onnpm version, see theCLI documentation.

Edit this page on GitHub
2 contributorslukekarrysethomson
Last edited bylukekarrys onOctober 23, 2023

[8]ページ先頭

©2009-2025 Movatter.jp