Home
last modified time | relevance | path

Searched refs:shrinkwrap (Results 1 – 25 of 53) sorted by relevance

123

/third_party/node/deps/npm/docs/content/configuring-npm/
Dshrinkwrap-json.md3 title: shrinkwrap.json
7 # npm-shrinkwrap.json(5)
13 `npm-shrinkwrap.json` is a file created by [`npm shrinkwrap`](/cli-commands/npm-shrinkwrap). It is …
15 `npm-shrinkwrap.json` may be included when publishing a package.
17 The recommended use-case for `npm-shrinkwrap.json` is applications deployed
23 Additionally, if both `package-lock.json` and `npm-shrinkwrap.json` are present
26 For full details and description of the `npm-shrinkwrap.json` file format, refer
31 * [npm shrinkwrap](/cli-commands/npm-shrinkwrap)
Dpackage-locks.md86 …nfiguring-npm/package-lock-json) or, if present, [npm-shrinkwrap.json](/configuring-npm/shrinkwrap
126 If `preshrinkwrap`, `shrinkwrap` or `postshrinkwrap` are in the `scripts`
128 and `shrinkwrap` are executed before the shrinkwrap, `postshrinkwrap` is
130 `npm-shrinkwrap.json`. For example to run some postprocessing on the generated
146 `--no-shrinkwrap` to allow `package.json` to be updated while leaving
147 `package-lock.json` or `npm-shrinkwrap.json` intact.
181 * [shrinkwrap.json](/configuring-npm/shrinkwrap-json)
182 * [npm shrinkwrap](/cli-commands/npm-shrinkwrap)
Dpackage-lock-json.md31 a format with [npm-shrinkwrap.json](/configuring-npm/shrinkwrap-json), which is essentially the sam…
35 If both `package-lock.json` and `npm-shrinkwrap.json` are present in the root of
145 * [npm shrinkwrap](/cli-commands/npm-shrinkwrap)
146 * [shrinkwrap.json](/configuring-npm/shrinkwrap-json)
/third_party/node/deps/npm/docs/content/cli-commands/
Dnpm-shrinkwrap.md3 title: npm-shrinkwrap
7 # npm-shrinkwrap(1)
14 npm shrinkwrap
20 `npm-shrinkwrap.json` or simply creates a new one. The file created and updated
33 * [shrinkwrap.json](/configuring-npm/shrinkwrap-json)
Dnpm-install.md33 package has a package-lock or shrinkwrap file, the installation of dependencies
34 will be driven by that, with an `npm-shrinkwrap.json` taking precedence if both
35 …ock.json](/configuring-npm/package-lock-json) and [`npm shrinkwrap`](/cli-commands/npm-shrinkwrap).
157 Further, if you have an `npm-shrinkwrap.json` or `package-lock.json` then it
410 The `--no-shrinkwrap` argument, which will ignore an available
411 package lock or shrinkwrap file and use the package.json instead.
518 * [npm shrinkwrap](/cli-commands/npm-shrinkwrap)
/third_party/node/deps/npm/test/tap/
Dversion-update-shrinkwrap.js19 var shrinkwrap = require(path.resolve(pkg, 'npm-shrinkwrap.json'))
20 t.equal(shrinkwrap.version, '0.0.1', 'got expected version')
48 var shrinkwrap = require(path.resolve(pkg, 'npm-shrinkwrap.json'))
49 t.equal(shrinkwrap.version, '0.0.1', 'got expected version')
91 var shrinkwrap = require(path.resolve(pkg, 'npm-shrinkwrap.json'))
92 t.equal(shrinkwrap.version, '0.0.1', 'got expected version')
Dshrinkwrap-save-dev-with-existing-deps.js86 var shrinkwrap = JSON.parse(fs.readFileSync(example_shrinkwrap))
87 t.ok(shrinkwrap.dependencies['installed-prod'], "save-dev new install didn't remove prod dep")
88 t.ok(shrinkwrap.dependencies['installed-dev'], "save-dev new install didn't remove dev dep")
89 t.ok(shrinkwrap.dependencies.installme, 'save-dev new install DID add new dev dep')
Dspec-local-specifiers.js545 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
547 var sdep = shrinkwrap.dependencies
558 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
560 var sdep = shrinkwrap.dependencies
570 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
572 var sdep = shrinkwrap.dependencies.transitive || {}
573 var tdep = shrinkwrap.dependencies.pkgc
584 var shrinkwrap = readJson(sbdir + '/npm-shrinkwrap.json')
587 var sdep = shrinkwrap.dependencies['sb-transitive'] || {}
601 var shrinkwrap = readJson(sbdirp + '/npm-shrinkwrap.json')
[all …]
Dshrinkwrap-save-with-existing-dev-deps.js76 var shrinkwrap = JSON.parse(fs.readFileSync(example_shrinkwrap))
77 t.ok(shrinkwrap.dependencies.installed, "save new install didn't remove dev dep")
78 t.ok(shrinkwrap.dependencies.installme, 'save new install DID add new dep')
Dshrinkwrap-lifecycle.js11 shrinkwrap: '0.0.0', property
15 shrinkwrap: 'echo this happens second', property
Dbearer-token-check.js50 var shrinkwrap = { variable
69 JSON.stringify(shrinkwrap, null, 2) + '\n'
Dshrinkwrap-scoped-auth.js43 var shrinkwrap = { variable
62 JSON.stringify(shrinkwrap, null, 2) + '\n'
Ddedupe.js27 var shrinkwrap = { variable
114 JSON.stringify(shrinkwrap, null, 2)
Dshrinkwrap-global-auth.js35 var shrinkwrap = { variable
63 JSON.stringify(shrinkwrap, null, 2) + '\n'
Dinstall-cli-only-shrinkwrap.js27 var shrinkwrap = { variable
76 JSON.stringify(shrinkwrap, null, 2)
Dshrinkwrap-_auth.js37 var shrinkwrap = { variable
78 JSON.stringify(shrinkwrap, null, 2) + '\n'
Dadd-remote-git-shrinkwrap.js66 var shrinkwrap = require(resolve(pkg, 'npm-shrinkwrap.json'))
75 …t.like(shrinkwrap, {dependencies: {child: {version: 'git://localhost:' + common.gitPort + '/child.…
Dshrinkwrap-local-dependency.js15 var shrinkwrap = { variable
90 shrinkwrap.dependencies,
/third_party/node/deps/npm/lib/install/
Dread-shrinkwrap.js22 (shrinkwrap, lockfile) => {
23 if (shrinkwrap && lockfile) {
26 const name = shrinkwrap ? 'npm-shrinkwrap.json' : 'package-lock.json'
27 const parsed = parsePkgLock(shrinkwrap || lockfile, name)
/third_party/node/deps/npm/lib/
Dversion.js168 (shrinkwrap, lockfile) => {
169 if (!shrinkwrap && !lockfile) {
172 const file = shrinkwrap ? SHRINKWRAP : PKGLOCK
177 data = parseJSON(shrinkwrap || lockfile)
178 indent = detectIndent(shrinkwrap || lockfile).indent
179 newline = detectNewline(shrinkwrap || lockfile)
190 return cb(null, !!shrinkwrap, !!lockfile)
Dshrinkwrap.js41 shrinkwrap.usage = 'npm shrinkwrap'
43 module.exports = exports = shrinkwrap
46 function shrinkwrap (args, silent, cb) { function
209 (shrinkwrap, lockfile, pkg) => {
211 shrinkwrap ||
231 if (!shrinkwrap && !lockfile) {
Daudit.js161 ]).spread((shrinkwrap, lockfile, pkgJson) => {
162 const sw = shrinkwrap || lockfile
172 } else if (shrinkwrap && lockfile) {
183 const lockFile = shrinkwrap ? 'npm-shrinkwrap.json' : 'package-lock.json'
/third_party/node/deps/npm/test/need-npm5-update/
Dignore-shrinkwrap.js31 var shrinkwrap = { variable
132 JSON.stringify(shrinkwrap, null, 2)
/third_party/typescript/tests/baselines/reference/user/
Dnpm.log459 node_modules/npm/lib/install/inflate-shrinkwrap.js(30,12): error TS2339: Property 'config' does not…
460 node_modules/npm/lib/install/inflate-shrinkwrap.js(30,45): error TS2339: Property 'config' does not…
461 node_modules/npm/lib/install/inflate-shrinkwrap.js(77,34): error TS2339: Property 'config' does not…
734 node_modules/npm/lib/shrinkwrap.js(30,29): error TS2339: Property 'lockfileVersion' does not exist …
735 node_modules/npm/lib/shrinkwrap.js(50,22): error TS2339: Property 'prefix' does not exist on type '…
736 node_modules/npm/lib/shrinkwrap.js(51,22): error TS2339: Property 'prefix' does not exist on type '…
737 node_modules/npm/lib/shrinkwrap.js(55,38): error TS2339: Property 'prefix' does not exist on type '…
738 node_modules/npm/lib/shrinkwrap.js(62,34): error TS2339: Property 'localPrefix' does not exist on t…
739 node_modules/npm/lib/shrinkwrap.js(117,13): error TS2339: Property 'version' does not exist on type…
740 node_modules/npm/lib/shrinkwrap.js(119,15): error TS2339: Property 'from' does not exist on type '{…
[all …]
/third_party/node/deps/npm/node_modules/function-bind/
D.npmignore20 npm-shrinkwrap.json

123