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:
authorGar <gar+gh@danger.computer>2022-03-17 17:39:43 +0300
committernlf <nlf@github.com>2022-03-17 21:03:15 +0300
commita304052580c070a1f8c1c0cf8cbeec615c46af02 (patch)
tree974ac6d7cb58e720e4da2a3cbf0252eacdff472f /tap-snapshots/test/lib
parented82b4c430ad41c6b58e65d2902c864f2bbc6e45 (diff)
docs: add foreground-scripts and ignore-scripts to commands
I think this gets them all
Diffstat (limited to 'tap-snapshots/test/lib')
-rw-r--r--tap-snapshots/test/lib/load-all-commands.js.test.cjs32
-rw-r--r--tap-snapshots/test/lib/utils/npm-usage.js.test.cjs32
2 files changed, 36 insertions, 28 deletions
diff --git a/tap-snapshots/test/lib/load-all-commands.js.test.cjs b/tap-snapshots/test/lib/load-all-commands.js.test.cjs
index 138a8eab6..1ad8aee29 100644
--- a/tap-snapshots/test/lib/load-all-commands.js.test.cjs
+++ b/tap-snapshots/test/lib/load-all-commands.js.test.cjs
@@ -55,6 +55,7 @@ Options:
[--audit-level <info|low|moderate|high|critical|none>] [--dry-run] [-f|--force]
[--json] [--package-lock-only]
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+[--foreground-scripts] [--ignore-scripts]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -121,7 +122,8 @@ Usage:
npm ci
Options:
-[--no-audit] [--ignore-scripts] [--script-shell <script-shell>]
+[--no-audit] [--foreground-scripts] [--ignore-scripts]
+[--script-shell <script-shell>]
aliases: clean-install, ic, install-clean, isntall-clean
@@ -449,9 +451,9 @@ npm install <github username>/<github project>
Options:
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
[-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
-[--strict-peer-deps] [--no-package-lock]
-[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
-[--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
+[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
+[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -469,7 +471,8 @@ Usage:
npm install-ci-test
Options:
-[--no-audit] [--ignore-scripts] [--script-shell <script-shell>]
+[--no-audit] [--foreground-scripts] [--ignore-scripts]
+[--script-shell <script-shell>]
alias: cit
@@ -496,9 +499,9 @@ npm install-test <github username>/<github project>
Options:
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
[-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
-[--strict-peer-deps] [--no-package-lock]
-[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
-[--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
+[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
+[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -742,7 +745,8 @@ npm prune [[<@scope>/]<pkg>...]
Options:
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--dry-run]
-[--json] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
+[--json] [--foreground-scripts] [--ignore-scripts]
+[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
Run "npm help prune" for more info
@@ -773,7 +777,7 @@ Usage:
npm rebuild [[<@scope>/]<name>[@<version>] ...]
Options:
-[-g|--global] [--no-bin-links] [--ignore-scripts]
+[-g|--global] [--no-bin-links] [--foreground-scripts] [--ignore-scripts]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -1063,11 +1067,11 @@ Usage:
npm update [<pkg>...]
Options:
-[-g|--global] [--global-style] [--legacy-bundling] [--strict-peer-deps]
-[--no-package-lock]
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
-[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
-[--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
+[-g|--global] [--global-style] [--legacy-bundling]
+[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
+[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
diff --git a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
index c813cd83e..8f73b93f3 100644
--- a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
@@ -210,6 +210,7 @@ All commands:
[--audit-level <info|low|moderate|high|critical|none>] [--dry-run] [-f|--force]
[--json] [--package-lock-only]
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+ [--foreground-scripts] [--ignore-scripts]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -268,7 +269,8 @@ All commands:
npm ci
Options:
- [--no-audit] [--ignore-scripts] [--script-shell <script-shell>]
+ [--no-audit] [--foreground-scripts] [--ignore-scripts]
+ [--script-shell <script-shell>]
aliases: clean-install, ic, install-clean, isntall-clean
@@ -558,9 +560,9 @@ All commands:
Options:
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
[-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
- [--strict-peer-deps] [--no-package-lock]
- [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
- [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
+ [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+ [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
+ [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -576,7 +578,8 @@ All commands:
npm install-ci-test
Options:
- [--no-audit] [--ignore-scripts] [--script-shell <script-shell>]
+ [--no-audit] [--foreground-scripts] [--ignore-scripts]
+ [--script-shell <script-shell>]
alias: cit
@@ -601,9 +604,9 @@ All commands:
Options:
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
[-E|--save-exact] [-g|--global] [--global-style] [--legacy-bundling]
- [--strict-peer-deps] [--no-package-lock]
- [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
- [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
+ [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+ [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
+ [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -819,7 +822,8 @@ All commands:
Options:
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--dry-run]
- [--json] [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
+ [--json] [--foreground-scripts] [--ignore-scripts]
+ [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
Run "npm help prune" for more info
@@ -846,7 +850,7 @@ All commands:
npm rebuild [[<@scope>/]<name>[@<version>] ...]
Options:
- [-g|--global] [--no-bin-links] [--ignore-scripts]
+ [-g|--global] [--no-bin-links] [--foreground-scripts] [--ignore-scripts]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]
@@ -1098,11 +1102,11 @@ All commands:
npm update [<pkg>...]
Options:
- [-g|--global] [--global-style] [--legacy-bundling] [--strict-peer-deps]
- [--no-package-lock]
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
- [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
- [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
+ [-g|--global] [--global-style] [--legacy-bundling]
+ [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
+ [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
+ [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root]