chore: update knip reports
Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
@@ -8,14 +7,4 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
=======
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -1,10 +1,6 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused dependencies (64)
|
||||
=======
|
||||
## Unused dependencies (63)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------------------------|:-------------|
|
||||
@@ -34,10 +30,7 @@
|
||||
| @backstage/plugin-puppetdb | package.json |
|
||||
| @backstage/plugin-playlist | package.json |
|
||||
| @backstage/plugin-newrelic | package.json |
|
||||
<<<<<<< HEAD
|
||||
| @backstage/plugin-linguist | package.json |
|
||||
=======
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @backstage/plugin-devtools | package.json |
|
||||
| @backstage/plugin-api-docs | package.json |
|
||||
| @backstage/plugin-airbrake | package.json |
|
||||
@@ -76,11 +69,7 @@
|
||||
| @roadiehq/backstage-plugin-github-pull-requests | package.json |
|
||||
| @backstage/plugin-techdocs-module-addons-contrib | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (7)
|
||||
=======
|
||||
## Unused devDependencies (8)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -90,9 +79,5 @@
|
||||
| @types/zen-observable | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -15,21 +15,12 @@
|
||||
| @vitejs/plugin-react | package.json |
|
||||
| vite-plugin-node-polyfills | package.json |
|
||||
| @backstage/plugin-airbrake | package.json |
|
||||
<<<<<<< HEAD
|
||||
| @backstage/frontend-app-api | package.json |
|
||||
| @backstage/plugin-azure-sites | package.json |
|
||||
| @backstage/plugin-search-common | package.json |
|
||||
| @backstage/plugin-linguist-common | package.json |
|
||||
|
||||
## Unused devDependencies (5)
|
||||
=======
|
||||
| @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)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -37,11 +28,6 @@
|
||||
| @types/jquery | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @types/zen-observable | package.json |
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
## Unlisted dependencies (1)
|
||||
|
||||
@@ -1,19 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| wait-for-expect | package.json |
|
||||
=======
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| wait-for-expect | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -14,11 +14,7 @@
|
||||
| pg-connection-string | package.json |
|
||||
| azure-devops-node-api | package.json |
|
||||
| @backstage/plugin-tech-insights-node | package.json |
|
||||
<<<<<<< HEAD
|
||||
| @backstage/plugin-azure-sites-common | package.json |
|
||||
=======
|
||||
| @backstage/plugin-azure-sites-backend | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @backstage/plugin-scaffolder-backend-module-rails | package.json |
|
||||
|
||||
## Unused devDependencies (3)
|
||||
|
||||
@@ -33,18 +33,11 @@
|
||||
| @spotify/eslint-config-react | package.json |
|
||||
| @typescript-eslint/eslint-plugin | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (18)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
=======
|
||||
## Unused devDependencies (13)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------------------|:-------------|
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| del | package.json |
|
||||
| ts-node | package.json |
|
||||
| nodemon | package.json |
|
||||
@@ -53,7 +46,6 @@
|
||||
| @backstage/theme | package.json |
|
||||
| @types/http-proxy | package.json |
|
||||
| @backstage/dev-utils | package.json |
|
||||
<<<<<<< HEAD
|
||||
| @backstage/test-utils | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @backstage/backend-common | package.json |
|
||||
@@ -61,11 +53,6 @@
|
||||
| @backstage/core-components | package.json |
|
||||
| @types/terser-webpack-plugin | package.json |
|
||||
| @backstage/backend-test-utils | package.json |
|
||||
=======
|
||||
| @backstage/core-app-api | package.json |
|
||||
| @backstage/core-components | package.json |
|
||||
| @types/terser-webpack-plugin | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @backstage/backend-plugin-api | package.json |
|
||||
| @types/rollup-plugin-peer-deps-external | package.json |
|
||||
|
||||
@@ -78,7 +65,6 @@
|
||||
| @vitejs/plugin-react | package.json |
|
||||
| vite-plugin-node-polyfills | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unlisted dependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
@@ -86,21 +72,4 @@
|
||||
| prettier | src/commands/migrate/packageLintConfigs.ts |
|
||||
| react-dom/client | src/lib/bundler/hasReactDomClient.ts |
|
||||
| react/package.json | src/lib/bundler/server.ts |
|
||||
=======
|
||||
## Unlisted dependencies (11)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------------|:-------------------------------------------------------------------------------------------------|
|
||||
| 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 |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -6,11 +6,7 @@
|
||||
|:--------|:-------------|
|
||||
| history | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (11)
|
||||
=======
|
||||
## Unused devDependencies (12)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:-----------------------------|:-------------|
|
||||
@@ -23,10 +19,6 @@
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| react-router-dom-stable | package.json |
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @testing-library/user-event | package.json |
|
||||
| @testing-library/react-hooks | package.json |
|
||||
|
||||
|
||||
@@ -12,15 +12,9 @@
|
||||
|:--------------------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
<<<<<<< HEAD
|
||||
| @backstage/plugin-catalog | package.json |
|
||||
| @backstage/plugin-puppetdb | package.json |
|
||||
| @backstage/frontend-app-api | package.json |
|
||||
=======
|
||||
| @testing-library/jest-dom | package.json |
|
||||
| @backstage/plugin-catalog | package.json |
|
||||
| @backstage/plugin-puppetdb | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @backstage/plugin-stackstorm | package.json |
|
||||
| @backstage/frontend-test-utils | package.json |
|
||||
| @oriflame/backstage-plugin-score-card | package.json |
|
||||
|
||||
@@ -9,11 +9,7 @@
|
||||
| zen-observable | package.json |
|
||||
| @backstage/config | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (9)
|
||||
=======
|
||||
## Unused devDependencies (11)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -22,17 +18,9 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @types/zen-observable | package.json |
|
||||
<<<<<<< HEAD
|
||||
| @types/google-protobuf | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/app-defaults | 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 |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
## Unlisted dependencies (1)
|
||||
|
||||
@@ -6,11 +6,7 @@
|
||||
|:--------|:-------------|
|
||||
| history | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (6)
|
||||
=======
|
||||
## Unused devDependencies (7)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -19,9 +15,5 @@
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @backstage/core-app-api | package.json |
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -1,17 +1,10 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (6)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
=======
|
||||
## Unused devDependencies (5)
|
||||
|
||||
| Name | Location |
|
||||
|:------------------------------|:-------------|
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| ts-node | package.json |
|
||||
| nodemon | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
|
||||
@@ -6,11 +6,7 @@
|
||||
|:-----------------|:-------------|
|
||||
| @backstage/theme | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (6)
|
||||
=======
|
||||
## Unused devDependencies (7)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:----------------------------|:-------------|
|
||||
@@ -19,9 +15,5 @@
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @testing-library/user-event | package.json |
|
||||
|
||||
|
||||
@@ -1,19 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unlisted dependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:-------|:-------------------------------|
|
||||
| estree | lib/visitImports.js |
|
||||
| estree | rules/no-undeclared-imports.js |
|
||||
=======
|
||||
## Unlisted dependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------------------------|
|
||||
| @typescript-eslint/parser | .eslintrc.js |
|
||||
| estree | lib/visitImports.js |
|
||||
| estree | rules/no-undeclared-imports.js |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
@@ -8,14 +7,4 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
=======
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -8,11 +8,7 @@
|
||||
| @material-ui/core | package.json |
|
||||
| @backstage/core-components | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (6)
|
||||
=======
|
||||
## Unused devDependencies (7)
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
| Name | Location |
|
||||
|:-------------------------------|:-------------|
|
||||
@@ -20,10 +16,6 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
| @backstage/frontend-app-api | package.json |
|
||||
| @backstage/frontend-test-utils | package.json |
|
||||
|
||||
|
||||
@@ -1,17 +1,8 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (1)
|
||||
|
||||
| Name | Location |
|
||||
|:---------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
=======
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
@@ -9,23 +8,4 @@
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/dom | package.json |
|
||||
| @backstage/test-utils | package.json |
|
||||
=======
|
||||
## Unused dependencies (1)
|
||||
|
||||
| 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 |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -21,10 +21,6 @@ import {
|
||||
createTemporaryTsConfig,
|
||||
runApiExtraction,
|
||||
runCliExtraction,
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
runKnipReports,
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
} from './api-extractor';
|
||||
import { paths as cliPaths, resolvePackagePaths } from '../../lib/paths';
|
||||
import { generateTypeDeclarations } from './generateTypeDeclarations';
|
||||
@@ -107,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({
|
||||
|
||||
@@ -6,20 +6,10 @@
|
||||
|:------------------|:-------------|
|
||||
| @material-ui/core | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:---------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
=======
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| msw | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
| @emotion/react | package.json |
|
||||
| @emotion/styled | package.json |
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
@@ -15,14 +14,4 @@
|
||||
| @mui/styles | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
=======
|
||||
## Unused devDependencies (4)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @mui/styles | package.json |
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
@@ -1,19 +1,9 @@
|
||||
# Knip report
|
||||
|
||||
<<<<<<< HEAD
|
||||
## Unused devDependencies (2)
|
||||
|
||||
| Name | Location |
|
||||
|:-----------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
=======
|
||||
## Unused devDependencies (3)
|
||||
|
||||
| Name | Location |
|
||||
|:--------------------------|:-------------|
|
||||
| @backstage/cli | package.json |
|
||||
| @testing-library/react | package.json |
|
||||
| @testing-library/jest-dom | package.json |
|
||||
>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user