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.
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>
https://npmjs.com/package/<package>) to check that the package version has been updated.
For more information on
npm version, see the CLI documentation.