Skip to content

Commit 10ad15b

Browse files
committed
chore(build): consolidate as a single root-level script
1 parent d2d7cba commit 10ad15b

File tree

4 files changed

+1
-7
lines changed

4 files changed

+1
-7
lines changed

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
"scripts": {
1616
"prepare": "husky install",
1717
"format": "prettier --write",
18-
"build:components": "yarn workspace @web3-ui/components build",
19-
"build:hooks": "yarn workspace @web3-ui/hooks build",
20-
"build:core": "yarn workspace @web3-ui/core build",
21-
"build": "yarn build:components && yarn build:hooks && yarn build:core",
18+
"build": "preconstruct build",
2219
"test": "jest",
2320
"test:watch": "yarn test --watch",
2421
"test:coverage": "jest --coverage --colors",

packages/components/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"dist"
3030
],
3131
"scripts": {
32-
"build": "preconstruct build",
3332
"format": "prettier --write \"src/**/*.{ts,tsx,json,js,jsx}\"",
3433
"format:check": "prettier --list-different \"src/**/*.{ts,tsx,json,js,jsx}\"",
3534
"prepublishOnly": "yarn build && cp ../../LICENSE ./LICENSE"

packages/core/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"dist"
3131
],
3232
"scripts": {
33-
"build": "preconstruct build",
3433
"format": "prettier --write \"src/**/*.{ts,tsx,json,js,jsx}\"",
3534
"format:check": "prettier --list-different \"src/**/*.{ts,tsx,json,js,jsx}\"",
3635
"prepublishOnly": "yarn build && cp ../../LICENSE ./LICENSE"

packages/hooks/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"dist"
3030
],
3131
"scripts": {
32-
"build": "preconstruct build",
3332
"format": "prettier --write \"src/**/*.{ts,tsx,json,js,jsx}\"",
3433
"format:check": "prettier --list-different \"src/**/*.{ts,tsx,json,js,jsx}\"",
3534
"test": "jest --maxWorkers=2",

0 commit comments

Comments
 (0)