FoundKey/scripts/install-packages.js
Francis Dinh a424426857
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
client: Use foundkey-js instead of misskey-js
2022-08-26 01:25:56 -04:00

35 lines
872 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/foundkey-js ...');
await execa('yarn', ['install'], {
cwd: __dirname + '/../packages/foundkey-js',
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,
});
})();