From fa2d7efc4f0278d0c3e30cf67b7f82d05bdd8fdb Mon Sep 17 00:00:00 2001 From: Fabian Hiller Date: Mon, 7 Oct 2024 11:01:14 -0400 Subject: [PATCH] Fix installation error when Valibot is missing #255 --- packages/preact/CHANGELOG.md | 4 ++++ packages/preact/package.json | 12 ++++-------- packages/qwik/CHANGELOG.md | 4 ++++ packages/qwik/package.json | 12 +++--------- packages/react/CHANGELOG.md | 4 ++++ packages/react/package.json | 12 ++++-------- packages/solid/CHANGELOG.md | 4 ++++ packages/solid/package.json | 12 ++++-------- 8 files changed, 31 insertions(+), 33 deletions(-) diff --git a/packages/preact/CHANGELOG.md b/packages/preact/CHANGELOG.md index 2378bfe..8b0c40c 100644 --- a/packages/preact/CHANGELOG.md +++ b/packages/preact/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the library will be documented in this file. +## vX.X.X (Month DD, YYYY) + +- Fix installation error when Valibot dependency is missing (issue #255) + ## v0.11.0 (October 03, 2024) - Upgrade Valibot peer dependency to v1.0.0 diff --git a/packages/preact/package.json b/packages/preact/package.json index 6f78f1e..80a1cb8 100644 --- a/packages/preact/package.json +++ b/packages/preact/package.json @@ -46,6 +46,9 @@ "format.check": "prettier --check \"./src\"", "lint": "eslint \"./src/**/*.ts*\" && tsc --noEmit" }, + "dependencies": { + "valibot": "1.0.0-beta.0" + }, "devDependencies": { "@preact/preset-vite": "^2.9.0", "@preact/signals": "^1.3.0", @@ -56,18 +59,11 @@ "eslint-config-preact": "^1.4.0", "preact": "^10.23.2", "typescript": "^5.5.4", - "valibot": "1.0.0-beta.0", "vite": "^5.4.2", "zod": "^3.23.8" }, "peerDependencies": { "@preact/signals": "^1.0.0", - "preact": "^10.0.0", - "valibot": "^1.0.0" - }, - "peerDependenciesMeta": { - "valibot": { - "optional": true - } + "preact": "^10.0.0" } } diff --git a/packages/qwik/CHANGELOG.md b/packages/qwik/CHANGELOG.md index 0fcf4ad..5ffda18 100644 --- a/packages/qwik/CHANGELOG.md +++ b/packages/qwik/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the library will be documented in this file. +## vX.X.X (Month DD, YYYY) + +- Fix installation error when Valibot dependency is missing (issue #255) + ## v0.28.0 (October 03, 2024) - Upgrade Valibot peer dependency to v1.0.0 diff --git a/packages/qwik/package.json b/packages/qwik/package.json index a993b20..ab5dda0 100644 --- a/packages/qwik/package.json +++ b/packages/qwik/package.json @@ -47,7 +47,8 @@ "lint": "eslint \"./src/**/*.ts*\" && tsc --noEmit" }, "dependencies": { - "decode-formdata": "^0.8.0" + "decode-formdata": "^0.8.0", + "valibot": "1.0.0-beta.0" }, "devDependencies": { "@builder.io/qwik": "^1.9.0", @@ -60,18 +61,11 @@ "eslint": "8.57.0", "eslint-plugin-qwik": "^1.9.0", "typescript": "^5.6.2", - "valibot": "1.0.0-beta.0", "vite": "^5.4.8", "zod": "^3.23.8" }, "peerDependencies": { "@builder.io/qwik": "^1.9.0 | ^2.0.0", - "@builder.io/qwik-city": "^1.9.0 | ^2.0.0", - "valibot": "^1.0.0" - }, - "peerDependenciesMeta": { - "valibot": { - "optional": true - } + "@builder.io/qwik-city": "^1.9.0 | ^2.0.0" } } diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 1240fe6..97e65fa 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the library will be documented in this file. +## vX.X.X (Month DD, YYYY) + +- Fix installation error when Valibot dependency is missing (issue #255) + ## v0.10.0 (October 03, 2024) - Upgrade Valibot peer dependency to v1.0.0 diff --git a/packages/react/package.json b/packages/react/package.json index d086889..4d47922 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -46,6 +46,9 @@ "format.check": "prettier --check .", "lint": "eslint \"src/**/*.ts*\" && tsc --noEmit" }, + "dependencies": { + "valibot": "1.0.0-beta.0" + }, "devDependencies": { "@preact/signals-react": "^2.2.0", "@types/eslint": "^8.56.12", @@ -58,18 +61,11 @@ "eslint-plugin-react-hooks": "^4.6.2", "react": "^18.3.1", "typescript": "^5.5.4", - "valibot": "1.0.0-beta.0", "vite": "^5.4.2", "zod": "^3.23.8" }, "peerDependencies": { "@preact/signals-react": "^1.0.0", - "react": "^18.0.0", - "valibot": "^1.0.0" - }, - "peerDependenciesMeta": { - "valibot": { - "optional": true - } + "react": "^18.0.0" } } diff --git a/packages/solid/CHANGELOG.md b/packages/solid/CHANGELOG.md index 5a83730..48ee7e7 100644 --- a/packages/solid/CHANGELOG.md +++ b/packages/solid/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to the library will be documented in this file. +## vX.X.X (Month DD, YYYY) + +- Fix installation error when Valibot dependency is missing (issue #255) + ## v0.24.0 (October 03, 2024) - Upgrade Valibot peer dependency to v1.0.0 diff --git a/packages/solid/package.json b/packages/solid/package.json index dcd190a..2d73172 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -52,6 +52,9 @@ "format.check": "prettier --check .", "lint": "eslint \"src/**/*.ts*\" && tsc --noEmit" }, + "dependencies": { + "valibot": "1.0.0-beta.0" + }, "devDependencies": { "@types/eslint": "^8.56.12", "@typescript-eslint/eslint-plugin": "^7.18.0", @@ -62,16 +65,9 @@ "rollup-preset-solid": "^2.0.1", "solid-js": "^1.8.22", "typescript": "^5.5.4", - "valibot": "1.0.0-beta.0", "zod": "^3.23.8" }, "peerDependencies": { - "solid-js": "^1.3.1", - "valibot": "^1.0.0" - }, - "peerDependenciesMeta": { - "valibot": { - "optional": true - } + "solid-js": "^1.3.1" } }