File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,13 @@ function sync_args_from_cmd(args) {
378
378
"specs to exclude are " ,
379
379
lt_config [ "run_settings" ] [ "exclude_specs" ]
380
380
) ;
381
+
382
+ if ( "npm-f" in args ) {
383
+ lt_config . run_settings . npmf = args [ "npm-f" ] ;
384
+ }
385
+ if ( "npm-lpd" in args ) {
386
+ lt_config . run_settings . npmlpd = args [ "npm-lpd" ] ;
387
+ }
381
388
//get specs from current directory if specs are not passed in config or cli
382
389
if (
383
390
( lt_config [ "run_settings" ] [ "specs" ] == undefined ||
Original file line number Diff line number Diff line change @@ -133,6 +133,15 @@ const argv = require("yargs")
133
133
describe : "system environment variables" ,
134
134
type : "string" ,
135
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" ,
136
145
. option ( "vip" , {
137
146
alias : "vi-project" ,
138
147
describe : "visual ui project name" ,
You can’t perform that action at this time.
0 commit comments