Remove all unused luxon dependencies

Signed-off-by: Hope Hadfield <hhadfiel@redhat.com>
This commit is contained in:
Hope Hadfield
2025-09-15 16:19:57 -04:00
parent 52227d382a
commit 99fcf986fe
27 changed files with 21 additions and 149 deletions
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/plugin-catalog-backend-module-bitbucket-server': patch
'@backstage/plugin-catalog-backend-module-bitbucket-cloud': patch
'@backstage/plugin-catalog-backend-module-github-org': patch
'@backstage/plugin-catalog-backend-module-gitlab-org': patch
'@backstage/plugin-catalog-backend-module-puppetdb': patch
'@backstage/plugin-catalog-backend-module-msgraph': patch
'@backstage/plugin-catalog-backend-module-gerrit': patch
'@backstage/plugin-catalog-backend-module-github': patch
'@backstage/plugin-catalog-backend-module-gitlab': patch
'@backstage/plugin-catalog-backend-module-azure': patch
'@backstage/plugin-catalog-backend-module-aws': patch
'@backstage/plugin-kubernetes-cluster': patch
'@backstage/plugin-kubernetes': patch
---
Removed unused dependencies
@@ -1,15 +1,3 @@
# Knip report
## Unused dependencies (2)
| Name | Location | Severity |
| :---------------------------- | :----------- | :------- |
| @aws-sdk/credential-providers | plugins/catalog-backend-module-aws/package.json | error |
| winston | plugins/catalog-backend-module-aws/package.json | error |
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-aws/package.json | error |
@@ -54,7 +54,6 @@
"@aws-sdk/client-eks": "^3.350.0",
"@aws-sdk/client-organizations": "^3.350.0",
"@aws-sdk/client-s3": "^3.350.0",
"@aws-sdk/credential-providers": "^3.350.0",
"@aws-sdk/middleware-endpoint": "^3.347.0",
"@aws-sdk/types": "^3.347.0",
"@backstage/backend-defaults": "workspace:^",
@@ -68,8 +67,7 @@
"@backstage/plugin-catalog-node": "workspace:^",
"@backstage/plugin-kubernetes-common": "workspace:^",
"p-limit": "^3.0.2",
"uuid": "^11.0.0",
"winston": "^3.2.1"
"uuid": "^11.0.0"
},
"devDependencies": {
"@aws-sdk/util-stream-node": "^3.350.0",
@@ -77,7 +75,6 @@
"@backstage/cli": "workspace:^",
"aws-sdk-client-mock": "^4.0.0",
"aws-sdk-client-mock-jest": "^4.0.0",
"luxon": "^3.0.0",
"yaml": "^2.0.0"
},
"configSchema": "config.d.ts"
@@ -1,8 +1,3 @@
# Knip report
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-azure/package.json | error |
@@ -63,7 +63,6 @@
"devDependencies": {
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"luxon": "^3.0.0",
"msw": "^1.0.0"
},
"configSchema": "config.d.ts"
@@ -1,14 +1,3 @@
# Knip report
## Unused dependencies (1)
| Name | Location | Severity |
| :------------------------ | :----------- | :------- |
| @backstage/catalog-client | plugins/catalog-backend-module-bitbucket-cloud/package.json | error |
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-bitbucket-cloud/package.json | error |
@@ -52,7 +52,6 @@
},
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/integration": "workspace:^",
@@ -66,7 +65,6 @@
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@backstage/plugin-events-backend-test-utils": "workspace:^",
"luxon": "^3.0.0",
"msw": "^1.0.0"
},
"configSchema": "config.d.ts"
@@ -1,14 +1,3 @@
# Knip report
## Unused dependencies (1)
| Name | Location | Severity |
| :------------------------ | :----------- | :------- |
| @backstage/catalog-client | plugins/catalog-backend-module-bitbucket-server/package.json | error |
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-bitbucket-server/package.json | error |
@@ -47,7 +47,6 @@
},
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/errors": "workspace:^",
@@ -61,7 +60,6 @@
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@backstage/plugin-events-backend-test-utils": "workspace:^",
"luxon": "^3.0.0",
"msw": "^1.0.0"
},
"configSchema": "config.d.ts"
@@ -1,8 +1,3 @@
# Knip report
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-gerrit/package.json | error |
@@ -61,7 +61,6 @@
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@types/fs-extra": "^11.0.0",
"luxon": "^3.0.0",
"msw": "^1.0.0"
},
"configSchema": "config.d.ts"
@@ -1,8 +1,3 @@
# Knip report
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-github-org/package.json | error |
@@ -41,7 +41,6 @@
},
"devDependencies": {
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"luxon": "^3.0.0"
"@backstage/cli": "workspace:^"
}
}
@@ -1,17 +1,5 @@
# Knip report
## Unused dependencies (2)
| Name | Location | Severity |
| :-------------------------------- | :----------- | :------- |
| @backstage/plugin-catalog-backend | plugins/catalog-backend-module-github/package.json | error |
| @backstage/catalog-client | plugins/catalog-backend-module-github/package.json | error |
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-github/package.json | error |
## Unlisted dependencies (4)
@@ -52,11 +52,9 @@
},
"dependencies": {
"@backstage/backend-plugin-api": "workspace:^",
"@backstage/catalog-client": "workspace:^",
"@backstage/catalog-model": "workspace:^",
"@backstage/config": "workspace:^",
"@backstage/integration": "workspace:^",
"@backstage/plugin-catalog-backend": "workspace:^",
"@backstage/plugin-catalog-common": "workspace:^",
"@backstage/plugin-catalog-node": "workspace:^",
"@backstage/plugin-events-node": "workspace:^",
@@ -73,7 +71,6 @@
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@types/lodash": "^4.14.151",
"luxon": "^3.0.0",
"msw": "^2.0.0",
"type-fest": "^4.41.0"
},
@@ -1,8 +1,3 @@
# Knip report
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-gitlab-org/package.json | error |
@@ -41,7 +41,6 @@
"devDependencies": {
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@backstage/plugin-events-backend-test-utils": "workspace:^",
"luxon": "^3.0.0"
"@backstage/plugin-events-backend-test-utils": "workspace:^"
}
}
@@ -1,8 +1,3 @@
# Knip report
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-gitlab/package.json | error |
@@ -69,7 +69,6 @@
"@backstage/cli": "workspace:^",
"@backstage/plugin-events-backend-test-utils": "workspace:^",
"@types/lodash": "^4.14.151",
"luxon": "^3.0.0",
"msw": "^1.0.0"
},
"configSchema": "config.d.ts"
@@ -1,8 +1,3 @@
# Knip report
## Unused devDependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-msgraph/package.json | error |
@@ -67,7 +67,6 @@
"@backstage/backend-test-utils": "workspace:^",
"@backstage/cli": "workspace:^",
"@types/lodash": "^4.14.151",
"luxon": "^3.0.0",
"msw": "^1.0.0"
},
"configSchema": "config.d.ts"
@@ -1,8 +1,3 @@
# Knip report
## Unused dependencies (1)
| Name | Location | Severity |
| :---- | :----------- | :------- |
| luxon | plugins/catalog-backend-module-puppetdb/package.json | error |
@@ -56,7 +56,6 @@
"@backstage/plugin-catalog-node": "workspace:^",
"@backstage/types": "workspace:^",
"lodash": "^4.17.21",
"luxon": "^3.0.0",
"uuid": "^11.0.0"
},
"devDependencies": {
-15
View File
@@ -1,18 +1,3 @@
# Knip report
## Unused dependencies (5)
| Name | Location | Severity |
| :---------------------- | :----------- | :------- |
| @kubernetes-models/base | plugins/kubernetes-cluster/package.json | error |
| cronstrue | plugins/kubernetes-cluster/package.json | error |
| js-yaml | plugins/kubernetes-cluster/package.json | error |
| lodash | plugins/kubernetes-cluster/package.json | error |
| luxon | plugins/kubernetes-cluster/package.json | error |
## Unused devDependencies (1)
| Name | Location | Severity |
| :------------------- | :----------- | :------- |
| @testing-library/dom | plugins/kubernetes-cluster/package.json | error |
-6
View File
@@ -62,20 +62,14 @@
"@backstage/plugin-kubernetes-react": "workspace:^",
"@backstage/plugin-permission-react": "workspace:^",
"@kubernetes-models/apimachinery": "^2.0.0",
"@kubernetes-models/base": "^5.0.0",
"@material-ui/core": "^4.12.2",
"@material-ui/lab": "4.0.0-alpha.61",
"cronstrue": "^2.2.0",
"js-yaml": "^4.0.0",
"kubernetes-models": "^4.1.0",
"lodash": "^4.17.21",
"luxon": "^3.0.0",
"react-use": "^17.2.4"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.0",
"@types/node": "^20.16.0",
-15
View File
@@ -1,18 +1,3 @@
# Knip report
## Unused dependencies (11)
| Name | Location | Severity |
| :------------------------------ | :----------- | :------- |
| @kubernetes-models/apimachinery | plugins/kubernetes/package.json | error |
| @kubernetes-models/base | plugins/kubernetes/package.json | error |
| @kubernetes/client-node | plugins/kubernetes/package.json | error |
| @xterm/addon-attach | plugins/kubernetes/package.json | error |
| kubernetes-models | plugins/kubernetes/package.json | error |
| @xterm/addon-fit | plugins/kubernetes/package.json | error |
| @xterm/xterm | plugins/kubernetes/package.json | error |
| cronstrue | plugins/kubernetes/package.json | error |
| js-yaml | plugins/kubernetes/package.json | error |
| lodash | plugins/kubernetes/package.json | error |
| luxon | plugins/kubernetes/package.json | error |
+1 -12
View File
@@ -67,18 +67,7 @@
"@backstage/plugin-kubernetes-common": "workspace:^",
"@backstage/plugin-kubernetes-react": "workspace:^",
"@backstage/plugin-permission-react": "workspace:^",
"@kubernetes-models/apimachinery": "^2.0.0",
"@kubernetes-models/base": "^5.0.0",
"@kubernetes/client-node": "1.1.2",
"@material-ui/core": "^4.12.2",
"@xterm/addon-attach": "^0.11.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"cronstrue": "^2.2.0",
"js-yaml": "^4.0.0",
"kubernetes-models": "^4.1.0",
"lodash": "^4.17.21",
"luxon": "^3.0.0"
"@material-ui/core": "^4.12.2"
},
"devDependencies": {
"@backstage/cli": "workspace:^",