@@ -1983,6 +1983,16 @@ When set to \`dev\` or \`development\`, this is an alias for \`--include=dev\`.
1983
1983
1984
1984
Alias for \`--include=dev\`.
1985
1985
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
+
1986
1996
#### \`init.author.email\`
1987
1997
1988
1998
* Default: ""
@@ -2031,6 +2041,18 @@ Alias for \`--init-module\`
2031
2041
2032
2042
Alias for \`--init-version\`
2033
2043
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
+
2034
2056
#### \`only\`
2035
2057
2036
2058
* Default: null
@@ -2130,6 +2152,7 @@ Array [
2130
2152
"git-tag-version",
2131
2153
"global",
2132
2154
"globalconfig",
2155
+ "global-style",
2133
2156
"heading",
2134
2157
"https-proxy",
2135
2158
"if-present",
@@ -2153,6 +2176,7 @@ Array [
2153
2176
"install-strategy",
2154
2177
"json",
2155
2178
"key",
2179
+ "legacy-bundling",
2156
2180
"legacy-peer-deps",
2157
2181
"link",
2158
2182
"local-address",
@@ -2280,6 +2304,7 @@ Array [
2280
2304
"git-tag-version",
2281
2305
"global",
2282
2306
"globalconfig",
2307
+ "global-style",
2283
2308
"heading",
2284
2309
"https-proxy",
2285
2310
"if-present",
@@ -2291,6 +2316,7 @@ Array [
2291
2316
"install-strategy",
2292
2317
"json",
2293
2318
"key",
2319
+ "legacy-bundling",
2294
2320
"legacy-peer-deps",
2295
2321
"local-address",
2296
2322
"location",
@@ -2578,6 +2604,7 @@ npm ci
2578
2604
Options:
2579
2605
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
2580
2606
[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
2607
+ [--legacy-bundling] [--global-style]
2581
2608
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
2582
2609
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
2583
2610
[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
@@ -2598,6 +2625,8 @@ aliases: clean-install, ic, install-clean, isntall-clean
2598
2625
#### \`save-exact\`
2599
2626
#### \`global\`
2600
2627
#### \`install-strategy\`
2628
+ #### \`legacy-bundling\`
2629
+ #### \`global-style\`
2601
2630
#### \`omit\`
2602
2631
#### \`strict-peer-deps\`
2603
2632
#### \`package-lock\`
@@ -2672,9 +2701,10 @@ Usage:
2672
2701
npm dedupe
2673
2702
2674
2703
Options:
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]
2678
2708
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
2679
2709
[-ws|--workspaces] [--include-workspace-root] [--no-install-links]
2680
2710
@@ -2689,6 +2719,8 @@ alias: ddp
2689
2719
\`\`\`
2690
2720
2691
2721
#### \`install-strategy\`
2722
+ #### \`legacy-bundling\`
2723
+ #### \`global-style\`
2692
2724
#### \`strict-peer-deps\`
2693
2725
#### \`package-lock\`
2694
2726
#### \`omit\`
@@ -2932,9 +2964,10 @@ Usage:
2932
2964
npm find-dupes
2933
2965
2934
2966
Options:
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]
2938
2971
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
2939
2972
[-ws|--workspaces] [--include-workspace-root] [--no-install-links]
2940
2973
@@ -2945,6 +2978,8 @@ npm find-dupes
2945
2978
\`\`\`
2946
2979
2947
2980
#### \`install-strategy\`
2981
+ #### \`legacy-bundling\`
2982
+ #### \`global-style\`
2948
2983
#### \`strict-peer-deps\`
2949
2984
#### \`package-lock\`
2950
2985
#### \`omit\`
@@ -3103,6 +3138,7 @@ npm install [<package-spec> ...]
3103
3138
Options:
3104
3139
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
3105
3140
[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
3141
+ [--legacy-bundling] [--global-style]
3106
3142
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
3107
3143
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
3108
3144
[--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
3123
3159
#### \`save-exact\`
3124
3160
#### \`global\`
3125
3161
#### \`install-strategy\`
3162
+ #### \`legacy-bundling\`
3163
+ #### \`global-style\`
3126
3164
#### \`omit\`
3127
3165
#### \`strict-peer-deps\`
3128
3166
#### \`package-lock\`
@@ -3147,6 +3185,7 @@ npm install-ci-test
3147
3185
Options:
3148
3186
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
3149
3187
[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
3188
+ [--legacy-bundling] [--global-style]
3150
3189
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
3151
3190
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
3152
3191
[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
@@ -3167,6 +3206,8 @@ alias: cit
3167
3206
#### \`save-exact\`
3168
3207
#### \`global\`
3169
3208
#### \`install-strategy\`
3209
+ #### \`legacy-bundling\`
3210
+ #### \`global-style\`
3170
3211
#### \`omit\`
3171
3212
#### \`strict-peer-deps\`
3172
3213
#### \`package-lock\`
@@ -3191,6 +3232,7 @@ npm install-test [<package-spec> ...]
3191
3232
Options:
3192
3233
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
3193
3234
[-E|--save-exact] [-g|--global] [--install-strategy <hoisted|nested|shallow>]
3235
+ [--legacy-bundling] [--global-style]
3194
3236
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
3195
3237
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
3196
3238
[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
@@ -3211,6 +3253,8 @@ alias: it
3211
3253
#### \`save-exact\`
3212
3254
#### \`global\`
3213
3255
#### \`install-strategy\`
3256
+ #### \`legacy-bundling\`
3257
+ #### \`global-style\`
3214
3258
#### \`omit\`
3215
3259
#### \`strict-peer-deps\`
3216
3260
#### \`package-lock\`
@@ -3235,7 +3279,7 @@ npm link [<package-spec>]
3235
3279
Options:
3236
3280
[-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
3237
3281
[-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]
3239
3283
[--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]] [--ignore-scripts]
3240
3284
[--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
3241
3285
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
@@ -3255,6 +3299,8 @@ alias: ln
3255
3299
#### \`save-exact\`
3256
3300
#### \`global\`
3257
3301
#### \`install-strategy\`
3302
+ #### \`legacy-bundling\`
3303
+ #### \`global-style\`
3258
3304
#### \`strict-peer-deps\`
3259
3305
#### \`package-lock\`
3260
3306
#### \`omit\`
@@ -4105,8 +4151,8 @@ npm update [<pkg>...]
4105
4151
4106
4152
Options:
4107
4153
[-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> ...]]
4110
4156
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
4111
4157
[--ignore-scripts] [--no-audit] [--no-bin-links] [--no-fund] [--dry-run]
4112
4158
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
@@ -4125,6 +4171,8 @@ aliases: up, upgrade, udpate
4125
4171
#### \`save\`
4126
4172
#### \`global\`
4127
4173
#### \`install-strategy\`
4174
+ #### \`legacy-bundling\`
4175
+ #### \`global-style\`
4128
4176
#### \`omit\`
4129
4177
#### \`strict-peer-deps\`
4130
4178
#### \`package-lock\`
0 commit comments