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 16
16
"scripts" : {
17
17
"dev" : " vite --port=3005" ,
18
18
"build" : " tsc -b && vite build" ,
19
+ "build:main" : " tsc -p tsconfig.app.json --noEmit" ,
19
20
"check-types" : " tsc -p tsconfig.app.json --noEmit" ,
20
21
"watch-types" : " run check-types --watch" ,
21
22
"preview" : " vite preview" ,
Original file line number Diff line number Diff line change @@ -41,14 +41,15 @@ try {
41
41
console . log ( " 🪛 Build packages..." ) ;
42
42
console . log ( hr ( ) ) ;
43
43
44
+ const buildArgs = [ '--ignore @sofie-automation/webui' ]
45
+ if ( config . uiOnly ) {
46
+ buildArgs . push ( ...EXTRA_PACKAGES . map ( ( pkg ) => `--ignore ${ pkg } ` ) )
47
+ }
48
+
44
49
await concurrently (
45
50
[
46
51
{
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 ( " " ) } ` ,
52
53
cwd : "packages" ,
53
54
name : "PACKAGES-BUILD" ,
54
55
prefixColor : "yellow" ,
You can’t perform that action at this time.
0 commit comments