chore: remove unused dependencies

Remove 30 dependencies across 18 packages that have no imports in
source code and are not peer dependencies of any other dependency.

Signed-off-by: Fredrik Adelöw <freben@spotify.com>
Made-with: Cursor
This commit is contained in:
Fredrik Adelöw
2026-04-16 11:52:59 +02:00
parent 62c16341ba
commit 0c5e41f984
20 changed files with 29 additions and 74 deletions
+22
View File
@@ -0,0 +1,22 @@
---
'@backstage/core-components': patch
'@backstage/plugin-app-backend': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-backend-module-gitlab': patch
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
'@backstage/plugin-catalog-graph': patch
'@backstage/plugin-devtools-backend': patch
'@backstage/plugin-kubernetes-node': patch
'@backstage/plugin-notifications-common': patch
'@backstage/plugin-notifications-node': patch
'@backstage/plugin-permission-backend': patch
'@backstage/plugin-scaffolder-backend-module-cookiecutter': patch
'@backstage/plugin-scaffolder-backend-module-yeoman': patch
'@backstage/plugin-search-backend': patch
'@backstage/plugin-signals-node': patch
'@backstage/plugin-techdocs-react': patch
'@backstage/plugin-user-settings-backend': patch
'@techdocs/cli': patch
---
Removed unused dependencies that had no imports in source code.
-1
View File
@@ -78,7 +78,6 @@
"linkifyjs": "4.3.2",
"lodash": "^4.17.21",
"parse5": "^6.0.0",
"pluralize": "^8.0.0",
"qs": "^6.9.4",
"rc-progress": "3.5.1",
"react-full-screen": "^1.1.1",
-1
View File
@@ -51,7 +51,6 @@
"@backstage/plugin-techdocs-node": "workspace:^",
"commander": "^14.0.3",
"fs-extra": "^11.0.0",
"global-agent": "^3.0.0",
"http-proxy": "^1.18.1",
"react-dev-utils": "^12.0.0-next.60",
"serve-handler": "^6.1.3",
+1 -2
View File
@@ -68,8 +68,7 @@
"helmet": "^6.0.0",
"knex": "^3.0.0",
"lodash": "^4.17.21",
"luxon": "^3.0.0",
"yn": "^4.0.0"
"luxon": "^3.0.0"
},
"devDependencies": {
"@backstage/backend-app-api": "workspace:^",
@@ -62,7 +62,6 @@
"@backstage/plugin-events-node": "workspace:^",
"@gitbeaker/rest": "^40.0.3",
"lodash": "^4.17.21",
"node-fetch": "^2.7.0",
"uuid": "^11.0.0"
},
"devDependencies": {
@@ -55,7 +55,6 @@
"@backstage/plugin-catalog-backend": "workspace:^",
"@backstage/plugin-catalog-node": "workspace:^",
"@backstage/plugin-events-node": "workspace:^",
"@backstage/plugin-permission-common": "workspace:^",
"@backstage/types": "workspace:^",
"express": "^4.22.0",
"express-promise-router": "^4.1.0",
-1
View File
@@ -63,7 +63,6 @@
"@remixicon/react": "^4.6.0",
"classnames": "^2.3.1",
"lodash": "^4.17.15",
"p-limit": "^3.1.0",
"qs": "^6.9.4",
"react-use": "^17.2.4",
"zod": "^3.25.76 || ^4.0.0"
-1
View File
@@ -83,7 +83,6 @@
"@mui/utils": "^5.14.15",
"classnames": "^2.3.1",
"dataloader": "^2.0.0",
"history": "^5.0.0",
"lodash": "^4.17.21",
"pluralize": "^8.0.0",
"react-helmet": "6.1.0",
+1 -3
View File
@@ -55,9 +55,7 @@
"express-promise-router": "^4.1.0",
"fs-extra": "^11.0.0",
"lodash": "^4.17.21",
"ping": "^0.4.1",
"semver": "^7.5.3",
"yn": "^4.0.0"
"ping": "^0.4.1"
},
"devDependencies": {
"@backstage/backend-defaults": "workspace:^",
+1 -2
View File
@@ -44,8 +44,7 @@
"@backstage/types": "workspace:^",
"@kubernetes/client-node": "1.4.0",
"@types/express": "^4.17.6",
"node-fetch": "^2.7.0",
"winston": "^3.2.1"
"node-fetch": "^2.7.0"
},
"devDependencies": {
"@backstage/backend-app-api": "workspace:^",
+1 -2
View File
@@ -40,8 +40,7 @@
},
"dependencies": {
"@backstage/config": "workspace:^",
"@backstage/types": "workspace:^",
"@material-ui/icons": "^4.9.1"
"@backstage/types": "workspace:^"
},
"devDependencies": {
"@backstage/cli": "workspace:^"
+1 -6
View File
@@ -38,12 +38,7 @@
},
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/plugin-notifications-common": "workspace:^",
"@backstage/plugin-signals-node": "workspace:^",
"knex": "^3.0.0",
"uuid": "^11.0.0"
"@backstage/plugin-notifications-common": "workspace:^"
},
"devDependencies": {
"@backstage/backend-test-utils": "workspace:^",
-1
View File
@@ -61,7 +61,6 @@
"express": "^4.22.0",
"express-promise-router": "^4.1.0",
"lodash": "^4.17.21",
"yn": "^4.0.0",
"zod": "^3.25.76 || ^4.0.0"
},
"devDependencies": {
@@ -43,18 +43,14 @@
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/backend-defaults": "workspace:^",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/plugin-scaffolder-node": "workspace:^",
"@backstage/types": "workspace:^",
"command-exists": "^1.2.9",
"fs-extra": "^11.2.0",
"winston": "^3.2.1",
"yaml": "^2.0.0",
"yn": "^4.0.0"
"yaml": "^2.0.0"
},
"devDependencies": {
"@backstage/backend-test-utils": "workspace:^",
@@ -46,7 +46,6 @@
"@backstage/plugin-scaffolder-node": "workspace:^",
"@backstage/plugin-scaffolder-node-test-utils": "workspace:^",
"@backstage/types": "workspace:^",
"winston": "^3.2.1",
"yaml": "^2.0.0",
"yeoman-environment": "^3.9.1"
},
-1
View File
@@ -69,7 +69,6 @@
"express": "^4.22.0",
"lodash": "^4.17.21",
"qs": "^6.10.1",
"yn": "^4.0.0",
"zod": "^3.25.76 || ^4.0.0"
},
"devDependencies": {
+1 -6
View File
@@ -38,13 +38,8 @@
},
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/plugin-auth-node": "workspace:^",
"@backstage/plugin-events-node": "workspace:^",
"@backstage/types": "workspace:^",
"express": "^4.22.0",
"uuid": "^11.0.0",
"ws": "^8.18.0"
"@backstage/types": "workspace:^"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
-1
View File
@@ -69,7 +69,6 @@
"@material-ui/styles": "^4.11.0",
"jss": "~10.10.0",
"lodash": "^4.17.21",
"react-helmet": "6.1.0",
"react-use": "^17.2.4"
},
"devDependencies": {
@@ -54,7 +54,6 @@
"@backstage/plugin-signals-node": "workspace:^",
"@backstage/plugin-user-settings-common": "workspace:^",
"@backstage/types": "workspace:^",
"already": "^2.2.1",
"express": "^4.22.0",
"express-promise-router": "^4.1.0",
"knex": "^3.0.0",
-37
View File
@@ -3493,7 +3493,6 @@ __metadata:
lodash: "npm:^4.17.21"
msw: "npm:^1.0.0"
parse5: "npm:^6.0.0"
pluralize: "npm:^8.0.0"
qs: "npm:^6.9.4"
rc-progress: "npm:3.5.1"
react: "npm:^18.0.2"
@@ -4081,7 +4080,6 @@ __metadata:
lodash: "npm:^4.17.21"
luxon: "npm:^3.0.0"
supertest: "npm:^7.0.0"
yn: "npm:^4.0.0"
languageName: unknown
linkType: soft
@@ -5011,7 +5009,6 @@ __metadata:
"@types/lodash": "npm:^4.14.151"
lodash: "npm:^4.17.21"
msw: "npm:^1.0.0"
node-fetch: "npm:^2.7.0"
uuid: "npm:^11.0.0"
languageName: unknown
linkType: soft
@@ -5030,7 +5027,6 @@ __metadata:
"@backstage/plugin-catalog-backend": "workspace:^"
"@backstage/plugin-catalog-node": "workspace:^"
"@backstage/plugin-events-node": "workspace:^"
"@backstage/plugin-permission-common": "workspace:^"
"@backstage/types": "workspace:^"
"@types/express": "npm:^4.17.6"
express: "npm:^4.22.0"
@@ -5262,7 +5258,6 @@ __metadata:
"@types/react": "npm:^18.0.0"
classnames: "npm:^2.3.1"
lodash: "npm:^4.17.15"
p-limit: "npm:^3.1.0"
qs: "npm:^6.9.4"
react: "npm:^18.0.2"
react-dom: "npm:^18.0.2"
@@ -5506,7 +5501,6 @@ __metadata:
"@types/react": "npm:^18.0.0"
classnames: "npm:^2.3.1"
dataloader: "npm:^2.0.0"
history: "npm:^5.0.0"
lodash: "npm:^4.17.21"
pluralize: "npm:^8.0.0"
react: "npm:^18.0.2"
@@ -5590,9 +5584,7 @@ __metadata:
fs-extra: "npm:^11.0.0"
lodash: "npm:^4.17.21"
ping: "npm:^0.4.1"
semver: "npm:^7.5.3"
supertest: "npm:^7.0.0"
yn: "npm:^4.0.0"
languageName: unknown
linkType: soft
@@ -6067,7 +6059,6 @@ __metadata:
msw: "npm:^1.3.1"
node-fetch: "npm:^2.7.0"
supertest: "npm:^7.0.0"
winston: "npm:^3.2.1"
languageName: unknown
linkType: soft
@@ -6295,7 +6286,6 @@ __metadata:
"@backstage/cli": "workspace:^"
"@backstage/config": "workspace:^"
"@backstage/types": "workspace:^"
"@material-ui/icons": "npm:^4.9.1"
languageName: unknown
linkType: soft
@@ -6305,15 +6295,10 @@ __metadata:
dependencies:
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
"@backstage/catalog-client": "workspace:^"
"@backstage/catalog-model": "workspace:^"
"@backstage/cli": "workspace:^"
"@backstage/plugin-notifications-common": "workspace:^"
"@backstage/plugin-signals-node": "workspace:^"
"@backstage/test-utils": "workspace:^"
knex: "npm:^3.0.0"
msw: "npm:^1.0.0"
uuid: "npm:^11.0.0"
languageName: unknown
linkType: soft
@@ -6476,7 +6461,6 @@ __metadata:
lodash: "npm:^4.17.21"
msw: "npm:^1.0.0"
supertest: "npm:^7.0.0"
yn: "npm:^4.0.0"
zod: "npm:^3.25.76 || ^4.0.0"
languageName: unknown
linkType: soft
@@ -6660,11 +6644,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "@backstage/plugin-scaffolder-backend-module-cookiecutter@workspace:plugins/scaffolder-backend-module-cookiecutter"
dependencies:
"@backstage/backend-defaults": "workspace:^"
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
"@backstage/cli": "workspace:^"
"@backstage/config": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/integration": "workspace:^"
"@backstage/plugin-scaffolder-node": "workspace:^"
@@ -6674,9 +6656,7 @@ __metadata:
"@types/fs-extra": "npm:^11.0.0"
command-exists: "npm:^1.2.9"
fs-extra: "npm:^11.2.0"
winston: "npm:^3.2.1"
yaml: "npm:^2.0.0"
yn: "npm:^4.0.0"
languageName: unknown
linkType: soft
@@ -6840,7 +6820,6 @@ __metadata:
"@backstage/plugin-scaffolder-node": "workspace:^"
"@backstage/plugin-scaffolder-node-test-utils": "workspace:^"
"@backstage/types": "workspace:^"
winston: "npm:^3.2.1"
yaml: "npm:^2.0.0"
yeoman-environment: "npm:^3.9.1"
languageName: unknown
@@ -7297,7 +7276,6 @@ __metadata:
lodash: "npm:^4.17.21"
qs: "npm:^6.10.1"
supertest: "npm:^7.0.0"
yn: "npm:^4.0.0"
zod: "npm:^3.25.76 || ^4.0.0"
languageName: unknown
linkType: soft
@@ -7430,14 +7408,9 @@ __metadata:
dependencies:
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/cli": "workspace:^"
"@backstage/config": "workspace:^"
"@backstage/plugin-auth-node": "workspace:^"
"@backstage/plugin-events-node": "workspace:^"
"@backstage/types": "workspace:^"
"@types/express": "npm:^4.17.21"
express: "npm:^4.22.0"
uuid: "npm:^11.0.0"
ws: "npm:^8.18.0"
languageName: unknown
linkType: soft
@@ -7677,7 +7650,6 @@ __metadata:
lodash: "npm:^4.17.21"
react: "npm:^18.0.2"
react-dom: "npm:^18.0.2"
react-helmet: "npm:6.1.0"
react-router-dom: "npm:^6.30.2"
react-use: "npm:^17.2.4"
peerDependencies:
@@ -7765,7 +7737,6 @@ __metadata:
"@backstage/types": "workspace:^"
"@types/express": "npm:^4.17.6"
"@types/supertest": "npm:^2.0.8"
already: "npm:^2.2.1"
express: "npm:^4.22.0"
express-promise-router: "npm:^4.1.0"
knex: "npm:^3.0.0"
@@ -18737,7 +18708,6 @@ __metadata:
commander: "npm:^14.0.3"
find-process: "npm:^2.0.0"
fs-extra: "npm:^11.0.0"
global-agent: "npm:^3.0.0"
http-proxy: "npm:^1.18.1"
nodemon: "npm:^3.0.1"
react-dev-utils: "npm:^12.0.0-next.60"
@@ -22797,13 +22767,6 @@ __metadata:
languageName: node
linkType: hard
"already@npm:^2.2.1":
version: 2.2.1
resolution: "already@npm:2.2.1"
checksum: 10/1c55b50667c3dbe9d40716454d4a870f5758143061a0e39c0a7077eab2c6dbec116edf081796afb6f441462096bf68ef72a4daad074843a0d970527f29037ffe
languageName: node
linkType: hard
"anser@npm:^2.1.1":
version: 2.3.3
resolution: "anser@npm:2.3.3"