Replace install-packages.js with workspaces

This commit is contained in:
ThatOneCalculator 2022-05-29 17:14:52 -07:00
parent 9d1c8b4f00
commit fd8170f1dc

View file

@ -7,9 +7,9 @@
"url": "https://github.com/misskey-dev/misskey.git" "url": "https://github.com/misskey-dev/misskey.git"
}, },
"packageManager": "yarn@3.2.1", "packageManager": "yarn@3.2.1",
"workspaces": ["client", "server", "sw"],
"private": true, "private": true,
"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",