@@ -1983,6 +1983,16 @@ When set to \`dev\` or \`development\`, this is an alias for \`--include=dev\`.
19831983
19841984Alias for \`--include=dev\`.
19851985
1986+ #### \`global-style\`
1987+
1988+ * Default: false
1989+ * Type: Boolean
1990+ * DEPRECATED: This option has been deprecated in favor of
1991+ \`--install-strategy=shallow\`
1992+
1993+ Only install direct dependencies in the top level \`node_modules\`, but hoist
1994+ on deeper dependendencies. Sets \`--install-strategy=shallow\`.
1995+
19861996#### \`init.author.email\`
19871997
19881998* Default: ""
@@ -2031,6 +2041,18 @@ Alias for \`--init-module\`
20312041
20322042Alias for \`--init-version\`
20332043
2044+ #### \`legacy-bundling\`
2045+
2046+ * Default: false
2047+ * Type: Boolean
2048+ * DEPRECATED: This option has been deprecated in favor of
2049+ \`--install-strategy=nested\`
2050+
2051+ Instead of hoisting package installs in \`node_modules\`, install packages in
2052+ the same manner that they are depended on. This may cause very deep
2053+ directory structures and duplicate package installs as there is no
2054+ de-duplicating. Sets \`--install-strategy=nested\`.
2055+
20342056#### \`only\`
20352057
20362058* Default: null
@@ -2130,6 +2152,7 @@ Array [
21302152 "git-tag-version",
21312153 "global",
21322154 "globalconfig",
2155+ "global-style",
21332156 "heading",
21342157 "https-proxy",
21352158 "if-present",
@@ -2153,6 +2176,7 @@ Array [
21532176 "install-strategy",
21542177 "json",
21552178 "key",
2179+ "legacy-bundling",
21562180 "legacy-peer-deps",
21572181 "link",
21582182 "local-address",
@@ -2280,6 +2304,7 @@ Array [
22802304 "git-tag-version",
22812305 "global",
22822306 "globalconfig",
2307+ "global-style",
22832308 "heading",
22842309 "https-proxy",
22852310 "if-present",
@@ -2291,6 +2316,7 @@ Array [
22912316 "install-strategy",
22922317 "json",
22932318 "key",
2319+ "legacy-bundling",
22942320 "legacy-peer-deps",
22952321 "local-address",
22962322 "location",
@@ -2578,6 +2604,7 @@ npm ci
25782604Options:
25792605[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
25802606[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
2607+ [--legacy-bundling] [--global-style]
25812608[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
25822609[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
25832610[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
@@ -2598,6 +2625,8 @@ aliases: clean-install, ic, install-clean, isntall-clean
25982625#### \`save-exact\`
25992626#### \`global\`
26002627#### \`install-strategy\`
2628+ #### \`legacy-bundling\`
2629+ #### \`global-style\`
26012630#### \`omit\`
26022631#### \`strict-peer-deps\`
26032632#### \`package-lock\`
@@ -2672,9 +2701,10 @@ Usage:
26722701npm dedupe
26732702
26742703Options:
2675- [--install-strategy <hoisted|nested|shallow>] [--strict-peer-deps]
2676- [--no-package-lock] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
2677- [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
2704+ [--install-strategy <hoisted|nested|shallow>] [--legacy-bundling]
2705+ [--global-style] [--strict-peer-deps] [--no-package-lock]
2706+ [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
2707+ [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
26782708[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
26792709[-ws|--workspaces] [--include-workspace-root] [--no-install-links]
26802710
@@ -2689,6 +2719,8 @@ alias: ddp
26892719\`\`\`
26902720
26912721#### \`install-strategy\`
2722+ #### \`legacy-bundling\`
2723+ #### \`global-style\`
26922724#### \`strict-peer-deps\`
26932725#### \`package-lock\`
26942726#### \`omit\`
@@ -2932,9 +2964,10 @@ Usage:
29322964npm find-dupes
29332965
29342966Options:
2935- [--install-strategy <hoisted|nested|shallow>] [--strict-peer-deps]
2936- [--no-package-lock] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
2937- [--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund]
2967+ [--install-strategy <hoisted|nested|shallow>] [--legacy-bundling]
2968+ [--global-style] [--strict-peer-deps] [--no-package-lock]
2969+ [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
2970+ [--no-audit] [--no-bin-links] [--no-fund]
29382971[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
29392972[-ws|--workspaces] [--include-workspace-root] [--no-install-links]
29402973
@@ -2945,6 +2978,8 @@ npm find-dupes
29452978\`\`\`
29462979
29472980#### \`install-strategy\`
2981+ #### \`legacy-bundling\`
2982+ #### \`global-style\`
29482983#### \`strict-peer-deps\`
29492984#### \`package-lock\`
29502985#### \`omit\`
@@ -3103,6 +3138,7 @@ npm install [<package-spec> ...]
31033138Options:
31043139[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
31053140[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
3141+ [--legacy-bundling] [--global-style]
31063142[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
31073143[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
31083144[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
@@ -3123,6 +3159,8 @@ aliases: add, i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall
31233159#### \`save-exact\`
31243160#### \`global\`
31253161#### \`install-strategy\`
3162+ #### \`legacy-bundling\`
3163+ #### \`global-style\`
31263164#### \`omit\`
31273165#### \`strict-peer-deps\`
31283166#### \`package-lock\`
@@ -3147,6 +3185,7 @@ npm install-ci-test
31473185Options:
31483186[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
31493187[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
3188+ [--legacy-bundling] [--global-style]
31503189[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
31513190[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
31523191[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
@@ -3167,6 +3206,8 @@ alias: cit
31673206#### \`save-exact\`
31683207#### \`global\`
31693208#### \`install-strategy\`
3209+ #### \`legacy-bundling\`
3210+ #### \`global-style\`
31703211#### \`omit\`
31713212#### \`strict-peer-deps\`
31723213#### \`package-lock\`
@@ -3191,6 +3232,7 @@ npm install-test [<package-spec> ...]
31913232Options:
31923233[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
31933234[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
3235+ [--legacy-bundling] [--global-style]
31943236[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
31953237[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
31963238[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
@@ -3211,6 +3253,8 @@ alias: it
32113253#### \`save-exact\`
32123254#### \`global\`
32133255#### \`install-strategy\`
3256+ #### \`legacy-bundling\`
3257+ #### \`global-style\`
32143258#### \`omit\`
32153259#### \`strict-peer-deps\`
32163260#### \`package-lock\`
@@ -3235,7 +3279,7 @@ npm link [<package-spec>]
32353279Options:
32363280[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
32373281[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
3238- [--strict-peer-deps] [--no-package-lock]
3282+ [--legacy-bundling] [--global-style] [-- strict-peer-deps] [--no-package-lock]
32393283[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
32403284[--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
32413285[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
@@ -3255,6 +3299,8 @@ alias: ln
32553299#### \`save-exact\`
32563300#### \`global\`
32573301#### \`install-strategy\`
3302+ #### \`legacy-bundling\`
3303+ #### \`global-style\`
32583304#### \`strict-peer-deps\`
32593305#### \`package-lock\`
32603306#### \`omit\`
@@ -4105,8 +4151,8 @@ npm update [<pkg>...]
41054151
41064152Options:
41074153[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
4108- [-g|--global] [--install-strategy <hoisted|nested|shallow>]
4109- [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
4154+ [-g|--global] [--install-strategy <hoisted|nested|shallow>] [--legacy-bundling]
4155+ [--global-style] [-- omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
41104156[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
41114157[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
41124158[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
@@ -4125,6 +4171,8 @@ aliases: up, upgrade, udpate
41254171#### \`save\`
41264172#### \`global\`
41274173#### \`install-strategy\`
4174+ #### \`legacy-bundling\`
4175+ #### \`global-style\`
41284176#### \`omit\`
41294177#### \`strict-peer-deps\`
41304178#### \`package-lock\`
0 commit comments