@npmcli/config 10.9.1 → 11.0.0-pre.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -823,7 +823,7 @@ const definitions = {
|
|
|
823
823
|
default: true,
|
|
824
824
|
type: Boolean,
|
|
825
825
|
description: `
|
|
826
|
-
Format \`package-lock.json\`
|
|
826
|
+
Format \`package-lock.json\` as a human
|
|
827
827
|
readable file.
|
|
828
828
|
`,
|
|
829
829
|
flatten,
|
|
@@ -1305,8 +1305,8 @@ const definitions = {
|
|
|
1305
1305
|
Version 3 if no lockfile, auto-converting v1 lockfiles to v3; otherwise,
|
|
1306
1306
|
maintain current lockfile version.`,
|
|
1307
1307
|
description: `
|
|
1308
|
-
Set the lockfile format version to be used in package-lock.json
|
|
1309
|
-
|
|
1308
|
+
Set the lockfile format version to be used in package-lock.json files.
|
|
1309
|
+
Possible options are:
|
|
1310
1310
|
|
|
1311
1311
|
1: The lockfile version used by npm versions 5 and 6. Lacks some data that
|
|
1312
1312
|
is used during the install, resulting in slower and possibly less
|
|
@@ -1504,7 +1504,7 @@ const definitions = {
|
|
|
1504
1504
|
Dependency types to omit from the installation tree on disk.
|
|
1505
1505
|
|
|
1506
1506
|
Note that these dependencies _are_ still resolved and added to the
|
|
1507
|
-
\`package-lock.json\`
|
|
1507
|
+
\`package-lock.json\` file. They are just
|
|
1508
1508
|
not physically installed on disk.
|
|
1509
1509
|
|
|
1510
1510
|
If a package type appears in both the \`--include\` and \`--omit\`
|
|
@@ -2180,20 +2180,6 @@ const definitions = {
|
|
|
2180
2180
|
`,
|
|
2181
2181
|
flatten,
|
|
2182
2182
|
}),
|
|
2183
|
-
shrinkwrap: new Definition('shrinkwrap', {
|
|
2184
|
-
default: true,
|
|
2185
|
-
type: Boolean,
|
|
2186
|
-
deprecated: `
|
|
2187
|
-
Use the --package-lock setting instead.
|
|
2188
|
-
`,
|
|
2189
|
-
description: `
|
|
2190
|
-
Alias for --package-lock
|
|
2191
|
-
`,
|
|
2192
|
-
flatten (key, obj, flatOptions) {
|
|
2193
|
-
obj['package-lock'] = obj.shrinkwrap
|
|
2194
|
-
definitions['package-lock'].flatten('package-lock', obj, flatOptions)
|
|
2195
|
-
},
|
|
2196
|
-
}),
|
|
2197
2183
|
'sign-git-commit': new Definition('sign-git-commit', {
|
|
2198
2184
|
default: false,
|
|
2199
2185
|
type: Boolean,
|