Remove unused dependencies from kubernetes, signals, and techdocs

Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
This commit is contained in:
Hope Hadfield
2025-09-18 14:39:39 -04:00
parent 9e76ddb8f9
commit d2a6929f05
12 changed files with 18 additions and 156 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-kubernetes-backend': patch
'@backstage/plugin-techdocs-backend': patch
'@backstage/plugin-signals-backend': patch
'@backstage/plugin-techdocs': patch
'@backstage/plugin-signals': patch
---
Removed unused dependencies
-19
View File
@@ -1,22 +1,3 @@
# Knip report
## Unused dependencies (8)
| Name | Location | Severity |
| :-------------------------- | :----------- | :------- |
| @backstage/plugin-auth-node | plugins/kubernetes-backend/package.json | error |
| stream-buffers | plugins/kubernetes-backend/package.json | error |
| compression | plugins/kubernetes-backend/package.json | error |
| winston | plugins/kubernetes-backend/package.json | error |
| helmet | plugins/kubernetes-backend/package.json | error |
| morgan | plugins/kubernetes-backend/package.json | error |
| cors | plugins/kubernetes-backend/package.json | error |
| yn | plugins/kubernetes-backend/package.json | error |
## Unused devDependencies (2)
| Name | Location | Severity |
| :------------------------- | :----------- | :------- |
| @backstage/backend-app-api | plugins/kubernetes-backend/package.json | error |
| @types/aws4 | plugins/kubernetes-backend/package.json | error |
+1 -11
View File
@@ -53,7 +53,6 @@
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration-aws-node": "workspace:^",
"@backstage/plugin-auth-node": "workspace:^",
"@backstage/plugin-catalog-node": "workspace:^",
"@backstage/plugin-kubernetes-common": "workspace:^",
"@backstage/plugin-kubernetes-node": "workspace:^",
@@ -64,29 +63,20 @@
"@jest-mock/express": "^2.0.1",
"@kubernetes/client-node": "1.1.2",
"@types/http-proxy-middleware": "^1.0.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"fs-extra": "^11.2.0",
"helmet": "^6.0.0",
"http-proxy-middleware": "^2.0.6",
"lodash": "^4.17.21",
"luxon": "^3.0.0",
"morgan": "^1.10.0",
"node-fetch": "^2.7.0",
"stream-buffers": "^3.0.2",
"winston": "^3.2.1",
"yn": "^4.0.0"
"node-fetch": "^2.7.0"
},
"devDependencies": {
"@backstage/backend-app-api": "workspace:^",
"@backstage/backend-defaults": "workspace:^",
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@backstage/plugin-permission-backend": "workspace:^",
"@backstage/plugin-permission-backend-module-allow-all-policy": "workspace:^",
"@types/aws4": "^1.5.1",
"@types/express": "^4.17.6",
"@types/luxon": "^3.0.0",
"msw": "^1.0.0",
-14
View File
@@ -1,17 +1,3 @@
# Knip report
## Unused dependencies (4)
| Name | Location | Severity |
| :-------------------------- | :----------- | :------- |
| @backstage/plugin-auth-node | plugins/signals-backend/package.json | error |
| http-proxy-middleware | plugins/signals-backend/package.json | error |
| winston | plugins/signals-backend/package.json | error |
| yn | plugins/signals-backend/package.json | error |
## Unused devDependencies (1)
| Name | Location | Severity |
| :-- | :----------- | :------- |
| msw | plugins/signals-backend/package.json | error |
+1 -6
View File
@@ -39,17 +39,13 @@
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/plugin-auth-node": "workspace:^",
"@backstage/plugin-events-node": "workspace:^",
"@backstage/plugin-signals-node": "workspace:^",
"@backstage/types": "workspace:^",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"http-proxy-middleware": "^2.0.0",
"uuid": "^11.0.0",
"winston": "^3.2.1",
"ws": "^8.18.0",
"yn": "^4.0.0"
"ws": "^8.18.0"
},
"devDependencies": {
"@backstage/backend-defaults": "workspace:^",
@@ -61,7 +57,6 @@
"@types/express": "^4.17.6",
"@types/supertest": "^2.0.8",
"@types/ws": "^8.5.10",
"msw": "^1.0.0",
"supertest": "^7.0.0"
}
}
-15
View File
@@ -1,18 +1,3 @@
# Knip report
## Unused dependencies (3)
| Name | Location | Severity |
| :----------------- | :----------- | :------- |
| @material-ui/icons | plugins/signals/package.json | error |
| @material-ui/lab | plugins/signals/package.json | error |
| react-use | plugins/signals/package.json | error |
## Unused devDependencies (3)
| Name | Location | Severity |
| :-------------------------- | :----------- | :------- |
| @testing-library/user-event | plugins/signals/package.json | error |
| @backstage/core-app-api | plugins/signals/package.json | error |
| msw | plugins/signals/package.json | error |
-6
View File
@@ -59,22 +59,16 @@
"@backstage/theme": "workspace:^",
"@backstage/types": "workspace:^",
"@material-ui/core": "^4.12.4",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.61",
"react-use": "^17.2.4",
"uuid": "^11.0.0"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@backstage/core-app-api": "workspace:^",
"@backstage/dev-utils": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/react": "^18.0.0",
"jest-websocket-mock": "^2.5.0",
"msw": "^1.0.0",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"react-router-dom": "^6.3.0"
-9
View File
@@ -1,12 +1,3 @@
# Knip report
## Unused dependencies (5)
| Name | Location | Severity |
| :----------------------------------------------- | :----------- | :------- |
| @backstage/plugin-search-backend-module-techdocs | plugins/techdocs-backend/package.json | error |
| @backstage/plugin-permission-common | plugins/techdocs-backend/package.json | error |
| @backstage/plugin-techdocs-common | plugins/techdocs-backend/package.json | error |
| @backstage/plugin-catalog-common | plugins/techdocs-backend/package.json | error |
| lodash | plugins/techdocs-backend/package.json | error |
-5
View File
@@ -65,18 +65,13 @@
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/plugin-catalog-common": "workspace:^",
"@backstage/plugin-catalog-node": "workspace:^",
"@backstage/plugin-permission-common": "workspace:^",
"@backstage/plugin-search-backend-module-techdocs": "workspace:^",
"@backstage/plugin-techdocs-common": "workspace:^",
"@backstage/plugin-techdocs-node": "workspace:^",
"@backstage/types": "workspace:^",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"fs-extra": "^11.2.0",
"knex": "^3.0.0",
"lodash": "^4.17.21",
"p-limit": "^3.1.0",
"winston": "^3.2.1"
},
-5
View File
@@ -1,8 +1,3 @@
# Knip report
## Unused dependencies (1)
| Name | Location | Severity |
| :-- | :----------- | :------- |
| jss | plugins/techdocs/package.json | error |
-1
View File
@@ -83,7 +83,6 @@
"@microsoft/fetch-event-source": "^2.0.1",
"dompurify": "^3.2.4",
"git-url-parse": "^15.0.0",
"jss": "~10.10.0",
"lodash": "^4.17.21",
"react-helmet": "6.1.0",
"react-use": "^17.2.4"
+7 -65
View File
@@ -5471,7 +5471,6 @@ __metadata:
"@aws-sdk/credential-providers": "npm:^3.350.0"
"@aws-sdk/signature-v4": "npm:^3.347.0"
"@azure/identity": "npm:^4.0.0"
"@backstage/backend-app-api": "workspace:^"
"@backstage/backend-defaults": "workspace:^"
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
@@ -5481,7 +5480,6 @@ __metadata:
"@backstage/config": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/integration-aws-node": "workspace:^"
"@backstage/plugin-auth-node": "workspace:^"
"@backstage/plugin-catalog-node": "workspace:^"
"@backstage/plugin-kubernetes-common": "workspace:^"
"@backstage/plugin-kubernetes-node": "workspace:^"
@@ -5493,27 +5491,19 @@ __metadata:
"@google-cloud/container": "npm:^5.0.0"
"@jest-mock/express": "npm:^2.0.1"
"@kubernetes/client-node": "npm:1.1.2"
"@types/aws4": "npm:^1.5.1"
"@types/express": "npm:^4.17.6"
"@types/http-proxy-middleware": "npm:^1.0.0"
"@types/luxon": "npm:^3.0.0"
compression: "npm:^1.7.4"
cors: "npm:^2.8.5"
express: "npm:^4.17.1"
express-promise-router: "npm:^4.1.0"
fs-extra: "npm:^11.2.0"
helmet: "npm:^6.0.0"
http-proxy-middleware: "npm:^2.0.6"
lodash: "npm:^4.17.21"
luxon: "npm:^3.0.0"
morgan: "npm:^1.10.0"
msw: "npm:^1.0.0"
node-fetch: "npm:^2.7.0"
stream-buffers: "npm:^3.0.2"
supertest: "npm:^7.0.0"
winston: "npm:^3.2.1"
ws: "npm:^8.18.0"
yn: "npm:^4.0.0"
languageName: unknown
linkType: soft
@@ -6943,7 +6933,6 @@ __metadata:
"@backstage/config": "workspace:^"
"@backstage/plugin-auth-backend": "workspace:^"
"@backstage/plugin-auth-backend-module-guest-provider": "workspace:^"
"@backstage/plugin-auth-node": "workspace:^"
"@backstage/plugin-events-backend": "workspace:^"
"@backstage/plugin-events-node": "workspace:^"
"@backstage/plugin-signals-node": "workspace:^"
@@ -6953,13 +6942,9 @@ __metadata:
"@types/ws": "npm:^8.5.10"
express: "npm:^4.17.1"
express-promise-router: "npm:^4.1.0"
http-proxy-middleware: "npm:^2.0.0"
msw: "npm:^1.0.0"
supertest: "npm:^7.0.0"
uuid: "npm:^11.0.0"
winston: "npm:^3.2.1"
ws: "npm:^8.18.0"
yn: "npm:^4.0.0"
languageName: unknown
linkType: soft
@@ -7011,7 +6996,6 @@ __metadata:
resolution: "@backstage/plugin-signals@workspace:plugins/signals"
dependencies:
"@backstage/cli": "workspace:^"
"@backstage/core-app-api": "workspace:^"
"@backstage/core-compat-api": "workspace:^"
"@backstage/core-components": "workspace:^"
"@backstage/core-plugin-api": "workspace:^"
@@ -7022,18 +7006,13 @@ __metadata:
"@backstage/theme": "workspace:^"
"@backstage/types": "workspace:^"
"@material-ui/core": "npm:^4.12.4"
"@material-ui/icons": "npm:^4.9.1"
"@material-ui/lab": "npm:^4.0.0-alpha.61"
"@testing-library/jest-dom": "npm:^6.0.0"
"@testing-library/react": "npm:^16.0.0"
"@testing-library/user-event": "npm:^14.0.0"
"@types/react": "npm:^18.0.0"
jest-websocket-mock: "npm:^2.5.0"
msw: "npm:^1.0.0"
react: "npm:^18.0.2"
react-dom: "npm:^18.0.2"
react-router-dom: "npm:^6.3.0"
react-use: "npm:^17.2.4"
uuid: "npm:^11.0.0"
peerDependencies:
"@types/react": ^17.0.0 || ^18.0.0
@@ -7092,11 +7071,7 @@ __metadata:
"@backstage/config": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/integration": "workspace:^"
"@backstage/plugin-catalog-common": "workspace:^"
"@backstage/plugin-catalog-node": "workspace:^"
"@backstage/plugin-permission-common": "workspace:^"
"@backstage/plugin-search-backend-module-techdocs": "workspace:^"
"@backstage/plugin-techdocs-common": "workspace:^"
"@backstage/plugin-techdocs-node": "workspace:^"
"@backstage/types": "workspace:^"
"@types/express": "npm:^4.17.6"
@@ -7104,7 +7079,6 @@ __metadata:
express-promise-router: "npm:^4.1.0"
fs-extra: "npm:^11.2.0"
knex: "npm:^3.0.0"
lodash: "npm:^4.17.21"
msw: "npm:^2.0.0"
p-limit: "npm:^3.1.0"
supertest: "npm:^7.0.0"
@@ -7279,7 +7253,6 @@ __metadata:
"@types/react": "npm:^18.0.0"
dompurify: "npm:^3.2.4"
git-url-parse: "npm:^15.0.0"
jss: "npm:~10.10.0"
lodash: "npm:^4.17.21"
react: "npm:^18.0.2"
react-dom: "npm:^18.0.2"
@@ -19516,15 +19489,6 @@ __metadata:
languageName: node
linkType: hard
"@types/aws4@npm:^1.5.1":
version: 1.11.6
resolution: "@types/aws4@npm:1.11.6"
dependencies:
"@types/node": "npm:*"
checksum: 10/7b75159338526f27ce55530bba7addd82152acf5db743728f8006a23cfab730f33e4d2bb788cc279a36947a5ef25d23ed0c2484639f2ffaf04e8d3d27911da3a
languageName: node
linkType: hard
"@types/babel__core@npm:^7.1.14, @types/babel__core@npm:^7.20.5":
version: 7.20.5
resolution: "@types/babel__core@npm:7.20.5"
@@ -24385,15 +24349,6 @@ __metadata:
languageName: node
linkType: hard
"basic-auth@npm:~2.0.1":
version: 2.0.1
resolution: "basic-auth@npm:2.0.1"
dependencies:
safe-buffer: "npm:5.1.2"
checksum: 10/3419b805d5dfc518f3a05dcf42aa53aa9ce820e50b6df5097f9e186322e1bc733c36722b624802cd37e791035aa73b828ed814d8362333d42d7f5cd04d7a5e48
languageName: node
linkType: hard
"basic-ftp@npm:^5.0.2":
version: 5.0.3
resolution: "basic-ftp@npm:5.0.3"
@@ -38228,19 +38183,6 @@ __metadata:
languageName: node
linkType: hard
"morgan@npm:^1.10.0":
version: 1.10.1
resolution: "morgan@npm:1.10.1"
dependencies:
basic-auth: "npm:~2.0.1"
debug: "npm:2.6.9"
depd: "npm:~2.0.0"
on-finished: "npm:~2.3.0"
on-headers: "npm:~1.1.0"
checksum: 10/f6a611bdcb9bebe8283381c49efedee81f50b75f6cbc52430cda1743ec35443c92d5e5d4384ce38b102d8c102162c92da563471def3cf840b4980160f278f8ba
languageName: node
linkType: hard
"mri@npm:1.1.4":
version: 1.1.4
resolution: "mri@npm:1.1.4"
@@ -44267,13 +44209,6 @@ __metadata:
languageName: node
linkType: hard
"safe-buffer@npm:5.1.2, safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1":
version: 5.1.2
resolution: "safe-buffer@npm:5.1.2"
checksum: 10/7eb5b48f2ed9a594a4795677d5a150faa7eb54483b2318b568dc0c4fc94092a6cce5be02c7288a0500a156282f5276d5688bce7259299568d1053b2150ef374a
languageName: node
linkType: hard
"safe-buffer@npm:5.2.1, safe-buffer@npm:>=5.1.0, safe-buffer@npm:^5.0.1, safe-buffer@npm:^5.1.0, safe-buffer@npm:^5.1.1, safe-buffer@npm:^5.1.2, safe-buffer@npm:^5.2.1, safe-buffer@npm:~5.2.0":
version: 5.2.1
resolution: "safe-buffer@npm:5.2.1"
@@ -44281,6 +44216,13 @@ __metadata:
languageName: node
linkType: hard
"safe-buffer@npm:~5.1.0, safe-buffer@npm:~5.1.1":
version: 5.1.2
resolution: "safe-buffer@npm:5.1.2"
checksum: 10/7eb5b48f2ed9a594a4795677d5a150faa7eb54483b2318b568dc0c4fc94092a6cce5be02c7288a0500a156282f5276d5688bce7259299568d1053b2150ef374a
languageName: node
linkType: hard
"safe-identifier@npm:^0.4.2":
version: 0.4.2
resolution: "safe-identifier@npm:0.4.2"