Skip to content

Commit 72da158

Browse files
committed
feat: Mark compatibility with upcoming versions (#959)
1 parent 36abc21 commit 72da158

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

packages/experimental/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@babel/runtime": "^7.7.2"
8080
},
8181
"peerDependencies": {
82-
"@rest-hooks/core": "^1.2.1",
82+
"@rest-hooks/core": "^1.2.1 || ^2.0.0-0",
8383
"@rest-hooks/endpoint": "^1.2.0",
8484
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0-0",
8585
"react": "^16.8.4 || ^17.0.0 || ^18.0.0-0"

packages/hooks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"@babel/runtime": "^7.7.2"
7474
},
7575
"peerDependencies": {
76-
"@rest-hooks/endpoint": "^0.6.1 || ^1.0.0-0",
76+
"@rest-hooks/endpoint": "^0.6.1 || ^1.0.0-0 || ^2.0.0-0",
7777
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0-0",
7878
"react": "^16.8.4 || ^17.0.0 || ^18.0.0-0"
7979
},

packages/img/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
"@babel/runtime": "^7.7.2"
7474
},
7575
"peerDependencies": {
76-
"@rest-hooks/core": "^1.0.5",
77-
"@rest-hooks/endpoint": "^1.0.3",
76+
"@rest-hooks/core": "^1.0.5 || ^2.0.0-0",
77+
"@rest-hooks/endpoint": "^1.0.3 || ^2.0.0-0",
7878
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0-0",
7979
"react": "^16.8.4 || ^17.0.0 || ^18.0.0-0"
8080
},

packages/legacy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"url": "https://github.com/coinbase/rest-hooks/issues"
7777
},
7878
"peerDependencies": {
79-
"@rest-hooks/core": "^1.4.1",
79+
"@rest-hooks/core": "^1.4.1 || ^2.0.0-0",
8080
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0-0",
8181
"react": "^16.8.4 || ^17.0.0 || ^18.0.0-0"
8282
},

packages/test/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@
9898
"@testing-library/react-hooks": "~7.0.0"
9999
},
100100
"peerDependencies": {
101-
"@rest-hooks/core": "^1.0.0-0",
101+
"@rest-hooks/core": "^1.0.0-0 || ^2.0.0-0",
102102
"@types/react": "^16.8.4 || ^17.0.0 || ^18.0.0-0",
103103
"react": "^16.8.4 || ^17.0.0 || ^18.0.0-0",
104104
"redux": "^4.0.0",
105-
"rest-hooks": "^5.0.11"
105+
"rest-hooks": "^5.0.11 || ^6.0.0-0"
106106
},
107107
"peerDependenciesMeta": {
108108
"redux": {

0 commit comments

Comments
 (0)