iceshrimp/scripts/install-packages.js
MeiMei 857b9cab2b Fix Cannot find module issue (#8770)
* Add --force to yarn in the installation script

* CHAGELOG
2022-05-31 17:55:07 +09:00

27 lines
661 B
JavaScript

const execa = require('execa');
(async () => {
console.log('installing dependencies of packages/backend ...');
await execa('yarn', ['--force', '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,
});
console.log('installing dependencies of packages/sw ...');
await execa('yarn', ['install'], {
cwd: __dirname + '/../packages/sw',
stdout: process.stdout,
stderr: process.stderr,
});
})();