• Home
  • Raw
  • Download

Lines Matching +full:working +full:- +full:directory

1 .TH "NPM\-VERSION" "1" "January 2022" "" ""
3 \fBnpm-version\fR \- Bump a package version
8 …nor | patch | premajor | preminor | prepatch | prerelease [\-\-preid=<prerelease\-id>] | from\-git]
10 \|'npm [\-v | \-\-version]' to print npm version
17 Run this in a package directory to bump the version and write the new
18 data back to \fBpackage\.json\fP, \fBpackage\-lock\.json\fP, and, if present, \fBnpm\-shrinkwrap\.j…
21 valid second argument to semver\.inc \fIhttps://github\.com/npm/node\-semver#functions\fR (one of \…
22 \fBprepatch\fP, \fBpreminor\fP, \fBpremajor\fP, \fBprerelease\fP), or \fBfrom\-git\fP\|\. In the se…
24 \fBfrom\-git\fP will try to read the latest git tag, and use that as the new npm version\.
27 This behavior is controlled by \fBgit\-tag\-version\fP (see below), and can
28 be disabled on the command line by running \fBnpm \-\-no\-git\-tag\-version version\fP\|\.
29 It will fail if the working directory is not clean, unless the \fB\-f\fP or
30 \fB\-\-force\fP flag is set\.
32 If supplied with \fB\-m\fP or \fB\-\-message\fP config option, npm will
39 npm version patch \-m "Upgrade to %s for reasons"
43 If the \fBsign\-git\-tag\fP config is set, then the tag will be signed using
44 the \fB\-s\fP flag to git\. Note that you must have a default GPG key set up
49 $ npm config set sign\-git\-tag true
54 2048\-bit RSA key, ID 6C481CF6, created 2010\-08\-31
66 Check to make sure the git working directory is clean before we get started\.
68 This step is skipped if the \fB\-\-force\fP flag is set\.
93 "version": "npm run build && git add \-A dist",
94 "postversion": "git push && git push \-\-tags && rm \-rf build/temp"
100 adds everything in the \fBdist\fP directory to the commit\. After the commit, it pushes the new com…
101 and tag up to the server, and deletes the \fBbuild/temp\fP directory\.
103 .SS allow\-same\-version
114 .SS git\-tag\-version
124 .SS commit\-hooks
134 .SS sign\-git\-tag
143 Pass the \fB\-s\fP flag to git to sign the tag\.
151 npm help run\-script