2021-11-12 02:24:19 +01:00
|
|
|
const execa = require('execa');
|
|
|
|
|
|
|
|
(async () => {
|
|
|
|
console.log('installing dependencies of packages/backend ...');
|
|
|
|
|
|
|
|
await execa('yarn', ['install'], {
|
|
|
|
cwd: __dirname + '/../packages/backend',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
|
|
|
|
2022-04-15 18:03:24 +02:00
|
|
|
if (process.env.SKIP_CLIENT !== "YES") {
|
|
|
|
console.log('installing dependencies of packages/client ...');
|
2021-11-12 02:24:19 +01:00
|
|
|
|
2022-04-15 18:03:24 +02:00
|
|
|
await execa('yarn', ['install'], {
|
|
|
|
cwd: __dirname + '/../packages/client',
|
|
|
|
stdout: process.stdout,
|
|
|
|
stderr: process.stderr,
|
|
|
|
});
|
|
|
|
}
|
2021-11-12 02:24:19 +01:00
|
|
|
})();
|