From 133ac7ad669b1e74e4156ef5780d5e61f5daca0b Mon Sep 17 00:00:00 2001 From: Paul Schultz Date: Tue, 2 Sep 2025 15:18:35 -0500 Subject: [PATCH] fix(repo-tools): resolve knip-reports failure with spaces in workspace paths Signed-off-by: Paul Schultz --- .changeset/fix-knip-reports-spaces-path.md | 5 + .../app-next-example-plugin/knip-report.md | 4 +- packages/app-next/knip-report.md | 62 ++++++------ packages/app/knip-report.md | 24 ++--- packages/backend-app-api/knip-report.md | 2 +- packages/backend-defaults/knip-report.md | 6 +- .../knip-report.md | 20 ++-- packages/backend-openapi-utils/knip-report.md | 2 +- packages/backend-plugin-api/knip-report.md | 2 +- packages/backend-test-utils/knip-report.md | 21 ++-- packages/backend/knip-report.md | 16 +-- packages/catalog-model/knip-report.md | 2 +- packages/cli-node/knip-report.md | 2 +- packages/cli/knip-report.md | 97 ++++++++++--------- packages/core-app-api/knip-report.md | 12 +-- packages/core-compat-api/knip-report.md | 6 +- packages/core-components/knip-report.md | 14 +-- packages/core-plugin-api/knip-report.md | 2 +- packages/create-app/knip-report.md | 2 +- packages/e2e-test-utils/knip-report.md | 2 +- packages/e2e-test/knip-report.md | 2 +- packages/frontend-app-api/knip-report.md | 15 ++- packages/frontend-defaults/knip-report.md | 2 +- .../knip-report.md | 2 +- packages/frontend-internal/knip-report.md | 14 +-- packages/frontend-plugin-api/knip-report.md | 8 +- packages/frontend-test-utils/knip-report.md | 4 +- packages/integration-aws-node/knip-report.md | 8 +- packages/integration-react/knip-report.md | 4 +- packages/opaque-internal/knip-report.md | 4 +- packages/repo-tools/knip-report.md | 14 +-- .../commands/knip-reports/knip-extractor.ts | 12 ++- packages/repo-tools/src/commands/util.ts | 59 +++++++---- .../techdocs-cli-embedded-app/knip-report.md | 10 +- packages/techdocs-cli/knip-report.md | 6 +- packages/theme/knip-report.md | 2 +- packages/ui/knip-report.md | 30 +++--- packages/version-bridge/knip-report.md | 2 +- .../knip-report.md | 4 +- plugins/api-docs/knip-report.md | 10 +- plugins/app-backend/knip-report.md | 6 +- plugins/app/knip-report.md | 16 +-- .../knip-report.md | 4 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 4 +- .../knip-report.md | 2 +- .../knip-report.md | 4 +- .../knip-report.md | 6 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 10 +- .../knip-report.md | 6 +- .../knip-report.md | 4 +- .../knip-report.md | 6 +- .../knip-report.md | 4 +- plugins/auth-react/knip-report.md | 2 +- plugins/bitbucket-cloud-common/knip-report.md | 4 +- .../catalog-backend-module-aws/knip-report.md | 6 +- .../knip-report.md | 2 +- .../knip-report.md | 4 +- .../knip-report.md | 4 +- .../catalog-backend-module-gcp/knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 14 +-- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 4 +- plugins/catalog-backend/knip-report.md | 2 +- plugins/catalog-graph/knip-report.md | 2 +- plugins/catalog-react/knip-report.md | 2 +- .../knip-report.md | 2 +- plugins/catalog/knip-report.md | 2 +- plugins/devtools-backend/knip-report.md | 6 +- .../knip-report.md | 2 +- plugins/events-backend/knip-report.md | 2 +- plugins/events-node/knip-report.md | 2 +- plugins/example-todo-list/knip-report.md | 4 +- plugins/home-react/knip-report.md | 2 +- plugins/kubernetes-backend/knip-report.md | 21 ++-- plugins/kubernetes-cluster/knip-report.md | 12 +-- plugins/kubernetes-node/knip-report.md | 4 +- plugins/kubernetes/knip-report.md | 22 ++--- plugins/mcp-actions-backend/knip-report.md | 4 +- .../knip-report.md | 2 +- .../knip-report.md | 10 +- plugins/notifications-backend/knip-report.md | 10 +- plugins/notifications-common/knip-report.md | 2 +- plugins/notifications-node/knip-report.md | 10 +- plugins/notifications/knip-report.md | 8 +- plugins/org-react/knip-report.md | 2 +- plugins/org/knip-report.md | 2 +- .../knip-report.md | 4 +- plugins/permission-backend/knip-report.md | 2 +- plugins/proxy-backend/knip-report.md | 2 +- plugins/proxy-node/knip-report.md | 4 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 6 +- .../knip-report.md | 6 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- .../knip-report.md | 2 +- plugins/scaffolder-backend/knip-report.md | 30 +++--- .../scaffolder-node-test-utils/knip-report.md | 6 +- plugins/scaffolder-react/knip-report.md | 4 +- plugins/scaffolder/knip-report.md | 10 +- plugins/search-backend/knip-report.md | 4 +- plugins/search-react/knip-report.md | 2 +- plugins/signals-backend/knip-report.md | 10 +- plugins/signals-node/knip-report.md | 12 +-- plugins/signals-react/knip-report.md | 6 +- plugins/signals/knip-report.md | 12 +-- .../techdocs-addons-test-utils/knip-report.md | 4 +- plugins/techdocs-backend/knip-report.md | 10 +- plugins/techdocs-react/knip-report.md | 4 +- plugins/techdocs/knip-report.md | 2 +- plugins/user-settings-backend/knip-report.md | 2 +- 124 files changed, 496 insertions(+), 448 deletions(-) create mode 100644 .changeset/fix-knip-reports-spaces-path.md diff --git a/.changeset/fix-knip-reports-spaces-path.md b/.changeset/fix-knip-reports-spaces-path.md new file mode 100644 index 0000000000..95064c9274 --- /dev/null +++ b/.changeset/fix-knip-reports-spaces-path.md @@ -0,0 +1,5 @@ +--- +'@backstage/repo-tools': patch +--- + +Fixed knip-reports command failing when workspace path contains spaces and process termination issues by replacing `execFile` with `spawn` and removing `shell` option. diff --git a/packages/app-next-example-plugin/knip-report.md b/packages/app-next-example-plugin/knip-report.md index e01cd18c93..0f2b9c5ebc 100644 --- a/packages/app-next-example-plugin/knip-report.md +++ b/packages/app-next-example-plugin/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :---------- | :----------- | :------- | -| cross-fetch | package.json | error | -| msw | package.json | error | +| cross-fetch | packages/app-next-example-plugin/package.json | error | +| msw | packages/app-next-example-plugin/package.json | error | diff --git a/packages/app-next/knip-report.md b/packages/app-next/knip-report.md index de7de83ffc..8513269386 100644 --- a/packages/app-next/knip-report.md +++ b/packages/app-next/knip-report.md @@ -4,40 +4,40 @@ | Name | Location | Severity | | :----------------------------------------------- | :----------- | :------- | -| @backstage/plugin-techdocs-module-addons-contrib | package.json | error | -| @backstage/plugin-catalog-unprocessed-entities | package.json | error | -| @backstage/plugin-kubernetes-cluster | package.json | error | -| @backstage/plugin-permission-react | package.json | error | -| @backstage/plugin-scaffolder-react | package.json | error | -| @backstage/plugin-catalog-common | package.json | error | -| @backstage/plugin-techdocs-react | package.json | error | -| @backstage/plugin-catalog-graph | package.json | error | -| @backstage/plugin-search-common | package.json | error | -| @backstage/plugin-search-react | package.json | error | -| @backstage/integration-react | package.json | error | -| @backstage/plugin-auth-react | package.json | error | -| @backstage/plugin-scaffolder | package.json | error | -| @backstage/core-plugin-api | package.json | error | -| @backstage/plugin-api-docs | package.json | error | -| @backstage/plugin-catalog | package.json | error | -| @backstage/plugin-signals | package.json | error | -| @backstage/app-defaults | package.json | error | -| @backstage/plugin-app | package.json | error | -| @backstage/plugin-org | package.json | error | -| @backstage/config | package.json | error | -| @material-ui/lab | package.json | error | -| zen-observable | package.json | error | -| @octokit/rest | package.json | error | -| react-use | package.json | error | -| history | package.json | error | +| @backstage/plugin-techdocs-module-addons-contrib | packages/app-next/package.json | error | +| @backstage/plugin-catalog-unprocessed-entities | packages/app-next/package.json | error | +| @backstage/plugin-kubernetes-cluster | packages/app-next/package.json | error | +| @backstage/plugin-permission-react | packages/app-next/package.json | error | +| @backstage/plugin-scaffolder-react | packages/app-next/package.json | error | +| @backstage/plugin-catalog-common | packages/app-next/package.json | error | +| @backstage/plugin-techdocs-react | packages/app-next/package.json | error | +| @backstage/plugin-catalog-graph | packages/app-next/package.json | error | +| @backstage/plugin-search-common | packages/app-next/package.json | error | +| @backstage/plugin-search-react | packages/app-next/package.json | error | +| @backstage/integration-react | packages/app-next/package.json | error | +| @backstage/plugin-auth-react | packages/app-next/package.json | error | +| @backstage/plugin-scaffolder | packages/app-next/package.json | error | +| @backstage/core-plugin-api | packages/app-next/package.json | error | +| @backstage/plugin-api-docs | packages/app-next/package.json | error | +| @backstage/plugin-catalog | packages/app-next/package.json | error | +| @backstage/plugin-signals | packages/app-next/package.json | error | +| @backstage/app-defaults | packages/app-next/package.json | error | +| @backstage/plugin-app | packages/app-next/package.json | error | +| @backstage/plugin-org | packages/app-next/package.json | error | +| @backstage/config | packages/app-next/package.json | error | +| @material-ui/lab | packages/app-next/package.json | error | +| zen-observable | packages/app-next/package.json | error | +| @octokit/rest | packages/app-next/package.json | error | +| react-use | packages/app-next/package.json | error | +| history | packages/app-next/package.json | error | ## Unused devDependencies (5) | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @testing-library/user-event | package.json | error | -| @types/zen-observable | package.json | error | -| @testing-library/dom | package.json | error | -| @types/jquery | package.json | error | -| cross-env | package.json | error | +| @testing-library/user-event | packages/app-next/package.json | error | +| @types/zen-observable | packages/app-next/package.json | error | +| @testing-library/dom | packages/app-next/package.json | error | +| @types/jquery | packages/app-next/package.json | error | +| cross-env | packages/app-next/package.json | error | diff --git a/packages/app/knip-report.md b/packages/app/knip-report.md index b05d232915..753f119c52 100644 --- a/packages/app/knip-report.md +++ b/packages/app/knip-report.md @@ -4,26 +4,26 @@ | Name | Location | Severity | | :------------------------------ | :----------- | :------- | -| @backstage/plugin-search-common | package.json | error | -| @backstage/plugin-auth-react | package.json | error | -| @backstage/frontend-app-api | package.json | error | -| @material-ui/lab | package.json | error | -| zen-observable | package.json | error | -| @octokit/rest | package.json | error | -| react-router | package.json | error | -| history | package.json | error | +| @backstage/plugin-search-common | packages/app/package.json | error | +| @backstage/plugin-auth-react | packages/app/package.json | error | +| @backstage/frontend-app-api | packages/app/package.json | error | +| @material-ui/lab | packages/app/package.json | error | +| zen-observable | packages/app/package.json | error | +| @octokit/rest | packages/app/package.json | error | +| react-router | packages/app/package.json | error | +| history | packages/app/package.json | error | ## Unused devDependencies (3) | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @testing-library/user-event | package.json | error | -| @types/zen-observable | package.json | error | -| @types/jquery | package.json | error | +| @testing-library/user-event | packages/app/package.json | error | +| @types/zen-observable | packages/app/package.json | error | +| @types/jquery | packages/app/package.json | error | ## Unlisted dependencies (1) | Name | Location | Severity | | :---------- | :------------------------------------------------------- | :------- | -| @rjsf/utils | src/components/scaffolder/customScaffolderExtensions.tsx | error | +| @rjsf/utils | packages/app/src/components/scaffolder/customScaffolderExtensions.tsx | error | diff --git a/packages/backend-app-api/knip-report.md b/packages/backend-app-api/knip-report.md index 13b4ec495e..d056972992 100644 --- a/packages/backend-app-api/knip-report.md +++ b/packages/backend-app-api/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/backend-defaults | package.json | error | +| @backstage/backend-defaults | packages/backend-app-api/package.json | error | diff --git a/packages/backend-defaults/knip-report.md b/packages/backend-defaults/knip-report.md index 169963316a..8951112aaa 100644 --- a/packages/backend-defaults/knip-report.md +++ b/packages/backend-defaults/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :------------- | :----------- | :------- | -| better-sqlite3 | package.json | error | -| mysql2 | package.json | error | +| better-sqlite3 | packages/backend-defaults/package.json | error | +| mysql2 | packages/backend-defaults/package.json | error | ## Referenced optional peerDependencies (1) | Name | Location | Severity | | :-------------------------------- | :----------- | :------- | -| @google-cloud/cloud-sql-connector | package.json | error | +| @google-cloud/cloud-sql-connector | packages/backend-defaults/package.json | error | diff --git a/packages/backend-dynamic-feature-service/knip-report.md b/packages/backend-dynamic-feature-service/knip-report.md index 55e3fd302b..01af03f52e 100644 --- a/packages/backend-dynamic-feature-service/knip-report.md +++ b/packages/backend-dynamic-feature-service/knip-report.md @@ -4,14 +4,14 @@ | Name | Location | Severity | | :------------------------------------ | :----------- | :------- | -| @backstage/plugin-search-backend-node | package.json | error | -| @backstage/plugin-permission-common | package.json | error | -| @backstage/plugin-catalog-backend | package.json | error | -| @backstage/plugin-permission-node | package.json | error | -| @backstage/plugin-scaffolder-node | package.json | error | -| @backstage/plugin-events-backend | package.json | error | -| @backstage/plugin-search-common | package.json | error | -| @backstage/plugin-events-node | package.json | error | -| @backstage/plugin-auth-node | package.json | error | -| express-promise-router | package.json | error | +| @backstage/plugin-search-backend-node | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-permission-common | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-catalog-backend | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-permission-node | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-scaffolder-node | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-events-backend | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-search-common | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-events-node | packages/backend-dynamic-feature-service/package.json | error | +| @backstage/plugin-auth-node | packages/backend-dynamic-feature-service/package.json | error | +| express-promise-router | packages/backend-dynamic-feature-service/package.json | error | diff --git a/packages/backend-openapi-utils/knip-report.md b/packages/backend-openapi-utils/knip-report.md index cf540a8d1d..d2f286fde1 100644 --- a/packages/backend-openapi-utils/knip-report.md +++ b/packages/backend-openapi-utils/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @backstage/backend-plugin-api | package.json | error | +| @backstage/backend-plugin-api | packages/backend-openapi-utils/package.json | error | diff --git a/packages/backend-plugin-api/knip-report.md b/packages/backend-plugin-api/knip-report.md index 89988530e6..869066c9f6 100644 --- a/packages/backend-plugin-api/knip-report.md +++ b/packages/backend-plugin-api/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/plugin-auth-node | package.json | error | +| @backstage/plugin-auth-node | packages/backend-plugin-api/package.json | error | diff --git a/packages/backend-test-utils/knip-report.md b/packages/backend-test-utils/knip-report.md index 6ba3e32cd6..860e474541 100644 --- a/packages/backend-test-utils/knip-report.md +++ b/packages/backend-test-utils/knip-report.md @@ -1,13 +1,20 @@ # Knip report -## Unused dependencies (6) +## Unused dependencies (7) | Name | Location | Severity | | :------------------------------- | :----------- | :------- | -| @types/express-serve-static-core | package.json | error | -| @backstage/plugin-auth-node | package.json | error | -| better-sqlite3 | package.json | error | -| @types/qs | package.json | error | -| mysql2 | package.json | error | -| pg | package.json | error | +| @types/express-serve-static-core | packages/backend-test-utils/package.json | error | +| @backstage/plugin-auth-node | packages/backend-test-utils/package.json | error | +| better-sqlite3 | packages/backend-test-utils/package.json | error | +| @types/qs | packages/backend-test-utils/package.json | error | +| lodash | packages/backend-test-utils/package.json | error | +| mysql2 | packages/backend-test-utils/package.json | error | +| pg | packages/backend-test-utils/package.json | error | + +## Unused devDependencies (1) + +| Name | Location | Severity | +| :------------ | :----------- | :------- | +| @types/lodash | packages/backend-test-utils/package.json | error | diff --git a/packages/backend/knip-report.md b/packages/backend/knip-report.md index d24322fd2b..2410758b6d 100644 --- a/packages/backend/knip-report.md +++ b/packages/backend/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :----------------------------------------------- | :----------- | :------- | -| @backstage/plugin-catalog-backend-module-openapi | package.json | error | -| @opentelemetry/auto-instrumentations-node | package.json | error | -| @backstage/plugin-search-backend-node | package.json | error | -| @backstage/plugin-permission-common | package.json | error | -| @opentelemetry/exporter-prometheus | package.json | error | -| @backstage/plugin-permission-node | package.json | error | -| @opentelemetry/sdk-node | package.json | error | -| example-app | package.json | error | +| @backstage/plugin-catalog-backend-module-openapi | packages/backend/package.json | error | +| @opentelemetry/auto-instrumentations-node | packages/backend/package.json | error | +| @backstage/plugin-search-backend-node | packages/backend/package.json | error | +| @backstage/plugin-permission-common | packages/backend/package.json | error | +| @opentelemetry/exporter-prometheus | packages/backend/package.json | error | +| @backstage/plugin-permission-node | packages/backend/package.json | error | +| @opentelemetry/sdk-node | packages/backend/package.json | error | +| example-app | packages/backend/package.json | error | diff --git a/packages/catalog-model/knip-report.md b/packages/catalog-model/knip-report.md index 9285fce097..a03ecb8555 100644 --- a/packages/catalog-model/knip-report.md +++ b/packages/catalog-model/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :----------------- | :----------- | :------- | -| @types/json-schema | package.json | error | +| @types/json-schema | packages/catalog-model/package.json | error | diff --git a/packages/cli-node/knip-report.md b/packages/cli-node/knip-report.md index 4eeac45d5b..2ada6fe6ce 100644 --- a/packages/cli-node/knip-report.md +++ b/packages/cli-node/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :----- | :----------- | :------- | -| semver | package.json | error | +| semver | packages/cli-node/package.json | error | diff --git a/packages/cli/knip-report.md b/packages/cli/knip-report.md index 8781b02f01..1073617a2c 100644 --- a/packages/cli/knip-report.md +++ b/packages/cli/knip-report.md @@ -1,65 +1,68 @@ # Knip report -## Unused dependencies (24) +## Unused dependencies (22) | Name | Location | Severity | | :--------------------------- | :----------- | :------- | -| @spotify/eslint-config-react | package.json | error | -| eslint-formatter-friendly | package.json | error | -| eslint-plugin-react-hooks | package.json | error | -| @backstage/catalog-model | package.json | error | -| @octokit/graphql-schema | package.json | error | -| @sucrase/webpack-loader | package.json | error | -| @backstage/integration | package.json | error | -| eslint-plugin-jsx-a11y | package.json | error | -| jest-environment-jsdom | package.json | error | -| terser-webpack-plugin | package.json | error | -| eslint-plugin-react | package.json | error | -| @octokit/oauth-app | package.json | error | -| @types/webpack-env | package.json | error | -| @octokit/graphql | package.json | error | -| jest-css-modules | package.json | error | -| git-url-parse | package.json | error | -| jest-runtime | package.json | error | -| cross-fetch | package.json | error | -| @swc/jest | package.json | error | -| process | package.json | error | -| sucrase | package.json | error | -| buffer | package.json | error | -| glob | package.json | error | -| util | package.json | error | +| @spotify/eslint-config-react | packages/cli/package.json | error | +| eslint-formatter-friendly | packages/cli/package.json | error | +| eslint-plugin-react-hooks | packages/cli/package.json | error | +| @backstage/catalog-model | packages/cli/package.json | error | +| @octokit/graphql-schema | packages/cli/package.json | error | +| @backstage/integration | packages/cli/package.json | error | +| eslint-plugin-jsx-a11y | packages/cli/package.json | error | +| jest-environment-jsdom | packages/cli/package.json | error | +| eslint-plugin-react | packages/cli/package.json | error | +| @octokit/oauth-app | packages/cli/package.json | error | +| @types/webpack-env | packages/cli/package.json | error | +| @octokit/graphql | packages/cli/package.json | error | +| jest-css-modules | packages/cli/package.json | error | +| git-url-parse | packages/cli/package.json | error | +| jest-runtime | packages/cli/package.json | error | +| cross-fetch | packages/cli/package.json | error | +| @swc/jest | packages/cli/package.json | error | +| process | packages/cli/package.json | error | +| sucrase | packages/cli/package.json | error | +| buffer | packages/cli/package.json | error | +| glob | packages/cli/package.json | error | +| util | packages/cli/package.json | error | ## Unused devDependencies (14) | Name | Location | Severity | | :--------------------------------------------------- | :----------- | :------- | -| @backstage/plugin-auth-backend-module-guest-provider | package.json | error | -| @types/rollup-plugin-peer-deps-external | package.json | error | -| @backstage/plugin-auth-backend | package.json | error | -| @backstage/plugin-catalog-node | package.json | error | -| @types/terser-webpack-plugin | package.json | error | -| @backstage/core-components | package.json | error | -| @backstage/catalog-client | package.json | error | -| @backstage/core-app-api | package.json | error | -| @types/webpack-sources | package.json | error | -| @backstage/dev-utils | package.json | error | -| @types/http-proxy | package.json | error | -| @types/svgo | package.json | error | -| @types/ejs | package.json | error | -| del | package.json | error | +| @backstage/plugin-auth-backend-module-guest-provider | packages/cli/package.json | error | +| @types/rollup-plugin-peer-deps-external | packages/cli/package.json | error | +| @backstage/plugin-auth-backend | packages/cli/package.json | error | +| @types/terser-webpack-plugin | packages/cli/package.json | error | +| @backstage/core-components | packages/cli/package.json | error | +| @backstage/catalog-client | packages/cli/package.json | error | +| @backstage/core-app-api | packages/cli/package.json | error | +| @types/webpack-sources | packages/cli/package.json | error | +| terser-webpack-plugin | packages/cli/package.json | error | +| @backstage/dev-utils | packages/cli/package.json | error | +| @types/http-proxy | packages/cli/package.json | error | +| @types/svgo | packages/cli/package.json | error | +| @types/ejs | packages/cli/package.json | error | +| del | packages/cli/package.json | error | -## Referenced optional peerDependencies (3) +## Referenced optional peerDependencies (8) -| Name | Location | Severity | -| :--------------------------- | :----------- | :------- | -| @rspack/plugin-react-refresh | package.json | error | -| @rspack/dev-server | package.json | error | -| @rspack/core | package.json | error | +| Name | Location | Severity | +| :----------------------------------- | :----------- | :------- | +| @pmmmwh/react-refresh-webpack-plugin | packages/cli/package.json | error | +| fork-ts-checker-webpack-plugin | packages/cli/package.json | error | +| @module-federation/enhanced | packages/cli/package.json | error | +| mini-css-extract-plugin | packages/cli/package.json | error | +| eslint-webpack-plugin | packages/cli/package.json | error | +| webpack-dev-server | packages/cli/package.json | error | +| esbuild-loader | packages/cli/package.json | error | +| webpack | packages/cli/package.json | error | ## Unlisted dependencies (2) | Name | Location | Severity | | :-------- | :------------------------------------------------- | :------- | -| react-dom | src/modules/build/lib/bundler/hasReactDomClient.ts | error | -| react | src/modules/build/lib/bundler/server.ts | error | +| react-dom | packages/cli/src/modules/build/lib/bundler/hasReactDomClient.ts | error | +| react | packages/cli/src/modules/build/lib/bundler/server.ts | error | diff --git a/packages/core-app-api/knip-report.md b/packages/core-app-api/knip-report.md index 76616b6d60..9918534487 100644 --- a/packages/core-app-api/knip-report.md +++ b/packages/core-app-api/knip-report.md @@ -4,15 +4,15 @@ | Name | Location | Severity | | :------ | :----------- | :------- | -| history | package.json | error | +| history | packages/core-app-api/package.json | error | ## Unused devDependencies (5) | Name | Location | Severity | | :--------------------------- | :----------- | :------- | -| @testing-library/react-hooks | package.json | error | -| react-router-dom-stable | package.json | error | -| react-router-dom-beta | package.json | error | -| react-router-stable | package.json | error | -| react-router-beta | package.json | error | +| @testing-library/react-hooks | packages/core-app-api/package.json | error | +| react-router-dom-stable | packages/core-app-api/package.json | error | +| react-router-dom-beta | packages/core-app-api/package.json | error | +| react-router-stable | packages/core-app-api/package.json | error | +| react-router-beta | packages/core-app-api/package.json | error | diff --git a/packages/core-compat-api/knip-report.md b/packages/core-compat-api/knip-report.md index a5794ee10b..7d2feee1f4 100644 --- a/packages/core-compat-api/knip-report.md +++ b/packages/core-compat-api/knip-report.md @@ -4,7 +4,7 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/frontend-app-api | package.json | error | -| @backstage/types | package.json | error | -| zod | package.json | error | +| @backstage/frontend-app-api | packages/core-compat-api/package.json | error | +| @backstage/types | packages/core-compat-api/package.json | error | +| zod | packages/core-compat-api/package.json | error | diff --git a/packages/core-components/knip-report.md b/packages/core-components/knip-report.md index 69f3218a24..1f66f844fa 100644 --- a/packages/core-components/knip-report.md +++ b/packages/core-components/knip-report.md @@ -4,21 +4,21 @@ | Name | Location | Severity | | :-------- | :----------- | :------- | -| pluralize | package.json | error | +| pluralize | packages/core-components/package.json | error | ## Unused devDependencies (3) | Name | Location | Severity | | :---------------------- | :----------- | :------- | -| @backstage/app-defaults | package.json | error | -| @types/google-protobuf | package.json | error | -| cross-fetch | package.json | error | +| @backstage/app-defaults | packages/core-components/package.json | error | +| @types/google-protobuf | packages/core-components/package.json | error | +| cross-fetch | packages/core-components/package.json | error | ## Unlisted dependencies (3) | Name | Location | Severity | | :---------------- | :------------------------------------------------------ | :------- | -| copy-to-clipboard | src/components/LogViewer/useLogViewerSelection.test.tsx | error | -| copy-to-clipboard | src/components/LogViewer/RealLogViewer.test.tsx | error | -| csstype | src/components/Lifecycle/Lifecycle.tsx | error | +| copy-to-clipboard | packages/core-components/src/components/LogViewer/useLogViewerSelection.test.tsx | error | +| copy-to-clipboard | packages/core-components/src/components/LogViewer/RealLogViewer.test.tsx | error | +| csstype | packages/core-components/src/components/Lifecycle/Lifecycle.tsx | error | diff --git a/packages/core-plugin-api/knip-report.md b/packages/core-plugin-api/knip-report.md index 169117772f..3aaa33dfa4 100644 --- a/packages/core-plugin-api/knip-report.md +++ b/packages/core-plugin-api/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @testing-library/user-event | package.json | error | +| @testing-library/user-event | packages/core-plugin-api/package.json | error | diff --git a/packages/create-app/knip-report.md b/packages/create-app/knip-report.md index 864a5956ef..dc4b092da6 100644 --- a/packages/create-app/knip-report.md +++ b/packages/create-app/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------------------- | :----------- | :------- | -| @types/command-exists | package.json | error | +| @types/command-exists | packages/create-app/package.json | error | diff --git a/packages/e2e-test-utils/knip-report.md b/packages/e2e-test-utils/knip-report.md index 5798802e35..b3b407dc65 100644 --- a/packages/e2e-test-utils/knip-report.md +++ b/packages/e2e-test-utils/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| @playwright/test | package.json | error | +| @playwright/test | packages/e2e-test-utils/package.json | error | diff --git a/packages/e2e-test/knip-report.md b/packages/e2e-test/knip-report.md index 33d38c8508..516a9d0872 100644 --- a/packages/e2e-test/knip-report.md +++ b/packages/e2e-test/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------------------- | :----------- | :------- | -| @backstage/create-app | package.json | error | +| @backstage/create-app | packages/e2e-test/package.json | error | diff --git a/packages/frontend-app-api/knip-report.md b/packages/frontend-app-api/knip-report.md index b050438d7c..77a3cfea97 100644 --- a/packages/frontend-app-api/knip-report.md +++ b/packages/frontend-app-api/knip-report.md @@ -1,10 +1,17 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (4) | Name | Location | Severity | | :--------------------------- | :----------- | :------- | -| @backstage/frontend-defaults | package.json | error | -| @backstage/errors | package.json | error | -| zod | package.json | error | +| @backstage/frontend-defaults | packages/frontend-app-api/package.json | error | +| @backstage/version-bridge | packages/frontend-app-api/package.json | error | +| @backstage/errors | packages/frontend-app-api/package.json | error | +| zod | packages/frontend-app-api/package.json | error | + +## Unused devDependencies (1) + +| Name | Location | Severity | +| :----------------------------- | :----------- | :------- | +| @backstage/frontend-test-utils | packages/frontend-app-api/package.json | error | diff --git a/packages/frontend-defaults/knip-report.md b/packages/frontend-defaults/knip-report.md index e6696c0d8d..8c0979b2c4 100644 --- a/packages/frontend-defaults/knip-report.md +++ b/packages/frontend-defaults/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| @react-hookz/web | package.json | error | +| @react-hookz/web | packages/frontend-defaults/package.json | error | diff --git a/packages/frontend-dynamic-feature-loader/knip-report.md b/packages/frontend-dynamic-feature-loader/knip-report.md index 3d019810db..0645b2b1cc 100644 --- a/packages/frontend-dynamic-feature-loader/knip-report.md +++ b/packages/frontend-dynamic-feature-loader/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---------------- | :----------- | :------- | -| @backstage/config | package.json | error | +| @backstage/config | packages/frontend-dynamic-feature-loader/package.json | error | diff --git a/packages/frontend-internal/knip-report.md b/packages/frontend-internal/knip-report.md index edbbb970ac..e23233d94e 100644 --- a/packages/frontend-internal/knip-report.md +++ b/packages/frontend-internal/knip-report.md @@ -4,16 +4,16 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/version-bridge | package.json | error | -| zod | package.json | error | +| @backstage/version-bridge | packages/frontend-internal/package.json | error | +| zod | packages/frontend-internal/package.json | error | ## Unused devDependencies (5) | Name | Location | Severity | | :----------------------------- | :----------- | :------- | -| @backstage/frontend-test-utils | package.json | error | -| @backstage/frontend-app-api | package.json | error | -| @testing-library/jest-dom | package.json | error | -| @testing-library/react | package.json | error | -| @backstage/test-utils | package.json | error | +| @backstage/frontend-test-utils | packages/frontend-internal/package.json | error | +| @backstage/frontend-app-api | packages/frontend-internal/package.json | error | +| @testing-library/jest-dom | packages/frontend-internal/package.json | error | +| @testing-library/react | packages/frontend-internal/package.json | error | +| @backstage/test-utils | packages/frontend-internal/package.json | error | diff --git a/packages/frontend-plugin-api/knip-report.md b/packages/frontend-plugin-api/knip-report.md index 402fea3d47..d76f9ef7d9 100644 --- a/packages/frontend-plugin-api/knip-report.md +++ b/packages/frontend-plugin-api/knip-report.md @@ -4,13 +4,13 @@ | Name | Location | Severity | | :------------------------- | :----------- | :------- | -| @backstage/core-components | package.json | error | -| @material-ui/core | package.json | error | -| lodash | package.json | error | +| @backstage/core-components | packages/frontend-plugin-api/package.json | error | +| @material-ui/core | packages/frontend-plugin-api/package.json | error | +| lodash | packages/frontend-plugin-api/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/frontend-app-api | package.json | error | +| @backstage/frontend-app-api | packages/frontend-plugin-api/package.json | error | diff --git a/packages/frontend-test-utils/knip-report.md b/packages/frontend-test-utils/knip-report.md index 50f4f788e3..5415a4c648 100644 --- a/packages/frontend-test-utils/knip-report.md +++ b/packages/frontend-test-utils/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/version-bridge | package.json | error | -| zod | package.json | error | +| @backstage/version-bridge | packages/frontend-test-utils/package.json | error | +| zod | packages/frontend-test-utils/package.json | error | diff --git a/packages/integration-aws-node/knip-report.md b/packages/integration-aws-node/knip-report.md index 8927891173..efa9f826b6 100644 --- a/packages/integration-aws-node/knip-report.md +++ b/packages/integration-aws-node/knip-report.md @@ -4,13 +4,13 @@ | Name | Location | Severity | | :-------------------------------- | :----------- | :------- | -| @aws-sdk/credential-provider-node | package.json | error | -| @backstage/errors | package.json | error | +| @aws-sdk/credential-provider-node | packages/integration-aws-node/package.json | error | +| @backstage/errors | packages/integration-aws-node/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :----------------------- | :----------- | :------- | -| @backstage/config-loader | package.json | error | -| @backstage/test-utils | package.json | error | +| @backstage/config-loader | packages/integration-aws-node/package.json | error | +| @backstage/test-utils | packages/integration-aws-node/package.json | error | diff --git a/packages/integration-react/knip-report.md b/packages/integration-react/knip-report.md index 551f19ab2f..dd0df6e7f4 100644 --- a/packages/integration-react/knip-report.md +++ b/packages/integration-react/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------------------- | :----------- | :------- | -| @testing-library/dom | package.json | error | -| msw | package.json | error | +| @testing-library/dom | packages/integration-react/package.json | error | +| msw | packages/integration-react/package.json | error | diff --git a/packages/opaque-internal/knip-report.md b/packages/opaque-internal/knip-report.md index b131ea8948..b49ecc8f5f 100644 --- a/packages/opaque-internal/knip-report.md +++ b/packages/opaque-internal/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @testing-library/jest-dom | package.json | error | -| @testing-library/react | package.json | error | +| @testing-library/jest-dom | packages/opaque-internal/package.json | error | +| @testing-library/react | packages/opaque-internal/package.json | error | diff --git a/packages/repo-tools/knip-report.md b/packages/repo-tools/knip-report.md index 02f92286c1..f87d954145 100644 --- a/packages/repo-tools/knip-report.md +++ b/packages/repo-tools/knip-report.md @@ -4,21 +4,21 @@ | Name | Location | Severity | | :---------------------------------- | :----------- | :------- | -| @openapitools/openapi-generator-cli | package.json | error | -| @stoplight/spectral-runtime | package.json | error | -| @electric-sql/pglite | package.json | error | -| is-glob | package.json | error | +| @openapitools/openapi-generator-cli | packages/repo-tools/package.json | error | +| @stoplight/spectral-runtime | packages/repo-tools/package.json | error | +| @electric-sql/pglite | packages/repo-tools/package.json | error | +| is-glob | packages/repo-tools/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :------------- | :----------- | :------- | -| @types/is-glob | package.json | error | -| typedoc | package.json | error | +| @types/is-glob | packages/repo-tools/package.json | error | +| typedoc | packages/repo-tools/package.json | error | ## Referenced optional peerDependencies (1) | Name | Location | Severity | | :------- | :----------- | :------- | -| prettier | package.json | error | +| prettier | packages/repo-tools/package.json | error | diff --git a/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts b/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts index a97d1ddd8f..68bb0a9835 100644 --- a/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts +++ b/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts @@ -106,13 +106,17 @@ async function handlePackage({ let report = await run( `${knipDir}/knip.js`, - `-W ${packageDir}`, // Run the desired workspace - '--config knip.json', + '-W', // Run the desired workspace + packageDir, + '--config', + 'knip.json', '--no-exit-code', // Removing this will end the process in case there are findings by knip '--no-progress', // Remove unnecessary debugging from output // TODO: Add more checks when dependencies start to look ok, see https://knip.dev/reference/cli#--include - '--include dependencies,unlisted', - '--reporter markdown', + '--include', + 'dependencies,unlisted', + '--reporter', + 'markdown', ); // Adjust report paths to be relative to workspace diff --git a/packages/repo-tools/src/commands/util.ts b/packages/repo-tools/src/commands/util.ts index ff4cdad1b8..c232a8aff2 100644 --- a/packages/repo-tools/src/commands/util.ts +++ b/packages/repo-tools/src/commands/util.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import { execFile } from 'child_process'; +import { spawn } from 'child_process'; import os from 'os'; import pLimit from 'p-limit'; @@ -29,26 +29,43 @@ export function createBinRunner(cwd: string, path: string) { limiter( () => new Promise((resolve, reject) => { - execFile( - 'node', - [path, ...command], - { - cwd, - shell: true, - timeout: 3 * 60 * 1000, - maxBuffer: 1024 * 1024, - }, - (err, stdout, stderr) => { - if (err) { - console.log('err', err); - reject(new Error(`${err.message}\n${stderr}`)); - } else if (stderr) { - reject(new Error(`Command printed error output: ${stderr}`)); - } else { - resolve(stdout); - } - }, - ); + // Handle the case where path is empty and the script path is the first command argument + const args = path ? [path, ...command] : command; + const child = spawn('node', args, { + cwd, + stdio: ['ignore', 'pipe', 'pipe'], + }); + + let stdout = ''; + let stderr = ''; + + child.stdout?.on('data', data => { + stdout += data.toString(); + }); + + child.stderr?.on('data', data => { + stderr += data.toString(); + }); + + child.on('error', err => { + reject(new Error(`Process error: ${err.message}`)); + }); + + child.on('close', (code, signal) => { + if (signal) { + reject( + new Error( + `Process was killed with signal ${signal}\n${stderr}`, + ), + ); + } else if (code !== 0) { + reject(new Error(`Process exited with code ${code}\n${stderr}`)); + } else if (stderr.trim()) { + reject(new Error(`Command printed error output: ${stderr}`)); + } else { + resolve(stdout); + } + }); }), ); } diff --git a/packages/techdocs-cli-embedded-app/knip-report.md b/packages/techdocs-cli-embedded-app/knip-report.md index 96aa361a87..3711ac996d 100644 --- a/packages/techdocs-cli-embedded-app/knip-report.md +++ b/packages/techdocs-cli-embedded-app/knip-report.md @@ -4,14 +4,14 @@ | Name | Location | Severity | | :-------- | :----------- | :------- | -| react-use | package.json | error | -| history | package.json | error | +| react-use | packages/techdocs-cli-embedded-app/package.json | error | +| history | packages/techdocs-cli-embedded-app/package.json | error | ## Unused devDependencies (3) | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @testing-library/user-event | package.json | error | -| @testing-library/dom | package.json | error | -| cross-env | package.json | error | +| @testing-library/user-event | packages/techdocs-cli-embedded-app/package.json | error | +| @testing-library/dom | packages/techdocs-cli-embedded-app/package.json | error | +| cross-env | packages/techdocs-cli-embedded-app/package.json | error | diff --git a/packages/techdocs-cli/knip-report.md b/packages/techdocs-cli/knip-report.md index 5948844a00..f13d2d7ab6 100644 --- a/packages/techdocs-cli/knip-report.md +++ b/packages/techdocs-cli/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :----------- | :----------- | :------- | -| global-agent | package.json | error | +| global-agent | packages/techdocs-cli/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| techdocs-cli-embedded-app | package.json | error | -| @types/webpack-env | package.json | error | +| techdocs-cli-embedded-app | packages/techdocs-cli/package.json | error | +| @types/webpack-env | packages/techdocs-cli/package.json | error | diff --git a/packages/theme/knip-report.md b/packages/theme/knip-report.md index 9aa0ae1d46..270d625e91 100644 --- a/packages/theme/knip-report.md +++ b/packages/theme/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| react-router-dom | package.json | error | +| react-router-dom | packages/theme/package.json | error | diff --git a/packages/ui/knip-report.md b/packages/ui/knip-report.md index c242c05e3f..3f3284a1a0 100644 --- a/packages/ui/knip-report.md +++ b/packages/ui/knip-report.md @@ -1,20 +1,22 @@ # Knip report -## Unused devDependencies (5) +## Unused dependencies (1) -| Name | Location | Severity | -| :------------------------------- | :----------- | :------- | -| @storybook/addon-styling-webpack | package.json | error | -| mini-css-extract-plugin | package.json | error | -| @storybook/blocks | package.json | error | -| globals | package.json | error | -| glob | package.json | error | +| Name | Location | Severity | +| :-------------------- | :----------- | :------- | +| @tanstack/react-table | packages/ui/package.json | error | -## Unlisted dependencies (3) +## Unused devDependencies (2) -| Name | Location | Severity | -| :--------------------- | :----------------------------------------- | :------- | -| @react-types/overlays | src/components/Tooltip/Tooltip.stories.tsx | error | -| react-aria | src/components/Menu/Combobox.tsx | error | -| @storybook/preview-api | .storybook/preview.tsx | error | +| Name | Location | Severity | +| :------ | :----------- | :------- | +| globals | packages/ui/package.json | error | +| glob | packages/ui/package.json | error | + +## Unlisted dependencies (2) + +| Name | Location | Severity | +| :-------------------- | :------------------------------------------- | :------- | +| react-stately | packages/ui/src/components/TagGroup/TagGroup.stories.tsx | error | +| @react-types/overlays | packages/ui/src/components/Tooltip/Tooltip.stories.tsx | error | diff --git a/packages/version-bridge/knip-report.md b/packages/version-bridge/knip-report.md index 9aa0ae1d46..2bdccfc4d2 100644 --- a/packages/version-bridge/knip-report.md +++ b/packages/version-bridge/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| react-router-dom | package.json | error | +| react-router-dom | packages/version-bridge/package.json | error | diff --git a/plugins/api-docs-module-protoc-gen-doc/knip-report.md b/plugins/api-docs-module-protoc-gen-doc/knip-report.md index 63b63f2f9b..5933dc809c 100644 --- a/plugins/api-docs-module-protoc-gen-doc/knip-report.md +++ b/plugins/api-docs-module-protoc-gen-doc/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| react-router-dom | package.json | error | -| react-dom | package.json | error | +| react-router-dom | plugins/api-docs-module-protoc-gen-doc/package.json | error | +| react-dom | plugins/api-docs-module-protoc-gen-doc/package.json | error | diff --git a/plugins/api-docs/knip-report.md b/plugins/api-docs/knip-report.md index 3c06f53535..406a44f365 100644 --- a/plugins/api-docs/knip-report.md +++ b/plugins/api-docs/knip-report.md @@ -4,14 +4,14 @@ | Name | Location | Severity | | :------------------- | :----------- | :------- | -| isomorphic-form-data | package.json | error | -| graphql-config | package.json | error | -| graphql-ws | package.json | error | +| isomorphic-form-data | plugins/api-docs/package.json | error | +| graphql-config | plugins/api-docs/package.json | error | +| graphql-ws | plugins/api-docs/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :---------------------- | :----------- | :------- | -| @backstage/core-app-api | package.json | error | -| @types/highlightjs | package.json | error | +| @backstage/core-app-api | plugins/api-docs/package.json | error | +| @types/highlightjs | plugins/api-docs/package.json | error | diff --git a/plugins/app-backend/knip-report.md b/plugins/app-backend/knip-report.md index 588eca0213..55ec2572b5 100644 --- a/plugins/app-backend/knip-report.md +++ b/plugins/app-backend/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/plugin-auth-node | package.json | error | -| yn | package.json | error | +| @backstage/plugin-auth-node | plugins/app-backend/package.json | error | +| yn | plugins/app-backend/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :------------------------- | :----------- | :------- | -| @backstage/backend-app-api | package.json | error | +| @backstage/backend-app-api | plugins/app-backend/package.json | error | diff --git a/plugins/app/knip-report.md b/plugins/app/knip-report.md index 9361e03abc..7b3dcb2e34 100644 --- a/plugins/app/knip-report.md +++ b/plugins/app/knip-report.md @@ -1,16 +1,18 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (4) -| Name | Location | Severity | -| :--------------- | :----------- | :------- | -| @material-ui/lab | package.json | error | -| react-use | package.json | error | +| Name | Location | Severity | +| :------------------------ | :----------- | :------- | +| @backstage/version-bridge | plugins/app/package.json | error | +| @material-ui/lab | plugins/app/package.json | error | +| react-use | plugins/app/package.json | error | +| zod | plugins/app/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :------------------- | :----------- | :------- | -| @backstage/dev-utils | package.json | error | -| msw | package.json | error | +| @backstage/dev-utils | plugins/app/package.json | error | +| msw | plugins/app/package.json | error | diff --git a/plugins/auth-backend-module-atlassian-provider/knip-report.md b/plugins/auth-backend-module-atlassian-provider/knip-report.md index 6624c86073..4604ddb386 100644 --- a/plugins/auth-backend-module-atlassian-provider/knip-report.md +++ b/plugins/auth-backend-module-atlassian-provider/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | -| express | package.json | error | +| passport | plugins/auth-backend-module-atlassian-provider/package.json | error | +| express | plugins/auth-backend-module-atlassian-provider/package.json | error | diff --git a/plugins/auth-backend-module-aws-alb-provider/knip-report.md b/plugins/auth-backend-module-aws-alb-provider/knip-report.md index 14abcfe083..6f67a12ef6 100644 --- a/plugins/auth-backend-module-aws-alb-provider/knip-report.md +++ b/plugins/auth-backend-module-aws-alb-provider/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :----------------------------- | :----------- | :------- | -| @backstage/plugin-auth-backend | package.json | error | +| @backstage/plugin-auth-backend | plugins/auth-backend-module-aws-alb-provider/package.json | error | diff --git a/plugins/auth-backend-module-azure-easyauth-provider/knip-report.md b/plugins/auth-backend-module-azure-easyauth-provider/knip-report.md index d5c786591f..854da1aa31 100644 --- a/plugins/auth-backend-module-azure-easyauth-provider/knip-report.md +++ b/plugins/auth-backend-module-azure-easyauth-provider/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :----------------------- | :----------- | :------- | -| @backstage/catalog-model | package.json | error | +| @backstage/catalog-model | plugins/auth-backend-module-azure-easyauth-provider/package.json | error | diff --git a/plugins/auth-backend-module-bitbucket-provider/knip-report.md b/plugins/auth-backend-module-bitbucket-provider/knip-report.md index 6624c86073..816b276c84 100644 --- a/plugins/auth-backend-module-bitbucket-provider/knip-report.md +++ b/plugins/auth-backend-module-bitbucket-provider/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | -| express | package.json | error | +| passport | plugins/auth-backend-module-bitbucket-provider/package.json | error | +| express | plugins/auth-backend-module-bitbucket-provider/package.json | error | diff --git a/plugins/auth-backend-module-bitbucket-server-provider/knip-report.md b/plugins/auth-backend-module-bitbucket-server-provider/knip-report.md index 4386ad9c4a..5aaf6b7a92 100644 --- a/plugins/auth-backend-module-bitbucket-server-provider/knip-report.md +++ b/plugins/auth-backend-module-bitbucket-server-provider/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | +| passport | plugins/auth-backend-module-bitbucket-server-provider/package.json | error | diff --git a/plugins/auth-backend-module-gitlab-provider/knip-report.md b/plugins/auth-backend-module-gitlab-provider/knip-report.md index 6624c86073..693a54de62 100644 --- a/plugins/auth-backend-module-gitlab-provider/knip-report.md +++ b/plugins/auth-backend-module-gitlab-provider/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | -| express | package.json | error | +| passport | plugins/auth-backend-module-gitlab-provider/package.json | error | +| express | plugins/auth-backend-module-gitlab-provider/package.json | error | diff --git a/plugins/auth-backend-module-guest-provider/knip-report.md b/plugins/auth-backend-module-guest-provider/knip-report.md index d2b8db6f32..41211cd509 100644 --- a/plugins/auth-backend-module-guest-provider/knip-report.md +++ b/plugins/auth-backend-module-guest-provider/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :-------------- | :----------- | :------- | -| passport-oauth2 | package.json | error | +| passport-oauth2 | plugins/auth-backend-module-guest-provider/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @backstage/backend-test-utils | package.json | error | -| express | package.json | error | +| @backstage/backend-test-utils | plugins/auth-backend-module-guest-provider/package.json | error | +| express | plugins/auth-backend-module-guest-provider/package.json | error | diff --git a/plugins/auth-backend-module-oauth2-provider/knip-report.md b/plugins/auth-backend-module-oauth2-provider/knip-report.md index 4386ad9c4a..731dd67f6c 100644 --- a/plugins/auth-backend-module-oauth2-provider/knip-report.md +++ b/plugins/auth-backend-module-oauth2-provider/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | +| passport | plugins/auth-backend-module-oauth2-provider/package.json | error | diff --git a/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md b/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md index 14b2b4cc88..e034256a27 100644 --- a/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md +++ b/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @backstage/backend-test-utils | package.json | error | +| @backstage/backend-test-utils | plugins/auth-backend-module-oauth2-proxy-provider/package.json | error | diff --git a/plugins/auth-backend-module-oidc-provider/knip-report.md b/plugins/auth-backend-module-oidc-provider/knip-report.md index a7256f0ead..aa5b910b2d 100644 --- a/plugins/auth-backend-module-oidc-provider/knip-report.md +++ b/plugins/auth-backend-module-oidc-provider/knip-report.md @@ -4,14 +4,14 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | -| zod | package.json | error | +| passport | plugins/auth-backend-module-oidc-provider/package.json | error | +| zod | plugins/auth-backend-module-oidc-provider/package.json | error | ## Unused devDependencies (3) | Name | Location | Severity | | :--------------------- | :----------- | :------- | -| express-promise-router | package.json | error | -| express-session | package.json | error | -| cookie-parser | package.json | error | +| express-promise-router | plugins/auth-backend-module-oidc-provider/package.json | error | +| express-session | plugins/auth-backend-module-oidc-provider/package.json | error | +| cookie-parser | plugins/auth-backend-module-oidc-provider/package.json | error | diff --git a/plugins/auth-backend-module-okta-provider/knip-report.md b/plugins/auth-backend-module-okta-provider/knip-report.md index e761ead581..bec18b0f1a 100644 --- a/plugins/auth-backend-module-okta-provider/knip-report.md +++ b/plugins/auth-backend-module-okta-provider/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | -| express | package.json | error | +| passport | plugins/auth-backend-module-okta-provider/package.json | error | +| express | plugins/auth-backend-module-okta-provider/package.json | error | ## Unlisted dependencies (1) | Name | Location | Severity | | :-------------- | :------------- | :------- | -| passport-oauth2 | src/types.d.ts | error | +| passport-oauth2 | plugins/auth-backend-module-okta-provider/src/types.d.ts | error | diff --git a/plugins/auth-backend-module-onelogin-provider/knip-report.md b/plugins/auth-backend-module-onelogin-provider/knip-report.md index 6624c86073..8b95b0648f 100644 --- a/plugins/auth-backend-module-onelogin-provider/knip-report.md +++ b/plugins/auth-backend-module-onelogin-provider/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| passport | package.json | error | -| express | package.json | error | +| passport | plugins/auth-backend-module-onelogin-provider/package.json | error | +| express | plugins/auth-backend-module-onelogin-provider/package.json | error | diff --git a/plugins/auth-backend-module-pinniped-provider/knip-report.md b/plugins/auth-backend-module-pinniped-provider/knip-report.md index aa669344ff..23b403971a 100644 --- a/plugins/auth-backend-module-pinniped-provider/knip-report.md +++ b/plugins/auth-backend-module-pinniped-provider/knip-report.md @@ -4,7 +4,7 @@ | Name | Location | Severity | | :-------------- | :----------- | :------- | -| express-session | package.json | error | -| cookie-parser | package.json | error | -| passport | package.json | error | +| express-session | plugins/auth-backend-module-pinniped-provider/package.json | error | +| cookie-parser | plugins/auth-backend-module-pinniped-provider/package.json | error | +| passport | plugins/auth-backend-module-pinniped-provider/package.json | error | diff --git a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md index 9f46420ca0..3d57808d27 100644 --- a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md +++ b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md @@ -4,11 +4,11 @@ | Name | Location | Severity | | :----------------------- | :----------- | :------- | -| @backstage/catalog-model | package.json | error | +| @backstage/catalog-model | plugins/auth-backend-module-vmware-cloud-provider/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :---------------- | :----------- | :------- | -| @backstage/errors | package.json | error | +| @backstage/errors | plugins/auth-backend-module-vmware-cloud-provider/package.json | error | diff --git a/plugins/auth-react/knip-report.md b/plugins/auth-react/knip-report.md index df86118651..ed8bd3b071 100644 --- a/plugins/auth-react/knip-report.md +++ b/plugins/auth-react/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-- | :----------- | :------- | -| msw | package.json | error | +| msw | plugins/auth-react/package.json | error | diff --git a/plugins/bitbucket-cloud-common/knip-report.md b/plugins/bitbucket-cloud-common/knip-report.md index ead5329ef3..1a4ba56b63 100644 --- a/plugins/bitbucket-cloud-common/knip-report.md +++ b/plugins/bitbucket-cloud-common/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :---------------------------------- | :----------- | :------- | -| @openapitools/openapi-generator-cli | package.json | error | -| ts-morph | package.json | error | +| @openapitools/openapi-generator-cli | plugins/bitbucket-cloud-common/package.json | error | +| ts-morph | plugins/bitbucket-cloud-common/package.json | error | diff --git a/plugins/catalog-backend-module-aws/knip-report.md b/plugins/catalog-backend-module-aws/knip-report.md index c637c25d2f..ed7557334b 100644 --- a/plugins/catalog-backend-module-aws/knip-report.md +++ b/plugins/catalog-backend-module-aws/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @aws-sdk/credential-providers | package.json | error | -| winston | package.json | error | +| @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 | package.json | error | +| luxon | plugins/catalog-backend-module-aws/package.json | error | diff --git a/plugins/catalog-backend-module-azure/knip-report.md b/plugins/catalog-backend-module-azure/knip-report.md index cb5315967a..622077aa40 100644 --- a/plugins/catalog-backend-module-azure/knip-report.md +++ b/plugins/catalog-backend-module-azure/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-azure/package.json | error | diff --git a/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md b/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md index 12b22ec44f..a6400f9cd2 100644 --- a/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md +++ b/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md @@ -4,11 +4,11 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/catalog-client | package.json | error | +| @backstage/catalog-client | plugins/catalog-backend-module-bitbucket-cloud/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-bitbucket-cloud/package.json | error | diff --git a/plugins/catalog-backend-module-bitbucket-server/knip-report.md b/plugins/catalog-backend-module-bitbucket-server/knip-report.md index 12b22ec44f..067155bd06 100644 --- a/plugins/catalog-backend-module-bitbucket-server/knip-report.md +++ b/plugins/catalog-backend-module-bitbucket-server/knip-report.md @@ -4,11 +4,11 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/catalog-client | package.json | error | +| @backstage/catalog-client | plugins/catalog-backend-module-bitbucket-server/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-bitbucket-server/package.json | error | diff --git a/plugins/catalog-backend-module-gcp/knip-report.md b/plugins/catalog-backend-module-gcp/knip-report.md index 14b2b4cc88..6ca9506931 100644 --- a/plugins/catalog-backend-module-gcp/knip-report.md +++ b/plugins/catalog-backend-module-gcp/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @backstage/backend-test-utils | package.json | error | +| @backstage/backend-test-utils | plugins/catalog-backend-module-gcp/package.json | error | diff --git a/plugins/catalog-backend-module-gerrit/knip-report.md b/plugins/catalog-backend-module-gerrit/knip-report.md index cb5315967a..7a02c83e07 100644 --- a/plugins/catalog-backend-module-gerrit/knip-report.md +++ b/plugins/catalog-backend-module-gerrit/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-gerrit/package.json | error | diff --git a/plugins/catalog-backend-module-github-org/knip-report.md b/plugins/catalog-backend-module-github-org/knip-report.md index cb5315967a..d71302f8ae 100644 --- a/plugins/catalog-backend-module-github-org/knip-report.md +++ b/plugins/catalog-backend-module-github-org/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-github-org/package.json | error | diff --git a/plugins/catalog-backend-module-github/knip-report.md b/plugins/catalog-backend-module-github/knip-report.md index c200862961..35b39536c9 100644 --- a/plugins/catalog-backend-module-github/knip-report.md +++ b/plugins/catalog-backend-module-github/knip-report.md @@ -4,21 +4,21 @@ | Name | Location | Severity | | :-------------------------------- | :----------- | :------- | -| @backstage/plugin-catalog-backend | package.json | error | -| @backstage/catalog-client | package.json | error | +| @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 | package.json | error | +| luxon | plugins/catalog-backend-module-github/package.json | error | ## Unlisted dependencies (4) | Name | Location | Severity | | :---------------------- | :-------------------------------------------- | :------- | -| @octokit/webhooks-types | src/providers/GithubMultiOrgEntityProvider.ts | error | -| @octokit/webhooks-types | src/providers/GithubEntityProvider.test.ts | error | -| @octokit/webhooks-types | src/providers/GithubOrgEntityProvider.ts | error | -| @octokit/webhooks-types | src/providers/GithubEntityProvider.ts | error | +| @octokit/webhooks-types | plugins/catalog-backend-module-github/src/providers/GithubMultiOrgEntityProvider.ts | error | +| @octokit/webhooks-types | plugins/catalog-backend-module-github/src/providers/GithubEntityProvider.test.ts | error | +| @octokit/webhooks-types | plugins/catalog-backend-module-github/src/providers/GithubOrgEntityProvider.ts | error | +| @octokit/webhooks-types | plugins/catalog-backend-module-github/src/providers/GithubEntityProvider.ts | error | diff --git a/plugins/catalog-backend-module-gitlab-org/knip-report.md b/plugins/catalog-backend-module-gitlab-org/knip-report.md index cb5315967a..43328f5e48 100644 --- a/plugins/catalog-backend-module-gitlab-org/knip-report.md +++ b/plugins/catalog-backend-module-gitlab-org/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-gitlab-org/package.json | error | diff --git a/plugins/catalog-backend-module-gitlab/knip-report.md b/plugins/catalog-backend-module-gitlab/knip-report.md index cb5315967a..8c7b1cc0a0 100644 --- a/plugins/catalog-backend-module-gitlab/knip-report.md +++ b/plugins/catalog-backend-module-gitlab/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-gitlab/package.json | error | diff --git a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md index 21e59cdcea..e67f6704ce 100644 --- a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md +++ b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---------------------------------- | :----------- | :------- | -| @backstage/plugin-permission-common | package.json | error | +| @backstage/plugin-permission-common | plugins/catalog-backend-module-incremental-ingestion/package.json | error | diff --git a/plugins/catalog-backend-module-msgraph/knip-report.md b/plugins/catalog-backend-module-msgraph/knip-report.md index cb5315967a..1b4a6feaab 100644 --- a/plugins/catalog-backend-module-msgraph/knip-report.md +++ b/plugins/catalog-backend-module-msgraph/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-msgraph/package.json | error | diff --git a/plugins/catalog-backend-module-openapi/knip-report.md b/plugins/catalog-backend-module-openapi/knip-report.md index 559313ad8c..91d1d44c3e 100644 --- a/plugins/catalog-backend-module-openapi/knip-report.md +++ b/plugins/catalog-backend-module-openapi/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------ | :----------- | :------- | -| openapi-types | package.json | error | +| openapi-types | plugins/catalog-backend-module-openapi/package.json | error | diff --git a/plugins/catalog-backend-module-puppetdb/knip-report.md b/plugins/catalog-backend-module-puppetdb/knip-report.md index acef584675..ac2ab908f0 100644 --- a/plugins/catalog-backend-module-puppetdb/knip-report.md +++ b/plugins/catalog-backend-module-puppetdb/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---- | :----------- | :------- | -| luxon | package.json | error | +| luxon | plugins/catalog-backend-module-puppetdb/package.json | error | diff --git a/plugins/catalog-backend-module-unprocessed/knip-report.md b/plugins/catalog-backend-module-unprocessed/knip-report.md index fe81af1cb9..b4dbca6967 100644 --- a/plugins/catalog-backend-module-unprocessed/knip-report.md +++ b/plugins/catalog-backend-module-unprocessed/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :----------------------------- | :----------- | :------- | -| @backstage/plugin-catalog-node | package.json | error | -| @backstage/plugin-auth-node | package.json | error | +| @backstage/plugin-catalog-node | plugins/catalog-backend-module-unprocessed/package.json | error | +| @backstage/plugin-auth-node | plugins/catalog-backend-module-unprocessed/package.json | error | diff --git a/plugins/catalog-backend/knip-report.md b/plugins/catalog-backend/knip-report.md index d547deea65..b221ae3cf4 100644 --- a/plugins/catalog-backend/knip-report.md +++ b/plugins/catalog-backend/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------- | :----------- | :------- | -| better-sqlite3 | package.json | error | +| better-sqlite3 | plugins/catalog-backend/package.json | error | diff --git a/plugins/catalog-graph/knip-report.md b/plugins/catalog-graph/knip-report.md index 6b1996899f..92dd638989 100644 --- a/plugins/catalog-graph/knip-report.md +++ b/plugins/catalog-graph/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------ | :----------- | :------- | -| p-limit | package.json | error | +| p-limit | plugins/catalog-graph/package.json | error | diff --git a/plugins/catalog-react/knip-report.md b/plugins/catalog-react/knip-report.md index 4b33c02956..d99b18f20d 100644 --- a/plugins/catalog-react/knip-report.md +++ b/plugins/catalog-react/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------------ | :----------- | :------- | -| react-test-renderer | package.json | error | +| react-test-renderer | plugins/catalog-react/package.json | error | diff --git a/plugins/catalog-unprocessed-entities/knip-report.md b/plugins/catalog-unprocessed-entities/knip-report.md index ccda99cbfb..5f40723fab 100644 --- a/plugins/catalog-unprocessed-entities/knip-report.md +++ b/plugins/catalog-unprocessed-entities/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :--------------------- | :----------- | :------- | -| @testing-library/react | package.json | error | +| @testing-library/react | plugins/catalog-unprocessed-entities/package.json | error | diff --git a/plugins/catalog/knip-report.md b/plugins/catalog/knip-report.md index 7ceae94282..5efd01f3a6 100644 --- a/plugins/catalog/knip-report.md +++ b/plugins/catalog/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------ | :----------- | :------- | -| history | package.json | error | +| history | plugins/catalog/package.json | error | diff --git a/plugins/devtools-backend/knip-report.md b/plugins/devtools-backend/knip-report.md index dc1b572006..904730f95f 100644 --- a/plugins/devtools-backend/knip-report.md +++ b/plugins/devtools-backend/knip-report.md @@ -4,7 +4,7 @@ | Name | Location | Severity | | :-------------------------------- | :----------- | :------- | -| @backstage/plugin-permission-node | package.json | error | -| semver | package.json | error | -| yn | package.json | error | +| @backstage/plugin-permission-node | plugins/devtools-backend/package.json | error | +| semver | plugins/devtools-backend/package.json | error | +| yn | plugins/devtools-backend/package.json | error | diff --git a/plugins/events-backend-module-aws-sqs/knip-report.md b/plugins/events-backend-module-aws-sqs/knip-report.md index c9ce845fd0..3f4259cf67 100644 --- a/plugins/events-backend-module-aws-sqs/knip-report.md +++ b/plugins/events-backend-module-aws-sqs/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------- | :----------- | :------- | -| @aws-sdk/types | package.json | error | +| @aws-sdk/types | plugins/events-backend-module-aws-sqs/package.json | error | diff --git a/plugins/events-backend/knip-report.md b/plugins/events-backend/knip-report.md index 7df8949921..9da2b3fe7c 100644 --- a/plugins/events-backend/knip-report.md +++ b/plugins/events-backend/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------------------- | :----------- | :------- | -| @backstage/backend-app-api | package.json | error | +| @backstage/backend-app-api | plugins/events-backend/package.json | error | diff --git a/plugins/events-node/knip-report.md b/plugins/events-node/knip-report.md index 3f80c71260..cb8d19b560 100644 --- a/plugins/events-node/knip-report.md +++ b/plugins/events-node/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| @backstage/types | package.json | error | +| @backstage/types | plugins/events-node/package.json | error | diff --git a/plugins/example-todo-list/knip-report.md b/plugins/example-todo-list/knip-report.md index ba9c1dddc5..552227ac1d 100644 --- a/plugins/example-todo-list/knip-report.md +++ b/plugins/example-todo-list/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :--------------------- | :----------- | :------- | -| @testing-library/react | package.json | error | -| @testing-library/dom | package.json | error | +| @testing-library/react | plugins/example-todo-list/package.json | error | +| @testing-library/dom | plugins/example-todo-list/package.json | error | diff --git a/plugins/home-react/knip-report.md b/plugins/home-react/knip-report.md index c9f34521a3..3fea06e47b 100644 --- a/plugins/home-react/knip-report.md +++ b/plugins/home-react/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :----------------------- | :----------- | :------- | -| @types/react-grid-layout | package.json | error | +| @types/react-grid-layout | plugins/home-react/package.json | error | diff --git a/plugins/kubernetes-backend/knip-report.md b/plugins/kubernetes-backend/knip-report.md index 7804e0ecb8..4d8545fd20 100644 --- a/plugins/kubernetes-backend/knip-report.md +++ b/plugins/kubernetes-backend/knip-report.md @@ -1,21 +1,22 @@ # Knip report -## Unused dependencies (7) +## Unused dependencies (8) | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/plugin-auth-node | package.json | error | -| stream-buffers | package.json | error | -| compression | package.json | error | -| helmet | package.json | error | -| morgan | package.json | error | -| cors | package.json | error | -| yn | package.json | error | +| @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 | package.json | error | -| @types/aws4 | package.json | error | +| @backstage/backend-app-api | plugins/kubernetes-backend/package.json | error | +| @types/aws4 | plugins/kubernetes-backend/package.json | error | diff --git a/plugins/kubernetes-cluster/knip-report.md b/plugins/kubernetes-cluster/knip-report.md index a5a618460d..55eba7a829 100644 --- a/plugins/kubernetes-cluster/knip-report.md +++ b/plugins/kubernetes-cluster/knip-report.md @@ -4,15 +4,15 @@ | Name | Location | Severity | | :---------------------- | :----------- | :------- | -| @kubernetes-models/base | package.json | error | -| cronstrue | package.json | error | -| js-yaml | package.json | error | -| lodash | package.json | error | -| luxon | package.json | error | +| @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 | package.json | error | +| @testing-library/dom | plugins/kubernetes-cluster/package.json | error | diff --git a/plugins/kubernetes-node/knip-report.md b/plugins/kubernetes-node/knip-report.md index 1c25fa062b..31fc64b3c7 100644 --- a/plugins/kubernetes-node/knip-report.md +++ b/plugins/kubernetes-node/knip-report.md @@ -4,11 +4,11 @@ | Name | Location | Severity | | :------ | :----------- | :------- | -| winston | package.json | error | +| winston | plugins/kubernetes-node/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :------------------------- | :----------- | :------- | -| @backstage/backend-app-api | package.json | error | +| @backstage/backend-app-api | plugins/kubernetes-node/package.json | error | diff --git a/plugins/kubernetes/knip-report.md b/plugins/kubernetes/knip-report.md index bb11f63d0d..11b66acd1b 100644 --- a/plugins/kubernetes/knip-report.md +++ b/plugins/kubernetes/knip-report.md @@ -4,15 +4,15 @@ | Name | Location | Severity | | :------------------------------ | :----------- | :------- | -| @kubernetes-models/apimachinery | package.json | error | -| @kubernetes-models/base | package.json | error | -| @kubernetes/client-node | package.json | error | -| @xterm/addon-attach | package.json | error | -| kubernetes-models | package.json | error | -| @xterm/addon-fit | package.json | error | -| @xterm/xterm | package.json | error | -| cronstrue | package.json | error | -| js-yaml | package.json | error | -| lodash | package.json | error | -| luxon | package.json | error | +| @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 | diff --git a/plugins/mcp-actions-backend/knip-report.md b/plugins/mcp-actions-backend/knip-report.md index 830018776f..79729ec010 100644 --- a/plugins/mcp-actions-backend/knip-report.md +++ b/plugins/mcp-actions-backend/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/catalog-client | package.json | error | -| zod | package.json | error | +| @backstage/catalog-client | plugins/mcp-actions-backend/package.json | error | +| zod | plugins/mcp-actions-backend/package.json | error | diff --git a/plugins/notifications-backend-module-email/knip-report.md b/plugins/notifications-backend-module-email/knip-report.md index 38a3e4ea8a..a36d75cae4 100644 --- a/plugins/notifications-backend-module-email/knip-report.md +++ b/plugins/notifications-backend-module-email/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------- | :----------- | :------- | -| @aws-sdk/types | package.json | error | +| @aws-sdk/types | plugins/notifications-backend-module-email/package.json | error | diff --git a/plugins/notifications-backend-module-slack/knip-report.md b/plugins/notifications-backend-module-slack/knip-report.md index eb139623ce..d3eb017b29 100644 --- a/plugins/notifications-backend-module-slack/knip-report.md +++ b/plugins/notifications-backend-module-slack/knip-report.md @@ -4,14 +4,14 @@ | Name | Location | Severity | | :----------- | :----------- | :------- | -| @slack/types | package.json | error | -| @slack/bolt | package.json | error | +| @slack/types | plugins/notifications-backend-module-slack/package.json | error | +| @slack/bolt | plugins/notifications-backend-module-slack/package.json | error | ## Unused devDependencies (3) | Name | Location | Severity | | :-------------------- | :----------- | :------- | -| @backstage/test-utils | package.json | error | -| @faker-js/faker | package.json | error | -| msw | package.json | error | +| @backstage/test-utils | plugins/notifications-backend-module-slack/package.json | error | +| @faker-js/faker | plugins/notifications-backend-module-slack/package.json | error | +| msw | plugins/notifications-backend-module-slack/package.json | error | diff --git a/plugins/notifications-backend/knip-report.md b/plugins/notifications-backend/knip-report.md index 858e4d279e..3514fea30a 100644 --- a/plugins/notifications-backend/knip-report.md +++ b/plugins/notifications-backend/knip-report.md @@ -4,14 +4,14 @@ | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @backstage/plugin-events-node | package.json | error | -| @backstage/plugin-auth-node | package.json | error | -| winston | package.json | error | -| yn | package.json | error | +| @backstage/plugin-events-node | plugins/notifications-backend/package.json | error | +| @backstage/plugin-auth-node | plugins/notifications-backend/package.json | error | +| winston | plugins/notifications-backend/package.json | error | +| yn | plugins/notifications-backend/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :-- | :----------- | :------- | -| msw | package.json | error | +| msw | plugins/notifications-backend/package.json | error | diff --git a/plugins/notifications-common/knip-report.md b/plugins/notifications-common/knip-report.md index 6bc617b812..90eba3c41e 100644 --- a/plugins/notifications-common/knip-report.md +++ b/plugins/notifications-common/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :----------------- | :----------- | :------- | -| @material-ui/icons | package.json | error | +| @material-ui/icons | plugins/notifications-common/package.json | error | diff --git a/plugins/notifications-node/knip-report.md b/plugins/notifications-node/knip-report.md index 1206fc9c3b..624533dcfc 100644 --- a/plugins/notifications-node/knip-report.md +++ b/plugins/notifications-node/knip-report.md @@ -4,9 +4,9 @@ | Name | Location | Severity | | :----------------------------- | :----------- | :------- | -| @backstage/plugin-signals-node | package.json | error | -| @backstage/catalog-client | package.json | error | -| @backstage/catalog-model | package.json | error | -| knex | package.json | error | -| uuid | package.json | error | +| @backstage/plugin-signals-node | plugins/notifications-node/package.json | error | +| @backstage/catalog-client | plugins/notifications-node/package.json | error | +| @backstage/catalog-model | plugins/notifications-node/package.json | error | +| knex | plugins/notifications-node/package.json | error | +| uuid | plugins/notifications-node/package.json | error | diff --git a/plugins/notifications/knip-report.md b/plugins/notifications/knip-report.md index da21340672..6cd21cf3b8 100644 --- a/plugins/notifications/knip-report.md +++ b/plugins/notifications/knip-report.md @@ -4,13 +4,13 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| @backstage/types | package.json | error | -| @material-ui/lab | package.json | error | +| @backstage/types | plugins/notifications/package.json | error | +| @material-ui/lab | plugins/notifications/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @testing-library/user-event | package.json | error | -| @backstage/core-app-api | package.json | error | +| @testing-library/user-event | plugins/notifications/package.json | error | +| @backstage/core-app-api | plugins/notifications/package.json | error | diff --git a/plugins/org-react/knip-report.md b/plugins/org-react/knip-report.md index b5cb1d8b22..a2a90b227e 100644 --- a/plugins/org-react/knip-report.md +++ b/plugins/org-react/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/catalog-client | package.json | error | +| @backstage/catalog-client | plugins/org-react/package.json | error | diff --git a/plugins/org/knip-report.md b/plugins/org/knip-report.md index d1f8bacd53..45c5be2d03 100644 --- a/plugins/org/knip-report.md +++ b/plugins/org/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :---------------------------------- | :----------- | :------- | -| @backstage/plugin-permission-common | package.json | error | +| @backstage/plugin-permission-common | plugins/org/package.json | error | diff --git a/plugins/permission-backend-module-policy-allow-all/knip-report.md b/plugins/permission-backend-module-policy-allow-all/knip-report.md index 02ee898bec..3790422ce9 100644 --- a/plugins/permission-backend-module-policy-allow-all/knip-report.md +++ b/plugins/permission-backend-module-policy-allow-all/knip-report.md @@ -4,11 +4,11 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/plugin-auth-node | package.json | error | +| @backstage/plugin-auth-node | plugins/permission-backend-module-policy-allow-all/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @backstage/backend-test-utils | package.json | error | +| @backstage/backend-test-utils | plugins/permission-backend-module-policy-allow-all/package.json | error | diff --git a/plugins/permission-backend/knip-report.md b/plugins/permission-backend/knip-report.md index 679e0ffb63..61ea01af65 100644 --- a/plugins/permission-backend/knip-report.md +++ b/plugins/permission-backend/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :- | :----------- | :------- | -| yn | package.json | error | +| yn | plugins/permission-backend/package.json | error | diff --git a/plugins/proxy-backend/knip-report.md b/plugins/proxy-backend/knip-report.md index 7df8949921..3f66c63579 100644 --- a/plugins/proxy-backend/knip-report.md +++ b/plugins/proxy-backend/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------------------- | :----------- | :------- | -| @backstage/backend-app-api | package.json | error | +| @backstage/backend-app-api | plugins/proxy-backend/package.json | error | diff --git a/plugins/proxy-node/knip-report.md b/plugins/proxy-node/knip-report.md index e7921e52b4..7d1ae72c58 100644 --- a/plugins/proxy-node/knip-report.md +++ b/plugins/proxy-node/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :---------------------------- | :----------- | :------- | -| @backstage/backend-test-utils | package.json | error | -| @backstage/config | package.json | error | +| @backstage/backend-test-utils | plugins/proxy-node/package.json | error | +| @backstage/config | plugins/proxy-node/package.json | error | diff --git a/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md b/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md index b9ed10af2c..0dd672d03d 100644 --- a/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-- | :----------- | :------- | -| zod | package.json | error | +| zod | plugins/scaffolder-backend-module-bitbucket-server/package.json | error | diff --git a/plugins/scaffolder-backend-module-bitbucket/knip-report.md b/plugins/scaffolder-backend-module-bitbucket/knip-report.md index 8c142397d7..c8b2aa1788 100644 --- a/plugins/scaffolder-backend-module-bitbucket/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------- | :----------- | :------- | -| fs-extra | package.json | error | +| fs-extra | plugins/scaffolder-backend-module-bitbucket/package.json | error | diff --git a/plugins/scaffolder-backend-module-cookiecutter/knip-report.md b/plugins/scaffolder-backend-module-cookiecutter/knip-report.md index 0e8b43df56..5d34678cdf 100644 --- a/plugins/scaffolder-backend-module-cookiecutter/knip-report.md +++ b/plugins/scaffolder-backend-module-cookiecutter/knip-report.md @@ -4,7 +4,7 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/backend-defaults | package.json | error | -| winston | package.json | error | -| yn | package.json | error | +| @backstage/backend-defaults | plugins/scaffolder-backend-module-cookiecutter/package.json | error | +| winston | plugins/scaffolder-backend-module-cookiecutter/package.json | error | +| yn | plugins/scaffolder-backend-module-cookiecutter/package.json | error | diff --git a/plugins/scaffolder-backend-module-gcp/knip-report.md b/plugins/scaffolder-backend-module-gcp/knip-report.md index 5eace4cfc6..3e771319e4 100644 --- a/plugins/scaffolder-backend-module-gcp/knip-report.md +++ b/plugins/scaffolder-backend-module-gcp/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :--------------------- | :----------- | :------- | -| @backstage/integration | package.json | error | -| @backstage/errors | package.json | error | +| @backstage/integration | plugins/scaffolder-backend-module-gcp/package.json | error | +| @backstage/errors | plugins/scaffolder-backend-module-gcp/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :------------------------------------------- | :----------- | :------- | -| @backstage/plugin-scaffolder-node-test-utils | package.json | error | +| @backstage/plugin-scaffolder-node-test-utils | plugins/scaffolder-backend-module-gcp/package.json | error | diff --git a/plugins/scaffolder-backend-module-github/knip-report.md b/plugins/scaffolder-backend-module-github/knip-report.md index f6577387b7..75e49c21a1 100644 --- a/plugins/scaffolder-backend-module-github/knip-report.md +++ b/plugins/scaffolder-backend-module-github/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------------ | :---------- | :------- | -| @octokit/core | src/util.ts | error | +| @octokit/core | plugins/scaffolder-backend-module-github/src/util.ts | error | diff --git a/plugins/scaffolder-backend-module-gitlab/knip-report.md b/plugins/scaffolder-backend-module-gitlab/knip-report.md index c955ca23f0..3e1fc873d4 100644 --- a/plugins/scaffolder-backend-module-gitlab/knip-report.md +++ b/plugins/scaffolder-backend-module-gitlab/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------ | :----------- | :------- | -| winston | package.json | error | +| winston | plugins/scaffolder-backend-module-gitlab/package.json | error | diff --git a/plugins/scaffolder-backend-module-rails/knip-report.md b/plugins/scaffolder-backend-module-rails/knip-report.md index 38a14d270f..c7301f2b85 100644 --- a/plugins/scaffolder-backend-module-rails/knip-report.md +++ b/plugins/scaffolder-backend-module-rails/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------- | :----------- | :------- | -| jest-when | package.json | error | +| jest-when | plugins/scaffolder-backend-module-rails/package.json | error | diff --git a/plugins/scaffolder-backend-module-yeoman/knip-report.md b/plugins/scaffolder-backend-module-yeoman/knip-report.md index c955ca23f0..56fbe222c7 100644 --- a/plugins/scaffolder-backend-module-yeoman/knip-report.md +++ b/plugins/scaffolder-backend-module-yeoman/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :------ | :----------- | :------- | -| winston | package.json | error | +| winston | plugins/scaffolder-backend-module-yeoman/package.json | error | diff --git a/plugins/scaffolder-backend/knip-report.md b/plugins/scaffolder-backend/knip-report.md index b6fcf59bb3..eb8ddd05aa 100644 --- a/plugins/scaffolder-backend/knip-report.md +++ b/plugins/scaffolder-backend/knip-report.md @@ -4,24 +4,24 @@ | Name | Location | Severity | | :--------------------------------------------------------------- | :----------- | :------- | -| @backstage/plugin-catalog-backend-module-scaffolder-entity-model | package.json | error | -| @backstage/plugin-scaffolder-backend-module-bitbucket-server | package.json | error | -| @backstage/plugin-scaffolder-backend-module-bitbucket-cloud | package.json | error | -| @backstage/plugin-scaffolder-backend-module-bitbucket | package.json | error | -| @backstage/plugin-scaffolder-backend-module-gerrit | package.json | error | -| @backstage/plugin-scaffolder-backend-module-github | package.json | error | -| @backstage/plugin-scaffolder-backend-module-gitlab | package.json | error | -| @backstage/plugin-scaffolder-backend-module-azure | package.json | error | -| @backstage/plugin-scaffolder-backend-module-gitea | package.json | error | -| @backstage/plugin-bitbucket-cloud-common | package.json | error | -| @backstage/plugin-auth-node | package.json | error | -| concat-stream | package.json | error | -| p-limit | package.json | error | -| tar | package.json | error | +| @backstage/plugin-catalog-backend-module-scaffolder-entity-model | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-bitbucket-server | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-bitbucket-cloud | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-bitbucket | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-gerrit | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-github | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-gitlab | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-azure | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-scaffolder-backend-module-gitea | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-bitbucket-cloud-common | plugins/scaffolder-backend/package.json | error | +| @backstage/plugin-auth-node | plugins/scaffolder-backend/package.json | error | +| concat-stream | plugins/scaffolder-backend/package.json | error | +| p-limit | plugins/scaffolder-backend/package.json | error | +| tar | plugins/scaffolder-backend/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :------------------------- | :----------- | :------- | -| @backstage/backend-app-api | package.json | error | +| @backstage/backend-app-api | plugins/scaffolder-backend/package.json | error | diff --git a/plugins/scaffolder-node-test-utils/knip-report.md b/plugins/scaffolder-node-test-utils/knip-report.md index beefceb792..9a0eed890a 100644 --- a/plugins/scaffolder-node-test-utils/knip-report.md +++ b/plugins/scaffolder-node-test-utils/knip-report.md @@ -4,7 +4,7 @@ | Name | Location | Severity | | :--------------- | :----------- | :------- | -| react-router-dom | package.json | error | -| react-dom | package.json | error | -| react | package.json | error | +| react-router-dom | plugins/scaffolder-node-test-utils/package.json | error | +| react-dom | plugins/scaffolder-node-test-utils/package.json | error | +| react | plugins/scaffolder-node-test-utils/package.json | error | diff --git a/plugins/scaffolder-react/knip-report.md b/plugins/scaffolder-react/knip-report.md index 38b9eed013..c1c8bd6b32 100644 --- a/plugins/scaffolder-react/knip-report.md +++ b/plugins/scaffolder-react/knip-report.md @@ -4,11 +4,11 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/catalog-client | package.json | error | +| @backstage/catalog-client | plugins/scaffolder-react/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :------------------------------- | :----------- | :------- | -| @backstage/plugin-catalog-common | package.json | error | +| @backstage/plugin-catalog-common | plugins/scaffolder-react/package.json | error | diff --git a/plugins/scaffolder/knip-report.md b/plugins/scaffolder/knip-report.md index 7d1731eb0b..38ae11af79 100644 --- a/plugins/scaffolder/knip-report.md +++ b/plugins/scaffolder/knip-report.md @@ -4,14 +4,14 @@ | 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 | +| json-schema-library | plugins/scaffolder/package.json | error | +| @rjsf/material-ui | plugins/scaffolder/package.json | error | +| react-resizable | plugins/scaffolder/package.json | error | +| git-url-parse | plugins/scaffolder/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :--------------------- | :----------- | :------- | -| @types/react-resizable | package.json | error | +| @types/react-resizable | plugins/scaffolder/package.json | error | diff --git a/plugins/search-backend/knip-report.md b/plugins/search-backend/knip-report.md index 90e0425294..406f00e7a8 100644 --- a/plugins/search-backend/knip-report.md +++ b/plugins/search-backend/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :-------------------------------- | :----------- | :------- | -| @backstage/plugin-permission-node | package.json | error | -| yn | package.json | error | +| @backstage/plugin-permission-node | plugins/search-backend/package.json | error | +| yn | plugins/search-backend/package.json | error | diff --git a/plugins/search-react/knip-report.md b/plugins/search-react/knip-report.md index 7f6a4d4ccd..74ef5ba5c2 100644 --- a/plugins/search-react/knip-report.md +++ b/plugins/search-react/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/frontend-app-api | package.json | error | +| @backstage/frontend-app-api | plugins/search-react/package.json | error | diff --git a/plugins/signals-backend/knip-report.md b/plugins/signals-backend/knip-report.md index 8f8d01a437..2b66a8ba1a 100644 --- a/plugins/signals-backend/knip-report.md +++ b/plugins/signals-backend/knip-report.md @@ -4,14 +4,14 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/plugin-auth-node | package.json | error | -| http-proxy-middleware | package.json | error | -| winston | package.json | error | -| yn | package.json | error | +| @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 | package.json | error | +| msw | plugins/signals-backend/package.json | error | diff --git a/plugins/signals-node/knip-report.md b/plugins/signals-node/knip-report.md index 34f37bfdb1..42ea194792 100644 --- a/plugins/signals-node/knip-report.md +++ b/plugins/signals-node/knip-report.md @@ -4,15 +4,15 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/plugin-auth-node | package.json | error | -| @backstage/config | package.json | error | -| express | package.json | error | -| uuid | package.json | error | -| ws | package.json | error | +| @backstage/plugin-auth-node | plugins/signals-node/package.json | error | +| @backstage/config | plugins/signals-node/package.json | error | +| express | plugins/signals-node/package.json | error | +| uuid | plugins/signals-node/package.json | error | +| ws | plugins/signals-node/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :------------- | :----------- | :------- | -| @types/express | package.json | error | +| @types/express | plugins/signals-node/package.json | error | diff --git a/plugins/signals-react/knip-report.md b/plugins/signals-react/knip-report.md index 0d1d20d45b..e210ba0b51 100644 --- a/plugins/signals-react/knip-report.md +++ b/plugins/signals-react/knip-report.md @@ -4,12 +4,12 @@ | Name | Location | Severity | | :---------------- | :----------- | :------- | -| @material-ui/core | package.json | error | +| @material-ui/core | plugins/signals-react/package.json | error | ## Unused devDependencies (2) | Name | Location | Severity | | :--------------------- | :----------- | :------- | -| @testing-library/react | package.json | error | -| @backstage/test-utils | package.json | error | +| @testing-library/react | plugins/signals-react/package.json | error | +| @backstage/test-utils | plugins/signals-react/package.json | error | diff --git a/plugins/signals/knip-report.md b/plugins/signals/knip-report.md index e9c2c167b1..a27d63358a 100644 --- a/plugins/signals/knip-report.md +++ b/plugins/signals/knip-report.md @@ -4,15 +4,15 @@ | Name | Location | Severity | | :----------------- | :----------- | :------- | -| @material-ui/icons | package.json | error | -| @material-ui/lab | package.json | error | -| react-use | package.json | error | +| @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 | package.json | error | -| @backstage/core-app-api | package.json | error | -| msw | package.json | error | +| @testing-library/user-event | plugins/signals/package.json | error | +| @backstage/core-app-api | plugins/signals/package.json | error | +| msw | plugins/signals/package.json | error | diff --git a/plugins/techdocs-addons-test-utils/knip-report.md b/plugins/techdocs-addons-test-utils/knip-report.md index ca9b81ba38..2d84f97e2f 100644 --- a/plugins/techdocs-addons-test-utils/knip-report.md +++ b/plugins/techdocs-addons-test-utils/knip-report.md @@ -4,11 +4,11 @@ | Name | Location | Severity | | :------------------------ | :----------- | :------- | -| @backstage/plugin-catalog | package.json | error | +| @backstage/plugin-catalog | plugins/techdocs-addons-test-utils/package.json | error | ## Unused devDependencies (1) | Name | Location | Severity | | :------------------- | :----------- | :------- | -| @testing-library/dom | package.json | error | +| @testing-library/dom | plugins/techdocs-addons-test-utils/package.json | error | diff --git a/plugins/techdocs-backend/knip-report.md b/plugins/techdocs-backend/knip-report.md index 764d9383f0..164f2d0595 100644 --- a/plugins/techdocs-backend/knip-report.md +++ b/plugins/techdocs-backend/knip-report.md @@ -4,9 +4,9 @@ | Name | Location | Severity | | :----------------------------------------------- | :----------- | :------- | -| @backstage/plugin-search-backend-module-techdocs | package.json | error | -| @backstage/plugin-permission-common | package.json | error | -| @backstage/plugin-techdocs-common | package.json | error | -| @backstage/plugin-catalog-common | package.json | error | -| lodash | package.json | error | +| @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 | diff --git a/plugins/techdocs-react/knip-report.md b/plugins/techdocs-react/knip-report.md index 651079cda4..3e7476ef55 100644 --- a/plugins/techdocs-react/knip-report.md +++ b/plugins/techdocs-react/knip-report.md @@ -4,6 +4,6 @@ | Name | Location | Severity | | :------------------------- | :----------- | :------- | -| @backstage/core-components | package.json | error | -| react-helmet | package.json | error | +| @backstage/core-components | plugins/techdocs-react/package.json | error | +| react-helmet | plugins/techdocs-react/package.json | error | diff --git a/plugins/techdocs/knip-report.md b/plugins/techdocs/knip-report.md index 2b0b502c71..45a1d2af25 100644 --- a/plugins/techdocs/knip-report.md +++ b/plugins/techdocs/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-- | :----------- | :------- | -| jss | package.json | error | +| jss | plugins/techdocs/package.json | error | diff --git a/plugins/user-settings-backend/knip-report.md b/plugins/user-settings-backend/knip-report.md index 89988530e6..d5bbb23d04 100644 --- a/plugins/user-settings-backend/knip-report.md +++ b/plugins/user-settings-backend/knip-report.md @@ -4,5 +4,5 @@ | Name | Location | Severity | | :-------------------------- | :----------- | :------- | -| @backstage/plugin-auth-node | package.json | error | +| @backstage/plugin-auth-node | plugins/user-settings-backend/package.json | error |