Skip to content

Commit 1dcc39b

Browse files
committed
enhance: Allow older versions in peerDeps again
1 parent 000051e commit 1dcc39b

File tree

6 files changed

+28
-21
lines changed

6 files changed

+28
-21
lines changed

.changeset/eight-pumas-explode.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@data-client/redux": patch
3+
"@data-client/img": patch
4+
"@data-client/ssr": patch
5+
---
6+
7+
Relax peerDeps to allow older versions

examples/coin-app/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@types/react": "*",
3434
"@types/react-dom": "*",
3535
"react-refresh": "*",
36-
"typescript": "^5.2.2",
36+
"typescript": "^5.4.5",
3737
"webpack": "*",
3838
"webpack-cli": "*"
3939
},
@@ -45,11 +45,11 @@
4545
"@data-client/img": "^0.12.1",
4646
"@data-client/react": "^0.12.1",
4747
"@data-client/redux": "^0.12.1",
48-
"@data-client/rest": "^0.11.0",
48+
"@data-client/rest": "^0.11.5",
4949
"d3": "^7.9.0",
5050
"history": "*",
51-
"react": "^18.2.0",
52-
"react-dom": "^18.2.0",
51+
"react": "^18.3.0",
52+
"react-dom": "^18.3.0",
5353
"redux": "^5.0.0"
5454
},
5555
"main": "src/index.ts",

packages/img/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@data-client/endpoint": "^0.11.4"
7373
},
7474
"peerDependencies": {
75-
"@data-client/react": "^0.12.1",
75+
"@data-client/react": "^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0",
7676
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0-0 || ^19.0.0",
7777
"react": "^16.8.4 || ^17.0.0 || ^18.0.0-0 || ^19.0.0"
7878
},

packages/redux/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"@data-client/core": "^0.12.1"
111111
},
112112
"peerDependencies": {
113-
"@data-client/react": "^0.12.1",
113+
"@data-client/react": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0",
114114
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0",
115115
"react": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0",
116116
"redux": "^4.0.0 || ^5.0.0"

packages/ssr/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@
115115
"@babel/runtime": "^7.17.0"
116116
},
117117
"peerDependencies": {
118-
"@data-client/react": "^0.12.1",
119-
"@data-client/redux": "^0.12.1",
118+
"@data-client/react": "^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0",
119+
"@data-client/redux": "^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0",
120120
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0",
121121
"next": ">=12.0.0",
122122
"react": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0",

yarn.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3200,7 +3200,7 @@ __metadata:
32003200
"@types/node": "npm:^20.0.0"
32013201
"@types/react": "npm:^18.0.30"
32023202
peerDependencies:
3203-
"@data-client/react": ^0.12.1
3203+
"@data-client/react": ^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0
32043204
"@types/react": ^16.8.4 || ^17.0.0 || ^18.0.0-0 || ^19.0.0
32053205
react: ^16.8.4 || ^17.0.0 || ^18.0.0-0 || ^19.0.0
32063206
peerDependenciesMeta:
@@ -3256,7 +3256,7 @@ __metadata:
32563256
"@types/react": "npm:^18.0.30"
32573257
redux: "npm:^5.0.0"
32583258
peerDependencies:
3259-
"@data-client/react": ^0.12.1
3259+
"@data-client/react": ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0
32603260
"@types/react": ^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0
32613261
react: ^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0
32623262
redux: ^4.0.0 || ^5.0.0
@@ -3266,7 +3266,7 @@ __metadata:
32663266
languageName: unknown
32673267
linkType: soft
32683268

3269-
"@data-client/rest@npm:^0.11.0, @data-client/rest@workspace:*, @data-client/rest@workspace:packages/rest":
3269+
"@data-client/rest@npm:^0.11.5, @data-client/rest@workspace:*, @data-client/rest@workspace:packages/rest":
32703270
version: 0.0.0-use.local
32713271
resolution: "@data-client/rest@workspace:packages/rest"
32723272
dependencies:
@@ -3315,8 +3315,8 @@ __metadata:
33153315
react-dom: "npm:^18.2.0"
33163316
redux: "npm:^5.0.0"
33173317
peerDependencies:
3318-
"@data-client/react": ^0.12.1
3319-
"@data-client/redux": ^0.12.1
3318+
"@data-client/react": ^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0
3319+
"@data-client/redux": ^0.1.0 || ^0.2.0 || ^0.3.0 || ^0.4.0 || ^0.5.0 || ^0.7.0 || ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0
33203320
"@types/react": ^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0
33213321
next: ">=12.0.0"
33223322
react: ^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0
@@ -10664,7 +10664,7 @@ __metadata:
1066410664
"@data-client/img": "npm:^0.12.1"
1066510665
"@data-client/react": "npm:^0.12.1"
1066610666
"@data-client/redux": "npm:^0.12.1"
10667-
"@data-client/rest": "npm:^0.11.0"
10667+
"@data-client/rest": "npm:^0.11.5"
1066810668
"@linaria/babel-preset": "npm:*"
1066910669
"@linaria/core": "npm:*"
1067010670
"@linaria/react": "npm:*"
@@ -10674,11 +10674,11 @@ __metadata:
1067410674
"@types/react-dom": "npm:*"
1067510675
d3: "npm:^7.9.0"
1067610676
history: "npm:*"
10677-
react: "npm:^18.2.0"
10678-
react-dom: "npm:^18.2.0"
10677+
react: "npm:^18.3.0"
10678+
react-dom: "npm:^18.3.0"
1067910679
react-refresh: "npm:*"
1068010680
redux: "npm:^5.0.0"
10681-
typescript: "npm:^5.2.2"
10681+
typescript: "npm:^5.4.5"
1068210682
webpack: "npm:*"
1068310683
webpack-cli: "npm:*"
1068410684
languageName: unknown
@@ -24999,7 +24999,7 @@ __metadata:
2499924999
languageName: node
2500025000
linkType: hard
2500125001

25002-
"react-dom@npm:18.3.1, react-dom@npm:^18.2.0":
25002+
"react-dom@npm:18.3.1, react-dom@npm:^18.2.0, react-dom@npm:^18.3.0":
2500325003
version: 18.3.1
2500425004
resolution: "react-dom@npm:18.3.1"
2500525005
dependencies:
@@ -25302,7 +25302,7 @@ __metadata:
2530225302
languageName: node
2530325303
linkType: hard
2530425304

25305-
"react@npm:18.3.1, react@npm:^18.2.0":
25305+
"react@npm:18.3.1, react@npm:^18.2.0, react@npm:^18.3.0":
2530625306
version: 18.3.1
2530725307
resolution: "react@npm:18.3.1"
2530825308
dependencies:
@@ -29079,7 +29079,7 @@ __metadata:
2907929079
languageName: node
2908029080
linkType: hard
2908129081

29082-
"typescript@npm:5.4.5, typescript@npm:^5.1.6, typescript@npm:^5.2.2":
29082+
"typescript@npm:5.4.5, typescript@npm:^5.1.6, typescript@npm:^5.4.5":
2908329083
version: 5.4.5
2908429084
resolution: "typescript@npm:5.4.5"
2908529085
bin:
@@ -29099,7 +29099,7 @@ __metadata:
2909929099
languageName: node
2910029100
linkType: hard
2910129101

29102-
"typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.2.2#optional!builtin<compat/typescript>":
29102+
"typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.4.5#optional!builtin<compat/typescript>":
2910329103
version: 5.4.5
2910429104
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
2910529105
bin:

0 commit comments

Comments
 (0)