Skip to content

Commit 5157705

Browse files
committed
Use workspaces rather than script
1 parent 9697b08 commit 5157705

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
"dev": "concurrently \"loam dev --build-clients\" \"vite\"",
88
"start": "concurrently \"loam dev --build-clients\" \"vite\"",
99
"build": "tsc -b && vite build",
10-
"install:contracts": "npm run install:all-contracts && npm run build:all-contracts",
11-
"install:all-contracts": "npm run foreach-contract -- npm install",
12-
"build:all-contracts": "npm run foreach-contract -- npm run build",
13-
"foreach-contract": "node scripts/foreach-contract.js",
10+
"install:contracts": "npm install --workspace=packages && npm run build --workspace=packages",
1411
"preview": "vite preview",
1512
"lint": "eslint ."
1613
},

scripts/foreach-contract.js

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

0 commit comments

Comments
 (0)