Bump zod dependency to v4 for packages using configSchema

These packages use `configSchema` with `zod/v4` imports and require the
full Zod v4 package for JSON Schema support. The dependency range is
narrowed from `^3.25.76 || ^4.0.0` to `^4.0.0`.

Also adds a `.patches` entry for the patch release.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-04-16 18:44:51 +02:00
parent 72a552f0db
commit 085133fde0
13 changed files with 33 additions and 20 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
"react-stately": "^3.46.0",
"react-use": "^17.2.4",
"zen-observable": "^0.10.0",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
+1 -1
View File
@@ -65,7 +65,7 @@
"lodash": "^4.17.15",
"qs": "^6.9.4",
"react-use": "^17.2.4",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
+1 -1
View File
@@ -87,7 +87,7 @@
"react-use": "^17.2.4",
"yaml": "^2.0.0",
"zen-observable": "^0.10.0",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
+1 -1
View File
@@ -88,7 +88,7 @@
"react-helmet": "6.1.0",
"react-use": "^17.2.4",
"zen-observable": "^0.10.0",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
+1 -1
View File
@@ -67,7 +67,7 @@
"pluralize": "^8.0.0",
"qs": "^6.10.1",
"react-use": "^17.2.4",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/catalog-client": "workspace:^",
+1 -1
View File
@@ -70,7 +70,7 @@
"qs": "^6.9.4",
"react-use": "^17.3.2",
"uuid": "^11.0.2",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
+1 -1
View File
@@ -72,7 +72,7 @@
"@material-ui/icons": "^4.9.1",
"qs": "^6.9.4",
"react-use": "^17.2.4",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
+1 -1
View File
@@ -87,7 +87,7 @@
"lodash": "^4.17.21",
"react-helmet": "6.1.0",
"react-use": "^17.2.4",
"zod": "^3.25.76 || ^4.0.0"
"zod": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",