feat: move knip reports under own command
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
@@ -1,253 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-scaffolder-backend-module-confluence-to-markdown': patch
|
||||
'@backstage/plugin-catalog-backend-module-scaffolder-entity-model': patch
|
||||
'@backstage/plugin-search-backend-module-stack-overflow-collator': patch
|
||||
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
|
||||
'@backstage/plugin-permission-backend-module-allow-all-policy': patch
|
||||
'@backstage/plugin-auth-backend-module-oauth2-proxy-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-vmware-cloud-provider': patch
|
||||
'@backstage/plugin-catalog-backend-module-backstage-openapi': patch
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket-server': patch
|
||||
'@backstage/plugin-auth-backend-module-atlassian-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-microsoft-provider': patch
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket-cloud': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-cookiecutter': patch
|
||||
'@backstage/plugin-auth-backend-module-pinniped-provider': patch
|
||||
'@backstage/plugin-events-backend-module-bitbucket-cloud': patch
|
||||
'@backstage/plugin-auth-backend-module-gcp-iap-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-github-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-gitlab-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-google-provider': patch
|
||||
'@backstage/plugin-auth-backend-module-oauth2-provider': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-bitbucket': patch
|
||||
'@backstage/plugin-search-backend-module-elasticsearch': patch
|
||||
'@backstage/plugin-tech-insights-backend-module-jsonfc': patch
|
||||
'@backstage/plugin-catalog-backend-module-unprocessed': patch
|
||||
'@backstage/plugin-analytics-module-newrelic-browser': patch
|
||||
'@backstage/plugin-auth-backend-module-okta-provider': patch
|
||||
'@backstage/plugin-catalog-backend-module-github-org': patch
|
||||
'@backstage/plugin-catalog-backend-module-bitbucket': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-gerrit': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-github': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-gitlab': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-sentry': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-yeoman': patch
|
||||
'@backstage/plugin-catalog-backend-module-puppetdb': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-azure': patch
|
||||
'@backstage/plugin-scaffolder-backend-module-rails': patch
|
||||
'@backstage/plugin-api-docs-module-protoc-gen-doc': patch
|
||||
'@backstage/plugin-catalog-backend-module-msgraph': patch
|
||||
'@backstage/plugin-catalog-backend-module-openapi': patch
|
||||
'@backstage/plugin-search-backend-module-techdocs': patch
|
||||
'@backstage/plugin-techdocs-module-addons-contrib': patch
|
||||
'@backstage/plugin-catalog-backend-module-gerrit': patch
|
||||
'@backstage/plugin-catalog-backend-module-github': patch
|
||||
'@backstage/plugin-catalog-backend-module-gitlab': patch
|
||||
'@backstage/plugin-cicd-statistics-module-gitlab': patch
|
||||
'@backstage/plugin-events-backend-module-aws-sqs': patch
|
||||
'@backstage/plugin-search-backend-module-catalog': patch
|
||||
'@backstage/plugin-search-backend-module-explore': patch
|
||||
'@backstage/plugin-catalog-backend-module-azure': patch
|
||||
'@backstage/plugin-catalog-unprocessed-entities': patch
|
||||
'@backstage/plugin-events-backend-module-gerrit': patch
|
||||
'@backstage/plugin-events-backend-module-github': patch
|
||||
'@backstage/plugin-events-backend-module-gitlab': patch
|
||||
'@backstage/plugin-catalog-backend-module-ldap': patch
|
||||
'@backstage/plugin-events-backend-module-azure': patch
|
||||
'@backstage/plugin-catalog-backend-module-aws': patch
|
||||
'@backstage/plugin-catalog-backend-module-gcp': patch
|
||||
'@backstage/plugin-github-pull-requests-board': patch
|
||||
'@backstage/plugin-techdocs-addons-test-utils': patch
|
||||
'@backstage/plugin-events-backend-test-utils': patch
|
||||
'@backstage/plugin-search-backend-module-pg': patch
|
||||
'@backstage/plugin-entity-feedback-backend': patch
|
||||
'@backstage/backend-openapi-utils': patch
|
||||
'@backstage/plugin-bitbucket-cloud-common': patch
|
||||
'@backstage/plugin-entity-feedback-common': patch
|
||||
'@backstage/plugin-stack-overflow-backend': patch
|
||||
'@backstage/integration-aws-node': patch
|
||||
'@backstage/plugin-code-coverage-backend': patch
|
||||
'@backstage/plugin-tech-insights-backend': patch
|
||||
'@backstage/plugin-user-settings-backend': patch
|
||||
'@backstage/frontend-plugin-api': patch
|
||||
'@backstage/frontend-test-utils': patch
|
||||
'@backstage/plugin-analytics-module-ga4': patch
|
||||
'@backstage/plugin-azure-devops-backend': patch
|
||||
'@backstage/plugin-cost-insights-common': patch
|
||||
'@backstage/plugin-tech-insights-common': patch
|
||||
'@backstage/backend-plugin-api': patch
|
||||
'@backstage/backend-test-utils': patch
|
||||
'@backstage/plugin-analytics-module-ga': patch
|
||||
'@backstage/plugin-azure-devops-common': patch
|
||||
'@backstage/plugin-azure-sites-backend': patch
|
||||
'@backstage/plugin-git-release-manager': patch
|
||||
'@backstage/plugin-search-backend-node': patch
|
||||
'@backstage/backend-dev-utils': patch
|
||||
'@backstage/integration-react': patch
|
||||
'@backstage/release-manifests': patch
|
||||
'@backstage/plugin-azure-sites-common': patch
|
||||
'@backstage/plugin-github-deployments': patch
|
||||
'@backstage/plugin-kubernetes-backend': patch
|
||||
'@backstage/plugin-kubernetes-cluster': patch
|
||||
'@backstage/plugin-lighthouse-backend': patch
|
||||
'@backstage/plugin-microsoft-calendar': patch
|
||||
'@backstage/plugin-newrelic-dashboard': patch
|
||||
'@backstage/plugin-permission-backend': patch
|
||||
'@backstage/plugin-scaffolder-backend': patch
|
||||
'@backstage/plugin-tech-insights-node': patch
|
||||
'@backstage/backend-defaults': patch
|
||||
'@backstage/frontend-app-api': patch
|
||||
'@backstage/plugin-entity-validation': patch
|
||||
'@backstage/plugin-kubernetes-common': patch
|
||||
'@backstage/plugin-lighthouse-common': patch
|
||||
'@backstage/plugin-permission-common': patch
|
||||
'@backstage/plugin-scaffolder-common': patch
|
||||
'@backstage/plugin-sonarqube-backend': patch
|
||||
'@backstage/backend-app-api': patch
|
||||
'@backstage/core-compat-api': patch
|
||||
'@backstage/core-components': patch
|
||||
'@backstage/core-plugin-api': patch
|
||||
'@backstage/plugin-airbrake-backend': patch
|
||||
'@backstage/plugin-devtools-backend': patch
|
||||
'@backstage/plugin-kubernetes-react': patch
|
||||
'@backstage/plugin-linguist-backend': patch
|
||||
'@backstage/plugin-periskop-backend': patch
|
||||
'@backstage/plugin-permission-react': patch
|
||||
'@backstage/plugin-playlist-backend': patch
|
||||
'@backstage/plugin-scaffolder-react': patch
|
||||
'@backstage/plugin-techdocs-backend': patch
|
||||
'@backstage/backend-common': patch
|
||||
'@backstage/catalog-client': patch
|
||||
'@backstage/e2e-test-utils': patch
|
||||
'@backstage/version-bridge': patch
|
||||
'@backstage/plugin-apollo-explorer': patch
|
||||
'@backstage/plugin-catalog-backend': patch
|
||||
'@backstage/plugin-cicd-statistics': patch
|
||||
'@backstage/plugin-devtools-common': patch
|
||||
'@backstage/plugin-entity-feedback': patch
|
||||
'@backstage/plugin-explore-backend': patch
|
||||
'@backstage/plugin-gitops-profiles': patch
|
||||
'@backstage/plugin-graphql-voyager': patch
|
||||
'@backstage/plugin-jenkins-backend': patch
|
||||
'@backstage/plugin-kubernetes-node': patch
|
||||
'@backstage/plugin-linguist-common': patch
|
||||
'@backstage/plugin-permission-node': patch
|
||||
'@backstage/plugin-playlist-common': patch
|
||||
'@backstage/plugin-rollbar-backend': patch
|
||||
'@backstage/plugin-scaffolder-node': patch
|
||||
'@backstage/plugin-sonarqube-react': patch
|
||||
'@backstage/backend-tasks': patch
|
||||
'@backstage/catalog-model': patch
|
||||
'@backstage/config-loader': patch
|
||||
'@backstage/eslint-plugin': patch
|
||||
'@backstage/plugin-apache-airflow': patch
|
||||
'@backstage/plugin-badges-backend': patch
|
||||
'@backstage/plugin-bazaar-backend': patch
|
||||
'@backstage/plugin-catalog-common': patch
|
||||
'@backstage/plugin-catalog-import': patch
|
||||
'@backstage/plugin-events-backend': patch
|
||||
'@backstage/plugin-explore-common': patch
|
||||
'@backstage/plugin-github-actions': patch
|
||||
'@backstage/plugin-jenkins-common': patch
|
||||
'@backstage/plugin-octopus-deploy': patch
|
||||
'@backstage/plugin-search-backend': patch
|
||||
'@backstage/plugin-splunk-on-call': patch
|
||||
'@backstage/plugin-stack-overflow': patch
|
||||
'@backstage/plugin-techdocs-react': patch
|
||||
'@backstage/app-defaults': patch
|
||||
'@backstage/core-app-api': patch
|
||||
'@techdocs/cli': patch
|
||||
'@backstage/plugin-catalog-graph': patch
|
||||
'@backstage/plugin-catalog-react': patch
|
||||
'@backstage/plugin-code-coverage': patch
|
||||
'@backstage/plugin-config-schema': patch
|
||||
'@backstage/plugin-cost-insights': patch
|
||||
'@backstage/plugin-explore-react': patch
|
||||
'@backstage/plugin-github-issues': patch
|
||||
'@backstage/plugin-kafka-backend': patch
|
||||
'@backstage/plugin-nomad-backend': patch
|
||||
'@backstage/plugin-proxy-backend': patch
|
||||
'@backstage/plugin-search-common': patch
|
||||
'@backstage/plugin-tech-insights': patch
|
||||
'@backstage/plugin-techdocs-node': patch
|
||||
'@backstage/plugin-user-settings': patch
|
||||
'@backstage/plugin-vault-backend': patch
|
||||
'@backstage/integration': patch
|
||||
'@backstage/plugin-auth-backend': patch
|
||||
'@backstage/plugin-azure-devops': patch
|
||||
'@backstage/plugin-catalog-node': patch
|
||||
'@backstage/plugin-code-climate': patch
|
||||
'@backstage/plugin-gcp-projects': patch
|
||||
'@backstage/plugin-search-react': patch
|
||||
'@backstage/plugin-todo-backend': patch
|
||||
'@backstage/cli-common': patch
|
||||
'@backstage/create-app': patch
|
||||
'@backstage/repo-tools': patch
|
||||
'@backstage/test-utils': patch
|
||||
'@backstage/plugin-adr-backend': patch
|
||||
'@backstage/plugin-app-backend': patch
|
||||
'@backstage/plugin-azure-sites': patch
|
||||
'@backstage/plugin-events-node': patch
|
||||
'@backstage/plugin-firehydrant': patch
|
||||
'@backstage/dev-utils': patch
|
||||
'@backstage/plugin-adr-common': patch
|
||||
'@backstage/plugin-cloudbuild': patch
|
||||
'@backstage/plugin-home-react': patch
|
||||
'@backstage/plugin-kubernetes': patch
|
||||
'@backstage/plugin-lighthouse': patch
|
||||
'@backstage/plugin-scaffolder': patch
|
||||
'@backstage/plugin-stackstorm': patch
|
||||
'@backstage/plugin-tech-radar': patch
|
||||
'@backstage/plugin-vault-node': patch
|
||||
'@backstage/cli-node': patch
|
||||
'@backstage/codemods': patch
|
||||
'@backstage/plugin-auth-node': patch
|
||||
'@backstage/plugin-codescene': patch
|
||||
'@backstage/plugin-dynatrace': patch
|
||||
'@backstage/plugin-gcalendar': patch
|
||||
'@backstage/plugin-org-react': patch
|
||||
'@backstage/plugin-pagerduty': patch
|
||||
'@backstage/plugin-shortcuts': patch
|
||||
'@backstage/plugin-sonarqube': patch
|
||||
'@backstage/plugin-xcmetrics': patch
|
||||
'@backstage/plugin-airbrake': patch
|
||||
'@backstage/plugin-api-docs': patch
|
||||
'@backstage/plugin-app-node': patch
|
||||
'@backstage/plugin-circleci': patch
|
||||
'@backstage/plugin-devtools': patch
|
||||
'@backstage/plugin-graphiql': patch
|
||||
'@backstage/plugin-linguist': patch
|
||||
'@backstage/plugin-newrelic': patch
|
||||
'@backstage/plugin-opencost': patch
|
||||
'@backstage/plugin-periskop': patch
|
||||
'@backstage/plugin-playlist': patch
|
||||
'@backstage/plugin-puppetdb': patch
|
||||
'@backstage/plugin-techdocs': patch
|
||||
'@backstage/config': patch
|
||||
'@backstage/errors': patch
|
||||
'@backstage/plugin-bitrise': patch
|
||||
'@backstage/plugin-catalog': patch
|
||||
'@backstage/plugin-explore': patch
|
||||
'@backstage/plugin-jenkins': patch
|
||||
'@backstage/plugin-rollbar': patch
|
||||
'@backstage/theme': patch
|
||||
'@backstage/types': patch
|
||||
'@backstage/plugin-allure': patch
|
||||
'@backstage/plugin-badges': patch
|
||||
'@backstage/plugin-bazaar': patch
|
||||
'@backstage/plugin-search': patch
|
||||
'@backstage/plugin-sentry': patch
|
||||
'@backstage/plugin-fossa': patch
|
||||
'@backstage/plugin-ilert': patch
|
||||
'@backstage/plugin-kafka': patch
|
||||
'@backstage/plugin-nomad': patch
|
||||
'@backstage/plugin-vault': patch
|
||||
'@backstage/cli': patch
|
||||
'@backstage/plugin-gocd': patch
|
||||
'@backstage/plugin-home': patch
|
||||
'@backstage/plugin-todo': patch
|
||||
'@backstage/plugin-adr': patch
|
||||
'@backstage/plugin-org': patch
|
||||
---
|
||||
|
||||
Introduced `knip` to the `api-reports` command, which generates a `knip-report.md` file for your packages with dependency warnings, if any.
|
||||
Introduced `knip` to the `knip-reports` command, which generates a `knip-report.md` file for your packages with dependency warnings, if any.
|
||||
|
||||
+4
-1
@@ -162,4 +162,7 @@ e2e-test-report/
|
||||
*svg.dtmp
|
||||
|
||||
# Scripts
|
||||
plugins-report.csv
|
||||
plugins-report.csv
|
||||
|
||||
# Temporary knip configs
|
||||
knip.json
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"build:all": "backstage-cli repo build --all",
|
||||
"build:api-reports": "yarn build:api-reports:only --tsc",
|
||||
"build:api-reports:only": "backstage-repo-tools api-reports --allow-warnings 'packages/core-components,plugins/+(catalog|catalog-import|git-release-manager|jenkins|kubernetes)' -o ae-wrong-input-file-type --validate-release-tags",
|
||||
"build:knip-reports": "backstage-repo-tools knip-reports",
|
||||
"build:api-docs": "LANG=en_EN yarn build:api-reports --docs --exclude 'plugins/@(adr|adr-backend|adr-common|airbrake|airbrake-backend|allure|analytics-module-ga|analytics-module-ga4|analytics-module-newrelic-browser|apache-airflow|api-docs|api-docs-module-protoc-gen-doc|apollo-explorer|app-visualizer|azure-devops|azure-devops-backend|azure-devops-common|azure-sites|azure-sites-backend|azure-sites-common|badges|badges-backend|bazaar|bazaar-backend|bitbucket-cloud-common|bitrise|catalog-graph|catalog-graphql|catalog-import|catalog-unprocessed-entities|cicd-statistics|cicd-statistics-module-gitlab|circleci|cloudbuild|code-climate|code-coverage|code-coverage-backend|codescene|config-schema|cost-insights|cost-insights-common|dynatrace|entity-feedback|entity-feedback-backend|entity-feedback-common|entity-validation|example-todo-list|example-todo-list-backend|example-todo-list-common|firehydrant|fossa|gcalendar|gcp-projects|git-release-manager|github-actions|github-deployments|github-issues|github-pull-requests-board|gitops-profiles|gocd|graphiql|graphql-backend|graphql-voyager|ilert|jenkins|jenkins-backend|jenkins-common|kafka|kafka-backend|lighthouse|lighthouse-backend|lighthouse-common|linguist|linguist-backend|linguist-common|microsoft-calendar|newrelic|newrelic-dashboard|nomad|nomad-backend|octopus-deploy|opencost|pagerduty|periskop|periskop-backend|playlist|playlist-backend|playlist-common|proxy-backend|puppetdb|rollbar|rollbar-backend|sentry|shortcuts|splunk-on-call|stack-overflow|stack-overflow-backend|stackstorm|tech-radar|tech-radar-2|todo|todo-backend|xcmetrics)'",
|
||||
"build:plugins-report": "node ./scripts/build-plugins-report",
|
||||
"tsc": "tsc",
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (63)
|
||||
## Unused dependencies (64)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------------------------|:-------------|
|
||||
@@ -30,6 +30,7 @@
|
||||
| @backstage/plugin-puppetdb | package.json |
|
||||
| @backstage/plugin-playlist | package.json |
|
||||
| @backstage/plugin-newrelic | package.json |
|
||||
| @backstage/plugin-linguist | package.json |
|
||||
| @backstage/plugin-devtools | package.json |
|
||||
| @backstage/plugin-api-docs | package.json |
|
||||
| @backstage/plugin-airbrake | package.json |
|
||||
@@ -68,7 +69,7 @@
|
||||
| @roadiehq/backstage-plugin-github-pull-requests | package.json |
|
||||
| @backstage/plugin-techdocs-module-addons-contrib | package.json |
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (7)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -78,6 +79,5 @@
|
||||
| @types/zen-observable | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -15,12 +15,12 @@
|
||||
| @vitejs/plugin-react | package.json |
|
||||
| vite-plugin-node-polyfills | package.json |
|
||||
| @backstage/plugin-airbrake | package.json |
|
||||
| @backstage/frontend-app-api | package.json |
|
||||
| @backstage/plugin-azure-sites | package.json |
|
||||
| @backstage/plugin-search-common | package.json |
|
||||
| @backstage/plugin-stack-overflow | package.json |
|
||||
| @backstage/plugin-linguist-common | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -28,8 +28,6 @@
|
||||
| @types/jquery | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @types/zen-observable | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
## Unlisted dependencies (1)
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (3)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| wait-for-expect | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| Name | Location |
|
||||
|:----------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| wait-for-expect | package.json |
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
| pg-connection-string | package.json |
|
||||
| azure-devops-node-api | package.json |
|
||||
| @backstage/plugin-tech-insights-node | package.json |
|
||||
| @backstage/plugin-azure-sites-backend | package.json |
|
||||
| @backstage/plugin-azure-sites-common | package.json |
|
||||
| @backstage/plugin-scaffolder-backend-module-rails | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
|
||||
+12
-22
@@ -33,10 +33,11 @@
|
||||
| @spotify/eslint-config-react | package.json |
|
||||
| @typescript-eslint/eslint-plugin | package.json |
|
||||
|
||||
## Unused devDependencies (13)
|
||||
## Unused devDependencies (18)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| del | package.json |
|
||||
| ts-node | package.json |
|
||||
| nodemon | package.json |
|
||||
@@ -45,9 +46,13 @@
|
||||
| @backstage/theme | package.json |
|
||||
| @types/http-proxy | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @backstage/backend-common | package.json |
|
||||
| @backstage/core-plugin-api | package.json |
|
||||
| @backstage/core-components | package.json |
|
||||
| @types/terser-webpack-plugin | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/backend-plugin-api | package.json |
|
||||
| @types/rollup-plugin-peer-deps-external | package.json |
|
||||
|
||||
@@ -60,26 +65,11 @@
|
||||
| @vitejs/plugin-react | package.json |
|
||||
| vite-plugin-node-polyfills | package.json |
|
||||
|
||||
## Unlisted dependencies (18)
|
||||
## Unlisted dependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------------|:-------------------------------------------------------------------------------------------------|
|
||||
| rollup-plugin-polyfill-node | dist/cjs/build-5e63d42c.cjs.js |
|
||||
| rollup-plugin-polyfill-node | dist/cjs/buildWorkspace-47e09dac.cjs.js |
|
||||
| rollup-plugin-polyfill-node | dist/cjs/createDistWorkspace-09d75851.cjs.js |
|
||||
| rollup-plugin-polyfill-node | dist/cjs/index-4cb89d61.cjs.js |
|
||||
| react/package.json | dist/cjs/index-7e560cd7.cjs.js |
|
||||
| react-dom/client | dist/cjs/packageDetection-6cb79707.cjs.js |
|
||||
| prettier | dist/cjs/packageLintConfigs-eceb588c.cjs.js |
|
||||
| prettier | src/commands/migrate/packageLintConfigs.ts |
|
||||
| react-dom/client | src/lib/bundler/hasReactDomClient.ts |
|
||||
| react/package.json | src/lib/bundler/server.ts |
|
||||
| supertest | templates/default-backend-plugin/src/service/router.test.ts |
|
||||
| winston | templates/default-backend-plugin/src/service/router.ts |
|
||||
| express-promise-router | templates/default-backend-plugin/src/service/router.ts |
|
||||
| react | templates/default-react-plugin-package/src/components/ExampleComponent/ExampleComponent.test.tsx |
|
||||
| @testing-library/react | templates/default-react-plugin-package/src/components/ExampleComponent/ExampleComponent.test.tsx |
|
||||
| react | templates/default-react-plugin-package/src/components/ExampleComponent/ExampleComponent.tsx |
|
||||
| @material-ui/core | templates/default-react-plugin-package/src/components/ExampleComponent/ExampleComponent.tsx |
|
||||
| @backstage/plugin-scaffolder-node | templates/scaffolder-module/src/actions/example/example.ts |
|
||||
| Name | Location |
|
||||
|:-------------------|:-------------------------------------------|
|
||||
| prettier | src/commands/migrate/packageLintConfigs.ts |
|
||||
| react-dom/client | src/lib/bundler/hasReactDomClient.ts |
|
||||
| react/package.json | src/lib/bundler/server.ts |
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|:--------|:-------------|
|
||||
| history | package.json |
|
||||
|
||||
## Unused devDependencies (12)
|
||||
## Unused devDependencies (11)
|
||||
|
||||
| Name | Location |
|
||||
|:-----------------------------|:-------------|
|
||||
@@ -19,7 +19,6 @@
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| react-router-dom-stable | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
| @testing-library/react-hooks | package.json |
|
||||
|
||||
|
||||
@@ -6,13 +6,12 @@
|
||||
|:------------------------|:-------------|
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
## Unused devDependencies (9)
|
||||
## Unused devDependencies (8)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/plugin-catalog | package.json |
|
||||
| @backstage/plugin-puppetdb | package.json |
|
||||
| @backstage/frontend-app-api | package.json |
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
| zen-observable | package.json |
|
||||
| @backstage/config | package.json |
|
||||
|
||||
## Unused devDependencies (11)
|
||||
## Unused devDependencies (9)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -18,11 +18,9 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @types/zen-observable | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @types/google-protobuf | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/app-defaults | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
## Unlisted dependencies (1)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|:--------|:-------------|
|
||||
| history | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -15,6 +15,5 @@
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|:-----------------|:-------------|
|
||||
| @backstage/theme | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -15,6 +15,5 @@
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unlisted dependencies (3)
|
||||
## Unlisted dependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------------------------|
|
||||
| @typescript-eslint/parser | .eslintrc.js |
|
||||
| estree | lib/visitImports.js |
|
||||
| estree | rules/no-undeclared-imports.js |
|
||||
| Name | Location |
|
||||
|:-------|:-------------------------------|
|
||||
| estree | lib/visitImports.js |
|
||||
| estree | rules/no-undeclared-imports.js |
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
| @material-ui/core | package.json |
|
||||
| @backstage/core-components | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
@@ -16,7 +16,6 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/frontend-app-api | package.json |
|
||||
| @backstage/frontend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (2)
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:---------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
|
||||
|
||||
@@ -1,20 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------|:-------------|
|
||||
| @material-ui/core | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
|
||||
| Name | Location |
|
||||
|:---------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/core-components | package.json |
|
||||
| Name | Location |
|
||||
|:----------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ Commands:
|
||||
api-reports [options] [paths...]
|
||||
type-deps
|
||||
generate-catalog-info [options]
|
||||
knip-reports [options] [paths...]
|
||||
package [command]
|
||||
repo [command]
|
||||
help [command]
|
||||
@@ -49,6 +50,16 @@ Options:
|
||||
-h, --help
|
||||
```
|
||||
|
||||
### `backstage-repo-tools knip-reports`
|
||||
|
||||
```
|
||||
Usage: backstage-repo-tools knip-reports [options] [paths...]
|
||||
|
||||
Options:
|
||||
--ci
|
||||
-h, --help
|
||||
```
|
||||
|
||||
### `backstage-repo-tools package`
|
||||
|
||||
```
|
||||
|
||||
@@ -21,7 +21,6 @@ import {
|
||||
relative as relativePath,
|
||||
resolve as resolvePath,
|
||||
} from 'path';
|
||||
import { execFile } from 'child_process';
|
||||
import fs from 'fs-extra';
|
||||
import {
|
||||
CompilerState,
|
||||
@@ -30,8 +29,6 @@ import {
|
||||
ExtractorLogLevel,
|
||||
ExtractorMessage,
|
||||
} from '@microsoft/api-extractor';
|
||||
import os from 'os';
|
||||
import pLimit from 'p-limit';
|
||||
import { Program } from 'typescript';
|
||||
import {
|
||||
DocBlockTag,
|
||||
@@ -66,6 +63,7 @@ import { AstDeclaration } from '@microsoft/api-extractor/lib/analyzer/AstDeclara
|
||||
import { paths as cliPaths } from '../../lib/paths';
|
||||
import minimatch from 'minimatch';
|
||||
import { getPackageExportNames } from '../../lib/entryPoints';
|
||||
import { createBinRunner } from '../util';
|
||||
|
||||
const tmpDir = cliPaths.resolveTargetRoot(
|
||||
'./node_modules/.cache/api-extractor',
|
||||
@@ -292,10 +290,10 @@ function logApiReportInstructions() {
|
||||
'*************************************************************************************',
|
||||
);
|
||||
console.log(
|
||||
'* You have uncommitted changes to the public API or reports of a package. *',
|
||||
'* You have uncommitted changes to the public API of a package. *',
|
||||
);
|
||||
console.log(
|
||||
'* To solve this, run `yarn build:api-reports` and commit all md file changes. *',
|
||||
'* To solve this, run `yarn build:api-reports` and commit all api-report.md changes. *',
|
||||
);
|
||||
console.log(
|
||||
'*************************************************************************************',
|
||||
@@ -1229,31 +1227,6 @@ export async function categorizePackageDirs(packageDirs: string[]) {
|
||||
return { tsPackageDirs, cliPackageDirs };
|
||||
}
|
||||
|
||||
function createBinRunner(cwd: string, path: string) {
|
||||
return async (...command: string[]) =>
|
||||
new Promise<string>((resolve, reject) => {
|
||||
execFile(
|
||||
'node',
|
||||
[path, ...command],
|
||||
{
|
||||
cwd,
|
||||
shell: true,
|
||||
timeout: 60000,
|
||||
maxBuffer: 1024 * 1024,
|
||||
},
|
||||
(err, stdout, stderr) => {
|
||||
if (err) {
|
||||
reject(new Error(`${err.message}\n${stderr}`));
|
||||
} else if (stderr) {
|
||||
reject(new Error(`Command printed error output: ${stderr}`));
|
||||
} else {
|
||||
resolve(stdout);
|
||||
}
|
||||
},
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
function parseHelpPage(helpPageContent: string) {
|
||||
const [, usage] = helpPageContent.match(/^\s*Usage: (.*)$/im) ?? [];
|
||||
const lines = helpPageContent.split(/\r?\n/);
|
||||
@@ -1445,71 +1418,3 @@ export async function runCliExtraction({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
interface KnipExtractionOptions {
|
||||
packageDirs: string[];
|
||||
isLocalBuild: boolean;
|
||||
}
|
||||
|
||||
export async function runKnipReports({
|
||||
packageDirs,
|
||||
isLocalBuild,
|
||||
}: KnipExtractionOptions) {
|
||||
const knipDir = cliPaths.resolveTargetRoot('./node_modules/knip/bin/');
|
||||
const limiter = pLimit(os.cpus().length);
|
||||
|
||||
await Promise.all(
|
||||
packageDirs.map(packageDir =>
|
||||
limiter(async () => {
|
||||
console.log(`## Processing ${packageDir}`);
|
||||
const fullDir = cliPaths.resolveTargetRoot(packageDir);
|
||||
const reportPath = resolvePath(fullDir, 'knip-report.md');
|
||||
const run = createBinRunner(fullDir, '');
|
||||
|
||||
const report = await run(
|
||||
`${knipDir}/knip.js`,
|
||||
`--directory ${fullDir}`, // Run in the package directory
|
||||
'--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',
|
||||
);
|
||||
|
||||
const existingReport = await fs
|
||||
.readFile(reportPath, 'utf8')
|
||||
.catch(error => {
|
||||
if (error.code === 'ENOENT') {
|
||||
return undefined;
|
||||
}
|
||||
throw error;
|
||||
});
|
||||
|
||||
if (existingReport !== report) {
|
||||
if (isLocalBuild) {
|
||||
console.warn(`Knip report changed for ${packageDir}`);
|
||||
await fs.writeFile(reportPath, report);
|
||||
} else {
|
||||
logApiReportInstructions();
|
||||
|
||||
if (existingReport) {
|
||||
console.log('');
|
||||
console.log(
|
||||
`The conflicting file is ${relativePath(
|
||||
cliPaths.targetRoot,
|
||||
reportPath,
|
||||
)}, expecting the following content:`,
|
||||
);
|
||||
console.log('');
|
||||
|
||||
console.log(report);
|
||||
|
||||
logApiReportInstructions();
|
||||
}
|
||||
throw new Error(`Knip report changed for ${packageDir}, `);
|
||||
}
|
||||
}
|
||||
}),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ jest.mock('./api-extractor', () => ({
|
||||
runApiExtraction: jest.fn(),
|
||||
runCliExtraction: jest.fn(),
|
||||
buildDocs: jest.fn(),
|
||||
runKnipReports: jest.fn(),
|
||||
}));
|
||||
|
||||
const projectPaths = pathsLib.paths;
|
||||
|
||||
@@ -21,7 +21,6 @@ import {
|
||||
createTemporaryTsConfig,
|
||||
runApiExtraction,
|
||||
runCliExtraction,
|
||||
runKnipReports,
|
||||
} from './api-extractor';
|
||||
import { paths as cliPaths, resolvePackagePaths } from '../../lib/paths';
|
||||
import { generateTypeDeclarations } from './generateTypeDeclarations';
|
||||
@@ -104,14 +103,6 @@ export const buildApiReports = async (paths: string[] = [], opts: Options) => {
|
||||
});
|
||||
}
|
||||
|
||||
if (selectedPackageDirs.length > 0) {
|
||||
console.log('# Generating package knip reports');
|
||||
await runKnipReports({
|
||||
packageDirs: selectedPackageDirs,
|
||||
isLocalBuild: !isCiBuild,
|
||||
});
|
||||
}
|
||||
|
||||
if (isDocsBuild) {
|
||||
console.log('# Generating package documentation');
|
||||
await buildDocs({
|
||||
|
||||
@@ -168,6 +168,17 @@ export function registerCommands(program: Command) {
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
program
|
||||
.command('knip-reports [paths...]')
|
||||
.option('--ci', 'CI run checks that there is no changes on knip reports')
|
||||
.description('Generate a knip report for selected packages')
|
||||
.action(
|
||||
lazy(() =>
|
||||
import('./knip-reports/knip-reports').then(m => m.buildKnipReports),
|
||||
),
|
||||
);
|
||||
|
||||
registerPackageCommand(program);
|
||||
registerRepoCommand(program);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,175 @@
|
||||
/*
|
||||
* Copyright 2024 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { paths as cliPaths } from '../../lib/paths';
|
||||
import pLimit from 'p-limit';
|
||||
import os from 'os';
|
||||
import { relative as relativePath, resolve as resolvePath } from 'path';
|
||||
import fs from 'fs-extra';
|
||||
import { createBinRunner } from '../util';
|
||||
|
||||
// Ignore this due to Knip error: Error: ENAMETOOLONG: name too long, scandir
|
||||
const ignoredPackages = ['packages/techdocs-cli-embedded-app'];
|
||||
|
||||
interface KnipExtractionOptions {
|
||||
packageDirs: string[];
|
||||
isLocalBuild: boolean;
|
||||
}
|
||||
|
||||
interface KnipConfigOptions {
|
||||
packageDir: string;
|
||||
}
|
||||
|
||||
interface KnipPackageOptions {
|
||||
packageDir: string;
|
||||
knipDir: string;
|
||||
isLocalBuild: boolean;
|
||||
}
|
||||
|
||||
function logKnipReportInstructions() {
|
||||
console.log('');
|
||||
console.log(
|
||||
'*************************************************************************************',
|
||||
);
|
||||
console.log(
|
||||
'* You have uncommitted changes to the knip reports of a package. *',
|
||||
);
|
||||
console.log(
|
||||
'* To solve this, run `yarn build:knip-reports` and commit all md file changes. *',
|
||||
);
|
||||
console.log(
|
||||
'*************************************************************************************',
|
||||
);
|
||||
console.log('');
|
||||
}
|
||||
|
||||
async function generateKnipConfig({ packageDir }: KnipConfigOptions) {
|
||||
const knipConfig = {
|
||||
entry: [
|
||||
'dev/index.{ts,tsx}',
|
||||
'src/index.{ts,tsx}',
|
||||
'src/routes.ts',
|
||||
'src/run.ts',
|
||||
],
|
||||
jest: { entry: 'src/setupTests.ts' },
|
||||
storybook: { entry: 'src/components/**/*.stories.tsx' },
|
||||
ignore: [
|
||||
'.eslintrc.js',
|
||||
'config.d.ts',
|
||||
'knexfile.js',
|
||||
'node_modules/**',
|
||||
'dist/**',
|
||||
'{fixtures,migrations,templates}/**',
|
||||
],
|
||||
};
|
||||
await fs.writeFile(
|
||||
`${packageDir}/knip.json`,
|
||||
JSON.stringify(knipConfig, null, 2),
|
||||
);
|
||||
}
|
||||
|
||||
function cleanKnipConfig({ packageDir }: KnipConfigOptions) {
|
||||
if (fs.existsSync(`${packageDir}/knip.json`)) {
|
||||
fs.rmSync(`${packageDir}/knip.json`);
|
||||
}
|
||||
}
|
||||
|
||||
async function handlePackage({
|
||||
packageDir,
|
||||
knipDir,
|
||||
isLocalBuild,
|
||||
}: KnipPackageOptions) {
|
||||
console.log(`## Processing ${packageDir}`);
|
||||
if (ignoredPackages.includes(packageDir)) {
|
||||
console.log(`Skipping ${packageDir}`);
|
||||
return;
|
||||
}
|
||||
const fullDir = cliPaths.resolveTargetRoot(packageDir);
|
||||
const reportPath = resolvePath(fullDir, 'knip-report.md');
|
||||
const run = createBinRunner(fullDir, '');
|
||||
|
||||
await generateKnipConfig({ packageDir: fullDir });
|
||||
|
||||
const report = await run(
|
||||
`${knipDir}/knip.js`,
|
||||
`--directory ${fullDir}`, // Run in the package directory
|
||||
'--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',
|
||||
);
|
||||
|
||||
cleanKnipConfig({ packageDir: fullDir });
|
||||
|
||||
const existingReport = await fs.readFile(reportPath, 'utf8').catch(error => {
|
||||
if (error.code === 'ENOENT') {
|
||||
return undefined;
|
||||
}
|
||||
throw error;
|
||||
});
|
||||
|
||||
if (existingReport !== report) {
|
||||
if (isLocalBuild) {
|
||||
console.warn(`Knip report changed for ${packageDir}`);
|
||||
await fs.writeFile(reportPath, report);
|
||||
} else {
|
||||
logKnipReportInstructions();
|
||||
|
||||
if (existingReport) {
|
||||
console.log('');
|
||||
console.log(
|
||||
`The conflicting file is ${relativePath(
|
||||
cliPaths.targetRoot,
|
||||
reportPath,
|
||||
)}, expecting the following content:`,
|
||||
);
|
||||
console.log('');
|
||||
|
||||
console.log(report);
|
||||
|
||||
logKnipReportInstructions();
|
||||
}
|
||||
throw new Error(`Knip report changed for ${packageDir}, `);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export async function runKnipReports({
|
||||
packageDirs,
|
||||
isLocalBuild,
|
||||
}: KnipExtractionOptions) {
|
||||
const knipDir = cliPaths.resolveTargetRoot('./node_modules/knip/bin/');
|
||||
const limiter = pLimit(os.cpus().length);
|
||||
|
||||
try {
|
||||
await Promise.all(
|
||||
packageDirs.map(packageDir =>
|
||||
limiter(async () =>
|
||||
handlePackage({ packageDir, knipDir, isLocalBuild }),
|
||||
),
|
||||
),
|
||||
);
|
||||
} catch (e) {
|
||||
console.log(
|
||||
`Error occurred during knip reporting: ${e}, cleaning knip configs`,
|
||||
);
|
||||
packageDirs.map(packageDir => {
|
||||
const fullDir = cliPaths.resolveTargetRoot(packageDir);
|
||||
cleanKnipConfig({ packageDir: fullDir });
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2022 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { OptionValues } from 'commander';
|
||||
import { runKnipReports } from './knip-extractor';
|
||||
import { resolvePackagePaths } from '../../lib/paths';
|
||||
|
||||
type Options = {
|
||||
ci?: boolean;
|
||||
} & OptionValues;
|
||||
|
||||
export const buildKnipReports = async (paths: string[] = [], opts: Options) => {
|
||||
const isCiBuild = opts.ci;
|
||||
|
||||
const isAllPackages = !paths?.length;
|
||||
const selectedPackageDirs = await resolvePackagePaths({
|
||||
paths,
|
||||
include: opts.include,
|
||||
exclude: opts.exclude,
|
||||
});
|
||||
|
||||
if (isAllPackages && !isCiBuild) {
|
||||
console.log('');
|
||||
console.log(
|
||||
'TIP: You can generate knip-reports for select packages by passing package paths:',
|
||||
);
|
||||
console.log('');
|
||||
console.log(
|
||||
' yarn build:knip-reports packages/config packages/core-plugin-api plugins/*',
|
||||
);
|
||||
console.log('');
|
||||
}
|
||||
|
||||
if (selectedPackageDirs.length > 0) {
|
||||
console.log('# Generating package knip reports');
|
||||
await runKnipReports({
|
||||
packageDirs: selectedPackageDirs,
|
||||
isLocalBuild: !isCiBuild,
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright 2024 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
import { execFile } from 'child_process';
|
||||
|
||||
export function createBinRunner(cwd: string, path: string) {
|
||||
return async (...command: string[]) =>
|
||||
new Promise<string>((resolve, reject) => {
|
||||
execFile(
|
||||
'node',
|
||||
[path, ...command],
|
||||
{
|
||||
cwd,
|
||||
shell: true,
|
||||
timeout: 60000,
|
||||
maxBuffer: 1024 * 1024,
|
||||
},
|
||||
(err, stdout, stderr) => {
|
||||
if (err) {
|
||||
reject(new Error(`${err.message}\n${stderr}`));
|
||||
} else if (stderr) {
|
||||
reject(new Error(`Command printed error output: ${stderr}`));
|
||||
} else {
|
||||
resolve(stdout);
|
||||
}
|
||||
},
|
||||
);
|
||||
});
|
||||
}
|
||||
@@ -6,11 +6,10 @@
|
||||
|:------------------|:-------------|
|
||||
| @material-ui/core | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:---------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
|
||||
|
||||
@@ -7,12 +7,11 @@
|
||||
| @emotion/react | package.json |
|
||||
| @emotion/styled | package.json |
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @mui/styles | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @mui/styles | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (3)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -7,12 +7,11 @@
|
||||
| remark-gfm | package.json |
|
||||
| react-markdown | package.json |
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---|:-------------|
|
||||
| yn | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|
||||
@@ -1,23 +1,12 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (3)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------|:-------------|
|
||||
| @material-ui/icons | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
|
||||
## Unused devDependencies (8)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/app-defaults | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/app-defaults | package.json |
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,19 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:---------------------------|:-------------|
|
||||
| @backstage/core-components | package.json |
|
||||
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @types/react | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,20 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:---------------------------|:-------------|
|
||||
| @backstage/core-components | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @types/jest | package.json |
|
||||
| @types/react | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @types/jest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,17 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:---------------------------|:-------------|
|
||||
| @backstage/core-components | package.json |
|
||||
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (2)
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:---------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
|
||||
|
||||
@@ -8,16 +8,14 @@
|
||||
| graphql-config | package.json |
|
||||
| isomorphic-form-data | package.json |
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -6,13 +6,11 @@
|
||||
|:------------------------|:-------------|
|
||||
| use-deep-compare-effect | package.json |
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -7,13 +7,11 @@
|
||||
| express | package.json |
|
||||
| passport | package.json |
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| @backstage/backend-common | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| express | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/config | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -7,13 +7,11 @@
|
||||
| express | package.json |
|
||||
| passport | package.json |
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -7,15 +7,13 @@
|
||||
| express | package.json |
|
||||
| passport | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/config | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/config | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -6,13 +6,11 @@
|
||||
|:---------|:-------------|
|
||||
| passport | package.json |
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| express | package.json |
|
||||
| passport | package.json |
|
||||
| @backstage/backend-common | package.json |
|
||||
|
||||
## Unused devDependencies (9)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| jose | package.json |
|
||||
| supertest | package.json |
|
||||
| cookie-parser | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| express-session | package.json |
|
||||
| @backstage/config | package.json |
|
||||
| express-promise-router | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
@@ -7,13 +7,11 @@
|
||||
| express | package.json |
|
||||
| passport | package.json |
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -1,18 +1,16 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (11)
|
||||
## Unused devDependencies (9)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| jose | package.json |
|
||||
| express | package.json |
|
||||
| passport | package.json |
|
||||
| supertest | package.json |
|
||||
| cookie-parser | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| express-session | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| jose | package.json |
|
||||
| express | package.json |
|
||||
| passport | package.json |
|
||||
| supertest | package.json |
|
||||
| cookie-parser | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| express-session | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/errors | package.json |
|
||||
| @backstage/config | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @backstage/plugin-auth-backend | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/errors | package.json |
|
||||
| @backstage/config | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (10)
|
||||
## Unused dependencies (12)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
@@ -9,13 +9,15 @@
|
||||
| morgan | package.json |
|
||||
| winston | package.json |
|
||||
| fs-extra | package.json |
|
||||
| node-cache | package.json |
|
||||
| compression | package.json |
|
||||
| passport-gitlab2 | package.json |
|
||||
| openid-client | package.json |
|
||||
| passport-github2 | package.json |
|
||||
| passport-microsoft | package.json |
|
||||
| google-auth-library | package.json |
|
||||
| passport-google-oauth20 | package.json |
|
||||
|
||||
## Unused devDependencies (10)
|
||||
## Unused devDependencies (9)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
@@ -26,7 +28,6 @@
|
||||
| @types/body-parser | package.json |
|
||||
| @types/passport-github2 | package.json |
|
||||
| @types/passport-strategy | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| @types/passport-microsoft | package.json |
|
||||
| @types/passport-google-oauth20 | package.json |
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---|:-------------|
|
||||
| yn | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (6)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
## Unused dependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:-----------|:-------------|
|
||||
| yn | package.json |
|
||||
| node-fetch | package.json |
|
||||
| Name | Location |
|
||||
|:-------------------------|:-------------|
|
||||
| node-fetch | package.json |
|
||||
| @backstage/catalog-model | package.json |
|
||||
|
||||
## Unused devDependencies (2)
|
||||
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------|:-------------|
|
||||
| @backstage/catalog-model | package.json |
|
||||
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|
||||
@@ -1,14 +1,20 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused dependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------------|:-------------|
|
||||
| @backstage/theme | package.json |
|
||||
| @backstage/plugin-permission-react | package.json |
|
||||
| @backstage/plugin-permission-common | package.json |
|
||||
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (3)
|
||||
## Unused dependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:----------|:-------------|
|
||||
| yn | package.json |
|
||||
| cors | package.json |
|
||||
| supertest | package.json |
|
||||
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---|:-------------|
|
||||
| yn | package.json |
|
||||
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|
||||
@@ -1,17 +1,14 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (2)
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/catalog-client | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:---------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|:---------|:-------------|
|
||||
| recharts | package.json |
|
||||
|
||||
## Unused devDependencies (10)
|
||||
## Unused devDependencies (8)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -14,10 +14,8 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @types/recharts | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (3)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/backend-defaults | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -6,15 +6,14 @@
|
||||
|:-----------|:-------------|
|
||||
| node-fetch | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| supertest | package.json |
|
||||
| better-sqlite3 | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| wait-for-expect | package.json |
|
||||
| @types/supertest | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------|:-------------|
|
||||
| msw | package.json |
|
||||
| supertest | package.json |
|
||||
| better-sqlite3 | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| wait-for-expect | package.json |
|
||||
| @types/supertest | package.json |
|
||||
|
||||
|
||||
@@ -1,23 +1,19 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (2)
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| lodash | package.json |
|
||||
| @backstage/catalog-client | package.json |
|
||||
| Name | Location |
|
||||
|:--------|:-------------|
|
||||
| p-limit | package.json |
|
||||
|
||||
## Unused devDependencies (9)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/plugin-catalog | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (9)
|
||||
## Unused devDependencies (7)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -6,17 +6,15 @@
|
||||
|:---------------------------------|:-------------|
|
||||
| @backstage/plugin-catalog-common | package.json |
|
||||
|
||||
## Unused devDependencies (10)
|
||||
## Unused devDependencies (8)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| react-test-renderer | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
| @backstage/plugin-catalog-common | package.json |
|
||||
| @backstage/plugin-scaffolder-common | package.json |
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -6,17 +6,15 @@
|
||||
|:--------|:-------------|
|
||||
| history | package.json |
|
||||
|
||||
## Unused devDependencies (9)
|
||||
## Unused devDependencies (7)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
| @backstage/plugin-permission-common | package.json |
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (2)
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| Name | Location |
|
||||
|:---------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (6)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,19 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------|:-------------|
|
||||
| @backstage/catalog-model | package.json |
|
||||
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---|:-------------|
|
||||
| yn | package.json |
|
||||
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (6)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @types/highlightjs | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @types/highlightjs | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -6,16 +6,14 @@
|
||||
|:------------------|:-------------|
|
||||
| @backstage/config | package.json |
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -7,17 +7,15 @@
|
||||
| history | package.json |
|
||||
| @material-ui/styles | package.json |
|
||||
|
||||
## Unused devDependencies (9)
|
||||
## Unused devDependencies (7)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
| canvas | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---|:-------------|
|
||||
| yn | package.json |
|
||||
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (3)
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------|:-------------|
|
||||
| yn | package.json |
|
||||
| node-fetch | package.json |
|
||||
| @backstage/config | package.json |
|
||||
| Name | Location |
|
||||
|:-----------|:-------------|
|
||||
| node-fetch | package.json |
|
||||
|
||||
## Unused devDependencies (4)
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -9,6 +9,5 @@
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---|:-------------|
|
||||
| yn | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (4)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
# Knip report
|
||||
|
||||
## Unused dependencies (3)
|
||||
## Unused dependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:-----------------|:-------------|
|
||||
| yn | package.json |
|
||||
| node-fetch | package.json |
|
||||
| @backstage/types | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:-----------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @types/supertest | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| supertest | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @types/supertest | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @types/react | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @types/react | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,16 +1,13 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (9)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/plugin-catalog | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -6,15 +6,13 @@
|
||||
|:------------------------------------|:-------------|
|
||||
| @maxim_mazurok/gapi.client.calendar | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @types/sanitize-html | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @types/sanitize-html | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (6)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (6)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (5)
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
# Knip report
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
|
||||
|
||||
@@ -6,16 +6,14 @@
|
||||
|:---|:-------------|
|
||||
| qs | package.json |
|
||||
|
||||
## Unused devDependencies (8)
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -7,15 +7,13 @@
|
||||
| graphql | package.json |
|
||||
| graphql-ws | package.json |
|
||||
|
||||
## Unused devDependencies (7)
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @types/codemirror | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @types/codemirror | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user