Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-09-18 01:31:16 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-09-22 19:34:18 +0300
commita1d375f6b0ee358be41110a49acc1c9fdb775fbe (patch)
treec388301509ac3d3d57f98c9ec85381cab813a7a6 /tap-snapshots
parentb3a50d27501e47c61b52c3cc4de99ff4e4641efe (diff)
Add `--strict-peer-deps` option
This is the CLI portion of https://github.com/npm/arborist/pull/136 PR-URL: https://github.com/npm/cli/pull/1819 Credit: @isaacs Close: #1819 Reviewed-by: @ruyadorno
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-config.js-TAP.test.js9
-rw-r--r--tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js1
2 files changed, 7 insertions, 3 deletions
diff --git a/tap-snapshots/test-lib-utils-config.js-TAP.test.js b/tap-snapshots/test-lib-utils-config.js-TAP.test.js
index eb3ad9e31..771837959 100644
--- a/tap-snapshots/test-lib-utils-config.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-config.js-TAP.test.js
@@ -117,6 +117,7 @@ Object {
"sign-git-tag": false,
"sso-poll-frequency": 500,
"sso-type": "oauth",
+ "strict-peer-deps": false,
"strict-ssl": true,
"tag": "latest",
"tag-version-prefix": "v",
@@ -347,7 +348,6 @@ Object {
"{Number TYPE}",
"{String TYPE}",
],
- "ham-it-up": "{Boolean TYPE}",
"heading": "{String TYPE}",
"https-proxy": Array [
null,
@@ -495,6 +495,7 @@ Object {
"oauth",
"saml",
],
+ "strict-peer-deps": "{Boolean TYPE}",
"strict-ssl": "{Boolean TYPE}",
"tag": "{String TYPE}",
"tag-version-prefix": "{String TYPE}",
@@ -625,6 +626,7 @@ Object {
"sign-git-tag": false,
"sso-poll-frequency": 500,
"sso-type": "oauth",
+ "strict-peer-deps": false,
"strict-ssl": true,
"tag": "latest",
"tag-version-prefix": "v",
@@ -855,7 +857,6 @@ Object {
"{Number TYPE}",
"{String TYPE}",
],
- "ham-it-up": "{Boolean TYPE}",
"heading": "{String TYPE}",
"https-proxy": Array [
null,
@@ -1003,6 +1004,7 @@ Object {
"oauth",
"saml",
],
+ "strict-peer-deps": "{Boolean TYPE}",
"strict-ssl": "{Boolean TYPE}",
"tag": "{String TYPE}",
"tag-version-prefix": "{String TYPE}",
@@ -1133,6 +1135,7 @@ Object {
"sign-git-tag": false,
"sso-poll-frequency": 500,
"sso-type": "oauth",
+ "strict-peer-deps": false,
"strict-ssl": true,
"tag": "latest",
"tag-version-prefix": "v",
@@ -1363,7 +1366,6 @@ Object {
"{Number TYPE}",
"{String TYPE}",
],
- "ham-it-up": "{Boolean TYPE}",
"heading": "{String TYPE}",
"https-proxy": Array [
null,
@@ -1513,6 +1515,7 @@ Object {
"oauth",
"saml",
],
+ "strict-peer-deps": "{Boolean TYPE}",
"strict-ssl": "{Boolean TYPE}",
"tag": "{String TYPE}",
"tag-version-prefix": "{String TYPE}",
diff --git a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
index 89a552729..d9aa8e8b6 100644
--- a/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-flat-options.js-TAP.test.js
@@ -111,6 +111,7 @@ Object {
"signGitTag": "sign-git-tag",
"ssoPollFrequency": undefined,
"ssoType": undefined,
+ "strictPeerDeps": undefined,
"strictSSL": "strict-ssl",
"tag": "tag",
"tagVersionPrefix": "tag-version-prefix",