Skip to content
Source
Sign inSign up
TanStack/form

fix(solid): cap solid-js peer range at ^1 #2456

Mergedryansolid(GitHub profile, opens in a new tab)merged 3 commits intomain fromrefs/pull/2456/headmerged by LeCarbonator(GitHub profile, opens in a new tab)

Showing 5 changed files with 9 additions and 2 deletions (loading 1).

x
0 of 5 viewed, 5 left
7 additions and 0 deletions.changeset/solid-js-peer-cap.mdAdded
View file
@@ -0,0 +1,7 @@
+---
+'@tanstack/form-devtools': patch
+'@tanstack/solid-form-devtools': patch
+'@tanstack/solid-form': patch
+---
+​
+Cap the `solid-js` peer range at `^1`. The previous open-ended `>=` range would accept Solid 2.0.0 once it is released, but these packages are built against Solid 1 and do not work with Solid 2.
1 addition and 1 deletionpackages/form-devtools/package.jsonModified
View file
@@ -88,6 +88,6 @@
"vite-plugin-solid": "^2.11.8"
},
"peerDependencies": {
- "solid-js": ">=1.9.9"
+ "solid-js": "^1.9.9"
1 addition and 1 deletionpackages/solid-form/package.jsonModified
View file
@@ -65,6 +65,6 @@
"vite-plugin-solid": "^2.11.8"
},
"peerDependencies": {
- "solid-js": ">=1.9.9"
+ "solid-js": "^1.9.9"