Skip to content

Commit da89020

Browse files
authored
Fix builds (#108)
* fix: update build script and update core package deps * Create changeset
1 parent b86ff10 commit da89020

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.changeset/gentle-beers-mix.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@web3-ui/core': minor
3+
'@web3-ui/components': minor
4+
'@web3-ui/hooks': minor
5+
---
6+
7+
Fix builds

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"format": "prettier --write",
1919
"build:components": "yarn workspace @web3-ui/components build",
2020
"build:hooks": "yarn workspace @web3-ui/hooks build",
21-
"build": "yarn build:components && yarn build:hooks",
21+
"build:core": "yarn workspace @web3-ui/core build",
22+
"build": "yarn build:components && yarn build:hooks && yarn build:core",
2223
"test": "jest",
2324
"test:watch": "yarn test --watch",
2425
"test:coverage": "jest --coverage --colors",
@@ -27,7 +28,7 @@
2728
"example": "yarn workspace example dev",
2829
"build-storybook": "build-storybook",
2930
"chromatic": "chromatic --exit-zero-on-changes",
30-
"publish": "yarn changeset publish"
31+
"publish:npm": "yarn build && yarn changeset publish"
3132
},
3233
"devDependencies": {
3334
"@babel/cli": "^7.16.0",

packages/core/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
"@emotion/styled": "^11",
3535
"classnames": "^2.2.6",
3636
"cross-fetch": "^3.1.4",
37-
"framer-motion": "^4"
37+
"framer-motion": "^4",
38+
"@web3-ui/components": "^0.1.1",
39+
"@web3-ui/hooks": "^0.2.0"
3840
},
3941
"peerDependencies": {
4042
"react": "*",

0 commit comments

Comments
 (0)