2021-11-12 01:24:19 +00:00
|
|
|
const execa = require('execa');
|
|
|
|
|
|
|
|
(async () => {
|
|
|
|
console.log('building packages/backend ...');
|
|
|
|
|
|
|
|
await execa('npm', ['run', 'build'], {
|
|
|
|
cwd: __dirname + '/../packages/backend',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
|
|
|
|
2022-08-26 05:25:56 +00:00
|
|
|
console.log('building packages/foundkey-js ...');
|
|
|
|
|
|
|
|
await execa('npm', ['run', 'build'], {
|
|
|
|
cwd: __dirname + '/../packages/foundkey-js',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
|
|
|
|
2021-11-12 01:24:19 +00:00
|
|
|
console.log('building packages/client ...');
|
|
|
|
|
|
|
|
await execa('npm', ['run', 'build'], {
|
|
|
|
cwd: __dirname + '/../packages/client',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
|
|
|
|
2022-04-30 12:52:07 +00:00
|
|
|
console.log('building packages/sw ...');
|
|
|
|
|
|
|
|
await execa('npm', ['run', 'build'], {
|
|
|
|
cwd: __dirname + '/../packages/sw',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
|
|
|
|
2021-11-12 01:24:19 +00:00
|
|
|
console.log('build finishing ...');
|
|
|
|
|
|
|
|
await execa('npm', ['run', 'gulp'], {
|
|
|
|
cwd: __dirname + '/../',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
|
|
|
})();
|