File tree 4 files changed +17
-14
lines changed
smoke-tests/tap-snapshots/test
4 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,27 @@ const log = require('../utils/log-shim.js')
6
6
const validateLockfile = require ( '../utils/validate-lockfile.js' )
7
7
8
8
const ArboristWorkspaceCmd = require ( '../arborist-cmd.js' )
9
- const Install = require ( './install.js' )
10
9
11
10
class CI extends ArboristWorkspaceCmd {
12
11
static description = 'Clean install a project'
13
12
static name = 'ci'
14
13
15
- static params = Install . params
14
+ // These are in the order they will show up in when running "-h"
15
+ static params = [
16
+ 'install-strategy' ,
17
+ 'legacy-bundling' ,
18
+ 'global-style' ,
19
+ 'omit' ,
20
+ 'strict-peer-deps' ,
21
+ 'package-lock' ,
22
+ 'foreground-scripts' ,
23
+ 'ignore-scripts' ,
24
+ 'audit' ,
25
+ 'bin-links' ,
26
+ 'fund' ,
27
+ 'dry-run' ,
28
+ ...super . params ,
29
+ ]
16
30
17
31
async exec ( ) {
18
32
if ( this . npm . global ) {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ class Install extends ArboristWorkspaceCmd {
16
16
static name = 'install'
17
17
18
18
// These are in the order they will show up in when running "-h"
19
+ // If adding to this list, consider adding also to ci.js
19
20
static params = [
20
21
'save' ,
21
22
'save-exact' ,
Original file line number Diff line number Diff line change @@ -55,8 +55,6 @@ npm ERR! Usage:
55
55
npm ERR! npm ci
56
56
npm ERR!
57
57
npm ERR! Options:
58
- npm ERR! [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
59
- npm ERR! [-E|--save-exact] [-g|--global]
60
58
npm ERR! [--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
61
59
npm ERR! [--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
62
60
npm ERR! [--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
Original file line number Diff line number Diff line change @@ -2210,8 +2210,6 @@ Usage:
2210
2210
npm ci
2211
2211
2212
2212
Options:
2213
- [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
2214
- [-E|--save-exact] [-g|--global]
2215
2213
[--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
2216
2214
[--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
2217
2215
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
@@ -2229,9 +2227,6 @@ npm ci
2229
2227
aliases: clean-install, ic, install-clean, isntall-clean
2230
2228
\`\`\`
2231
2229
2232
- #### \`save\`
2233
- #### \`save-exact\`
2234
- #### \`global\`
2235
2230
#### \`install-strategy\`
2236
2231
#### \`legacy-bundling\`
2237
2232
#### \`global-style\`
@@ -2811,8 +2806,6 @@ Usage:
2811
2806
npm install-ci-test
2812
2807
2813
2808
Options:
2814
- [-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle]
2815
- [-E|--save-exact] [-g|--global]
2816
2809
[--install-strategy <hoisted|nested|shallow|linked>] [--legacy-bundling]
2817
2810
[--global-style] [--omit <dev|optional|peer> [--omit <dev|optional|peer> ...]]
2818
2811
[--strict-peer-deps] [--no-package-lock] [--foreground-scripts]
@@ -2830,9 +2823,6 @@ npm install-ci-test
2830
2823
aliases: cit, clean-install-test, sit
2831
2824
\`\`\`
2832
2825
2833
- #### \`save\`
2834
- #### \`save-exact\`
2835
- #### \`global\`
2836
2826
#### \`install-strategy\`
2837
2827
#### \`legacy-bundling\`
2838
2828
#### \`global-style\`
You can’t perform that action at this time.
0 commit comments