File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -369,6 +369,13 @@ function sync_args_from_cmd(args) {
369
369
"specs to exclude are " ,
370
370
lt_config [ "run_settings" ] [ "exclude_specs" ]
371
371
) ;
372
+
373
+ if ( "npm-f" in args ) {
374
+ lt_config . run_settings . npmf = args [ "npm-f" ] ;
375
+ }
376
+ if ( "npm-lpd" in args ) {
377
+ lt_config . run_settings . npmlpd = args [ "npm-lpd" ] ;
378
+ }
372
379
//get specs from current directory if specs are not passed in config or cli
373
380
if (
374
381
( lt_config [ "run_settings" ] [ "specs" ] == undefined ||
Original file line number Diff line number Diff line change @@ -132,6 +132,16 @@ const argv = require("yargs")
132
132
alias : "sys-env-variables" ,
133
133
describe : "system environment variables" ,
134
134
type : "string" ,
135
+ } )
136
+ . option ( "npm-f" , {
137
+ alias : "npm-force" ,
138
+ describe : "force npm install" ,
139
+ type : "bool" ,
140
+ } )
141
+ . option ( "npm-lpd" , {
142
+ alias : "legacy-peer-deps" ,
143
+ describe : "force npm install" ,
144
+ type : "bool" ,
135
145
} ) ;
136
146
} ,
137
147
function ( argv ) {
You can’t perform that action at this time.
0 commit comments