NPM-VERSION(3)
π 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
- nixos 26.05: hueadm 1.2.1
- nixpkgs unstable: hueadm 1.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms