File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1616 "scripts" : {
1717 "dev" : " vite --port=3005" ,
1818 "build" : " tsc -b && vite build" ,
19+ "build:main" : " tsc -p tsconfig.app.json --noEmit" ,
1920 "check-types" : " tsc -p tsconfig.app.json --noEmit" ,
2021 "watch-types" : " run check-types --watch" ,
2122 "preview" : " vite preview" ,
Original file line number Diff line number Diff line change @@ -41,14 +41,15 @@ try {
4141 console . log ( " 🪛 Build packages..." ) ;
4242 console . log ( hr ( ) ) ;
4343
44+ const buildArgs = [ '--ignore @sofie-automation/webui' ]
45+ if ( config . uiOnly ) {
46+ buildArgs . push ( ...EXTRA_PACKAGES . map ( ( pkg ) => `--ignore ${ pkg } ` ) )
47+ }
48+
4449 await concurrently (
4550 [
4651 {
47- command : config . uiOnly
48- ? `yarn build:try ${ EXTRA_PACKAGES . map (
49- ( pkg ) => `--ignore ${ pkg } `
50- ) . join ( " " ) } `
51- : "yarn build:try" ,
52+ command : `yarn build:try ${ buildArgs . join ( " " ) } ` ,
5253 cwd : "packages" ,
5354 name : "PACKAGES-BUILD" ,
5455 prefixColor : "yellow" ,
You can’t perform that action at this time.
0 commit comments