chore: remove duplicate dependencies/devDependencies entries

Remove duplicated entries that appeared in both dependencies and
devDependencies across 10 packages. Also remove zod entirely from
core-compat-api as it is unused.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
This commit is contained in:
Fredrik Adelöw
2026-04-16 10:43:07 +02:00
parent ead0ca27e5
commit 744fa1fb8b
12 changed files with 14 additions and 48 deletions
@@ -1,5 +0,0 @@
---
'@backstage/plugin-app-backend': patch
---
Removed `@backstage/types` from `devDependencies` where it was already listed in `dependencies`.
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-node': patch
---
Removed `lodash` from `devDependencies` where it was already listed in `dependencies`.
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend-module-oidc-provider': patch
---
Removed `@backstage/config` and `@backstage/types` from `devDependencies` where they were already listed in `dependencies`.
@@ -1,5 +0,0 @@
---
'@backstage/backend-defaults': patch
---
Removed `@backstage/backend-plugin-api` from `devDependencies` where it was already listed in `dependencies`.
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Removed `@backstage/plugin-permission-common` and `luxon` from `devDependencies` where they were already listed in `dependencies`.
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-react': patch
---
Moved `@backstage/plugin-catalog-common` from `dependencies` to `devDependencies` as it is only used in tests.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Removed `@backstage/errors` from `devDependencies` where it was already listed in `dependencies`.
@@ -1,5 +0,0 @@
---
'@backstage/core-compat-api': patch
---
Removed `zod` from `dependencies` where it was only used in tests. Kept `@backstage/types` in `dependencies` as it is transitively required at runtime.
@@ -1,5 +0,0 @@
---
'@backstage/plugin-notifications-backend-module-slack': patch
---
Removed `@backstage/plugin-catalog-node` from `devDependencies` where it was already listed in `dependencies`.
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/backend-defaults': patch
'@backstage/cli': patch
'@backstage/core-compat-api': patch
'@backstage/plugin-app-backend': patch
'@backstage/plugin-auth-backend-module-oidc-provider': patch
'@backstage/plugin-auth-node': patch
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-notifications-backend-module-slack': patch
---
Removed duplicated entries that appeared in both `dependencies` and `devDependencies`.
+1 -2
View File
@@ -53,8 +53,7 @@
"@types/react": "^18.0.0",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"react-router-dom": "^6.30.2",
"zod": "^3.25.76 || ^4.0.0"
"react-router-dom": "^6.30.2"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0",
-1
View File
@@ -3431,7 +3431,6 @@ __metadata:
react: "npm:^18.0.2"
react-dom: "npm:^18.0.2"
react-router-dom: "npm:^6.30.2"
zod: "npm:^3.25.76 || ^4.0.0"
peerDependencies:
"@types/react": ^17.0.0 || ^18.0.0
react: ^17.0.0 || ^18.0.0