Skip to content

Commit 16022ba

Browse files
committed
build: move build-packages.sh into package.json
1 parent db7a504 commit 16022ba

File tree

3 files changed

+10
-15
lines changed

3 files changed

+10
-15
lines changed

package-lock.json

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
},
1212
"scripts": {
1313
"refresh-gh-workflow": "ts-node scripts/build-gha-workflows.ts",
14-
"build-monorepo": "bash ./scripts/build-monorepo.sh",
14+
"build-monorepo": "cross-env-shell ./scripts/build-monorepo.sh",
1515
"prepare": "husky install",
16-
"build": "bash ./scripts/build-packages.sh",
16+
"build": "cross-env NODE_ENV=production npm run --workspaces build",
1717
"clean": "npm run --workspaces clean"
1818
},
1919
"config": {
@@ -22,7 +22,10 @@
2222
}
2323
},
2424
"workspaces": [
25-
"packages/*"
25+
"packages/scratch-svg-renderer",
26+
"packages/scratch-render",
27+
"packages/scratch-vm",
28+
"packages/scratch-gui"
2629
],
2730
"devDependencies": {
2831
"@commitlint/cli": "17.8.1",

scripts/build-packages.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)