Skip to content

Commit 3ac703c

Browse files
authored
docs: add include param to commands that have omit param (#6831)
1 parent 6500218 commit 3ac703c

File tree

11 files changed

+46
-12
lines changed

11 files changed

+46
-12
lines changed

lib/commands/audit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ class Audit extends ArboristWorkspaceCmd {
406406
'package-lock-only',
407407
'package-lock',
408408
'omit',
409+
'include',
409410
'foreground-scripts',
410411
'ignore-scripts',
411412
...super.params,

lib/commands/ci.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class CI extends ArboristWorkspaceCmd {
1616
'legacy-bundling',
1717
'global-style',
1818
'omit',
19+
'include',
1920
'strict-peer-deps',
2021
'foreground-scripts',
2122
'ignore-scripts',

lib/commands/dedupe.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class Dedupe extends ArboristWorkspaceCmd {
1313
'strict-peer-deps',
1414
'package-lock',
1515
'omit',
16+
'include',
1617
'ignore-scripts',
1718
'audit',
1819
'bin-links',

lib/commands/find-dupes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class FindDupes extends ArboristWorkspaceCmd {
1111
'strict-peer-deps',
1212
'package-lock',
1313
'omit',
14+
'include',
1415
'ignore-scripts',
1516
'audit',
1617
'bin-links',

lib/commands/install.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class Install extends ArboristWorkspaceCmd {
2424
'legacy-bundling',
2525
'global-style',
2626
'omit',
27+
'include',
2728
'strict-peer-deps',
2829
'prefer-dedupe',
2930
'package-lock',

lib/commands/link.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class Link extends ArboristWorkspaceCmd {
2727
'strict-peer-deps',
2828
'package-lock',
2929
'omit',
30+
'include',
3031
'ignore-scripts',
3132
'audit',
3233
'bin-links',

lib/commands/ls.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class LS extends ArboristWorkspaceCmd {
3232
'global',
3333
'depth',
3434
'omit',
35+
'include',
3536
'link',
3637
'package-lock-only',
3738
'unicode',

lib/commands/prune.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class Prune extends ArboristWorkspaceCmd {
77
static name = 'prune'
88
static params = [
99
'omit',
10+
'include',
1011
'dry-run',
1112
'json',
1213
'foreground-scripts',

lib/commands/update.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class Update extends ArboristWorkspaceCmd {
1616
'legacy-bundling',
1717
'global-style',
1818
'omit',
19+
'include',
1920
'strict-peer-deps',
2021
'package-lock',
2122
'foreground-scripts',

smoke-tests/tap-snapshots/test/index.js.test.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ npm ERR!
5757
npm ERR! Options:
5858
npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
5959
npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
60+
npm ERR! [--include <prod|dev|optional|peer> [--include <prod|dev|optional|peer> ...]]
6061
npm ERR! [--strict-peer-deps] [--foreground-scripts] [--ignore-scripts] [--no-audit]
6162
npm ERR! [--no-bin-links] [--no-fund] [--dry-run]
6263
npm ERR! [-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]

0 commit comments

Comments
 (0)