@@ -34,16 +34,12 @@ function buildProject() {
3434 // if one of the sub processes fails, then we terminate the other sub process and exit the main process
3535 const spawnStdIoOpts = { stdio : [ 'inherit' , 'inherit' , 'pipe' ] }
3636 execSync (
37- 'lerna run prepare-build --stream -- scope @instructure/ui-icons' ,
37+ 'lerna run prepare-build --scope @instructure/ui-icons --loglevel silent ' ,
3838 opts
3939 )
4040 // eslint-disable-next-line no-console
4141 console . info ( 'Starting Babel and TSC...' )
42- const tsBuild = spawn (
43- 'npm' ,
44- [ 'run' , 'build:types' , '--verbose' ] ,
45- spawnStdIoOpts
46- )
42+ const tsBuild = spawn ( 'npm' , [ 'run' , 'build:types' ] , spawnStdIoOpts )
4743 const babelBuild = spawn ( 'npm' , [ 'run' , 'build' ] , spawnStdIoOpts )
4844 tsBuild . on ( 'exit' , ( code ) => {
4945 if ( code !== 0 ) {
@@ -64,9 +60,7 @@ function buildProject() {
6460 console . error ( "'npm run build' failed :(" )
6561 process . exit ( code )
6662 }
67- const result = execSync ( 'npm run build:tokens' , opts )
68- // eslint-disable-next-line no-console
69- console . info ( 'npm run build:tokens result' , result )
63+ execSync ( 'npm run build:tokens' , opts )
7064 } )
7165}
7266function bootstrap ( ) {
0 commit comments