Skip to content

Commit 23c71de

Browse files
committed
refactor: peer dependencies
1 parent fd1fdc3 commit 23c71de

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.changeset/nervous-timers-float.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@siafoundation/design-system': minor
3+
'@siafoundation/fonts': minor
4+
'@siafoundation/react-core': minor
5+
---
6+
7+
Peer dependencies now limited to react and next.

libs/design-system/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
"version": "4.0.0",
55
"license": "MIT",
66
"peerDependencies": {
7+
"react": "^18.2.0"
8+
},
9+
"dependencies": {
710
"@siafoundation/react-icons": "^0.2.3",
811
"@siafoundation/react-core": "^1.1.0",
912
"@siafoundation/units": "^3.0.0",
1013
"@siafoundation/types": "^0.2.0",
1114
"@siafoundation/next": "^0.1.3",
1215
"@siafoundation/sia-central-react": "^3.0.0",
13-
"react": "^18.2.0",
1416
"swr": "^2.1.1",
1517
"class-variance-authority": "^0.7.0",
1618
"bignumber.js": "^9.0.2",
@@ -22,9 +24,7 @@
2224
"tailwindcss-text-fill": "^0.2.0",
2325
"tailwindcss-shadow-fill": "^1.0.1",
2426
"@tailwindcss/container-queries": "^0.1.1",
25-
"@technically/lodash": "^4.17.0"
26-
},
27-
"dependencies": {
27+
"@technically/lodash": "^4.17.0",
2828
"@visx/group": "2.17.0",
2929
"@visx/react-spring": "2.18.0",
3030
"@visx/glyph": "2.17.0",

libs/fonts/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
"version": "0.4.1",
55
"license": "MIT",
66
"peerDependencies": {
7-
"class-variance-authority": "^0.7.0",
87
"next": "^14.0.4"
98
},
9+
"dependencies": {
10+
"class-variance-authority": "^0.7.0"
11+
},
1012
"types": "./src/index.d.ts"
1113
}

0 commit comments

Comments
 (0)