NPM-VERSION(3)

πŸ“¦ version 1.2.1, in nixos 26.05, nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so welcome to the NPM-VERSION(3) manual page, bestie πŸ’– this is npm-version β€” literally Bump a package version πŸŽ€ slay.

πŸ¦‹ SYNOPSIS πŸ¦‹

the vibe check for the signature is exactly:

npm.commands.version(newversion, callback)

no cap, that's the whole call πŸ’…

🌸 DESCRIPTION 🌸

Run this in a package directory to bump the version and write the new data back to the package.json file. periodt. ✨

If run in a git repo, it will also create a version commit and tag, and fail if the repo is not clean.

⚠️ translation: a messy repo means a hard fail, bestie 😭

Like all other commands, this function takes a string array as its first parameter. The difference, however, is this function will fail if it does not have exactly one element. exactly one, no extras, no missing pieces β€” it's not flexible like that πŸ™ˆ The only element should be a version number. πŸ‘‘


mwah πŸ’‹ this page's footer energy is source/version NPM-VERSION(3) and date March 2017 β€” iconic, historic, and still serving 🫢🌈

πŸ“¦ where this page comes from