misskey/scripts/install-packages.js

28 lines
650 B
JavaScript
Raw Normal View History

2021-11-12 01:24:19 +00: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,
});
console.log('installing dependencies of packages/client ...');
await execa('yarn', ['install'], {
cwd: __dirname + '/../packages/client',
stdout: process.stdout,
stderr: process.stderr,
});
2021-11-20 05:44:59 +00:00
console.log('installing dependencies of packages/sw ...');
await execa('yarn', ['install'], {
cwd: __dirname + '/../packages/sw',
stdout: process.stdout,
stderr: process.stderr,
});
2021-11-12 01:24:19 +00:00
})();