removed all knip-reported backend-common usages

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2025-01-29 17:17:20 +01:00
parent ebca25720b
commit 8699b79c76
13 changed files with 18 additions and 55 deletions
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-search-backend-module-catalog': patch
'@backstage/plugin-search-backend-module-pg': patch
'@backstage/plugin-search-backend-node': patch
'@backstage/plugin-auth-node': patch
---
Removed unused dependencies
-7
View File
@@ -1,9 +1,2 @@
# Knip report
## Unused dependencies (2)
| Name | Location | Severity |
| :------------------------ | :----------- | :------- |
| @backstage/backend-common | package.json | error |
| winston | package.json | error |
-2
View File
@@ -37,7 +37,6 @@
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/backend-common": "^0.25.0",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
@@ -50,7 +49,6 @@
"jose": "^5.0.0",
"lodash": "^4.17.21",
"passport": "^0.7.0",
"winston": "^3.2.1",
"zod": "^3.22.4",
"zod-to-json-schema": "^3.21.4",
"zod-validation-error": "^3.4.0"
@@ -1,10 +1,2 @@
# Knip report
## Unused dependencies (3)
| Name | Location | Severity |
| :-------------------------- | :----------- | :------- |
| @backstage/plugin-auth-node | package.json | error |
| @backstage/backend-common | package.json | error |
| yn | package.json | error |
@@ -38,15 +38,12 @@
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/backend-common": "^0.25.0",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-auth-node": "workspace:^",
"@types/express": "^4.17.6",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"uuid": "^11.0.0",
"yn": "^4.0.0"
"uuid": "^11.0.0"
},
"devDependencies": {
"@backstage/backend-defaults": "workspace:^",
+8 -1
View File
@@ -1,10 +1,17 @@
# Knip report
## Unused dependencies (3)
## Unused dependencies (4)
| Name | Location | Severity |
| :------------------ | :----------- | :------- |
| json-schema-library | package.json | error |
| @rjsf/material-ui | package.json | error |
| react-resizable | package.json | error |
| git-url-parse | package.json | error |
## Unused devDependencies (1)
| Name | Location | Severity |
| :--------------------- | :----------- | :------- |
| @types/react-resizable | package.json | error |
@@ -1,9 +1,2 @@
# Knip report
## Unused devDependencies (2)
| Name | Location | Severity |
| :------------------------ | :----------- | :------- |
| @backstage/backend-common | package.json | error |
| msw | package.json | error |
@@ -47,10 +47,8 @@
"@backstage/plugin-search-common": "workspace:^"
},
"devDependencies": {
"@backstage/backend-common": "^0.25.0",
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"msw": "^1.0.0"
"@backstage/cli": "workspace:^"
},
"configSchema": "config.d.ts"
}
@@ -1,8 +1,2 @@
# Knip report
## Unused dependencies (1)
| Name | Location | Severity |
| :------------------------ | :----------- | :------- |
| @backstage/backend-common | package.json | error |
@@ -49,7 +49,6 @@
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/backend-common": "^0.25.0",
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/plugin-search-backend-node": "workspace:^",
@@ -1,8 +1,2 @@
# Knip report
## Unused devDependencies (1)
| Name | Location | Severity |
| :------------------------ | :----------- | :------- |
| @backstage/backend-common | package.json | error |
-1
View File
@@ -65,7 +65,6 @@
"uuid": "^11.0.0"
},
"devDependencies": {
"@backstage/backend-common": "^0.25.0",
"@backstage/backend-defaults": "workspace:^",
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
-9
View File
@@ -5645,7 +5645,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@backstage/plugin-auth-node@workspace:plugins/auth-node"
dependencies:
"@backstage/backend-common": ^0.25.0
"@backstage/backend-defaults": "workspace:^"
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
@@ -5666,7 +5665,6 @@ __metadata:
passport: ^0.7.0
supertest: ^7.0.0
uuid: ^11.0.0
winston: ^3.2.1
zod: ^3.22.4
zod-to-json-schema: ^3.21.4
zod-validation-error: ^3.4.0
@@ -7979,7 +7977,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@backstage/plugin-search-backend-module-catalog@workspace:plugins/search-backend-module-catalog"
dependencies:
"@backstage/backend-common": ^0.25.0
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
"@backstage/catalog-client": "workspace:^"
@@ -7992,7 +7989,6 @@ __metadata:
"@backstage/plugin-permission-common": "workspace:^"
"@backstage/plugin-search-backend-node": "workspace:^"
"@backstage/plugin-search-common": "workspace:^"
msw: ^1.0.0
languageName: unknown
linkType: soft
@@ -8038,7 +8034,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@backstage/plugin-search-backend-module-pg@workspace:plugins/search-backend-module-pg"
dependencies:
"@backstage/backend-common": ^0.25.0
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
"@backstage/cli": "workspace:^"
@@ -8093,7 +8088,6 @@ __metadata:
version: 0.0.0-use.local
resolution: "@backstage/plugin-search-backend-node@workspace:plugins/search-backend-node"
dependencies:
"@backstage/backend-common": ^0.25.0
"@backstage/backend-defaults": "workspace:^"
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
@@ -10873,20 +10867,17 @@ __metadata:
version: 0.0.0-use.local
resolution: "@internal/plugin-todo-list-backend@workspace:plugins/example-todo-list-backend"
dependencies:
"@backstage/backend-common": ^0.25.0
"@backstage/backend-defaults": "workspace:^"
"@backstage/backend-plugin-api": "workspace:^"
"@backstage/backend-test-utils": "workspace:^"
"@backstage/cli": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/plugin-auth-node": "workspace:^"
"@types/express": ^4.17.6
"@types/supertest": ^2.0.8
express: ^4.17.1
express-promise-router: ^4.1.0
supertest: ^7.0.0
uuid: ^11.0.0
yn: ^4.0.0
languageName: unknown
linkType: soft