Workspaces refactor #86
2 changed files with 0 additions and 36 deletions
|
@ -8,7 +8,6 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"workspaces": ["packages/*"],
|
"workspaces": ["packages/*"],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "node ./scripts/install-packages.js",
|
|
||||||
"build": "node ./scripts/build.js",
|
"build": "node ./scripts/build.js",
|
||||||
"start": "cd packages/backend && node --experimental-json-modules ./built/index.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",
|
"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