npm-shrinkwrap - Lock down dependency versions for publication Synopsis npm shrinkwrap Note: This command is unaware of workspaces. Description This command repurposes package-lock.json into a publishable npm-shrinkwrap.json or simply creates a new one. The file created and updated by this command will then take precedence over any other exist- ing or future package-lock.json files. For a detailed explanation of the design and purpose of package locks in npm, see npm help pack- age-lock-json. See Also o npm help install o npm help run-script o npm help scripts o npm help package.json o npm help package-lock.json o npm help npm-shrinkwrap.json o npm help ls
Please see following description for synopsis
NPM-SHRINKWRAP(1) NPM-SHRINKWRAP(1)
NAME
npm-shrinkwrap - Lock down dependency versions for publication
Synopsis
npm shrinkwrap
Note: This command is unaware of workspaces.
Description
This command repurposes package-lock.json into a publishable
npm-shrinkwrap.json or simply creates a new one. The file created and
updated by this command will then take precedence over any other exist-
ing or future package-lock.json files. For a detailed explanation of
the design and purpose of package locks in npm, see npm help pack-
age-lock-json.
See Also
o npm help install
o npm help run-script
o npm help scripts
o npm help package.json
o npm help package-lock.json
o npm help npm-shrinkwrap.json
o npm help ls
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
+---------------+--------------------------+
|ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+---------------+--------------------------+
|Availability | runtime/nodejs/nodejs-18 |
+---------------+--------------------------+
|Stability | Pass-thru volatile |
+---------------+--------------------------+
NOTES
Source code for open source software components in Oracle Solaris can
be found at https://www.oracle.com/downloads/opensource/solaris-source-
code-downloads.html.
This software was built from source available at
https://github.com/oracle/solaris-userland. The original community
source was downloaded from https://github.com/nodejs/node/ar-
chive/v18.1.0.zip.
Further information about this software can be found on the open source
community website at https://github.com/nodejs/node.
April 2022 NPM-SHRINKWRAP(1)