From f0c27227cf3cc15291798d7f44b906f0efce5785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Thu, 16 Apr 2026 10:22:01 +0200 Subject: [PATCH] chore: remove duplicate dependencies/devDependencies entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several packages had the same dependency listed in both `dependencies` and `devDependencies`. This removes the duplicate from whichever section is incorrect based on actual usage in the source code. Signed-off-by: Fredrik Adelöw Made-with: Cursor --- packages/backend-defaults/package.json | 1 - packages/cli/package.json | 1 - packages/core-compat-api/package.json | 4 +--- packages/techdocs-cli-embedded-app/package.json | 1 - plugins/app-backend/package.json | 1 - plugins/auth-backend-module-oidc-provider/package.json | 2 -- plugins/auth-node/package.json | 1 - plugins/catalog-backend/package.json | 2 -- plugins/catalog-react/package.json | 1 - plugins/notifications-backend-module-slack/package.json | 1 - 10 files changed, 1 insertion(+), 14 deletions(-) diff --git a/packages/backend-defaults/package.json b/packages/backend-defaults/package.json index d3c8f5b2da..8b1ec4a0ed 100644 --- a/packages/backend-defaults/package.json +++ b/packages/backend-defaults/package.json @@ -202,7 +202,6 @@ }, "devDependencies": { "@aws-sdk/util-stream-node": "^3.350.0", - "@backstage/backend-plugin-api": "workspace:^", "@backstage/backend-test-utils": "workspace:^", "@backstage/cli": "workspace:^", "@google-cloud/cloud-sql-connector": "^1.4.0", diff --git a/packages/cli/package.json b/packages/cli/package.json index 6c2add51a9..bbd47a292c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -87,7 +87,6 @@ "@backstage/core-components": "workspace:^", "@backstage/core-plugin-api": "workspace:^", "@backstage/dev-utils": "workspace:^", - "@backstage/errors": "workspace:^", "@backstage/plugin-auth-backend": "workspace:^", "@backstage/plugin-auth-backend-module-guest-provider": "workspace:^", "@backstage/plugin-catalog-node": "workspace:^", diff --git a/packages/core-compat-api/package.json b/packages/core-compat-api/package.json index 5e65e517b4..19f5d0ed67 100644 --- a/packages/core-compat-api/package.json +++ b/packages/core-compat-api/package.json @@ -39,8 +39,7 @@ "@backstage/plugin-catalog-react": "workspace:^", "@backstage/types": "workspace:^", "@backstage/version-bridge": "workspace:^", - "lodash": "^4.17.21", - "zod": "^3.25.76 || ^4.0.0" + "lodash": "^4.17.21" }, "devDependencies": { "@backstage/cli": "workspace:^", @@ -49,7 +48,6 @@ "@backstage/frontend-test-utils": "workspace:^", "@backstage/plugin-catalog": "workspace:^", "@backstage/test-utils": "workspace:^", - "@backstage/types": "workspace:^", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", "@types/react": "^18.0.0", diff --git a/packages/techdocs-cli-embedded-app/package.json b/packages/techdocs-cli-embedded-app/package.json index eebfdd98d9..192455a934 100644 --- a/packages/techdocs-cli-embedded-app/package.json +++ b/packages/techdocs-cli-embedded-app/package.json @@ -55,7 +55,6 @@ "react-use": "^17.2.4" }, "devDependencies": { - "@backstage/cli": "workspace:^", "@testing-library/dom": "^10.0.0", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^16.0.0", diff --git a/plugins/app-backend/package.json b/plugins/app-backend/package.json index 60db9c5413..271170a4b9 100644 --- a/plugins/app-backend/package.json +++ b/plugins/app-backend/package.json @@ -76,7 +76,6 @@ "@backstage/backend-defaults": "workspace:^", "@backstage/backend-test-utils": "workspace:^", "@backstage/cli": "workspace:^", - "@backstage/types": "workspace:^", "@types/express": "^4.17.6", "@types/supertest": "^2.0.8", "supertest": "^7.0.0" diff --git a/plugins/auth-backend-module-oidc-provider/package.json b/plugins/auth-backend-module-oidc-provider/package.json index bbddb2b306..3975c8c7bb 100644 --- a/plugins/auth-backend-module-oidc-provider/package.json +++ b/plugins/auth-backend-module-oidc-provider/package.json @@ -48,8 +48,6 @@ "@backstage/backend-defaults": "workspace:^", "@backstage/backend-test-utils": "workspace:^", "@backstage/cli": "workspace:^", - "@backstage/config": "workspace:^", - "@backstage/types": "workspace:^", "cookie-parser": "^1.4.6", "express-promise-router": "^4.1.1", "express-session": "^1.17.3", diff --git a/plugins/auth-node/package.json b/plugins/auth-node/package.json index 76e8430c65..9fbfe473f9 100644 --- a/plugins/auth-node/package.json +++ b/plugins/auth-node/package.json @@ -60,7 +60,6 @@ "@backstage/cli": "workspace:^", "cookie-parser": "^1.4.6", "express-promise-router": "^4.1.1", - "lodash": "^4.17.21", "msw": "^1.0.0", "supertest": "^7.0.0", "uuid": "^11.0.0" diff --git a/plugins/catalog-backend/package.json b/plugins/catalog-backend/package.json index c2fcb6c385..2cf1b9a6d6 100644 --- a/plugins/catalog-backend/package.json +++ b/plugins/catalog-backend/package.json @@ -105,7 +105,6 @@ "@backstage/backend-test-utils": "workspace:^", "@backstage/cli": "workspace:^", "@backstage/plugin-catalog-backend-module-logs": "workspace:^", - "@backstage/plugin-permission-common": "workspace:^", "@backstage/plugin-scaffolder-common": "workspace:^", "@backstage/repo-tools": "workspace:^", "@types/core-js": "^2.5.4", @@ -114,7 +113,6 @@ "@types/lodash": "^4.14.151", "@types/supertest": "^2.0.8", "better-sqlite3": "^12.0.0", - "luxon": "^3.0.0", "msw": "^2.0.0", "supertest": "^7.0.0", "wait-for-expect": "^4.0.0", diff --git a/plugins/catalog-react/package.json b/plugins/catalog-react/package.json index e80487cafb..02c50eed58 100644 --- a/plugins/catalog-react/package.json +++ b/plugins/catalog-react/package.json @@ -70,7 +70,6 @@ "@backstage/filter-predicates": "workspace:^", "@backstage/frontend-plugin-api": "workspace:^", "@backstage/integration-react": "workspace:^", - "@backstage/plugin-catalog-common": "workspace:^", "@backstage/plugin-permission-common": "workspace:^", "@backstage/plugin-permission-react": "workspace:^", "@backstage/types": "workspace:^", diff --git a/plugins/notifications-backend-module-slack/package.json b/plugins/notifications-backend-module-slack/package.json index a5a557e7e2..5e4ff43bf6 100644 --- a/plugins/notifications-backend-module-slack/package.json +++ b/plugins/notifications-backend-module-slack/package.json @@ -51,7 +51,6 @@ "devDependencies": { "@backstage/backend-test-utils": "workspace:^", "@backstage/cli": "workspace:^", - "@backstage/plugin-catalog-node": "workspace:^", "@backstage/test-utils": "workspace:^", "@faker-js/faker": "^10.0.0", "msw": "^2.0.0"