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) {
378378 "specs to exclude are " ,
379379 lt_config [ "run_settings" ] [ "exclude_specs" ]
380380 ) ;
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+ }
381388 //get specs from current directory if specs are not passed in config or cli
382389 if (
383390 ( lt_config [ "run_settings" ] [ "specs" ] == undefined ||
Original file line number Diff line number Diff line change @@ -133,6 +133,15 @@ const argv = require("yargs")
133133 describe : "system environment variables" ,
134134 type : "string" ,
135135 } )
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" ,
136145 . option ( "vip" , {
137146 alias : "vi-project" ,
138147 describe : "visual ui project name" ,
You can’t perform that action at this time.
0 commit comments