forked from FoundKeyGang/FoundKey
remove install-packages.js
Since we're now using workspaces, the dependencies of all modules in the repo are automatically fetched.
This commit is contained in:
parent
622731d1bd
commit
99bed3f872
2 changed files with 0 additions and 36 deletions
|
@ -8,7 +8,6 @@
|
|||
"private": true,
|
||||
"workspaces": ["packages/*"],
|
||||
"scripts": {
|
||||
"postinstall": "node ./scripts/install-packages.js",
|
||||
"build": "node ./scripts/build.js",
|
||||
"start": "cd packages/backend && node --experimental-json-modules ./built/index.js",
|
||||
"start:test": "cd packages/backend && cross-env NODE_ENV=test node --experimental-json-modules ./built/index.js",
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
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,
|
||||
});
|
||||
})();
|
Loading…
Reference in a new issue