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:
Norm 2022-08-26 02:31:36 -04:00
parent 622731d1bd
commit 99bed3f872
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE
2 changed files with 0 additions and 36 deletions

View file

@ -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",

View file

@ -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,
});
})();