From a29a9f1f6c67946d3eb2e266d8c0e7baca9edcda Mon Sep 17 00:00:00 2001 From: Jithen Shriyan Date: Sat, 20 Jan 2024 20:47:55 -0500 Subject: [PATCH 01/82] [feat] add microsite accessibility workflow, add microsite lighthouse config Signed-off-by: Jithen Shriyan --- .../workflows/verify_accessibility-noop.yml | 2 +- .github/workflows/verify_accessibility.yml | 4 +- .../verify_microsite_accessibility-noop.yml | 31 +++++++++ .../verify_microsite_accessibility.yml | 40 +++++++++++ microsite/lighthouserc.js | 66 +++++++++++++++++++ package.json | 1 + 6 files changed, 141 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/verify_microsite_accessibility-noop.yml create mode 100644 .github/workflows/verify_microsite_accessibility.yml create mode 100644 microsite/lighthouserc.js diff --git a/.github/workflows/verify_accessibility-noop.yml b/.github/workflows/verify_accessibility-noop.yml index 79c9962fce..dc356c8809 100644 --- a/.github/workflows/verify_accessibility-noop.yml +++ b/.github/workflows/verify_accessibility-noop.yml @@ -7,7 +7,7 @@ on: branches: [master] paths-ignore: - 'lighthouserc.js' - - '.github/workflows/verify_accessibility_core.yml' + - '.github/workflows/verify_accessibility.yml' - 'plugins/catalog/src/**' - 'plugins/catalog-react/src/**' - 'plugins/techdocs/src/**' diff --git a/.github/workflows/verify_accessibility.yml b/.github/workflows/verify_accessibility.yml index 1310fc15f4..cbe66838fd 100644 --- a/.github/workflows/verify_accessibility.yml +++ b/.github/workflows/verify_accessibility.yml @@ -1,11 +1,11 @@ name: Accessibility on: - # NOTE: If you change these you must update verify_accessibility_core-noop.yml as well + # NOTE: If you change these you must update verify_accessibility-noop.yml as well pull_request: branches: [master] paths: - 'lighthouserc.js' - - '.github/workflows/verify_accessibility_core.yml' + - '.github/workflows/verify_accessibility.yml' - 'plugins/catalog/src/**' - 'plugins/catalog-react/src/**' - 'plugins/techdocs/src/**' diff --git a/.github/workflows/verify_microsite_accessibility-noop.yml b/.github/workflows/verify_microsite_accessibility-noop.yml new file mode 100644 index 0000000000..35a7b3e19d --- /dev/null +++ b/.github/workflows/verify_microsite_accessibility-noop.yml @@ -0,0 +1,31 @@ +# NO-OP placeholder that always passes for other paths +# This is here so that we're able to set the status check as required + +name: Microsite Accessibility +on: + pull_request: + branches: [master] + paths-ignore: + - '.github/workflows/verify_microsite_accessibility.yml' + - 'microsite/scripts/**' + - 'microsite/src/**' + - 'microsite/data/**' + - 'microsite/blog/**' + - 'microsite/static/**' + - 'beps/**' + - 'mkdocs.yml' + - 'docs/**' +permissions: + contents: read + +jobs: + noop: + name: Microsite Accessibility + runs-on: ubuntu-latest + steps: + - name: Harden Runner + uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 + with: + egress-policy: audit + + - run: echo NOOP diff --git a/.github/workflows/verify_microsite_accessibility.yml b/.github/workflows/verify_microsite_accessibility.yml new file mode 100644 index 0000000000..482d8270bd --- /dev/null +++ b/.github/workflows/verify_microsite_accessibility.yml @@ -0,0 +1,40 @@ +name: Microsite Accessibility +on: + # NOTE: If you change these you must update verify_microsite_accessibility-noop.yml as well + pull_request: + branches: [master] + paths: + - '.github/workflows/verify_microsite_accessibility.yml' + - 'microsite/**' + - 'beps/**' + - 'mkdocs.yml' + - 'docs/**' +jobs: + lhci: + name: Microsite Accessibility + runs-on: ubuntu-latest + steps: + - name: Harden Runner + uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 + with: + egress-policy: audit + + - uses: actions/checkout@v4.1.1 + + - name: Use Node.js 18.x + uses: actions/setup-node@v4.0.1 + with: + node-version: 18.x + + - name: top-level install + run: yarn install --immutable + + - name: yarn install + run: yarn install --immutable + working-directory: microsite + + - name: run Lighthouse CI + run: | + yarn dlx @lhci/cli@0.11.x --config=microsite/lighthouserc.js autorun + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/microsite/lighthouserc.js b/microsite/lighthouserc.js new file mode 100644 index 0000000000..a980a53287 --- /dev/null +++ b/microsite/lighthouserc.js @@ -0,0 +1,66 @@ +/* + * Copyright 2023 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. + */ + +var sidebars = require('./sidebars.json') + +module.exports = { + ci: { + collect: { + url: [ + /** Home */ + 'http://localhost:3000', + /** Docs - Getting Started */ + 'http://localhost:3000/docs/getting-started', + /** Docs - Software Catalog */ + 'http://localhost:3000/docs/features/software-catalog', + /** Docs - Create a Plugin */ + 'http://localhost:3000/docs/plugins/create-a-plugin', + /** Docs - Designing for Backstage */ + 'http://localhost:3000/docs/dls/design', + /** Blog */ + 'http://localhost:3000/blog', + /** Plugins */ + 'http://localhost:3000/plugins', + /** Demos */ + 'http://localhost:3000/demos', + /** Community */ + 'http://localhost:3000/community', + /** Releases */ + ...(sidebars.releases['Release Notes'].map((path) => `http://localhost:3000/docs/${path}`)), + ], + settings: { + onlyCategories: ['accessibility'], + output: ['html', 'json'], + outputPath: './.lighthouseci/reports', + preset: 'desktop', + }, + // refers to root package scripts + startServerCommand: 'yarn run start:microsite', + startServerReadyPattern: 'compiled successfully', + startServerReadyTimeout: 600000, + numberOfRuns: 1, + }, + assert: { + assertions: { + 'categories:performance': 'off', + 'categories:pwa': 'off', + 'categories:best-practices': 'off', + 'categories:seo': 'off', + 'categories:accessibility': ['error', { minScore: 0.95 }], + }, + }, + }, +}; diff --git a/package.json b/package.json index 483e02fdb5..d8d49a0b1d 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "start-backend": "yarn workspace example-backend start", "start:next": "yarn workspace example-app-next start", "start-backend:next": "yarn workspace example-backend-next start", + "start:microsite": "cd microsite/ && yarn start", "build:backend": "yarn workspace example-backend build", "build:all": "backstage-cli repo build --all", "build:api-reports": "yarn build:api-reports:only --tsc", From d53ff7c1b6f67ca389eb37ff68dfb6cf87ca379d Mon Sep 17 00:00:00 2001 From: Jithen Shriyan Date: Sun, 21 Jan 2024 10:33:43 -0500 Subject: [PATCH 02/82] [style] format Signed-off-by: Jithen Shriyan --- .../verify_microsite_accessibility.yml | 2 +- microsite/lighthouserc.js | 94 ++++++++++--------- 2 files changed, 49 insertions(+), 47 deletions(-) diff --git a/.github/workflows/verify_microsite_accessibility.yml b/.github/workflows/verify_microsite_accessibility.yml index 482d8270bd..683fe7840e 100644 --- a/.github/workflows/verify_microsite_accessibility.yml +++ b/.github/workflows/verify_microsite_accessibility.yml @@ -37,4 +37,4 @@ jobs: run: | yarn dlx @lhci/cli@0.11.x --config=microsite/lighthouserc.js autorun env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/microsite/lighthouserc.js b/microsite/lighthouserc.js index a980a53287..f0024ee0b3 100644 --- a/microsite/lighthouserc.js +++ b/microsite/lighthouserc.js @@ -14,53 +14,55 @@ * limitations under the License. */ -var sidebars = require('./sidebars.json') +var sidebars = require('./sidebars.json'); module.exports = { - ci: { - collect: { - url: [ - /** Home */ - 'http://localhost:3000', - /** Docs - Getting Started */ - 'http://localhost:3000/docs/getting-started', - /** Docs - Software Catalog */ - 'http://localhost:3000/docs/features/software-catalog', - /** Docs - Create a Plugin */ - 'http://localhost:3000/docs/plugins/create-a-plugin', - /** Docs - Designing for Backstage */ - 'http://localhost:3000/docs/dls/design', - /** Blog */ - 'http://localhost:3000/blog', - /** Plugins */ - 'http://localhost:3000/plugins', - /** Demos */ - 'http://localhost:3000/demos', - /** Community */ - 'http://localhost:3000/community', - /** Releases */ - ...(sidebars.releases['Release Notes'].map((path) => `http://localhost:3000/docs/${path}`)), - ], - settings: { - onlyCategories: ['accessibility'], - output: ['html', 'json'], - outputPath: './.lighthouseci/reports', - preset: 'desktop', - }, - // refers to root package scripts - startServerCommand: 'yarn run start:microsite', - startServerReadyPattern: 'compiled successfully', - startServerReadyTimeout: 600000, - numberOfRuns: 1, - }, - assert: { - assertions: { - 'categories:performance': 'off', - 'categories:pwa': 'off', - 'categories:best-practices': 'off', - 'categories:seo': 'off', - 'categories:accessibility': ['error', { minScore: 0.95 }], - }, - }, + ci: { + collect: { + url: [ + /** Home */ + 'http://localhost:3000', + /** Docs - Getting Started */ + 'http://localhost:3000/docs/getting-started', + /** Docs - Software Catalog */ + 'http://localhost:3000/docs/features/software-catalog', + /** Docs - Create a Plugin */ + 'http://localhost:3000/docs/plugins/create-a-plugin', + /** Docs - Designing for Backstage */ + 'http://localhost:3000/docs/dls/design', + /** Blog */ + 'http://localhost:3000/blog', + /** Plugins */ + 'http://localhost:3000/plugins', + /** Demos */ + 'http://localhost:3000/demos', + /** Community */ + 'http://localhost:3000/community', + /** Releases */ + ...sidebars.releases['Release Notes'].map( + path => `http://localhost:3000/docs/${path}`, + ), + ], + settings: { + onlyCategories: ['accessibility'], + output: ['html', 'json'], + outputPath: './.lighthouseci/reports', + preset: 'desktop', + }, + // refers to root package scripts + startServerCommand: 'yarn run start:microsite', + startServerReadyPattern: 'compiled successfully', + startServerReadyTimeout: 600000, + numberOfRuns: 1, }, + assert: { + assertions: { + 'categories:performance': 'off', + 'categories:pwa': 'off', + 'categories:best-practices': 'off', + 'categories:seo': 'off', + 'categories:accessibility': ['error', { minScore: 0.95 }], + }, + }, + }, }; From 90c5f9db54587d8da544912139ffce6930ac0572 Mon Sep 17 00:00:00 2001 From: Alex <52247724+Elya29@users.noreply.github.com> Date: Thu, 25 Jan 2024 10:32:34 +0100 Subject: [PATCH 03/82] Update writing.md add warning about hard coded RSA Private Keys. Signed-off-by: Alex <52247724+Elya29@users.noreply.github.com> --- docs/conf/writing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/conf/writing.md b/docs/conf/writing.md index aef9620373..b2c098e12b 100644 --- a/docs/conf/writing.md +++ b/docs/conf/writing.md @@ -220,6 +220,8 @@ clientSecret: someGithubAppClientSecret webhookSecret: someWebhookSecret privateKey: | -----BEGIN RSA PRIVATE KEY----- - SomeRsaPrivateKey + SomeRsaPrivateKeyForExampleOnly -----END RSA PRIVATE KEY----- ``` + +**Warning: RSA private keys should not be hard coded**. Keep them in a secure storage solution like Vault, to ensure they are neither exposed nor misused. From 5b70e5591d4c9fcdea9f414a80b549cb9b222c42 Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Tue, 23 Jan 2024 14:05:10 +0100 Subject: [PATCH 04/82] Init doc structure Signed-off-by: Philipp Hugenroth --- .../building-plugins/04-built-in-data-refs.md | 24 +++++++++++++++++++ microsite/sidebars.json | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 docs/frontend-system/building-plugins/04-built-in-data-refs.md diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md new file mode 100644 index 0000000000..ee6875e1cb --- /dev/null +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -0,0 +1,24 @@ +--- +id: built-in-data-refs +title: Built-in data refs +sidebar_label: Built-in data refs +# prettier-ignore +description: Configuring or overriding built-in data refs +--- + +## Disable built-in data refs + +## Override built-in data refs + +## Default built-in data refs + +### Example + +#### Example + +Extensions that provides a default `light` and `dark` app themes. + +| kind | namespace | name | id | +| :---: | :-------: | :---: | :---------------: | +| theme | app | light | `theme:app/light` | +| theme | app | dark | `theme:app/dark` | diff --git a/microsite/sidebars.json b/microsite/sidebars.json index e32e027807..754e26ec9f 100644 --- a/microsite/sidebars.json +++ b/microsite/sidebars.json @@ -414,7 +414,8 @@ "items": [ "frontend-system/building-plugins/index", "frontend-system/building-plugins/testing", - "frontend-system/building-plugins/extension-types" + "frontend-system/building-plugins/extension-types", + "frontend-system/building-plugins/built-in-data-refs" ] }, { From 2a04cef984dc65e7ea96c4b773aa806adef3e037 Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Wed, 24 Jan 2024 09:39:28 +0100 Subject: [PATCH 05/82] Add all existing data refs Signed-off-by: Philipp Hugenroth --- .../architecture/03-extensions.md | 2 - .../building-plugins/04-built-in-data-refs.md | 95 ++++++++++++++++--- 2 files changed, 84 insertions(+), 13 deletions(-) diff --git a/docs/frontend-system/architecture/03-extensions.md b/docs/frontend-system/architecture/03-extensions.md index 6d86415817..cfbabdf9bc 100644 --- a/docs/frontend-system/architecture/03-extensions.md +++ b/docs/frontend-system/architecture/03-extensions.md @@ -81,8 +81,6 @@ const extension = createExtension({ Note that while the `createExtension` is public API and used in many places, it is not typically what you use when building plugins and features. Instead there are many extension creator functions exported by both the core APIs and plugins that make it easier to create extensions for more specific usages. -... TODO ... - ## Extension Data Communication between extensions happens in one direction, from one child extension through the attachment point to its parent. The child extension outputs data which is then passed as inputs to the parent extension. This data is called Extension Data, where the shape of each individual piece of data is described by an Extension Data Reference. These references are created separately from the extensions themselves, and can be shared across multiple different kinds of extensions. Each reference consists of an ID and a TypeScript type that the data needs to conform to, and represents one type of data that can be shared between extensions. diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index ee6875e1cb..16ded9a9fd 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -3,22 +3,95 @@ id: built-in-data-refs title: Built-in data refs sidebar_label: Built-in data refs # prettier-ignore -description: Configuring or overriding built-in data refs +description: Configuring or overriding built-in extension data references --- -## Disable built-in data refs +To have a better understanding of extension data references please read [extension data section the extensions architecture documentation](../architecture/03-extensions.md#extension-data) first. -## Override built-in data refs +## Built-in extension data references -## Default built-in data refs +### Frontend Plugin API -### Example +#### Core Extension Data -#### Example +| namespace | name | type | id | +| :-------: | :----------: | :---------: | :-----------------: | +| - | reactElement | JSX.Element | `core.reactElement` | +| - | routePath | string | `core.routing.path` | +| - | routeRef | RouteRef | `core.routing.ref` | -Extensions that provides a default `light` and `dark` app themes. +#### -| kind | namespace | name | id | -| :---: | :-------: | :---: | :---------------: | -| theme | app | light | `theme:app/light` | -| theme | app | dark | `theme:app/dark` | +| namespace | name | type | id | +| :----------------: | :------------: | :-----------: | :--------------: | +| createApiExtension | factoryDataRef | AnyApiFactory | core.api.factory | + +#### + +| namespace | name | type | id | +| :---------------------------: | :--------------: | :----------------------------------: | :--------------: | +| createAppRootWrapperExtension | componentDataRef | ComponentType> | app.root.wrapper | + +#### + +| namespace | name | type | id | +| :-------------------: | :--------------: | :----------------------------------: | :--------------: | +| createRouterExtension | componentDataRef | ComponentType> | app.root.wrapper | + +#### + +```ts +type DataType = { + title: string; + icon: IconComponent; + routeRef: RouteRef; +}; +``` + +| namespace | name | type | id | +| :--------------------: | :-----------: | :------: | :------------------: | +| createNavItemExtension | targetDataRef | DataType | core.nav-item.target | + +#### + +```ts +type DataType = { + logoIcon?: JSX.Element; + logoFull?: JSX.Element; +}; +``` + +| namespace | name | type | id | +| :--------------------: | :-----------------: | :----------------------------------: | :-------------------------: | +| createNavLogoExtension | logoElementsDataRef | ComponentType> | core.nav-logo.logo-elements | + +#### + +| namespace | name | type | id | +| :-----------------------: | :--------------: | :----------------------------: | :-------------------------: | +| createSignInPageExtension | componentDataRef | ComponentType | core.sign-in-page.component | + +#### + +| namespace | name | type | id | +| :------------------: | :----------: | :------: | :--------------: | +| createThemeExtension | themeDataRef | AppTheme | core.theme.theme | + +#### + +```ts +type DataType = { + ref: ComponentRef; + impl: ComponentType; +}; +``` + +| namespace | name | type | id | +| :----------------------: | :--------------: | :------: | :----------------------: | +| createComponentExtension | componentDataRef | DataType | core.component.component | + +#### + +| namespace | name | type | id | +| :------------------------: | :----------------: | :----------------------------------------: | :--------------------------: | +| createTranslationExtension | translationDataRef | TranslationResource or TranslationMessages | core.translation.translation | From 93bb6b425fce93621182dcc289b24a20bc583df5 Mon Sep 17 00:00:00 2001 From: Alex <52247724+Elya29@users.noreply.github.com> Date: Mon, 29 Jan 2024 10:30:57 +0100 Subject: [PATCH 06/82] Update writing.md Edit message to be more explicit about the secret RSA private keys Signed-off-by: Alex <52247724+Elya29@users.noreply.github.com> --- docs/conf/writing.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/conf/writing.md b/docs/conf/writing.md index b2c098e12b..b5515f8618 100644 --- a/docs/conf/writing.md +++ b/docs/conf/writing.md @@ -218,10 +218,7 @@ webhookUrl: https://smee.io/foo clientId: someGithubAppClientId clientSecret: someGithubAppClientSecret webhookSecret: someWebhookSecret -privateKey: | - -----BEGIN RSA PRIVATE KEY----- - SomeRsaPrivateKeyForExampleOnly - -----END RSA PRIVATE KEY----- +privateKey: someSecretRsaPrivateKey ``` -**Warning: RSA private keys should not be hard coded**. Keep them in a secure storage solution like Vault, to ensure they are neither exposed nor misused. +**Warning: RSA private keys should not be hard coded**. We recommend that this entire file should be a secret and stored as such in a secure storage solution like Vault, to ensure they are neither exposed nor misused. From 2c5a49ec61ebcbe488c641a8727e1a0e64e9d6ce Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Mon, 29 Jan 2024 15:48:06 +0100 Subject: [PATCH 07/82] Adjust style Signed-off-by: Philipp Hugenroth --- .../architecture/03-extensions.md | 2 +- .../building-plugins/04-built-in-data-refs.md | 96 ++++++++++--------- 2 files changed, 52 insertions(+), 46 deletions(-) diff --git a/docs/frontend-system/architecture/03-extensions.md b/docs/frontend-system/architecture/03-extensions.md index cfbabdf9bc..cdee6acb2a 100644 --- a/docs/frontend-system/architecture/03-extensions.md +++ b/docs/frontend-system/architecture/03-extensions.md @@ -135,7 +135,7 @@ const extension = createExtension({ We provide default `coreExtensionData`, which provides commonly used `ExtensionDataRef`s - e.g. for `React.JSX.Element` and `RouteRef`. They can be used when creating your own extension. For example, the React Element extension data that we defined above is already provided as `coreExtensionData.reactElement`. - +For a full list and explanations of all types of core extension data, see the [core extension data reference](../building-plugins/04-built-in-data-refs.md). --> ### Optional Extension Data diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index 16ded9a9fd..c338dddc4a 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -6,39 +6,33 @@ sidebar_label: Built-in data refs description: Configuring or overriding built-in extension data references --- +> **NOTE: The new frontend system is in alpha and is only supported by a small number of plugins.** + To have a better understanding of extension data references please read [extension data section the extensions architecture documentation](../architecture/03-extensions.md#extension-data) first. ## Built-in extension data references -### Frontend Plugin API +Data references help to define the input & output of an extension. A data ref is uniquely identified through there `id`. Through the data ref strong typing is enforced for the input/output of the extension. -#### Core Extension Data +### Core Extension Data -| namespace | name | type | id | -| :-------: | :----------: | :---------: | :-----------------: | -| - | reactElement | JSX.Element | `core.reactElement` | -| - | routePath | string | `core.routing.path` | -| - | routeRef | RouteRef | `core.routing.ref` | +Commonly used `ExtensionDataRef`s for extensions. -#### +| namespace | name | type | id | +| :-------: | :----------: | :-----------: | :-----------------: | +| - | reactElement | `JSX.Element` | `core.reactElement` | +| - | routePath | `string` | `core.routing.path` | +| - | routeRef | `RouteRef` | `core.routing.ref` | -| namespace | name | type | id | -| :----------------: | :------------: | :-----------: | :--------------: | -| createApiExtension | factoryDataRef | AnyApiFactory | core.api.factory | +### Core API Data -#### +| namespace | name | type | id | +| :----------------: | :------------: | :-------------: | :----------------: | +| createApiExtension | factoryDataRef | `AnyApiFactory` | `core.api.factory` | -| namespace | name | type | id | -| :---------------------------: | :--------------: | :----------------------------------: | :--------------: | -| createAppRootWrapperExtension | componentDataRef | ComponentType> | app.root.wrapper | +### Core Navigation -#### - -| namespace | name | type | id | -| :-------------------: | :--------------: | :----------------------------------: | :--------------: | -| createRouterExtension | componentDataRef | ComponentType> | app.root.wrapper | - -#### +#### Item Data ```ts type DataType = { @@ -48,11 +42,11 @@ type DataType = { }; ``` -| namespace | name | type | id | -| :--------------------: | :-----------: | :------: | :------------------: | -| createNavItemExtension | targetDataRef | DataType | core.nav-item.target | +| namespace | name | type | id | +| :--------------------: | :-----------: | :--------: | :--------------------: | +| createNavItemExtension | targetDataRef | `DataType` | `core.nav-item.target` | -#### +#### Logo Data ```ts type DataType = { @@ -61,23 +55,23 @@ type DataType = { }; ``` -| namespace | name | type | id | -| :--------------------: | :-----------------: | :----------------------------------: | :-------------------------: | -| createNavLogoExtension | logoElementsDataRef | ComponentType> | core.nav-logo.logo-elements | +| namespace | name | type | id | +| :--------------------: | :-----------------: | :------------------------------------: | :---------------------------: | +| createNavLogoExtension | logoElementsDataRef | `ComponentType>` | `core.nav-logo.logo-elements` | -#### +### Core App Components Data -| namespace | name | type | id | -| :-----------------------: | :--------------: | :----------------------------: | :-------------------------: | -| createSignInPageExtension | componentDataRef | ComponentType | core.sign-in-page.component | +| namespace | name | type | id | +| :-----------------------: | :--------------: | :------------------------------: | :---------------------------: | +| createSignInPageExtension | componentDataRef | `ComponentType` | `core.sign-in-page.component` | -#### +### Core Theme Data -| namespace | name | type | id | -| :------------------: | :----------: | :------: | :--------------: | -| createThemeExtension | themeDataRef | AppTheme | core.theme.theme | +| namespace | name | type | id | +| :------------------: | :----------: | :--------: | :----------------: | +| createThemeExtension | themeDataRef | `AppTheme` | `core.theme.theme` | -#### +### Core Components ```ts type DataType = { @@ -86,12 +80,24 @@ type DataType = { }; ``` -| namespace | name | type | id | -| :----------------------: | :--------------: | :------: | :----------------------: | -| createComponentExtension | componentDataRef | DataType | core.component.component | +| namespace | name | type | id | +| :----------------------: | :--------------: | :--------: | :------------------------: | +| createComponentExtension | componentDataRef | `DataType` | `core.component.component` | -#### +### Core Translation -| namespace | name | type | id | -| :------------------------: | :----------------: | :----------------------------------------: | :--------------------------: | -| createTranslationExtension | translationDataRef | TranslationResource or TranslationMessages | core.translation.translation | +| namespace | name | type | id | +| :------------------------: | :----------------: | :--------------------------------------------: | :----------------------------: | +| createTranslationExtension | translationDataRef | `TranslationResource` or `TranslationMessages` | `core.translation.translation` | + +### App Root + +| namespace | name | type | id | +| :---------------------------: | :--------------: | :------------------------------------: | :----------------: | +| createAppRootWrapperExtension | componentDataRef | `ComponentType>` | `app.root.wrapper` | + +### App Router + +| namespace | name | type | id | +| :-------------------: | :--------------: | :------------------------------------: | :------------------: | +| createRouterExtension | componentDataRef | `ComponentType>` | `app.router.wrapper` | From c25c129ad1aa4677c3261b2904ae9f0d1598cd25 Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Tue, 30 Jan 2024 11:18:10 +0100 Subject: [PATCH 08/82] Update docs/frontend-system/architecture/03-extensions.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fredrik Adelöw Signed-off-by: Philipp Hugenroth --- docs/frontend-system/architecture/03-extensions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/frontend-system/architecture/03-extensions.md b/docs/frontend-system/architecture/03-extensions.md index cdee6acb2a..82375eae3b 100644 --- a/docs/frontend-system/architecture/03-extensions.md +++ b/docs/frontend-system/architecture/03-extensions.md @@ -135,7 +135,7 @@ const extension = createExtension({ We provide default `coreExtensionData`, which provides commonly used `ExtensionDataRef`s - e.g. for `React.JSX.Element` and `RouteRef`. They can be used when creating your own extension. For example, the React Element extension data that we defined above is already provided as `coreExtensionData.reactElement`. -For a full list and explanations of all types of core extension data, see the [core extension data reference](../building-plugins/04-built-in-data-refs.md). --> +For a full list and explanations of all types of core extension data, see the [core extension data reference](../building-plugins/04-built-in-data-refs.md). ### Optional Extension Data From c91b6d96c396956939f658ea57e73578ab4d11d2 Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Tue, 30 Jan 2024 11:18:33 +0100 Subject: [PATCH 09/82] Update docs/frontend-system/building-plugins/04-built-in-data-refs.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fredrik Adelöw Signed-off-by: Philipp Hugenroth --- docs/frontend-system/building-plugins/04-built-in-data-refs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index c338dddc4a..d3b1468dd0 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -12,7 +12,7 @@ To have a better understanding of extension data references please read [extensi ## Built-in extension data references -Data references help to define the input & output of an extension. A data ref is uniquely identified through there `id`. Through the data ref strong typing is enforced for the input/output of the extension. +Data references help to define the inputs and outputs of an extension. A data ref is uniquely identified through its `id`. Through the data ref, strong typing is enforced for the input/output of the extension. ### Core Extension Data From ae9bb27dbcba3a38666ded6fb93170443ee828de Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Tue, 30 Jan 2024 11:18:42 +0100 Subject: [PATCH 10/82] Update docs/frontend-system/building-plugins/04-built-in-data-refs.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fredrik Adelöw Signed-off-by: Philipp Hugenroth --- docs/frontend-system/building-plugins/04-built-in-data-refs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index d3b1468dd0..ec48b74499 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -8,7 +8,7 @@ description: Configuring or overriding built-in extension data references > **NOTE: The new frontend system is in alpha and is only supported by a small number of plugins.** -To have a better understanding of extension data references please read [extension data section the extensions architecture documentation](../architecture/03-extensions.md#extension-data) first. +To have a better understanding of extension data references please read [the corresponding architecture section](../architecture/03-extensions.md#extension-data) first. ## Built-in extension data references From 2a50cbf40558e508a8abce025e8b95f096bf11a2 Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Tue, 30 Jan 2024 20:37:18 -0600 Subject: [PATCH 11/82] Add key and values to the GkeClusterLocator.ts script and add an unit test to check if those are there Signed-off-by: armandocomellas1 --- .changeset/mighty-tomatoes-visit.md | 5 +++++ .../cluster-locator/GkeClusterLocator.test.ts | 19 +++++++++++++++++++ .../src/cluster-locator/GkeClusterLocator.ts | 7 ++++++- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .changeset/mighty-tomatoes-visit.md diff --git a/.changeset/mighty-tomatoes-visit.md b/.changeset/mighty-tomatoes-visit.md new file mode 100644 index 0000000000..08e443d932 --- /dev/null +++ b/.changeset/mighty-tomatoes-visit.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-kubernetes-backend': minor +--- + +At Line 91, in the second parameter enter a value for the property libName and libVersion to post headers to the key `x-goog-api-client` diff --git a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts index 849a7839e2..ba46e03ae2 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts @@ -18,6 +18,7 @@ import { ANNOTATION_KUBERNETES_AUTH_PROVIDER } from '@backstage/plugin-kubernete import '@backstage/backend-common'; import { ConfigReader, Config } from '@backstage/config'; import { GkeClusterLocator } from './GkeClusterLocator'; +import { Duration } from 'luxon'; const mockedListClusters = jest.fn(); @@ -485,5 +486,23 @@ describe('GkeClusterLocator', () => { }, ]); }); + it('Check if new container.v1.ClusterManagerClient has key and values as parameter', async () => { + const configs: Config = new ConfigReader({ + type: 'gke', + projectId: 'some-project', + }); + + const refreshIntervals: Duration | undefined = undefined; + const getHeaders: GkeClusterLocator = GkeClusterLocator.fromConfig( + configs, + refreshIntervals, + ); + const getKeyName = getHeaders.client._opts.hasOwnProperty(['libName']); + const getKeyVersion = getHeaders.client._opts.hasOwnProperty([ + 'libVersion', + ]); + expect(getKeyName).toBe(true); + expect(getKeyVersion).toBe(true); + }); }); }); diff --git a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts index 03f5bda103..33b9ee74b9 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts @@ -21,6 +21,7 @@ import * as container from '@google-cloud/container'; import { Duration } from 'luxon'; import { runPeriodically } from '../service/runPeriodically'; import { ClusterDetails, KubernetesClustersSupplier } from '../types/types'; +import packageinfo from '../../package.json'; interface MatchResourceLabelEntry { key: string; @@ -80,13 +81,17 @@ export class GkeClusterLocator implements KubernetesClustersSupplier { return gkeClusterLocator; } + // At Line 91, in the second parameter enter a value for the property libName and libVersion to post headers to the key 'x-goog-api-client' static fromConfig( config: Config, refreshInterval: Duration | undefined = undefined, ): GkeClusterLocator { return GkeClusterLocator.fromConfigWithClient( config, - new container.v1.ClusterManagerClient(), + new container.v1.ClusterManagerClient({ + libName: 'backstage/gke', + libVersion: packageinfo.version, + }), refreshInterval, ); } From 77b42e63c433c2ca4d1cd13611e3cec9cf90b411 Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Tue, 30 Jan 2024 20:51:12 -0600 Subject: [PATCH 12/82] Used special chars to identify some sensitive variable names by the linter errors tools Signed-off-by: armandocomellas1 --- .changeset/mighty-tomatoes-visit.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/mighty-tomatoes-visit.md b/.changeset/mighty-tomatoes-visit.md index 08e443d932..7c12a0fa00 100644 --- a/.changeset/mighty-tomatoes-visit.md +++ b/.changeset/mighty-tomatoes-visit.md @@ -2,4 +2,4 @@ '@backstage/plugin-kubernetes-backend': minor --- -At Line 91, in the second parameter enter a value for the property libName and libVersion to post headers to the key `x-goog-api-client` +At Line 91, in the second parameter enter a value for the property `libName` and `libVersion` to post headers to the key `x-goog-api-client` From 136d1666ada725ecb64de6d1370c59f64ef0da18 Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Tue, 30 Jan 2024 21:08:12 -0600 Subject: [PATCH 13/82] add an unit test to check if those are theres Signed-off-by: armandocomellas1 --- .../src/cluster-locator/GkeClusterLocator.test.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts index ba46e03ae2..6b06fd26a2 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts @@ -497,10 +497,9 @@ describe('GkeClusterLocator', () => { configs, refreshIntervals, ); - const getKeyName = getHeaders.client._opts.hasOwnProperty(['libName']); - const getKeyVersion = getHeaders.client._opts.hasOwnProperty([ - 'libVersion', - ]); + const getClientMethod = getHeaders.client._opts; + const getKeyName = getClientMethod.hasOwnProperty('libName'); + const getKeyVersion = getClientMethod.hasOwnProperty('libVersion'); expect(getKeyName).toBe(true); expect(getKeyVersion).toBe(true); }); From e749ed8aad03848cee9a8732b5de44c4fd4939ff Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Tue, 30 Jan 2024 21:25:23 -0600 Subject: [PATCH 14/82] Private fn doesnt not allow acces method, change into expect unit test Signed-off-by: armandocomellas1 --- .../src/cluster-locator/GkeClusterLocator.test.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts index 6b06fd26a2..54b90b6033 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts @@ -497,11 +497,9 @@ describe('GkeClusterLocator', () => { configs, refreshIntervals, ); - const getClientMethod = getHeaders.client._opts; - const getKeyName = getClientMethod.hasOwnProperty('libName'); - const getKeyVersion = getClientMethod.hasOwnProperty('libVersion'); - expect(getKeyName).toBe(true); - expect(getKeyVersion).toBe(true); + + expect(getHeaders.client._opts).toHaveProperty('libName'); + expect(getHeaders.client._opts).toHaveProperty('libVersion'); }); }); }); From a3df97fc4106affa90389c428c9b1aed94475a89 Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Tue, 30 Jan 2024 21:27:39 -0600 Subject: [PATCH 15/82] Private fn doesnt not allow acces method, change into expect unit test Signed-off-by: armandocomellas1 --- .../src/cluster-locator/GkeClusterLocator.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts index 54b90b6033..de77000249 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts @@ -498,8 +498,8 @@ describe('GkeClusterLocator', () => { refreshIntervals, ); - expect(getHeaders.client._opts).toHaveProperty('libName'); - expect(getHeaders.client._opts).toHaveProperty('libVersion'); + expect(getHeaders).toHaveProperty('client._opts.libName'); + expect(getHeaders).toHaveProperty('client._opts.libVersion'); }); }); }); From 31e6569ccfcace922444cfdc03948be267eefd7b Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Wed, 31 Jan 2024 16:18:25 +0100 Subject: [PATCH 16/82] Adjust to review Signed-off-by: Philipp Hugenroth --- .../building-plugins/04-built-in-data-refs.md | 106 ++++++------------ 1 file changed, 32 insertions(+), 74 deletions(-) diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index ec48b74499..b50aa44ae1 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -14,90 +14,48 @@ To have a better understanding of extension data references please read [the cor Data references help to define the inputs and outputs of an extension. A data ref is uniquely identified through its `id`. Through the data ref, strong typing is enforced for the input/output of the extension. -### Core Extension Data +### reactElement -Commonly used `ExtensionDataRef`s for extensions. +| id | type | +| :-----------------: | :-----------: | +| `core.reactElement` | `JSX.Element` | -| namespace | name | type | id | -| :-------: | :----------: | :-----------: | :-----------------: | -| - | reactElement | `JSX.Element` | `core.reactElement` | -| - | routePath | `string` | `core.routing.path` | -| - | routeRef | `RouteRef` | `core.routing.ref` | +The `reactElement` data reference can be used for defining the extension input/output of React elements. Example usage could be something linke this: -### Core API Data +```tsx +import { + coreExtensionData, + createExtensionInput, + createPageExtension, +} from '@backstage/frontend-plugin-api'; -| namespace | name | type | id | -| :----------------: | :------------: | :-------------: | :----------------: | -| createApiExtension | factoryDataRef | `AnyApiFactory` | `core.api.factory` | - -### Core Navigation - -#### Item Data - -```ts -type DataType = { - title: string; - icon: IconComponent; - routeRef: RouteRef; -}; +const homePage = createPageExtension({ + defaultPath: '/home', + routeRef: rootRouteRef, + inputs: { + props: createExtensionInput({ + children: coreExtensionData.reactElement.optional(), + }), + }, +}); ``` -| namespace | name | type | id | -| :--------------------: | :-----------: | :--------: | :--------------------: | -| createNavItemExtension | targetDataRef | `DataType` | `core.nav-item.target` | +### routePath -#### Logo Data +| id | type | +| :-----------------: | :------: | +| `core.routing.path` | `string` | -```ts -type DataType = { - logoIcon?: JSX.Element; - logoFull?: JSX.Element; -}; -``` +The `routePath` data reference can be used for defining the extension input/output of string paths. -| namespace | name | type | id | -| :--------------------: | :-----------------: | :------------------------------------: | :---------------------------: | -| createNavLogoExtension | logoElementsDataRef | `ComponentType>` | `core.nav-logo.logo-elements` | +### routeRef -### Core App Components Data +| id | type | +| :----------------: | :--------: | +| `core.routing.ref` | `RouteRef` | -| namespace | name | type | id | -| :-----------------------: | :--------------: | :------------------------------: | :---------------------------: | -| createSignInPageExtension | componentDataRef | `ComponentType` | `core.sign-in-page.component` | +The `routeRef` data reference can be used for defining the extension input/output of route references. -### Core Theme Data +### Other data references -| namespace | name | type | id | -| :------------------: | :----------: | :--------: | :----------------: | -| createThemeExtension | themeDataRef | `AppTheme` | `core.theme.theme` | - -### Core Components - -```ts -type DataType = { - ref: ComponentRef; - impl: ComponentType; -}; -``` - -| namespace | name | type | id | -| :----------------------: | :--------------: | :--------: | :------------------------: | -| createComponentExtension | componentDataRef | `DataType` | `core.component.component` | - -### Core Translation - -| namespace | name | type | id | -| :------------------------: | :----------------: | :--------------------------------------------: | :----------------------------: | -| createTranslationExtension | translationDataRef | `TranslationResource` or `TranslationMessages` | `core.translation.translation` | - -### App Root - -| namespace | name | type | id | -| :---------------------------: | :--------------: | :------------------------------------: | :----------------: | -| createAppRootWrapperExtension | componentDataRef | `ComponentType>` | `app.root.wrapper` | - -### App Router - -| namespace | name | type | id | -| :-------------------: | :--------------: | :------------------------------------: | :------------------: | -| createRouterExtension | componentDataRef | `ComponentType>` | `app.router.wrapper` | +There are other data refs in the frontend system you might stumble upon while building your plugin. Most of them were created for use cases inside the core of the system, but they can be used also in your plugin. From 5689fc38c56bfa008522a1fc93421214ebc90ace Mon Sep 17 00:00:00 2001 From: Philipp Hugenroth Date: Wed, 31 Jan 2024 16:22:18 +0100 Subject: [PATCH 17/82] Vale Signed-off-by: Philipp Hugenroth --- .github/vale/config/vocabularies/Backstage/accept.txt | 3 +++ docs/frontend-system/building-plugins/04-built-in-data-refs.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/vale/config/vocabularies/Backstage/accept.txt b/.github/vale/config/vocabularies/Backstage/accept.txt index 940e855828..aa21c61ae5 100644 --- a/.github/vale/config/vocabularies/Backstage/accept.txt +++ b/.github/vale/config/vocabularies/Backstage/accept.txt @@ -305,6 +305,7 @@ Pulumi pygments pymdownx rankdir +reactElement readme Readme readonly @@ -330,6 +331,8 @@ Rollbar Rollup routable Routable +routePath +routeRef Rspack rst rsync diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index b50aa44ae1..57d580fa8a 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -20,7 +20,7 @@ Data references help to define the inputs and outputs of an extension. A data re | :-----------------: | :-----------: | | `core.reactElement` | `JSX.Element` | -The `reactElement` data reference can be used for defining the extension input/output of React elements. Example usage could be something linke this: +The `reactElement` data reference can be used for defining the extension input/output of React elements. Example usage could be something like this: ```tsx import { From 4841d6db89c6678b44f730109512b10294a1596e Mon Sep 17 00:00:00 2001 From: Alex <52247724+Elya29@users.noreply.github.com> Date: Fri, 2 Feb 2024 14:19:22 +0100 Subject: [PATCH 18/82] Update writing.md apply suggestions Signed-off-by: Alex <52247724+Elya29@users.noreply.github.com> --- docs/conf/writing.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/conf/writing.md b/docs/conf/writing.md index b5515f8618..e0eb72f828 100644 --- a/docs/conf/writing.md +++ b/docs/conf/writing.md @@ -218,7 +218,10 @@ webhookUrl: https://smee.io/foo clientId: someGithubAppClientId clientSecret: someGithubAppClientSecret webhookSecret: someWebhookSecret -privateKey: someSecretRsaPrivateKey +privateKey: | + -----BEGIN RSA PRIVATE KEY----- + SomeRsaPrivateKeySecurelyStored + -----END RSA PRIVATE KEY----- ``` -**Warning: RSA private keys should not be hard coded**. We recommend that this entire file should be a secret and stored as such in a secure storage solution like Vault, to ensure they are neither exposed nor misused. +**Warning: Sensitive information, such as private keys, should not be hard coded**. We recommend that this entire file should be a secret and stored as such in a secure storage solution like Vault, to ensure they are neither exposed nor misused. This example key part only shows the format on how to use the yaml | syntax to make sure that the key is valid. From e6f083179d669aa9b9626f4db9905e57edd5a253 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:18:25 +0000 Subject: [PATCH 19/82] fix(deps): update rjsf monorepo to v5.17.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .changeset/renovate-2d87790.md | 11 +++++ plugins/home-react/package.json | 2 +- plugins/home/package.json | 8 ++-- plugins/scaffolder-react/package.json | 8 ++-- plugins/scaffolder/package.json | 8 ++-- yarn.lock | 68 +++++++++++++-------------- 6 files changed, 58 insertions(+), 47 deletions(-) create mode 100644 .changeset/renovate-2d87790.md diff --git a/.changeset/renovate-2d87790.md b/.changeset/renovate-2d87790.md new file mode 100644 index 0000000000..5230172e2b --- /dev/null +++ b/.changeset/renovate-2d87790.md @@ -0,0 +1,11 @@ +--- +'@backstage/plugin-home-react': patch +'@backstage/plugin-home': patch +'@backstage/plugin-scaffolder-react': patch +'@backstage/plugin-scaffolder': patch +--- + +Updated dependency `@rjsf/utils` to `5.17.0`. +Updated dependency `@rjsf/core` to `5.17.0`. +Updated dependency `@rjsf/material-ui` to `5.17.0`. +Updated dependency `@rjsf/validator-ajv8` to `5.17.0`. diff --git a/plugins/home-react/package.json b/plugins/home-react/package.json index dcaed77089..f6e6898999 100644 --- a/plugins/home-react/package.json +++ b/plugins/home-react/package.json @@ -38,7 +38,7 @@ "@backstage/core-plugin-api": "workspace:^", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", - "@rjsf/utils": "5.16.1", + "@rjsf/utils": "5.17.0", "@types/react": "^16.13.1 || ^17.0.0" }, "peerDependencies": { diff --git a/plugins/home/package.json b/plugins/home/package.json index ae314c2e9d..92dd70dffd 100644 --- a/plugins/home/package.json +++ b/plugins/home/package.json @@ -62,10 +62,10 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", - "@rjsf/core": "5.16.1", - "@rjsf/material-ui": "5.16.1", - "@rjsf/utils": "5.16.1", - "@rjsf/validator-ajv8": "5.16.1", + "@rjsf/core": "5.17.0", + "@rjsf/material-ui": "5.17.0", + "@rjsf/utils": "5.17.0", + "@rjsf/validator-ajv8": "5.17.0", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "lodash": "^4.17.21", "luxon": "^3.4.3", diff --git a/plugins/scaffolder-react/package.json b/plugins/scaffolder-react/package.json index 21b3045d87..9852d019f2 100644 --- a/plugins/scaffolder-react/package.json +++ b/plugins/scaffolder-react/package.json @@ -59,10 +59,10 @@ "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", "@react-hookz/web": "^23.0.0", - "@rjsf/core": "5.16.1", - "@rjsf/material-ui": "5.16.1", - "@rjsf/utils": "5.16.1", - "@rjsf/validator-ajv8": "5.16.1", + "@rjsf/core": "5.17.0", + "@rjsf/material-ui": "5.17.0", + "@rjsf/utils": "5.17.0", + "@rjsf/validator-ajv8": "5.17.0", "@types/json-schema": "^7.0.9", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "classnames": "^2.2.6", diff --git a/plugins/scaffolder/package.json b/plugins/scaffolder/package.json index 4faa2d9198..1c8eecf2da 100644 --- a/plugins/scaffolder/package.json +++ b/plugins/scaffolder/package.json @@ -68,10 +68,10 @@ "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", "@react-hookz/web": "^23.0.0", - "@rjsf/core": "5.16.1", - "@rjsf/material-ui": "5.16.1", - "@rjsf/utils": "5.16.1", - "@rjsf/validator-ajv8": "5.16.1", + "@rjsf/core": "5.17.0", + "@rjsf/material-ui": "5.17.0", + "@rjsf/utils": "5.17.0", + "@rjsf/validator-ajv8": "5.17.0", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "@uiw/react-codemirror": "^4.9.3", "classnames": "^2.2.6", diff --git a/yarn.lock b/yarn.lock index dfc7a5c6e0..f09643652c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7129,7 +7129,7 @@ __metadata: "@backstage/core-plugin-api": "workspace:^" "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 - "@rjsf/utils": 5.16.1 + "@rjsf/utils": 5.17.0 "@types/react": ^16.13.1 || ^17.0.0 "@types/react-grid-layout": ^1.3.2 peerDependencies: @@ -7160,10 +7160,10 @@ __metadata: "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 - "@rjsf/core": 5.16.1 - "@rjsf/material-ui": 5.16.1 - "@rjsf/utils": 5.16.1 - "@rjsf/validator-ajv8": 5.16.1 + "@rjsf/core": 5.17.0 + "@rjsf/material-ui": 5.17.0 + "@rjsf/utils": 5.17.0 + "@rjsf/validator-ajv8": 5.17.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -8580,10 +8580,10 @@ __metadata: "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 "@react-hookz/web": ^23.0.0 - "@rjsf/core": 5.16.1 - "@rjsf/material-ui": 5.16.1 - "@rjsf/utils": 5.16.1 - "@rjsf/validator-ajv8": 5.16.1 + "@rjsf/core": 5.17.0 + "@rjsf/material-ui": 5.17.0 + "@rjsf/utils": 5.17.0 + "@rjsf/validator-ajv8": 5.17.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -8644,10 +8644,10 @@ __metadata: "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 "@react-hookz/web": ^23.0.0 - "@rjsf/core": 5.16.1 - "@rjsf/material-ui": 5.16.1 - "@rjsf/utils": 5.16.1 - "@rjsf/validator-ajv8": 5.16.1 + "@rjsf/core": 5.17.0 + "@rjsf/material-ui": 5.17.0 + "@rjsf/utils": 5.17.0 + "@rjsf/validator-ajv8": 5.17.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -15271,32 +15271,32 @@ __metadata: languageName: node linkType: hard -"@rjsf/core@npm:5.16.1": - version: 5.16.1 - resolution: "@rjsf/core@npm:5.16.1" +"@rjsf/core@npm:5.17.0": + version: 5.17.0 + resolution: "@rjsf/core@npm:5.17.0" dependencies: lodash: ^4.17.21 lodash-es: ^4.17.21 - markdown-to-jsx: ^7.4.0 + markdown-to-jsx: ^7.4.1 nanoid: ^3.3.7 prop-types: ^15.8.1 peerDependencies: "@rjsf/utils": ^5.16.x react: ^16.14.0 || >=17 - checksum: 2f88dc6af9dda8ec5c8cbac63f3f9e776a11fe363ce938aa7b5c7a3baaa84a7a2f3796ebf55b361a8cb65267a1715ab880a4743636fb88e06b0240d07f0e4c7b + checksum: adfcbd1d44cef5f9e5de2873096085abd03b146dcef2c9c226060341ce2c935b5399e4ad5f00ad5091394224f5859bd6ac9bac533537dc5c8e2edb16b52b67cf languageName: node linkType: hard -"@rjsf/material-ui@npm:5.16.1": - version: 5.16.1 - resolution: "@rjsf/material-ui@npm:5.16.1" +"@rjsf/material-ui@npm:5.17.0": + version: 5.17.0 + resolution: "@rjsf/material-ui@npm:5.17.0" peerDependencies: "@material-ui/core": ^4.12.3 "@material-ui/icons": ^4.11.2 "@rjsf/core": ^5.16.x "@rjsf/utils": ^5.16.x react: ^16.14.0 || >=17 - checksum: ca237b699d74246622f4a29078674bfbf9c8238adec7fda6a5062e064d11c6f15c6dba117daa21fe3ac778fa2e884fb2366b5c5bb5e9490f91f9b611f7f010fe + checksum: c56fb145042cd1af7c6f0e149f4c7e61a9c4b9cf9e6dce40cd4f691da569e7d14ca1b922a0f54aafd6ae6900772cdccbdf3719ea83a0be2d0cc3a5f0486939f3 languageName: node linkType: hard @@ -15315,9 +15315,9 @@ __metadata: languageName: node linkType: hard -"@rjsf/utils@npm:5.16.1": - version: 5.16.1 - resolution: "@rjsf/utils@npm:5.16.1" +"@rjsf/utils@npm:5.17.0": + version: 5.17.0 + resolution: "@rjsf/utils@npm:5.17.0" dependencies: json-schema-merge-allof: ^0.8.1 jsonpointer: ^5.0.1 @@ -15326,13 +15326,13 @@ __metadata: react-is: ^18.2.0 peerDependencies: react: ^16.14.0 || >=17 - checksum: 0c69527de4ab6f9d6ec4d1a5e05a31a0a38062d40abe2a2da7bc2324b20b08b0e90c188977ac4408f3b004c758c28097444746f3215e21e184c11cad7e9278c1 + checksum: 01d0001f83083764a8552e009aa7df084621df9d1fc6ccdfad9d534513084421b1ad7494cab77b9b8205d680fd915f612d87800e20ab242e7066f33184c73d4f languageName: node linkType: hard -"@rjsf/validator-ajv8@npm:5.16.1": - version: 5.16.1 - resolution: "@rjsf/validator-ajv8@npm:5.16.1" +"@rjsf/validator-ajv8@npm:5.17.0": + version: 5.17.0 + resolution: "@rjsf/validator-ajv8@npm:5.17.0" dependencies: ajv: ^8.12.0 ajv-formats: ^2.1.1 @@ -15340,7 +15340,7 @@ __metadata: lodash-es: ^4.17.21 peerDependencies: "@rjsf/utils": ^5.16.x - checksum: ab26fc02ad86c7ff36e69aa1285b43a67aa65b2a47e3741a67c243131f74848e55f7215a20416c1a636703aa7f95af7d4270eda9818253f7ea2b3c5f86a26980 + checksum: c6e20e04b33e5b37e55a3d378add22c36970c9c92b6d692003acc5cfaff10282ead6ff775b1fa152ead66e451bc3f0cc518730c6f0ed68a7ecfbcd4098d59f32 languageName: node linkType: hard @@ -33770,12 +33770,12 @@ __metadata: languageName: node linkType: hard -"markdown-to-jsx@npm:^7.4.0": - version: 7.4.0 - resolution: "markdown-to-jsx@npm:7.4.0" +"markdown-to-jsx@npm:^7.4.1": + version: 7.4.1 + resolution: "markdown-to-jsx@npm:7.4.1" peerDependencies: react: ">= 0.14.0" - checksum: 59959d14d7927ed8a97e42d39771e2b445b90fa098477fb6ab040f044d230517dc4a95ba38a4f924cfc965a96b32211d93def150a6184f0e51d2cefdc8cb415d + checksum: 2888cb2389cb810ab35454a59d0623474a60a78e28f281ae0081f87053f6c59b033232a2cd269cc383a5edcaa1eab8ca4b3cf639fe4e1aa3fb418648d14bcc7d languageName: node linkType: hard From 3aed9d50cbbfe81a553782a65e3ebee80e28ff81 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 15:40:13 +0000 Subject: [PATCH 20/82] fix(deps): update react-router monorepo to v6.22.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/yarn.lock b/yarn.lock index dfc7a5c6e0..a4128cf352 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15250,10 +15250,10 @@ __metadata: languageName: node linkType: hard -"@remix-run/router@npm:1.14.2": - version: 1.14.2 - resolution: "@remix-run/router@npm:1.14.2" - checksum: 8be55596f64563de95dea04c147ab67c4e6c9b72277c92d4de257dbb326e2aa16ad2adbdec32eb2c985808c642933ac895220654b8c899e4f4bd38f9fd97ff6e +"@remix-run/router@npm:1.15.0": + version: 1.15.0 + resolution: "@remix-run/router@npm:1.15.0" + checksum: 0b5ea6b2e7bb7f3266005e033337a6fed29c458aa5ddc9a97a90ff19813ae6dfb4392871722d66d7e8db93a29760a8257830a9af58824b3a3363ed58e1e471d8 languageName: node linkType: hard @@ -39119,15 +39119,15 @@ __metadata: linkType: hard "react-router-dom@npm:^6.3.0": - version: 6.21.3 - resolution: "react-router-dom@npm:6.21.3" + version: 6.22.0 + resolution: "react-router-dom@npm:6.22.0" dependencies: - "@remix-run/router": 1.14.2 - react-router: 6.21.3 + "@remix-run/router": 1.15.0 + react-router: 6.22.0 peerDependencies: react: ">=16.8" react-dom: ">=16.8" - checksum: bcf668aa1428ca3048d7675f1ae3fe983c8792357a0ed59a1414cb1d682227727aad7c44c4222c6774b8d01bf352478845f7f3f668ebfcaa177208ef64e10bdc + checksum: 21cbdda0070dffb50845a97e2688648a9925c7ebabd1f9335523a1f8ae66048c1d9d06442f1b0ec35a266d1c63ed3b56b437db70807f73440a185f3e2d3c632f languageName: node linkType: hard @@ -39142,14 +39142,14 @@ __metadata: languageName: node linkType: hard -"react-router@npm:6.21.3, react-router@npm:^6.3.0": - version: 6.21.3 - resolution: "react-router@npm:6.21.3" +"react-router@npm:6.22.0, react-router@npm:^6.3.0": + version: 6.22.0 + resolution: "react-router@npm:6.22.0" dependencies: - "@remix-run/router": 1.14.2 + "@remix-run/router": 1.15.0 peerDependencies: react: ">=16.8" - checksum: 7e6297d5b67ae07d2e8564e036dbb15ebd706b41c22238940f47eee9b21ffb76d41336803c3b33435f1ebe210226577e32df3838bcbf2cd7c813fa357c0a4fac + checksum: 94f382f3fa6fcb8525c143d83d4c3a3b010979f417cac0bbe7a63f906b3809e2bb56e8c329b9b3fd3212a498670ab278aea72893e921b827dcf00024c3d115dd languageName: node linkType: hard From d5fec3e43d034d09129c4ded5bed95368f6c6e99 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 4 Feb 2024 18:25:24 +0000 Subject: [PATCH 21/82] chore(deps): update peter-evans/create-or-update-comment action to v4 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/uffizzi-preview.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/uffizzi-preview.yaml b/.github/workflows/uffizzi-preview.yaml index dc23ad4bf7..d898209e56 100644 --- a/.github/workflows/uffizzi-preview.yaml +++ b/.github/workflows/uffizzi-preview.yaml @@ -117,7 +117,7 @@ jobs: # Create/Update comment with action deployment status - name: Create or Update Comment with Deployment Notification id: notification - uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3 + uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4 with: comment-id: ${{ steps.find-comment.outputs.comment-id }} issue-number: ${{ needs.cache-manifests-file.outputs.pr-number }} @@ -165,7 +165,7 @@ jobs: echo "Access the \`backstage\` endpoint at [\`${BACKSTAGE_HOST}\`](http://${BACKSTAGE_HOST})" >> $GITHUB_STEP_SUMMARY - name: Create or Update Comment with Deployment URL - uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3 + uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4 with: comment-id: ${{ steps.notification.outputs.comment-id }} issue-number: ${{ github.event.pull_request.number }} @@ -229,7 +229,7 @@ jobs: direction: last - name: Update Comment with Deletion - uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # v3 + uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4 with: comment-id: ${{ steps.find-comment.outputs.comment-id }} issue-number: ${{ needs.cache-manifests-file.outputs.pr-number }} From b9b14a7fd951dd193f83c4cdea0dcfd915aebf2f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 09:51:31 +0000 Subject: [PATCH 22/82] chore(deps): update dependency @types/react to v18.2.54 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 5f84cbbc51..85704fcb56 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19185,13 +19185,13 @@ __metadata: linkType: hard "@types/react@npm:^18": - version: 18.2.52 - resolution: "@types/react@npm:18.2.52" + version: 18.2.55 + resolution: "@types/react@npm:18.2.55" dependencies: "@types/prop-types": "*" "@types/scheduler": "*" csstype: ^3.0.2 - checksum: 4abc9bd63879e57c3df43a9cacff54c079e21b61ef934d33801e0177c26f582aa7d1d88a0769a740a4fd273168e3b150ff61de23e0fa85d1070e82ddce2b7fd2 + checksum: a8eb4fa77f73831b9112d4f11a7006217dc0740361649b9b0da3fd441d151a9cd415d5d68b91c0af4e430e063424d301c77489e5edaddc9f711c4e46cf9818a5 languageName: node linkType: hard From 31578f4ff29387685127cc0033d37c735d7606b3 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 10:34:21 +0000 Subject: [PATCH 23/82] chore(deps): update dependency lint-staged to v15.2.2 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 868817d2e8..eac8a9270a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32991,8 +32991,8 @@ __metadata: linkType: hard "lint-staged@npm:^15.0.0": - version: 15.2.1 - resolution: "lint-staged@npm:15.2.1" + version: 15.2.2 + resolution: "lint-staged@npm:15.2.2" dependencies: chalk: 5.3.0 commander: 11.1.0 @@ -33006,7 +33006,7 @@ __metadata: yaml: 2.3.4 bin: lint-staged: bin/lint-staged.js - checksum: d2b0361b311cb3384e58a5d4bfd5d34e6ff6ad41e5ea5dcc87c65379ea6e280c84f0a037df147355963dcf4d3dc1487795e3132c38e1bc5511b25889f405e189 + checksum: 031718ad3f839475fb1d41bda34bab4330f25814175808169daa2686ff026e5a667a25c95fdf3cd46dac72f9af2c98852565bb62d920992f5e2d3f730c279760 languageName: node linkType: hard From 5a03537806d2b4311d5c829c09082e97038b928e Mon Sep 17 00:00:00 2001 From: AmbrishRamachandiran Date: Tue, 6 Feb 2024 16:11:17 +0530 Subject: [PATCH 24/82] Render playlist description based on condition Signed-off-by: AmbrishRamachandiran --- .changeset/ninety-hats-kiss.md | 5 +++++ .../playlist/src/components/PlaylistCard/PlaylistCard.tsx | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/ninety-hats-kiss.md diff --git a/.changeset/ninety-hats-kiss.md b/.changeset/ninety-hats-kiss.md new file mode 100644 index 0000000000..b4e544561f --- /dev/null +++ b/.changeset/ninety-hats-kiss.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-playlist': patch +--- + +Render playlist description based on condition diff --git a/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx b/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx index 1408607133..8b52bcc1de 100644 --- a/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx +++ b/plugins/playlist/src/components/PlaylistCard/PlaylistCard.tsx @@ -106,7 +106,9 @@ export const PlaylistCard = ({ playlist }: PlaylistCardProps) => { Description - + {playlist.description && ( + + )} From 2452b05afa888a5bc62a885f4ca9b91467ad90c5 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 11:10:26 +0000 Subject: [PATCH 25/82] fix(deps): update dependency react-hook-form to v7.50.1 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 2220b18fef..cd05912e4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -38877,11 +38877,11 @@ __metadata: linkType: hard "react-hook-form@npm:^7.12.2, react-hook-form@npm:^7.13.0": - version: 7.49.3 - resolution: "react-hook-form@npm:7.49.3" + version: 7.50.1 + resolution: "react-hook-form@npm:7.50.1" peerDependencies: react: ^16.8.0 || ^17 || ^18 - checksum: 9769845e2749f5c9d1d033be3819bc572ffa67f19ec2e567c61a58d0d060107facdf8425aab253c2e667c00853b7706a50bd6739fca6228c284c9313420ca26f + checksum: 40dcb64d2ff631f6da76db2c5788957da3429f07649a6f3aed76545c616fae8eee557a6b06d0d0842be1f80ac8244f44d87f4d8d83fddabec76d7ab9921f8781 languageName: node linkType: hard From 274ca789da23c2759478f6a0ba22e586f1f5d1f6 Mon Sep 17 00:00:00 2001 From: Gustaf Lundh Date: Tue, 6 Feb 2024 12:46:14 +0100 Subject: [PATCH 26/82] Add statuspage.io plugin to plugin directory Signed-off-by: Gustaf Lundh --- microsite/data/plugins/statuspage.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 microsite/data/plugins/statuspage.yaml diff --git a/microsite/data/plugins/statuspage.yaml b/microsite/data/plugins/statuspage.yaml new file mode 100644 index 0000000000..7f5658283c --- /dev/null +++ b/microsite/data/plugins/statuspage.yaml @@ -0,0 +1,10 @@ +--- +title: Statuspage.io Plugin +author: AxisCommunications +authorUrl: https://github.com/AxisCommunications +category: Monitoring +description: The Statuspage plugin allows you to embedd https://statuspage.io components, component groups and dashboards in Backstage. +documentation: https://github.com/AxisCommunications/backstage-plugins/blob/main/plugins/statuspage/README.md +iconUrl: https://raw.githubusercontent.com/AxisCommunications/backstage-plugins/main/plugins/statuspage/media/logo.png +npmPackageName: "@axis-backstage/plugin-statuspage" +addedDate: "2024-02-06" From 9b2eb3ff92483e3a9b79f58c6a1f47c1511f2b5e Mon Sep 17 00:00:00 2001 From: Patrick Jungermann Date: Fri, 12 Jan 2024 14:24:42 +0100 Subject: [PATCH 27/82] feat(catalog): support `onProcessingError` handler at the catalog plugin Add the missing support for the `onProcessingError` handler at the catalog plugin of the new backend system using the `CatalogProcessingExtensionPoint`. Related-to: #18301 Signed-off-by: Patrick Jungermann --- .changeset/twelve-shirts-buy.md | 15 ++++++++++++ .../src/service/CatalogPlugin.ts | 23 +++++++++++++++++++ plugins/catalog-node/api-report-alpha.md | 7 ++++++ plugins/catalog-node/src/extensions.ts | 6 +++++ 4 files changed, 51 insertions(+) create mode 100644 .changeset/twelve-shirts-buy.md diff --git a/.changeset/twelve-shirts-buy.md b/.changeset/twelve-shirts-buy.md new file mode 100644 index 0000000000..6183c7dabd --- /dev/null +++ b/.changeset/twelve-shirts-buy.md @@ -0,0 +1,15 @@ +--- +'@backstage/plugin-catalog-backend': patch +'@backstage/plugin-catalog-node': patch +--- + +Add support for `onProcessingError` handler at the catalog plugin (new backend system). + +You can use `setOnProcessingErrorHandler` at the `catalogProcessingExtensionPoint` +as replacement for + +```ts +catalogBuilder.subscribe({ + onProcessingError: hander, +}); +``` diff --git a/plugins/catalog-backend/src/service/CatalogPlugin.ts b/plugins/catalog-backend/src/service/CatalogPlugin.ts index 0800d41340..538fe4a69e 100644 --- a/plugins/catalog-backend/src/service/CatalogPlugin.ts +++ b/plugins/catalog-backend/src/service/CatalogPlugin.ts @@ -17,6 +17,7 @@ import { createBackendPlugin, coreServices, } from '@backstage/backend-plugin-api'; +import { Entity } from '@backstage/catalog-model'; import { CatalogBuilder, CatalogPermissionRuleInput } from './CatalogBuilder'; import { CatalogAnalysisExtensionPoint, @@ -40,6 +41,10 @@ class CatalogProcessingExtensionPointImpl #processors = new Array(); #entityProviders = new Array(); #placeholderResolvers: Record = {}; + #onProcessingErrorHandler?: (event: { + unprocessedEntity: Entity; + errors: Error[]; + }) => Promise | void; addProcessor( ...processors: Array> @@ -61,6 +66,15 @@ class CatalogProcessingExtensionPointImpl this.#placeholderResolvers[key] = resolver; } + setOnProcessingErrorHandler( + handler: (event: { + unprocessedEntity: Entity; + errors: Error[]; + }) => Promise | void, + ) { + this.#onProcessingErrorHandler = handler; + } + get processors() { return this.#processors; } @@ -72,6 +86,10 @@ class CatalogProcessingExtensionPointImpl get placeholderResolvers() { return this.#placeholderResolvers; } + + get onProcessingErrorHandler() { + return this.#onProcessingErrorHandler; + } } class CatalogAnalysisExtensionPointImpl @@ -162,6 +180,11 @@ export const catalogPlugin = createBackendPlugin({ scheduler, logger: winstonLogger, }); + if (processingExtensions.onProcessingErrorHandler) { + builder.subscribe({ + onProcessingError: processingExtensions.onProcessingErrorHandler, + }); + } builder.addProcessor(...processingExtensions.processors); builder.addEntityProvider(...processingExtensions.entityProviders); Object.entries(processingExtensions.placeholderResolvers).forEach( diff --git a/plugins/catalog-node/api-report-alpha.md b/plugins/catalog-node/api-report-alpha.md index 74339b1bc9..5be4b114c0 100644 --- a/plugins/catalog-node/api-report-alpha.md +++ b/plugins/catalog-node/api-report-alpha.md @@ -54,6 +54,13 @@ export interface CatalogProcessingExtensionPoint { addProcessor( ...processors: Array> ): void; + // (undocumented) + setOnProcessingErrorHandler( + handler: (event: { + unprocessedEntity: Entity; + errors: Error[]; + }) => Promise | void, + ): void; } // @alpha (undocumented) diff --git a/plugins/catalog-node/src/extensions.ts b/plugins/catalog-node/src/extensions.ts index 7aa9264030..e2ee1b4f4b 100644 --- a/plugins/catalog-node/src/extensions.ts +++ b/plugins/catalog-node/src/extensions.ts @@ -37,6 +37,12 @@ export interface CatalogProcessingExtensionPoint { ...providers: Array> ): void; addPlaceholderResolver(key: string, resolver: PlaceholderResolver): void; + setOnProcessingErrorHandler( + handler: (event: { + unprocessedEntity: Entity; + errors: Error[]; + }) => Promise | void, + ): void; } /** From 0ac493ce841da5f34ecd94cd878cd95be0be54bf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:11:34 +0000 Subject: [PATCH 28/82] chore(deps): update dependency sloc to v0.3.2 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 623b1410a4..2c93a18445 100644 --- a/yarn.lock +++ b/yarn.lock @@ -41394,8 +41394,8 @@ __metadata: linkType: hard "sloc@npm:^0.3.1": - version: 0.3.1 - resolution: "sloc@npm:0.3.1" + version: 0.3.2 + resolution: "sloc@npm:0.3.2" dependencies: async: ^3.2.4 cli-table: ^0.3.11 @@ -41403,7 +41403,7 @@ __metadata: readdirp: ^3.3.0 bin: sloc: bin/sloc - checksum: 3075150912b4fbb90167c446b155fcfffa20351245d7ae2a7139b2c3ba5dd9fd01fe97fc11a917d5f6a66778c3a9ab4c6ceff0bcd234338f38942fb7238ab927 + checksum: ea3b0a0c5383086d5210f9a9be5df5cbd8aa0a5f6a1902ba776e9faf9bb816092929f5eb4c88c5cd3961700da4229e55eee5b3bc291892159dd947e3e838e0aa languageName: node linkType: hard From ed0c1644448df822ab25d14e814c4afcf1cdcc5c Mon Sep 17 00:00:00 2001 From: AmbrishRamachandiran Date: Tue, 6 Feb 2024 20:09:29 +0530 Subject: [PATCH 29/82] Changes added to changeset Signed-off-by: AmbrishRamachandiran --- .changeset/ninety-hats-kiss.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/ninety-hats-kiss.md b/.changeset/ninety-hats-kiss.md index b4e544561f..ff5ec770f7 100644 --- a/.changeset/ninety-hats-kiss.md +++ b/.changeset/ninety-hats-kiss.md @@ -2,4 +2,4 @@ '@backstage/plugin-playlist': patch --- -Render playlist description based on condition +Conditionally render playlist description only when it's non-empty From a86fc0d3e88601d4000c930c6e5281aeb25b9d5f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 16:39:58 +0000 Subject: [PATCH 30/82] chore(deps): update dependency msw to v2.1.7 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/yarn.lock b/yarn.lock index 93ebfa68aa..18878c2309 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13332,9 +13332,9 @@ __metadata: languageName: node linkType: hard -"@mswjs/interceptors@npm:^0.25.15": - version: 0.25.15 - resolution: "@mswjs/interceptors@npm:0.25.15" +"@mswjs/interceptors@npm:^0.25.16": + version: 0.25.16 + resolution: "@mswjs/interceptors@npm:0.25.16" dependencies: "@open-draft/deferred-promise": ^2.2.0 "@open-draft/logger": ^0.3.0 @@ -13342,7 +13342,7 @@ __metadata: is-node-process: ^1.2.0 outvariant: ^1.2.1 strict-event-emitter: ^0.5.1 - checksum: dbe43f2df398bbe48ee5ea4ecf055144c9c5689218e5955b01378ea084044dab992d1b434d3533e75df044030a976402e53ec65d743c2619e024defd75ffc076 + checksum: 862eb02be5f7606c643793b66b50b75e6a00784c4c6fcca3db7a52391f01a557f404d178493e716b9190412317a5fa7177abb33bfa4be576a08be4ba4e765575 languageName: node linkType: hard @@ -35288,13 +35288,13 @@ __metadata: linkType: hard "msw@npm:^2.0.0, msw@npm:^2.0.8": - version: 2.1.5 - resolution: "msw@npm:2.1.5" + version: 2.1.7 + resolution: "msw@npm:2.1.7" dependencies: "@bundled-es-modules/cookie": ^2.0.0 "@bundled-es-modules/statuses": ^1.0.1 "@mswjs/cookies": ^1.1.0 - "@mswjs/interceptors": ^0.25.15 + "@mswjs/interceptors": ^0.25.16 "@open-draft/until": ^2.1.0 "@types/cookie": ^0.6.0 "@types/statuses": ^2.0.4 @@ -35316,7 +35316,7 @@ __metadata: optional: true bin: msw: cli/index.js - checksum: 19a54a25baa584d1bafa219e1c2245073688eeed6ea5330f27c868a2f279390ee4fbd8a13d64cf0a056149d7e2faa300f901959bab8854e010f29368524d7c4f + checksum: 5a6e35433fb734f6e14c9e2446ea966c24777eae36adc6533af9a2f11837bbbd476401e9cbddad3cfec46c7712b89653549d62dc86c47df6aea163021a013314 languageName: node linkType: hard From 6f638c75d74292d4b40135da5333ba62b1df7e5e Mon Sep 17 00:00:00 2001 From: Waldir Montoya Date: Tue, 6 Feb 2024 12:40:42 -0500 Subject: [PATCH 31/82] update tanzu logo Signed-off-by: Waldir Montoya --- microsite/src/pages/community/index.tsx | 4 ++-- .../static/img/partner-logo-tanzubybroadcom.png | Bin 0 -> 26207 bytes microsite/static/img/partner-logo-vmware.png | Bin 6573 -> 0 bytes 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 microsite/static/img/partner-logo-tanzubybroadcom.png delete mode 100644 microsite/static/img/partner-logo-vmware.png diff --git a/microsite/src/pages/community/index.tsx b/microsite/src/pages/community/index.tsx index 82dd69d1a0..b744911278 100644 --- a/microsite/src/pages/community/index.tsx +++ b/microsite/src/pages/community/index.tsx @@ -122,8 +122,8 @@ const Community = () => { }, { name: 'VMWare', - url: 'https://www.vmware.com', - logo: 'img/partner-logo-vmware.png', + url: 'https://tanzu.vmware.com/', + logo: 'img/partner-logo-tanzubybroadcom.png', }, ]; //#endregion diff --git a/microsite/static/img/partner-logo-tanzubybroadcom.png b/microsite/static/img/partner-logo-tanzubybroadcom.png new file mode 100644 index 0000000000000000000000000000000000000000..0bd5586203f274253b9b5802ee6ce9aa52c3fdb3 GIT binary patch literal 26207 zcmeFYWmJ?=*D!nyosxpm!VuChbT>nHNIJwI-6b_DrAQ4RA|)asA|Q@PhbZ7kN=gkN zB_W+s--Y-6+|T{2?_J-wp0(ch$Gg@uE_LR*&e><5eRl7C9vT~JQ<5=}0RTX$1J^JG z0K6vf`yUb_@LzRkCNucom%HZHL8gdM4!;0jq`Q|ZM^Lz*D~D^CI}!lGCcKSpX+Lw2 zoF39E-d9lDl7WiBnpIOB&GX8Ya z;vHW@x)sU`hFhabbvID}0Eu;1S2xyCSO1UwfV;?xN>_w`R$=LIG^^pfN+_QwWS+iT7#jC?QP^y?~~+&~fyi8$u*EgjwV(8y`7wz0-* z{X5Es%fBoG8SwEqw<%!yxncQX9z#+xn{?XNCYBHTA8H#kaBOppT}_>lVYFiiLw?aO zT}tHo;#3ru#emc_<0^orym@ALtk&tAwaegEVU9?S*kOzh{If$l=6;3q9-*MxeG6h~JpB~OsoDCrU6(jCq7E;1taHEhI z*Z(W`y~>QxK+Wp@=#Q=y{IpkYX8QRK9e zG!QlLQ+K`N4!;}VYIfJq-1)Ajv#blJvJ#m>m>dYe+cgNm5$5gX6DSv^$oUtp9Qgh6 zu?Q!}-yuPsik#L4#vJOt0j?Yp!Vy1$WE=_sE=W034XuBI0DmcR-U$lw zlM@jM4Gk3zg$erxxQU3#%F2p}ii?Pg3xOkq0>gcR5Me?-fn1j${sBY7HPAW0-7m=9 z*N5X0Cc?=#I7pF`6MWC{ANYCu85sNvyiedisQ}VLBn;svA|@;<;_WT+?=u2}G($ij z|3v72IU~><6jKpX*FfLk0B2Xt5Lcfdu73yN;{31qe!&4=f4Ae}EaK|r>J1JJ1XmUN zFH36c7#RO+#w7{d+`aw&&H{=3Uq%MGBma|F{{^?pH-ESD?}&iY{{{EIjQ)?k{~ZjD zGBA+S@O2KpL{CRUk@IqWITv4NcNe+8UnN~7VNx)dl#mn>Auc50EGjGHgoMcmNjV{% zBxPI>Qc{wx{{~9OCol-%42Jh=~cwh)FmLNyy4b3n8SX#Dv7f zq(r4;rIDhdVp9JG!YIHUPIqsFo2!VQkK5lDmjstnHP%t&6c-l#&nL!Sh#(|5 zL6KA6-6uHgKVO);d%KziAug#YCM_y04wIIZmVrrt>;D7izwj(w0|G%#yo4zxDh&I_ zo6BR712+Q_7IDd^Ab`JM!M(_-2e=}Fd;`pVeZ3SpFF|lz&ivPF15lh?5J3nHM35^8 zR8(9-PE=e@RLWdTOin^dPE1lrR8mg#-^Tm8xFf^=|3+U54~N1(jvVeD2(BOg_t8Hj z%FNaOAHV+b)64y@C~mRS2?;w2KTtV&ePj>x}=kEUt zRzS)koW-SNB!pb0q{W0JoFt@#oJ3{BK~@kIm6n9Tq@AVyaen`T9_Wh<3Pl9Cs=9%6 z1Zf4b=U-ZJ@cligoBtJ;&^xY|rvMU6NK{mW!{I>@G z4|n|!x&B)e_-_sVAMX0!MlQ1d45wUuKrbj143?bjz5alK7Lk*lwgzx<`R93aX$JU& z)DM0u5CF*OF8@M+XL;Aahr~fT2Aagb@QA2|X_L1WmH~hR(9uve51Uw@4u8txS}(PA zQnniW#O1vjhYAN&h12#&EQ(r+kbs_$hVb44a+0q*bMc&PQzo-~&)HNp>Gz-Cuj3$l zFM^T-`|woqnxff*mY z<+gG(3CFZ;yWWlmn&LhxP7N{lOwtoqb>~rHVj{d*6z!}N4W=TvRjJ?UXT~1B*-`$s zyj!jl9ls#6H_ff40e)QCxZ#GJ$E4^g3wV(9%{hBslKUmleqPz@D*6aUaJBSLPoVW& z*s6uyW7n2V3{`rg#2$JNz2JmiM(0gvhhL)1d4}exr^AYzv|KP0H%h6sN4RF*kDPH+ zDs(j5S%bPk?hN=`VxDd=q7fj4)zcBKy79d?%}#4aAK1pVpcWEzgt^D*YPL8?EHh4h z(T$Kh!#=c^6P~59813Xkt2mC4!wlBwd?+KjiK$IWGIG%cJ;QU%kKJIRoymf>>IN7A z&L5U9cl5GKBNPw&K*u2)>oVa951NGc@g83VCcWEvybN}1p^nh;t3|0>a(bUz<)1D< zf9qUgc2hcip$J;lyBOf<0S_8ON5(F=LG;<$e&=ZIctY7Z#+f9ydyyDcXpGv{+^MuOZ*vv_KnvGD+C8T*z#3U3(&T} z2N6s+iC@@&8f|F5Xv|xvK)jG|Nr@hODjI$!iRG4rwkTmI;RR$W534S*;(KRXr#7zK z*w{#Jf^JtUQbCKPpI*lfLG<6w&qxdFN5VnIPSlbSxIH*!g8mxb~C1vfY@ zzZZE+oqd`RTE!JkLFC4b5fYWL=j2IKh+8nyX)))czt7iN-`F@wPCRp_3aV5vg+_RE#=__0 z$d)Hc4ZAwg2@BtWXT*rf&UA(J1j$L91BZ@B>%5|~n80mSwr zd86h!@oly@Mu?AiZHjy~f-|JIe*?bSbl6b5FliKi)J%+9=C#G$V~!ksCBj(*5F>?& z!F&ED4?G51hwDr_=#zwp8%<8tGQ12)nrD+;kf{{Y?EA+L(!O}>?N|faXa$0{YZ$nN z|8*2GM8O9cL-6hnsvEPX4sCmajELA-(JEu9TUtMguW~euX)TVkA0~=IBlBvd#5-P+Lx(24;?NS0ojr zZnEbbnBBjpBnl05bF@<8WcMjEr#+Yo{vvk$n&E~>JrbP;5vx7 z0#{<+NTNdc{ZUK;N#bSsaN`7y)8CQo-@VU7JKdTP*s~!HpOi{kxH^~V;8`rZKWR2- zq5gAHYlj`GOm%x%RX6gGf^qRkFWIcF*>Fc1YJ?}MHDUpB#7iP*=nYU9^%VPexrATM z#y#99gN8D_G?ZNLqn#p?7yA;}^7bTBfW9N4|fb%Q(G?JxrUTc`y_c5%Tnx zl8N4n$)O=k-on`D9NJOGYVQDblID&)fTT2CFU?SRxR4*k-GUH5 z52!Qu*Zm9qrIbH9PzT4{mt$M-iwGKHurm!Ur5Kc2*WBTqGyR-zLN~3?gW=Q!o<@s1c4Im)W+MBohL0MNqQOGThK*IJEt|s zJs%F3e!j{FZc$vkhy0}I;|a|&g8)65AVU&4yg)BN9@ti$YPp8>h8J9Q1!nFFwXk6= z(J>+nN!sqxmz+mYs0C!i&qYvCFoyiP!f2K#M>s|YHG;~zr_oIZ2xD(Tl{dn1NhXXl zTT#j+#C6m7vs;M7UHUsI4wr%eS_k>;ZbkhaJ@vgTb{^S67h!#(;;=RIBNk%Ic|#eIvpyx}4!_4qq8(YV7idH6>0Ghq<-+`#q-Ybz_p&mG+7j1Q!< z*B(L{vkDHhb8Q6mgB&@IZ=flIuQf_w=XI2>N^VoeG#c$(2THFDzDni}&tDFYHZn4z z!a7?Ffp)|tFpK2mQ{^T*@QP|SlqI`=dFCx*fN}R&K}TsTP9zesLGsY~@xqCYlC68o zPuxO4{UV^GfSMGCt@FQcAqVQ-Y=8*i8wEZXZLNSuv$n0cR*B&GRp(5%kh-#G^dhVD zN=zp;&+z+qsZ+a_bH_UXHnyVRXkqL{-}3G*8vDyrH7F?Pt&h9=F%&iV=VTE|MZ6US zG-fvMN5LBLR6LuBw{qMHWRW9pEE*Y-I(ns4!PD5DPm$k{f}PYFnq1N&alsJE{&t{! z!eHn0JTrW?th8WkXlTenPhh#>(;eW-HO;x{+=VlQXRwR6w|6;^H_(3;u9~&kn7vTR z_0sTM!Q(K^WMf`V{ULb5`T_nbZfB7%53*nEUi21IcBP=Qb{>hAisSCc4^>^3fB80KFaHPlMkpN(bGrCJ2j=NQo zm!SpEKYd8+z}*CTfe(wRhie#s6U*>TN`Rb;hwmiTb)OqZBi@pS<+>u-)yk^2mVP2& z@*O=${JQHZM$`l*=RQ4XZap0Hw!9@^ZMoR2$hE->vZ6`5yj+?WM6~pDKT^pE=!S&R zBu&&>3rZdCMAN7sw|{obz%cH}5Kfep^!$K`6lSQ$E40f$n(%qj%bD(IUBi4iNspN& zNx*^o)=KkqdxspT^IU)q`uh!|pm7h;fzmQJJ=N!#A=nD|B5ns@oT{x$qF)gL<95P_ zm>{{Ro2bWXE%(NH){FTJxDKuZ?3}WlJyO<+eLYUVL3z=XCh{Xeo0MzSCP~c}=(yx0v=}-}(t-Hr-^>#iyy4@6)LQIS6RpUZ=boaK%M*Z0%G$FfDFT($UiGhsp={O-U zadq|U4)Vaizx+qW%ejJxjc~V2wG^43iLS2)Ql+zWA#HE{X2xJ+yG?a(9`qH0#}d~d zF?nDS9v0*8>L$Ol#bw&b=UaTgqlnd4?7bAlDM9T;kP}xYC{8= zg=E_Fztj@2e0$_}>{+>n*JcjbY6vb_j0Hg)q5TX1*Xr|EOyz*!C{502{{L%7h zd3rm3Xzerw^nwz!wqroSA5Ah`Qe;TQ0m$=aV0AZzU>L??dNkJMKqc&8Z-6_AFv~R&fJ!R zJP0~=>shA+T8aHgu%7Vfv7SESccwJv?E)8KJlWm7K6mc$DWfbQ*3{LH835ZX-o~O6 zW2Ro=v*8~*~-8)t%Pfbvm*lc-Zqag@$i@d)k1;vp*g)QHP3| z3-@>M6#BWa`B#?=T0X~UXGMLu)^?93X*^>A-{M<%)r-@RxBaB|pG&q2Qcm8q;S~R| z%!N)xM;aZ?u#>nMO{jooI(}gjZb*zujaql^3JMOUDJkQ1z4n^Q_e=->NBL<72MKWd zCg;bkzCz^~Db)62)k#Y$ZJS42ct&$3*5&vveD>^_184Z7_Sdmix}iywz>+0A zjGRwMn>n~B@m7bEe{rmIjy^8c^ulDEz;fqy+}YUUL48US7f4f1ztt4$37VxGo|HJ; zyB|LNA-x~(*Xylx-`sKV#BOH3q9)X}AGHI1t*4g$J;%1l^^?8UlL8t5=FKD;>oM>RAQ zhEbx!tyMPq%+-uJG=7g=K#*T-%u(tZ7O{O_{xJ>TAibR`>YvL(@JXV}pC6ZLdFwjO zqO|65WC7MC;5wENDA0D7IGQn8<%hYz`-ry6ws;y%o#p^*$gBq}q9*kxPlf_Z8v+P9 zh>GC_wXRHdmdFt;&IPaSL-0kZF(1K04W}DeMux5dHxGE7=keJ*FawzRAbF3nP|eGa6^6NcJ*ZI#yLlLJB^VHt#`tRJ4`Nn=CP=GB zvQnn4059gG4kq$AJkZpRAP+)5e~mu*U8_e;;2CUV-rhLQm4oMJe7sh$EXJ1F`tX+! z1`|0`XdR7!mzWx8JF_7EaN)`kNWTYKKKd z5w-bpMfy~!75SNRreC|+y_iDm7sOt83vZU#gbapRgpRR>W}Q+2T|Jfl_Mt4OGdS)J zQWFSUukJGBk##K9=5E6K0?X;aE$(i1&To&tBjkPao3*Pfi1<%z&dqQp4&+h-Zxtmi z&JXhFmLz=*A6sf|vDfuG=s>uX2jme=@X#NhOfA>V$EMvIvHLb0#0Fs)iDF~E9ypXX zAx(jzZ6A5CLw&l=!H~2+5x|t%rDz`hb_$1!KKfDZ+^^*>*NT1cF3JEn*j4Z~RA4LA z+ZjWK(4juwoA_P)d{xUn@oQ?=JfXS!+}kd7@pd;d$@R~Kd_w0zBv|E~aZkSBKKn*0C9MK%8!Bzxk3W4(5^msIjq}t7 zY%S}*Dv?kwU4v_8{@E^QK2JiF51VJ&ls(blTh8(`NeB1rCDj-KsvsLgWrVX18}Td& z5W$$#VLvK#Bus9@xYBaLKR=%ZhU|G^GRR~if(N8pgjW%^37gP5 zz#>l0%1QPsq4( z*u`Mex2`m)@nkCOQ49^2V`H zCR4E?&oLyE=v*;*@IKw-i{U7wFF?*~n0Is&)~KCs)-Hf3evo5fQ{*YcX{a3!iee_e zkU_swVyVD{zF{OGnktjGX>ET#KlYBEtn#utbUQJ0e_jN;pS>wVS zA=dc$SO5>b43Xj1eLp!po&4(6tC(2ntKERYN<-z)z`#J9sopc@&X?Seu{4T`iYF3M zQd-dg*HgP_`b4({QNG17skz!g@1J5_s7IB{Dh#U#x6II?_%bYQ!XUE~KO2|n@@J5i zl4`j!YXzLUB3BJTKW7wUm37|8YI5>4Kl;x~<8!Y{L*VOT0H~<@Rmcq~h(ww=ti-RB zxTpWo59?jOg)aX_hwJR@G`H@|l|zjFj@uMNA0D?TH`iL?^m!h*h##ZY8ZP9KJx@#9 zog;)ia+TI^0aR&CVhl;FM6+Hqhcn-;Ldjt2)C3W-DS>P#5vu+Aw%}<6lrs>Swor%r zvmO#0Eac(i(^6Dcwvr;MWsi7#Hy5!ahE{g>^2(!}UEkQ)aL#@9VxNGF_>aBXjytRo zzveLb0C#t-!qpkH`Uk?!Df6J&yAL3>&vN7A;~RlH92OTYpL2{Icx6Gv#FF_G(^sxE z%Dea3b2phHlv%)lH$)>3z3!%bGA;-@%&lw$pJ*wj=oQ{qyMl!FWM*dWW|uaC)|clf zvJ^eG63A!y{AE@Jpi&ju3obY2JCy{DQu027a@Yyri~{C$9^)-xquI6UKyigYvnom^1BhCU_3dW-o@CMjfaB}Fg&%92%O;7xb>jQ$0WLv(X&0NwER{UM8C<8S%VpqFamGHopzo+l{f@NR32xvq$-9h#jwR2U2lB2_C zo2jvi6lh8SbfdX$Sj64Cqp^!$XK$e5a`ZbQ9{EE<6RrD(vS@Md`seLl z_eV98_pHbH-TXBd_O_9}t^f1IZwt2_;xc}Otl2jw*vpq)RXVUv4 zi7^3W*v@qGZIFMfq%n%ckx~pvie5;@qC-^_r*4?*?4hca)mYJ@$e)(Yq7N>J;j14% z3el4>SE$c`F=-tw?#6f4q>h3&@7QZK_U^�USSrK#H4O7{`hIw_h$uY5cG{UDkQayr^&tfnS7F?(f~m3D76P(=A6P)4Lfx6`gyWSZKdD z71$r8_{|{wvPNPIt*{nkGdXWqYq$=Wh>(y1@;tN;bxFSq*!VfYg`rq0UBx(go-u8m*p&K6;l_OUB0+>K&?sPR(?c9MC866CbcuP~UvDqUVa zFjc5wKNyP2#J#iv`Iq3Ki4|jIA_wYAnf=~1sjv*m5{2#XB58A#mD++&Z z>p5pi>cIWl#haChfZkA*|Bqe($~ojT@oX6)rTff;iPml`-=e>30@JT_qHOj`KZjuv zlocgkq}%Ny#!hOJ_C{Iq`?Fukcwe(+zM@U?@K9i@lBhm2n;R?})Ctq!R)$Io z8^A!WfPH(uyLVk+fJ2goyXkX}jg1X|@AqfThq#F1E7p@lBgC4DgcXa5LGnXy$=kFZ zIQ`s~X^#yJ`0~O*%e^x`VDrmYCUCcILY#Zkp)76*H>O_26e}Sg-^zqTM>US7^5mwf z8e2|xx=o17g7NCEw6O=tB=XI%S}qsHMAw`L+9$Bxz4Ma60X<|=v@g2Ou+0?j=J$1p zAAj~CzksLD+3W+V4O%h(Xj&E9Vj zv)-;Xblg2E0z+D{H&mT0re>vv!P-A-QZMs7Nn5f{$BU6653h)&Ul_-4i_DfO05>+Id4mX4{A6_a4Rx>MDkL( zy=)Y-lLJ6z`s;KTd=xzjs{4RC*Cfi~BOa=QucC$Vxx|Uu_n!BBy=10|X{Xk8rZawl zLB$_+up3u_D-Yj`^m-NLMA2R?pnV8N`E#Vvf**b3vI9ZB@7EG^;zY52%a|VM9yo1O z@9UA%QL-r5;>pkrvIUsuMJ_@#bxIdlOSxh6OoB#|LvD8fg1 zU>^Fe7}t8nE#V>1t+39-<1u*lK~mSA$@mHV4YpL}1iA3ox||irmg$jo^=Y#=WF7B$ zKQj|7BHbl4y#3M@Nz`)+ck|B4-wvD;g z(AKEXyzc#%re)eXN<_0JnKrTVJzlc9Cpp+xzDwVkqR>&@&{r|Lv&!I0b>`#0~vv#JnaKmMwXyA={z;LlQewGAJ5aYZ8M zNiVWiuXKocW7zs_t*VjuksRpA6%xMdC(3!ZY2v1`%T&puQSV5hjiejS1DbOQ%#0^^kZ$5grFykJ`mcT+HL zZtq5xVJTzrhi5jq^D_OAu!)|6ht?WoZBi>i4TFJ|EE2EXWsYAD6b=SYYXPug1}Egq zjpM|58F~Dtl(+Q&I?F1D=4>^)P%JhbXjwfuudFQZ*m4=#u!R>8&$?*jhDJQh$tMp+ z(3!N`rh<8D?@QC05xCTIERB*rG5Iq3`u$xiFge1R4sW7rqcT}F<5!P$VQM1<`+@91 ziVkXj1pPys%&b%g7-nqrWHWyQR9LK3vI}YWS63Ru?k$u7!i1tG*h-2v*#&$+SjC+v z)xi}r{urwos|})07D^#@1h?0DpfaKuNofB2Kmwi4 z2OM`SIh)6!jVJhZf+Y8aSV|8!#yXs6Kvyk-{p3fNkJ*Ao=2i;Q7gF~<_);Ut%dw?q zhkE}YYGc$9md0pbt^CxQa3h=p)ooTbtc5j_3GAE(qRABRvQR$LiN)qBOARWz;dh-32JPBgu`QrI#3g4y}!ykxgHq z2h6~HnkAosMXe<2CbX1Db>M~N9E~dlsvqyERnhhfG;hy(>tCkJH5-gz$9l4M)w7g@ zJ4l1xY4vv4sR7zi5;OAX$8%_-GbD0!w~33trbi|P1Jw`NwECdcagJke8&{>)|GicX z16(lU9QlSb8F1*i5AqNQyGz&7qIi1fG2Zl643J0XA(2D&WBDnAf;S={aL=ldGs@u{ z!0=IB)sqB)GIzuckRx)lUgVsyW4!^pL{svCNzl~2A7AepTG?9zqEUnBm*RfdRQ%bg zf`Wont6T7wlx@MtgP2F7uip`(F8JxmPN1|VL<93#L2_piu*U0cdJn?cfOi~Tl0?AU zTbQNC+w)zU&tq#h`fq6CA4za32>n`Fxd}$S4owfG4LEa`^Gno3`S+fVU*H|tQxh7C)X#el*p^!gIyRCr4I8IMm8ly{TRPydS&h6-|&mt!yW73-r3 z3aH+G<;L0&4iLV{kR*Swf2)6Y;Kz@!lAJTGbh@&9o3OPc^4o4`d5B-{I+di|J4?K} zPXD}$M;$*Sz#2`sQzJL3DkJi9&v}V4)z=OWVU+JH)3R5(jHO`;=Nu>j6OYB@ywWrU zG8ALquPt!^tnZPV0W3@epB6~$ua9y!rc#V`dT`iI=Mv4n082yC-+t19CuxN|u#YnU z?JwNm*%ja&J}TdYDd@cr>Nju%&FxutGwBw`Fv1p(%d#f|uNg9PNEK**NQN#H!}$EZ7wr#^?ms-M&(dm_Pr>l( zhj{9S!Ta$2qNxcm?Jqrefh`3Q#?-Dx$m!RfCH2&@gzgQn8U+T)Z~xre*zl2%l#Ckc zVKc9LIT4(_paU2Z4qThtO#&iuJq-LooVk8;mL&0Gb^h}{BJ^a(`x(=s?s(X7P=;W| z@tkMxQpYG?i_U-zOJKF3v{)kM^&UR9YB8Wbqg?-Fm~@sOb`q7`u|YBWQ+KEvluCNk z6(Ce?nmN8Z1PJ*pG){;D<8Eb09hJ)SG@Y#7t|CB5GoZUg39R&s1Lu=HY?gm@(;ehN z7#Jc|fj)L)d&CvgXB~(8cRb%zWxz0-_;tw(T7i+ThTMtUmf>twipII@r?bSH-HQQ? zR=1>n;BOJb8rc9(z7RZY62P)y9_E0Xp3aACb-e3%Izj#!{Ze1OY|X^cM-pSHssCoU zcp9*?7Gww&$hGw0ic^D7Qc}(k`{nvP|6|}!2b!ZNd*}6F?xg%Uvg7*apMVlQk4B9( z`K%}M;C8k3+e~N;P6My@fxkdFQ5YnHN85_dbV=0+^GQeJ+{~KV>TM(YMK| zzCiL3fPO&>eeZfH)@A1pe+8a1kf*-GCCM{L4vCZmD~?bBDGDEho$SQXRIflV0l|}r zY~-6!1`RDK%IMNG33%L;V0jtB^KHo}TAtaErwV^75Z3L%NKsDIzsqz2H(tVjo!ep0 zAZSgkVnnd2`Dh^l68XhHkI&hS4d1UMr`g1 zzr60Yx>YJjke0MnAGL~brc&G+cwlj&LF&sYjv0eQ7J*LTh?e{}|Jjps2cS>e9WW4D zJSS>96v%(wLlLJoM}T%5V0(SHx?$?@EaQ#7_9Fh#lbo}PPNz_a-@VO~2rGWD!9d!0 z75yT8eE$XwqSBoFVg#SDO;wfp@lYl6!ERS0VE2g3DB;^a80ma*ss%l13tl%ZMHg`{VR>@WJL6B>@5SDZBZv&G7^%*72mpvD&VGmkhXK zek8r4iq6k+VjzI%oRgJAkJf$Qtw(HSm4cyn)IQroeQLC zxp*=#^1e^jtY@X=dJ-O1q%aA@*Ww<)@9qRaq`Wcv<6ik&nm5m`ZcNMSdNzd0jd5x5><4R5nJ?n}qOeNK>t zdE;dy8yG0fNMe-L9~7?YxCv(q9HdY6JQGEz*$3U=IG*Dm2^sKVwxomPf%VI38U_JX z&h$Fgw*EK4%H?$ZH`KDh68}g1cPFCk_}OJ-k3crdhHQ14^ILdl)evR=*^PeP88FkZ z(XiGR%(7g;Pbp6aS9-aH&sPx}M5o)0_4%^f^fo7oy3JOyAT|}>PwEW?y*^KdGNB(A ze@~I%=QoOMsa3z{Ia}p*1-2+d-$(GHin*?&pj8__q7^z1&&c2OjM;Cv12YxDuAPWk zNEr6;%z?NvZue_U$hF$t4-*&IM^XD5 z>_uFEOqL+fixIt?!?@j`Z}I-+3Br`x>2}lzW?}pRiN|vjISXfRKLKB~?3tv_Q$h(< z2d;9T=jgwZJgrO*P>2TOjm$!#+b4)0U)-T%qkbf>^&Y_U^X!(uZsp2fi?`1xQQjUx zVDM1>=IXDL=<14!-vYV*J*`^eW6<2yilA;mFDAx_ zz<#n3=poB1W689p@4E_)q?=pZO;9(q-8Jq5FtM$K-4%OZ@X?UBUfgN_u1jLAkk$_2 zs1|7zoYj8I$jj4H;2@wan!JX}NnJR5t%CbCdE1R#M4b^&{VN;eCxW+jV$S#i6|m*y zS=XVgh zJ1U!#RUAHgjf-azQI6iFRVptnEwxGF&~dmo7e!GSD?Jes$)DRBqTQ4j&89x)A>BCY zL!lc+%suDL5gtxibU~-Jp?kY4eLe9=UOwUZwu=Hb;ZOQHxNMoaZF*DL1P$0WI;6GJ ze8v}Qb7WmH@xfNai)TAuWe4jq9U?C$m#FmQNkxFa;u~%gxOMhWD33t>E5OK zrMN$AhCkkXLubcr&g{L%ex(^{)!SlsPc3R##JvUAg5@(#wp1&o*B=FR1*)U2v<)&n zI{z$GI~A~avotS2=a_jrj0H&H2#?E&3eV&*cjOI^1hYg(B!9G(|9scvtMGPAs(?h2 zw&5&rF_dl6fI|5*#TO}`Y(HmVQj&I#u^GJm9LJ_S8TBpI)!PvOgLnIwH2M_4>h*dd z*$bl-!8G|3!_sA7z{B%F#QD>yiHSd@59xTdY*1j>z$l*6!|gfxww@q(z;|Z1>4?GB zYg-$3!Vc63I!8025*~mi^_#-y%C*jeAI_=eIt5P1Qi%0HzX7hSx%uod*c1mrxrpbi z3yl^+!;?J9zJ68w6fKe6y+4}0RnFHtVw(YKTjG;n{SkY7j~C0JRu(7U!J8mw7Rryj zS1UvutF7(ScUsLexHgL$+~+83m-le1`o3V|cGI!isY4bzCPX%u$*Txu&16gO((y6c z37R?F^zigd+Uo%mEDSnqjFl53B@DRa+EBnYj5%V>L+bu1+1Z+ngO)W-?4dmcRcPr>%{O*|Bs zJN_t}g5gVt3+k2*`NlIIb%L%fzMP!g6xjU2+LgkZ3+U1v*M8V*CUGh<-U4&!;m8nT zY?RKk9G;77UlwF>BO^6NU^WMSaWh(I?9u*PDa^diIi;jvHQUE;eV!g3&$7E0)4=*9 zq3RX|ig1oB6M|X+41-yNL(d}Mn2*1j#rF!}*y{T&AH4e<(sJ>syx(jFf4xThl&$C@F#g+|~evjI95K}EQ1gf<*VbVC>0s+C=s+(^41SfEf4QD;qwcftehy>jVXTbaVXzbYk;AAKYsY|xB|R0Fy)J! zA$(^#68fbZjMf5KmbK8w2*X+6Iey!6&w3JI>3R6o_?e9V&+M_cw|0eqdc+jPOb;6j z6Am=gSbcYhwI`38CsRu zQoh=PTpqjDz?eI(DEUN|ux;`67D+O+#|wfg2Tt`QLxZ@Rkq7vIFQtmJdrTPeKmmp6 zS-+dfMwmpQH|U96#`{HbzomIyYSI|%>b0lUD+$} z{3>#$ix=##`817zyvsrZ=%JEv1UIA3JzP-U8&UvW-zmw(uFVX%9xw{f)ZcpVwerXu$-fBiC_5&KU!ZEvn}+^rG88FD7lOIC3^= z^JK_w>`V}wh5VTK(so&lADu@yOA8DM)X;)0sG_I~DU6NbaPt*Ye6VpbDd$XIvgSg1 z37UVGEz%WPi&vMukPWa9-ey95xotNKX>vsx;nm@KHYy*~-IBp*_>%t7!kADjZ?pqa z2S+W+OiU?6JJJeBBv|#c`9boIn<$zaD~PfH&b^RUK$s`pw}2a9HR#LNobikJ2X74p zl~JIytp$aKI;sbhuqSo+K#!~LD!ZrcLDqktoWIpQ z3+eR|L-ju$XO?^t;is+LRpZ>1Qn438U65AA@?tdQ`i*_K%v6{{3!eJ$A6BtjHl()&-za0SH{5-E93BqxKklHp8_5m4?Epd( z#4sX|x@QZ70GJ7`w-z)^>2TWMVIlSeKH$}X%|rNGy6iDakUN`;r)zlDV)qa8hr>z* ziodLmlpkKQKX}81#oCo~s|%8cK#Gh89O~`R1IiR4c*Q32C|K`$YE9mrP9Lxp101~e z3y7bWp^7I>`}5mpqW9ZlwW4>P)C5?Mhql7mdLKS~IK}ncUA;3@%Nb6A;sU%9Or@WR z0fQ}@U3OyzS=@yM^D@Vx{=VcQgTDcXD)|>$J__+ zeu8;Ludt!-4+o$3fK6-EA(TmSqJfcMg18|&cGR@YJUeGP)l~U5SZm_qla(QDtJN_q z-{IS302rU$5=upxLX{o)=v%;A%9II1)!Q6>*6_r9mC|7kHo$MDwcDgV68 zh*ww!@#K}tRCs{*P)yl}OAvb#&lYN+sgjuFh8v*$mjuK9%_>)F+o$WSWU~n^n?@ll zZW?{Z*9q={j9U%}OJRsTPR|lTLqc#$U==|3EGG(xk-!8RGu^(tEeeXEXq;ZS!{*6( zo-T|III7Lbk8ROzs1z~SQ2{Vw0lf90mv_XBo_|cAmrpx|q3rpg-~CvYzxxS)bpwM~ z@Dne*qIhp%&@XvgH=64Ct@KqhI;?!et=6*QP{N>*@#$3=b zq;K}Tzq*M31`aHqO6i8Ag5|85?9u7g7ZP1>F4q}W-T5ehWxTu6e?pI{xLQ{0ZM2i) zfS%4aW@_REH_I8ExyN?P+vL$e1z`G!-Uf~{5rTu!Ve&#cSq3;C9>vql&U@WlXMsfV z1u;qpzVwD-4-A1{s$G)GwDs{qmIadtyKxw)mvQ_Z>mGx`62 z{F-w~l4Fj=PzoW(lw{Z(ONbn6N^(A*4^dLiBZmmpyYME*_srQ8TXP6G&RNDv7*m+z z=hf}|SA6%&_RDtL^}1e%=k<6z?$6?4sz1nrFP1VyiR(Sf{LmIt$mbrW;Vj*1!)lv| zabRC4&OT_2PekzD;y@sFGC2>`;|A0P|5$@{MfEa*<(ja8PtkCOl}h-X;rn=g5DQ@M ze+%+7sn*#idC1M4eoQm{{SZWC-c})Tpa19YRf3@`1KR6L%D~a52}8VrZYOxs{a`Vy z(4-u#33>%fVop07?#&j%3u(igvDeRmRj7|JNDT=w>xIp79LkG5P-{x<6V;^$Kt$L> zxo~f93@A(vOec@aCb_o~+EDS)D*gK(M_-!m6+3NRLls?0)7C)*4s*4+pI-VGhJ>xb z_}F}#&~tUJyVZR)C;sw4-xSd(FIW)|-s>zjM1iU57+zS#jtyUyIhmG!1g}!7z8k8P zlAbRbMSY~=E{11OGz!K==aA9x+dHk%13M}lEV>s-zWFbh%RhN~+0rhHLdHGi=l5uQ zBzc$#RCOihZSK_cMEsLo=j%d==b#VqyR)j9Y{GS~$giT{!KQFx{KN!@b6(Z5WDN0B zNTpis@IKPg0mBQKFjc9>tbFS5Jrkn}S?7|k^|GC`Q~WUhX=Z@M*=@V>%3j5trMdd5 zQg>ZT2;yJ++ZUimCbO}|gT06o?|)Zwm!x#pKJL%SA3-X1u+u2NG9QVaqw{|x zW2{;_6DUDY9Y^<+%w$DfmBNLAQUK$+%qLP^ZRvv--H>UMag5f0hf~D0bR^gS46L{ze z5^ZsV0T3d~7u^<^Hd#h1E2n@5|6P$(cXxL?i?e)=;NSo4L#HUi2!z0Pf0p!YWcXPi zV1&Yv2N=p6ocF%^8=5p@i@vh7ynGCKAYJa=t5pjYzNJ}6G?TL&DFfB|isXXyJ4bqk zn%1X#!zJL1N7Xhi3fWQs>Rq*c({uTgvILE)_S*J>z-3hHb^4m=c4*$KwN+DkdQDsO zYl@Q9)#zl}E~BPT!rad~2kv>ABeu=zECD!sq&%QmFd2Y*)r4}?^HckG%akp~4SuMe zK`OtGczXRYJle!Bk7NCn5xohdyUHs4Mk^e;eUAUo+eu%OL5l0sDm`>l^? zkLhMjZ^a8LK~94kjEII2wTfSxX?yxfvyKP^#r@RUw5v)QEn~T^efcNEW~tr6g;#>R z{$V}WN>kKd%b*GT&4wXF5;UOWo<7Jp*V@jgm4v^bq^rhGqu~A%^)xaRRH}6QGr$bb@^$%c zxhuX}l_HC%&q|X`=yY(1px#jj1_y7!8N3j=|0=f(BSJ$&Z15M{uvKposD^a6*A9eZ=MbVIz0Ajt{9GS#_fLgh)VMf2iMtS^BD zXtf*7t*TLQ4nDK4t!PN!>kADVR&Hj~opKqPxrW)r0K)hC4eLsmT30d~({%84U9ah{ zf9_!pPre#_ezU!Tt79ZRqMdEBGJWsTl5DWZ?^P#s6!o_!Rm1EtMFdXG$VcNM3n)aM z-4$ugcU@j~D96G+>Xh86@57rBhaSX&GUd%Mm^X&91x%d{9)Ais5vvc{NZ6Yx=YO0+ z`rTR3&+Kj0agE!lGDo(05cl6+Nj)o(kw1A2Z>OnVwp@8O5m`akR(y1?09)DOO=LWd zJW!d#h=lVPVQ7*iIsyPqei4)X-hzbF9WztH?dwr7?d9tq+INrV??G*@@c$ipRqMT^h#-O${WUG^T%NiB)NDc6U_Q+_x2Qwt#HOEC`T z>%<d7m}-Ns&SSHl%wFDYAjm8&GSVSf+#pKz8_I}cc}jcC+C z0_9u6pp7s;B3)Zebj(g z(a^FnUBm8K>rfW89MJDOqqw?^J%A4{+<2bg9k*Br38l^ws=PCr(n1_W%_&Ls?4s+a^=0%Unek}p3s#QPK_45?anb5=6|aL2@XKCKdjEe6t$^Q~2Y14u~s9`+c`p~P3^6iJQf zYyD*21#|e+nN)R$IQfi%=7CYCGGxug>6(iQDEewb`JB$Pl(y)QVJPqZf&5bWs&m`` zmlE@|FE~`}UKWpSd0fd&*utJ+JnU$`qVGr5+BGI$2-Db(l8W%PkpA41N$C*Y@YAaw z(JJh_4Bx7#?q%g6hB_4bIB`FczaV)M#N7v3+8Mr0LuO(LBPIPWGn?g~^MZUVK;jl6F-(!Y^96RXu z$atI5q65?hros915?hhc-FIJ?OGAv19@ zBBoh=UMqc=PEJ;c5rN7-Y6zbG@}F6fQUPv7czAg6J}kz3SFAs9rc&GSNeRDBL}X3m zm6G)*3CM^@Q|Y?S2#A^@tokV8$GR2SV>1;3J~mIxZrKVxi_-)plOe%uW2xA`E7}FE zejf3R+wByEHo;Do=AujvjvFrmfRUB4v2hmV4@%cRloo9_VBGBdFCJKjH%5?oT&q0*+^txxgRhW zJTd%A#QoBiGaC};#l7@z*x8w@#~KI>m+O~IfH8V9{=8Ws^2xbbexCH5k%^QCTz3CG z9H@~>(O^oMU*_4t1fiy1_EGz~0mI0wA&jr(Y5KyXkx%g={OubP&)ypiG&g^5;R&UYA_TT3HYTPHJg@X4n8q5d)g~qUr1^f;tg(WFfMx|`EpYUiIC)5&h>OEgZLX}S!)!mZZ5_uKh8AW0jiq@CQ2MlwV zK+lEeJRFjlRxjK?$8+h6%oZMWn2!|fgC z(@%526;%X@p38-%KKIDxyL9e50vAm>|?w0kbD#E78Ay3_LqsLYx*j&y(qRtUP4d2lMmB2yVQd z7c%2a9)wjnN=Vc14_ajSn1+R%sHb-dS;RWKy@37t6G;3Zh|*zhp_^x*-#FPSke##!VPj0K82Yh?SV>ZrZH zrN%XHU=?^LH8dGjak5BD{JJL^6{+<)s%?fpg_c^Y8zNeqR*rLd%{e>JucFR7)sgKX3F zm8NA8Y!p5Qw*QJHq(GeypGvErPgxIKJcNVPp9lB;=wRLPQy|PMmegNa0OX6Zdp-J7 z(qqf?JKpi)BG9Z~Udu<-O?TL`gzUScvrp|6aHZdcuJ!YK2|vm{(*Bf6Ys|H`7L}-2M~bPbfwnT>4(x0;lN*7=*e`5VlPxZhTMZ7dkG*@anj# zb2?N>vSu4>DVK985ff$_ll-*3gpH&}+P>U!<3@&K*%Z6|ofA~Q%8YVsfSqxNuj8=n zInfa&7GZkay!+L+#8QA)u?#8T!|)g}@tg%LAbbkMWLQDDPH5Bc?vcAsoR3`MW= zUOJpMW>&nVj}@r+?TTTy)@<|aUEB0*V<+h##D*U5si)iP)u>38bz77oFzOkiLe;cr zsh^1DjVqW$)K%BR={j=Pqk?kfO%+s>5LUOresg(DM}~YWcUb1HgpO-fMfky&rlw2@yfZTG+S)nhE(4?ELOhh|+V(5pfEv6AM4 zf5+hL6*4H=yR{+r!daSwB*HPx-Hsd`BU4i=Y0V09W7zmKdy9`xPRpf%q~5!Fm}2Z5 zvP7D_U~mth172_LkMgU}V*LXWBISj#nH0CVJPL9Z;TLAvZx&JzqHL&@WqcFiAP-rfOUH&0tH>Y|NFZxXj=?Igj36<${2M0Y!`PR=`E`aNGSS+2 zrvWWOLZhyVpqDQI;t1&o=AhR6UR1|oo8b!oO@s7^HmAovu2ehtgz&MDnW4XHurU*8 z%G{zKPCqQ%%~V>v3tfRRX_6CY#6%W{_OOv6U;k@GW*9tIkkap7IatdBVHq);Zf4+P7=nn76(PqS(2MTSB4p!i=X*JD zns**%e^cq%ITraO34=c`uf~rJo5!EAA%cvq6r?VUHnK{|V7tg!hz&4Sd+9^aIQU@tc=w0HcE+2Cd$?1mcQ_sH(s$}`6FqmcTUhnIW>>YUEcv5-dO=L8ilcCaTh9Hb|SCV(y(i|yKNuUr1GmCgP8Hk zff0YZyK(0pXkg*m*o@ z5X4rLRPB@`V&5aw5=6Lp?!AA+y|35zhtHh(%7!X3pzOs;$i(ejZ6478VwM z3v&~D7M4>@%=!;54ra-dbG4Z%xF4IlgtM@SDg67eTG;=!$-*MxX<=gM5S2$EQJ{o+ zZ1RlnugQ}y?g_f0&OpN(qThjrZ+W_q_p^A?friV>+Jy*q0{Z?u560c_m*AN@&o2sT zSUfG7rn}-*WIvm~J)G{yW!cBmsAP8Lg!8NMiy=(O^6G4YI8(UDZ=Padxe$2TgZc9C zWh*ZW%hPh9C|2eN+NU&_ZPjMe%zn4Wxc>X!CI8du|BxaWfg2nwoV|PfoEH7pFy7^# z8Cw`if7VzgDE1^Shfoo&BzW9Bxidwg`S6lHJ65FlIj8G6? z9XmXr{iZ1){o^;z))r<(2ss~ns2?3-zTaw4qQ#A6PDQBFi)3kcenyH=?g@wGd!y#} zdO&!dqa-k4@ur;Xdj!r#GmBEt_ac}@k@hcWOCf9?6}8|W+(|We8g4gzdln|=FTcWQ zT>|)vFQ;%c+Yi+i!Pp9@BuubBhe13EGiOO+)tN6N9-o^O=%KuE1>h<|7AAGZ9iP<_ zsk@QX6OZ{RK={W2_gVstzKUSb6x*?BdnF_4w`00(5N+p4-|Z^EsJ3es`N#kx+n9>&M)xTB!1eVNmLb2Yui zXBV}^s-9e=vEvd4V%I<2=z28`#PoAZ|2V|v>M6OT zBW7UPK%@L##f^R;_IOE0Hy6HnyhiIE5T5Oac-3ln>NbPkGvZZf5=4O~afKurF;`(J)e(p8X>myq|Y*Stcfn_Y|((RmH<8-Jm>IPtDU02m+$q zVa2$ZFnQS3!3Dv58D|&&$$sNpoD-{!zsT_m24wcc8@#nVyih!#E+Ke_v8jy@NP5fW%=q@yU75deXh#V)gd6Rr9@Iw8 z)KHIU!AQ<;E6tHkX&-mCm!i=D`d7`SJ4YT!|D%j3=tVl*xaAcScbilduZDfotGB{Kk_M6s#Jt=zyRFYr^*mIt}$g2*L4#88et0L+TfJuv+&6 z1R9gu9jee8Zxkz>aNTOFT$&tfb~SG2J+)blWMZj64ou;}+EK+3i1aZ2a(g zq&j8ax1qAezu=?{4CwbJ++1iLqHR}<0$z~u*7)5I;FHl>;+haoBfRTO(+|o??V%?- zp|{y1DH0xNYy@9pP(iivhktj2LS*BD#_gn4yPs;CbgS~e?Jz@I>VSH69j)?l39LCY zBSE}LMe%(7_jJ!T4OQa%k-l{YpcCZocyE9v=~16`7x#VCBt<0l#B(QD^^DPU z=Xp@(v6Pqou^7MvwA#zsX4Ofka5rPS-F#ty~CSB z2e}N3QB<3~+B$aPd!{qs3*3WjHp4?r!vcU+xC{`4g1IZ}q|C5*UNMv$LCS3MlhqqT z_^eaX5-yz5SaeYN^^)%xRqwgqFDWY`C}@JjnkNc~I8o-1O9RchymBS&_JzZojha|> zxA9~OVtH)y(*^@x_PFr@=RG`kD;TDEzFm^5@zn1^v$>GPGvRmJ%x1y_G$4i%QvM(0 za)fmQbKgR!)V^skR{a44Yj~+V>XOfWq)3T!3`(|T$2+A|ykXT5vB5T#Pc+mt6VC)1 z1dMZ1vru5S6WbOcnw)93cTVfMMmOWa&7MxPnRk{C>hRUL@UQDJ{nhLfSA(w|lkap& z-wr&${q~!DzWkDy`XrYjA&%9G1+@OfJP(2L1k`=wQm(bl2d9TGF^)`eFDpIzogxpx z&nvPNcj9bY4uYs6IzOTOu1&xj;BK5FbQ!iCUXi@#vfk<@k%N>Ey;kcwBb;(Mq$Rej zKK!N=PeBA-MHyK01W+u=#q)y6A@RDcj&QEcmJl$8#6_R3^ zk`qe@e7e`oeF_i(E~b7dP4<~@kc|>&fAUj-ZFyA<>7};6_f-Maw zfr~bEY+1#UTGJY|p9{B_CY5)PXOyyI`CE2^n)!mX7jL(uj{d`9C93LE$(MiSU_7L3 zb797rQeEzw9^l3I((B!T#o)Q@*>qVYkvPEvz2AL^>#9J75VirS1aYg%)XMZaNhe1o z5#QU6tJ7C71&_+(-X9Mg+4e(3XGdg23<{q+TJz_#oS$kd7f_W|*#sp&`h`5%z;#vL zedkB0d+sR;NO|+dbp~zp=+K9SaVDzjbnRjb>9MF6UBi+rSS@jI66$RT&2 zM6yZDwcAUtczMiL39Q*Peqh6y9di?{{^9i6t=zUG>**~k1ge~^StzPXM6*d3*i z;q?w;E}FW#Edql(+sqe#JtsD4Emt?Tq6ax3Z@b`SOmaWF8TvaHTU3(dBs;Dm!gTMS zJ?){|Swl4ZOKT#=9O0D!D|Zl;{cfjn%m4UoE1^!W}CmbNJy|p z9l+biU<qz&yzk)(jl{VDgFa^ET>Jfk#^Lq4Nd>)CHU57K=l5 z@uQIWy}l8+DbVq|TFad`egxx0Y^DfM>r^E(Ftfls4-Zc?V1#+^ko3>PGZw0T@o4@9 zPM$I@d@2%il%Jf09iaYs@H^66PW=7JYu=*5=MdH0%;T(`x*_s)x@~Ez8;4AWZb~Fy zp$Z$HYsY7%^|hGXN2$0$y%5`PpYw$ky+?WZ!8q3Da)QrGUi}B1kxir@%XS{{<@1s| z9|(v;Mk$D+Cf;wbRbin|!b~D-9P}8HDskG-An14*TZSO_ ztb6j5Wqqbz+lSJ%_Msxarn__Of0;~op4FBF)GbOuIVUaW1SgT9@-Oy_1)9d*=veJG zTt%xmKy#9tLo4Qevd&#iA~zS^%QP@QbRP=MjMLpeK*85x7V+Qk@gW6LlRCf&MKJ6I zQYiPKKRkV_S5r+QXVq-Z_g?+jN~_&VaNYNxd`mw#@#x1}HfX{9>y>ER%5^u>W*{v7 zx8+vIXFI8!i8`6hyb4Nqx#LC$9J=4+NJy_{q-r)=dR|s(y4PC<@#rV9+?N&gP#w+h za^kYFwgdScwLzW}xa67f(F+AFP(n9dfQMHt{xaeIPg{cQXp6lI-Xq~idBy4Fhw=Tl zz71snsfJd18d&>AuH|gx28YRxqsZyXD-Kar52cbWEeIlawhdv|Ao*vnUCXO+ondv# z#(K_Ww|^N43{N|6wR>PmqF4^*&$wcQXd0Ai_&C5!UR)%+^uW6fFg%+-YjQS%9{^J_Fz!3`7b+oqD zR0{G`$^uSij>G2V+oUy=ys5V>J01?SGvs%;x&FkPo=V z=u**-?BAV$yw>8Xbv%NlWs?9P(eihx`8SWUfJI6-#&N&2L&|P}Jw|?WHc#t)NpGw= z>_+>Q!dI(h$eay6O^vPbgl>3jX)EM1XO3vhxqhRO$feRr>P|NTwFJDxX##$&JzDZj>*YYxL z>hR7`{DQ%q&L@4WSmr|0uM3B)nc>f+rhhXkyy9SSS6iu^8R*6G7iiBKVj9oeNZ)dT z&=tB@(N6d=_?kxFFlx?hNQZHQw(Zt1U{x!g#&iMQQtji&4p4+|l=SNBe$RkuY5GxD z<a7l(n3VPZpw>b;87BUGnh03+zbvLNZCyg}G*lT(u3 z!mrjzifgUi=zFEL0khP;-8ET^q({3E94`fRJR>ep&lS|+WE2?15iR6~9rn1KwYj5| zMZJTl%$-ILYAWY1=GNG-d@b|ftvI5fiQ&>=JY*JDrZg@YS=r=7Y_$t?jFT)2z>~}}5ug2>R3I0m;FFPK6cLyPH!2x-~N_X|={Na$$4UB}Z zoQ>&2Ym*ihq!9ef38;)(?7fiH)|f+wu0|Xn$GLCE9m|8@$K9hG@^%6aI25=3H;s2@ z*mC1`kn~^S8sZ_C)XDJPmp0^&;p9sQicgpV?2{nB2{ts>8v04);Rm@kr`eLP=p0D! zq-^ts%GVFvn0QM>0cU0N5BBPqGTdh0sujz$6f`zdLd#xlz*oy? Date: Tue, 23 Jan 2024 16:24:39 +0100 Subject: [PATCH 32/82] docs: add building apps index page Signed-off-by: Camila Belo --- .../frontend-system/building-apps/01-index.md | 124 ++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 docs/frontend-system/building-apps/01-index.md diff --git a/docs/frontend-system/building-apps/01-index.md b/docs/frontend-system/building-apps/01-index.md new file mode 100644 index 0000000000..cf860c01d9 --- /dev/null +++ b/docs/frontend-system/building-apps/01-index.md @@ -0,0 +1,124 @@ +--- +id: index +title: Building Frontend Apps +sidebar_label: Overview +# prettier-ignore +description: Building frontend apps using the new frontend system +--- + +> **NOTE: The new frontend system is in alpha and is only supported by a small number of plugins.** + +To get set up quickly with your own Backstage project you can create a Backstage App. + +A Backstage App is a monorepo setup that includes everything you need to run Backstage in your own environment. + +## Creating a new app + +To create a Backstage app, you will need to have Node.js Active LTS Release installed. + +The easiest way to run the create app package is with `npx`: + +```sh +npx @backstage/create-app@latest +``` + +This will create a new Backstage App inside the current folder. The name of the app-folder is the name that was provided when prompted. + +:::note +The created app will currently be templated for use in the legacy frontend system, and you will need to replace the existing app wiring code. +::: + +## The app instance + +The starting point of a frontend app is the `createApp` function, which accepts a single options object as its only parameter. It is imported from `@backstage/frontend-app-api`, which is where you will find most of the common APIs for building apps. + +This is how to create a minimal app: + +```tsx title="in src/index.ts" +import ReactDOM from 'react-dom/client'; +import { createApp } from '@backstage/frontend-app-api'; + +// Create your app instance +const app = createApp({ + // Features such as plugins can be installed explicitly, but we will explore other options later on + features: [catalogPlugin], +}); + +// This creates a React element that renders the entire app +const root = app.createRoot(); + +// Just like any other React we need a root element. No server side rendering is used. +const rootEl = document.getElementById('root')!; +``` + +Note that the `createRoot` exports an element instead of a component and it no longer accepts a custom root element as parameter, so this is the reason you can pass the returned element directly to React `createRoot`. See [customizing your root app element](#app-root) for more details on how to do it with extensions. + +## Configure your app + +### Enable features discovering + +This is how you enable the experimental feature discovering when building your app with the `@backstage/cli`, check out [here](https://backstage.io/docs/frontend-system/architecture/app#feature-discovery) for more details. + +:::warning +Remember that package extensions that are not auto-discovered must be manually added to the application when creating an app. See [features](#install-features-manually) for more details. +::: + +### Bind external routes + +This is the configuration you do when you want to associate an external plugin route ref with a regular one. There are two ways of doing it: via configuration file or through code. Access [this](https://backstage.io/docs/frontend-system/architecture/routes#binding-external-route-references) page for learning both ways. + +## Customize individual extensions + +It possible to enable, disable, order and configure extensions individually in the `app-config.yaml` config file. To get familiar with what is available for app extensions, go to the [built-in extensions](./02-built-in-extensions.md) documentation. For plugins customizations, we recommend you checking their read files instructions. + +## Install features manually + +A manual installation is required if your packages are not discovered automatically, either because you are not using `@backstage/cli` to build your application or because the features are defined in local modules in the app package. For manually install a feature you have to import your it and pass it to the `createApp` function: + +```tsx title="packages/app/src/App.tsx" +import { createApp } from '@backstage/frontend-app-api'; +// This plugin was create as a local module in the app +import { somePlugin } from './plugins'; + +const app = createApp({ + features: [somePlugin], +}); + +export default app.createRoot(); +``` + +:::info +You can also pass overrides to the features array, for more details, please read the [extension overrides](../architecture/05-extension-overrides.md) documentation. +::: + +If for some reason you need to perform asynchronous operations before passing features to the `createApp` function, you can use an async function as `features` option and this should return a features array promise: + +```tsx title="packages/app/src/App.tsx" +import { createApp } from '@backstage/frontend-app-api'; + +const app = createApp({ + // Lazy loading the plugin feature + features: import('./plugins/MyPlugin').then(m => [m.default]), +}); + +export default app.createRoot(); +``` + +## Lazy load your configuration file + +In some cases we want to load our configuration from a backend server or we just want to override the default app configuration loader. If you want to do it, you can pass an async callback to the `createApp` function and it should return a promise of the config object: + +```tsx title="packages/app/src/App.tsx" +import { createApp } from '@backstage/frontend-app-api'; + +const app = createApp({ + // Lazy loading the plugin feature + features: import('./plugins/MyPlugin').then(m => [m.default]), +}); + +export default app.createRoot(); +``` + +## Customize or override built-in extensions + +Previously you would customize the application route, components, apis, sidebar, etc. through the code in `App.tsx`. Now we want you to write less code and install more extensions to customize your Backstage instance. See [here](../building-plugins/03-extension-types.md) which types of extensions are available for you to customize your application. From 4c9072f1e1526427e90fa3875082e2eda644a178 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Tue, 23 Jan 2024 16:25:05 +0100 Subject: [PATCH 33/82] docs: add built in extensions page Signed-off-by: Camila Belo --- .../building-apps/02-built-in-extensions.md | 190 ++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 docs/frontend-system/building-apps/02-built-in-extensions.md diff --git a/docs/frontend-system/building-apps/02-built-in-extensions.md b/docs/frontend-system/building-apps/02-built-in-extensions.md new file mode 100644 index 0000000000..be89e23c9e --- /dev/null +++ b/docs/frontend-system/building-apps/02-built-in-extensions.md @@ -0,0 +1,190 @@ +--- +id: built-in-extensions +title: App Built-in Extensions +sidebar_label: Built-in extensions +# prettier-ignore +description: Configuring or overriding built-in extensions +--- + +Built-in extensions are default app extensions that are always installed when you create a Backstage app. + +## Disable built-in extensions + +All built-in extensions can be disabled in the same way as you disable any other extension: + +```yaml title="app-config.yaml" +extensions: + # Disabling the built-in app root alert element + - app-root-element:app/alert-display: false +``` + +:::warning +Be careful when disabling built-in extensions, as there may be other extensions depending on their existence. For example, the built-in "alert display" extension displays messages retrieved via [AlertApi](https://backstage.io/docs/reference/core-plugin-api.alertapi) and disabling this extension will cause the application to no longer display these messages unless you install another extension that displays messages from `AlertApi`. +::: + +## Override built-in extensions + +You can override any built-in extension whenever their customizations, whether through configuration or input, do not meet a use case for your Backstage instance. Check out [this](../architecture/05-extension-overrides.md) documentation on how to override application extensions. + +:::warning +Be aware there could be some implementation requirements to properly override an built-in extension, such as using same apis and do not remove inputs or configurations otherwise you can cause a side effect in other parts of the system that expects same minimal behavior. +::: + +## Default built-in extensions + +### App + +This extension is the first extension attached to the extension tree. It is responsible for receiving the application's root element and other Frontend framework inputs. + +#### Inputs + +| Name | Description | Type | Optional | Default | Extension creator | +| ------------ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| root | The app root element. | [coreExtensionData.reactElement](https://backstage.io/docs/reference/frontend-plugin-api.coreextensiondata) | false | The [`App/Root`](#app-root) extension output. | No creator available, configure or override the [`App/Root`](#app-root) extension. | +| apis | The app apis factories. | [createApiExtension.factoryDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createapiextension.factorydataref) | false | See [default apis](#default-apis-extensions). | [createApiExtension](https://backstage.io/docs/reference/frontend-plugin-api.createapiextension) | +| themes | The app themes list. | [createThemeExtension.themeDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createthemeextension.themedataref) | false | See [default themes](#default-theme-extensions). | [createThemeExtension](https://backstage.io/docs/reference/frontend-plugin-api.createthemeextension) | +| components | The app components list. | [createComponentExtension.componentDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createcomponentextension.componentdataref) | - | false | See [default components](#defaults-components-extensions). | [createComponentExtension](https://backstage.io/docs/reference/frontend-plugin-api.createcomponentextension) | +| translations | The app translations list. | [createTranslationExtension.translationDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createtranslationextension.translationdataref) | - | false | - | [createTranslationExtension](https://backstage.io/docs/reference/frontend-plugin-api.createtranslationextension) | + +#### Default theme extensions + +Extensions that provides default theme inputs for the `App` extension. + +| kind | namespace | name | id | +| :---: | :-------: | :---: | :---------------: | +| theme | app | light | `theme:app/light` | +| theme | app | dark | `theme:app/dark` | + +#### Default components extensions + +Extensions that provides default components inputs for the `App` extension. + +| kind | namespace | name | id | +| :--------: | :-------: | :-----------------------------------: | :--------------------: | +| components | app | core.components.progress | `components:app/light` | +| components | app | core.components.notFoundErrorPage | `components:app/dark` | +| components | app | core.components.errorBoundaryFallback | `components:app/dark` | + +#### Default apis extensions + +Extensions that provides default apis inputs for the `App` extension. + +| kind | namespace | name | id | +| :--: | :------------------------: | :--: | :------------------------------: | +| api | core.discovery | - | `api:core.discovery` | +| api | core.alert | - | `api:core.alert` | +| api | core.analytics | - | `api:core.analytics` | +| api | core.error | - | `api:core.error` | +| api | core.storage | - | `api:core.storage` | +| api | core.fetch | - | `api:core.fetch` | +| api | core.oauthrequest | - | `api:core.oauthrequest` | +| api | core.auth.google | - | `api:core.auth.google` | +| api | core.auth.microsoft | - | `api:core.auth.microsoft` | +| api | core.auth.github | - | `api:core.auth.github` | +| api | core.auth.okta | - | `api:core.auth.okta` | +| api | core.auth.gitlab | - | `api:core.auth.gitlab` | +| api | core.auth.onelogin | - | `api:core.auth.onelogin` | +| api | core.auth.bitbucket | - | `api:core.auth.bitbucket` | +| api | core.auth.bitbucket-server | - | `api:core.auth.bitbucket-server` | +| api | core.auth.atlassian | - | `api:core.auth.atlassian` | +| api | plugin.permission.api | - | `api:plugin.permission.api` | + +### App root + +This is the extension that creates the app root element, so it renders root level components such as app router, layout. + +#### Inputs + +| Name | Description | Requirements | Optional | Default | Extension creator | +| ---------- | --------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| router | A React component that should manager the app routes context. | It must be one [router](https://reactrouter.com/en/main/routers/picking-a-router#web-projects) component or a custom component compatible with the 'react-router' library. | true | [BrowserRouter](https://reactrouter.com/en/main/router-components/browser-router) | [createRouterExtension](https://backstage.io/docs/reference/frontend-plugin-api.createrouterextension) | +| signInPage | A React component that should render the app sign-in page. | Should call the `onSignInSuccess` prop when the user has been successfully authorized, otherwise the user will not be correctly redirected to the application home page. | true | The default `AppRoot` extension does not use a default component for this input, it bypasses the user authentication check and always renders all routes when a login page is not installed. | [createSignInPageExtension](https://backstage.io/docs/reference/frontend-plugin-api.createsigninpageextension/) | +| children | A React component that renders the app sidebar and main content in a particular layout. | - | false | The [`App/Layout`](#app-layout) extension output. | No creator available, configure or override the [`App/Layout`](#app-layout) extension. | +| elements | React elements to be rendered outside of the app layout, such as shared popups. | - | false | See [default elements](#default-app-root-elements-extensions). | [createAppRootElementExtension](https://backstage.io/docs/reference/frontend-plugin-api.createapprootelementextension/) | +| wrappers | React components that should wrap the root element. | - | true | - | [createAppRootWrapperExtension](https://backstage.io/docs/reference/frontend-plugin-api.createapprootwrapperextension/) | + +#### Default app root elements extensions + +##### Alert Display + +An app root element extension that displays messages posted via the [`AlertApi`](https://backstage.io/docs/reference/core-plugin-api.alertapi). + +| kind | namespace | name | id | +| :--------------: | :-------: | :-----------: | :----------------------------------: | +| app-root-element | app | alert-display | `app-root-element:app/alert-display` | + +###### Configurations + +| Key | Type | Default value | Description | +| -------------------- | -------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------------- | +| `transientTimeoutMs` | number | 5000 | Time in milliseconds to wait before displaying messages | +| `anchorOrigin` | { vertical: 'top' \| 'bottom', horizontal: 'left' \| 'center' \| 'right' } | { vertical: 'top', horizontal: 'center' } | Position on the screen where the message alert will be displayed | + +###### Override or disable the extension + +If you do not want to display alerts, disable this extension or if the available settings do not meet your needs, override this extension. + +:::warning +The built-in "alert display" extension displays messages retrieved via [AlertApi](https://backstage.io/docs/reference/core-plugin-api.alertapi) and disabling this extension will cause the application to no longer display these messages unless you install another extension that displays messages from `AlertApi`. +::: + +##### OAuth Request Dialog + +An app root element extension that renders the oauth request dialog, it is based on the [oauthRequestApi](https://backstage.io/docs/reference/core-plugin-api.oauthrequestapi/). + +| kind | namespace | name | id | +| :--------------: | :-------: | :------------------: | :-----------------------------------------: | +| app-root-element | app | oauth-request-dialog | `app-root-element:app/oauth-request-dialog` | + +### App layout + +Renders the app's sidebar and content in a specific layout. + +| kind | namespace | name | id | +| :--: | :-------: | :----: | :----------: | +| - | app | layout | `app/layout` | + +#### Inputs + +| Name | Description | Type | Optional | Default | Extension creator | +| ------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -------- | ------- | ------------------------------------ | +| nav | A React element that renders the app sidebar. | [coreExtensionData.reactElement](https://backstage.io/docs/reference/frontend-plugin-api.coreextensiondata) | false | - | Override the `App/Nav` extension. | +| content | A React element that renders the app content. | [coreExtensionData.reactElement](https://backstage.io/docs/reference/frontend-plugin-api.coreextensiondata) | false | - | Override the `App/Routes` extension. | + +### App nav + +Extension responsible for rendering the logo and items in the app's sidebar. + +| kind | namespace | name | id | +| :--: | :-------: | :--: | :-------: | +| - | app | nav | `app/nav` | + +#### Inputs + +| Name | Description | Type | Optional | Default | Extension creator | +| ----- | ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ------- | -------------------------------------------------------------------------------------------------------- | +| logos | A nav logos object. | [createNavLogoExtension.logoElementsDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createnavlogoextension.logoelementsdataref) | true | - | [createNavLogoExtension](https://backstage.io/docs/reference/frontend-plugin-api.createnavlogoextension) | +| items | Nav items target objects. | [createNavItemExtension.targetDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createnavitemextension.targetdataref) | true | - | [createNavItemExtension](https://backstage.io/docs/reference/frontend-plugin-api.createnavitemextension) | + +### App routes + +Renders a route element for each route received as input and a `NotFoundErrorPage` component. + +| kind | namespace | name | id | +| :--: | :-------: | :----: | :----------: | +| - | app | routes | `app/routes` | + +#### Caveats + +Be careful when overriding this extension, as to do so correctly you must consider these implementation requirements: + +- The routing system is managed by more than one extension, and they all use 'react-router' behind the scenes and there are also some utilities that are based on the same library like `useRouteRefParams`. Therefore, you cannot use a different library without causing side effects in these other extensions and helper utilities; +- Don't remove configs or inputs, just extend these things yourself with optional new options, otherwise it will cause breaking changes for extensions like `createPageExtension` that depend on this type of entry, for example; +- Remember to user the route refs for getting paths dynamically, otherwise if an adopter modifies a path through configuration, the route is not going to point to the configured path. +- Adopter expects to be able to customize the `NotFoundErrorPage` component via Components API, you should render this component for routes not configured. + +#### Inputs + +| Name | Description | Type | Optional | Default | Extension creator | +| ------ | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -------- | ------- | -------------------------------------------------------------------------------------------------- | +| routes | The route objects list. | `{ path: coreExtensionData.routePath, ref: coreExtensionData.routeRef.optional(), element: coreExtensionData.reactElement }` | false | - | [createPageExtension](https://backstage.io/docs/reference/frontend-plugin-api.createpageextension) | From 0796eb66da2bc1d2dae53b05aef69b68c83a6f04 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Tue, 23 Jan 2024 16:25:33 +0100 Subject: [PATCH 34/82] docs: update sidebar pages Signed-off-by: Camila Belo --- microsite/sidebars.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/microsite/sidebars.json b/microsite/sidebars.json index e76faac0ed..d52c00b3da 100644 --- a/microsite/sidebars.json +++ b/microsite/sidebars.json @@ -416,6 +416,14 @@ "frontend-system/building-plugins/extension-types" ] }, + { + "type": "category", + "label": "Building Apps", + "items": [ + "frontend-system/building-apps/index", + "frontend-system/building-apps/built-in-extensions" + ] + }, { "type": "category", "label": "Utility APIs", From ceda378980eecbe0c6de672a63441b9009db7488 Mon Sep 17 00:00:00 2001 From: Andres Mauricio Gomez P Date: Tue, 6 Feb 2024 08:38:55 -0500 Subject: [PATCH 35/82] On LocalKubectlProxyClusterLocator, when resolving localhost, IPv4 address is placed before IPv6 address Signed-off-by: Andres Mauricio Gomez P --- .changeset/wicked-dolphins-wash.md | 5 +++++ .../src/cluster-locator/LocalKubectlProxyLocator.ts | 13 +++++++++++-- .../src/service/KubernetesProxy.test.ts | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 .changeset/wicked-dolphins-wash.md diff --git a/.changeset/wicked-dolphins-wash.md b/.changeset/wicked-dolphins-wash.md new file mode 100644 index 0000000000..9258913c41 --- /dev/null +++ b/.changeset/wicked-dolphins-wash.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-kubernetes-backend': patch +--- + +On LocalKubectlProxyClusterLocator, when resolving localhost, IPv4 address is placed before IPv6 address, ignoring the order from the DNS resolver. This change is necessary since by default kubectl proxy listen on IPv4 diff --git a/plugins/kubernetes-backend/src/cluster-locator/LocalKubectlProxyLocator.ts b/plugins/kubernetes-backend/src/cluster-locator/LocalKubectlProxyLocator.ts index 9bbab42443..f825203505 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/LocalKubectlProxyLocator.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/LocalKubectlProxyLocator.ts @@ -15,18 +15,25 @@ */ import { ANNOTATION_KUBERNETES_AUTH_PROVIDER } from '@backstage/plugin-kubernetes-common'; -import { ClusterDetails, KubernetesClustersSupplier } from '../types/types'; +import { + ClusterDetails, + KubernetesClustersSupplier, +} from '@backstage/plugin-kubernetes-node'; +import dns from 'node:dns'; export class LocalKubectlProxyClusterLocator implements KubernetesClustersSupplier { private readonly clusterDetails: ClusterDetails[]; + // verbatim: when false, IPv4 addresses are placed before IPv6 addresses, ignoring the order from the DNS resolver + // By default kubectl proxy listens on 127.0.0.1 instead of [::1] + private lookupPromise = dns.promises.lookup('localhost', { verbatim: false }); public constructor() { this.clusterDetails = [ { name: 'local', - url: 'http:/localhost:8001', + url: 'http://localhost:8001', authMetadata: { [ANNOTATION_KUBERNETES_AUTH_PROVIDER]: 'localKubectlProxy', }, @@ -36,6 +43,8 @@ export class LocalKubectlProxyClusterLocator } async getClusters(): Promise { + const lookupResolution = await this.lookupPromise; + this.clusterDetails[0].url = `http://${lookupResolution.address}:8001`; return this.clusterDetails; } } diff --git a/plugins/kubernetes-backend/src/service/KubernetesProxy.test.ts b/plugins/kubernetes-backend/src/service/KubernetesProxy.test.ts index f2eb61e7f9..527cf94a6a 100644 --- a/plugins/kubernetes-backend/src/service/KubernetesProxy.test.ts +++ b/plugins/kubernetes-backend/src/service/KubernetesProxy.test.ts @@ -646,7 +646,7 @@ describe('KubernetesProxy', () => { }); worker.use( - rest.get('http://localhost:8001/api/v1/namespaces', (req, res, ctx) => { + rest.get('http://127.0.0.1:8001/api/v1/namespaces', (req, res, ctx) => { return req.headers.get('Authorization') ? res(ctx.status(401)) : res( From 53df2b0223e5fe62f6817da6330e663e60843a97 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 6 Feb 2024 21:41:44 +0100 Subject: [PATCH 36/82] beps/0003: updated identity management + add reasoning around access control patterns MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Fredrik Adelöw Co-authored-by: Carl-Erik Bergström Co-authored-by: blam Signed-off-by: Patrik Oldsberg --- .../README.md | 208 +++++++++++++++--- 1 file changed, 174 insertions(+), 34 deletions(-) diff --git a/beps/0003-auth-architecture-evolution/README.md b/beps/0003-auth-architecture-evolution/README.md index 60d5eb74a5..6c8aa38b0b 100644 --- a/beps/0003-auth-architecture-evolution/README.md +++ b/beps/0003-auth-architecture-evolution/README.md @@ -54,6 +54,7 @@ The following goals are the primary focus of this BEP: - Basic improvements to the service-to-service auth service interfaces such that we are confident that we do not need to break them in the near future. - If possible we will keep using the existing symmetrical keys that are used today, but it is likely that we will need to break compatibility of existing tokens. - Encapsulation of user credentials in upstream service requests, avoiding the pattern where backend plugins re-use the user token directly for their outgoing requests. +- Separate out the ownership information out of the Backstage user tokens, since user tokens have been growing large enough to have an impact on performance and reliability. ### Non-Goals @@ -72,6 +73,8 @@ In order to allow either unauthenticated access or cookie-based access, a plugin For service-to-service communication we will move away from reusing user tokens in upstream requests. We will instead implement an "On-Behalf-Of" flow where incoming user credentials are encapsulated in a service token for the upstream request. In line with this the new auth service interfaces will aim to make it difficult to directly forward credentials from incoming requests, and instead encourage that plugin backends issue new service credentials for upstream requests. +An issue that has been identified in the current auth implementation is that the user information embedded in the Backstage user tokens can grow fairly large. In order to avoid that this becomes a widespread problem, especially as we implement cookie auth with a 4kb size limit, we will remove the ownership entity refs (`ent` claim) from the user tokens. There were already very few consumers of this information in practice - only the `permission-backend` and `signal-backend` plugin packages currently rely on this information. The ownership data will instead be available via a new `UserInfoService`, owned by the `auth-backend`. The implementation of this new service will keep relying on the `ent` claim of the user token initially, but we will also implement a new `/v1/userinfo` endpoint in the `auth-backend` that will migrate to transparently in the future. + ## Design Details ### `AuthService` Interface @@ -79,19 +82,32 @@ For service-to-service communication we will move away from reusing user tokens The new `AuthService` interface is defined as follows: ```ts -export type BackstageCredentials = { - token: string; +// These credential types are opaque and will also store some internal information, for example bearer tokens - user?: { - userEntityRef: string; - ownershipEntityRefs: string[]; - }; +export type BackstageUserCredentials = { + $$type: '@backstage/BackstageCredentials'; - service?: { - id: string; - }; + type: 'user'; + + userEntityRef: string; }; +export type BackstageServiceCredentials = { + $$type: '@backstage/BackstageCredentials'; + + type: 'service'; + + // Exact format TBD, possibly 'plugin:' or 'external:' + subject: string; + + // Not implemented in the first iteration, but this is how we might extend this in the future + permissions?: string[]; +}; + +type BackstageCredentials = + | BackstageUserCredentials + | BackstageServiceCredentials; + export interface AuthService { authenticate(token: string): Promise; @@ -99,9 +115,19 @@ export interface AuthService { } ``` -### `AuthService` Usage Patterns +### `UserInfoService` Interface -TODO +The new `UserInfoService` interface is defined as follows: + +```ts +export interface UserInfoService { + getUserInfo( + credentials: BackstageUserCredentials, + ): Promise<{ ownershipEntityRefs: string[] /* profile info too? */ }>; +} +``` + +The `UserInfoService` is exported by `@backstage/auth-node`, and the initial implementation will simply read the ownership refs from the `ent` claim of the underlying token of the user credentials. The next iteration will instead call the `/v1/userinfo` endpoint of the `auth-backend`, once that has been implemented. ### `HttpRouterService` Interface @@ -196,14 +222,27 @@ export default createBackendPlugin({ The new `HttpAuthService` interface is defined as follows: ```ts +export type BackstageUnauthorizedCredentials = { + $$type: '@backstage/BackstageCredentials'; + + type: 'unauthorized'; +}; + +type BackstageCredentialTypes = { + user: BackstageUserCredentials; + service: BackstageServiceCredentials; + unauthorized: BackstageUnauthorizedCredentials; +}; + export interface HttpAuthService { createHttpPluginRouterMiddleware(options: OptionsTBD): Handler; - credentials( + credentials( req: Request, - options?: HttpAuthServiceMiddlewareOptions, - ): BackstageCredentials; + options?: HttpAuthServiceMiddlewareOptions, + ): Promise; + // TODO: Keep an eye on this, might not be needed requestHeaders( credentials: BackstageCredentials, ): Promise>; @@ -212,7 +251,7 @@ export interface HttpAuthService { } ``` -### `HttpAuthService` Usage Patterns +### `AuthService`, `HttpAuthService` and `UserInfoService` Usage Patterns All of these usages patterns are from the perspective of a plugin backend. @@ -221,15 +260,10 @@ All of these usages patterns are from the perspective of a plugin backend. ```ts // All routes only allow authenticated users and services by default. router.get('/read-data', (req, res) => { - // TODO: user can currently be undefined, figure out best pattern to avoid that - const { user } = httpAuth.credentials(req); - if (!user) { - throw new NotAllowedError( - 'Service requests are not allowed on this endpoint', - ); - } + const credentials = await httpAuth.credentials(req, { allow: ['user'] }); // throws if not: user (or obo), user-cookie + const { ownershipEntityRefs } = await userInfo.getUserInfo(credentials); console.log( - `User ref=${user.userEntityRef} ownership=${user.ownershipEntityRefs}`, + `User ref=${credentials.userEntityRef} ownership=${ownershipEntityRefs} claims=${credentials.extraClaims}`, ); // ... }); @@ -238,11 +272,36 @@ router.get('/read-data', (req, res) => { #### Forward the user credentials from an incoming requests to upstream plugin backend ```ts +class CatalogIntegration { + async getEntity( + res: string, + options: { + credentials: BackstageUserCredentials | BackstageServiceCredentials; + }, + ) { + return catalogClient.getEntityByRef(req.params.entityRef, { + token: await auth.issueToken({ + forward: options.credentials, + }), + }); + } +} + +// Earlier in the router setup +const catalogIntegration = new CatalogIntegration(); + router.get('/read-data', (req, res) => { // The catalogClient will have a reference to the (plugin scoped) HttpAuthService, // which it uses to create the credential headers for the upstream request. const entity = await catalogClient.getEntityByRef(req.params.entityRef, { - credentials: httpAuth.credentials(req), + credentials: httpAuth.forwardCredentials(req, { + dangerouslyAllowUnauthenticated: true, + }), + }); + + // TODO: try this out in more places in plugins + const entity = await catalogIntegration.getEntity(req.params.entityRef, { + credentials: await httpAuth.credentials(req), }); // ... }); @@ -252,15 +311,17 @@ router.get('/read-data', (req, res) => { ```ts router.get('/read-data', (req, res) => { - const credentials = httpAuth.credentials(req); - if (credentials.user) { - res.json( - // Silly example just to highlight separate code paths for user and - // service requests - todoStore.listOwnedTodos({ owner: credentials.user.userEntityRef }), - ); + const credentials = await httpAuth.credentials(req, { + allow: ['user', 'service'], + }); + if (credentials.type === 'user') { + res.json(todoStore.listOwnedTodos({ owner: credentials.userEntityRef })); } else { - res.json(todoStore.listTodos()); + res.json( + todoStore.listTodos({ + serviceId: credentials.subject, + }), + ); } }); ``` @@ -294,9 +355,10 @@ router.get( (req, res) => { // These credentials don't actually contain an underlying user token for cookie-authed requests // If you try to pass them to the AuthService, it'll throw. - const { user } = httpAuth.credentials(req); + const credentials = await httpAuth.credentials(req, { allow: ['user'] }); + const { ownershipEntityRefs } = await userInfo.getUserInfo(credentials); console.log( - `User ref=${user.userEntityRef} ownership=${user.ownershipEntityRefs}`, + `User ref=${credentials.userEntityRef} ownership=${ownershipEntityRefs}`, ); // ... }, @@ -309,6 +371,19 @@ The existing `IdentityService` and `TokenManagerService` will be deprecated and The release plan for the `HttpAuthService` is TBD, but is likely to be shipped as a no-op for plugins using the old backend system. The goal is for all plugins using the new backend system to have endpoint security be opt-out, which will be a breaking change. +### Implementation Tasks + +- [ ] Implement `AuthService` +- [ ] Implement `HttpAuthService` - leave cookie auth as unimplemented for now +- [ ] Add `configure()` for `HttpRouterService`, using `HttpAuthService` +- [ ] Implement a compatibility wrapper in `backend-common` that accepts `AuthService`, `HttpAuthService`, `IdentityService`, and `TokenManagerService` (all optional), and returns implementations for `AuthService` and `HttpAuthService`, such hat existing plugins can use a single `createRouter` implementation for both the old and new backend systems. +- [ ] Implement `UserInfoService` in `@backstage/auth-node` - for now it will just extract the ownership entity refs from the token stored in the credentials +- [ ] Implement cookie auth in `HttpAuthService` - just put the user token in the cookie for now +- [ ] Migrate plugins: + - [ ] Permission backend + - [ ] TechDocs backend + - [ ] App backend + ## Dependencies No significant dependencies have been identified for this work, although any future security audits of Backstage are considered dependent on this work. @@ -316,3 +391,68 @@ No significant dependencies have been identified for this work, although any fut ## Alternatives An alternative to built-in protection from external access would be to keep relying on external mechanisms to protect access to Backstage. We feel that this is a suboptimal solution since it adds complexity to the adoption of Backstage, and increases the risk of misconfiguration and security breaches. Regardless of whether we add built-in protection or not the ability to protect API endpoints needs to be addressed in some way, since it is a requirement for the permission system to work. This means that the extra steps to ensure protection out of the box are fairly minimal when looking at just the delta for protecting API access. + +### Access Control Patterns + +These are the different patterns that we've considered for how plugins should control access to their endpoints. + +#### Separate methods / configuration for `use` + +This approach extends the `HttpRouterService` with separate methods or options for specifying the access control for different handlers. + +Pros: + +- We can make strict access control the default, making relaxed controls an opt-in +- The routing setup is quite explicit in what handlers allow for what access levels + +Cons: + +- Forces separation of the router, splitting it into separate handlers for different levels of access. +- Can be extremely confusing because the top-level middleware for more lax access will also apply to the more strict access levels. For example + + ```ts + const cookieRouter = Router(); + cookieRouter.use(rateLimit()); + http.useWithCookieAuthentication(cookieRouter); + + const mainRouter = Router(); + // rateLimit() will apply here too + http.use(mainRouter); + ``` + +This applied to any similar way of structuring this API, such as a single `.use()` method with additional options: + +```ts +http.use(cookieRouter, { allow: ['user-cookie'] }); +``` + +#### Separate configuration on different paths for `use` + +Similar to the previous approach, but also require that a path is provided. This removes much of the confusion around what middleware are applied. + +The downside of this approach is that it still has the drawback of forcing a separation of the router, but at the same it provides very little benefit over a top-level path configuration approach like `http.configure()`. The `'/static'` path in the below example essentially has the exact same logic as `.configure({ cookieAuthPaths: ['/static'] })` since it'd be implemented in the same way. The `.configure()` approach has the benefit of allowing plugin authors to decide whether they want to keep the routes separate or not. + +This does have the benefit of letting the framework know which exact routes are protected, which can be useful for introspection, although that benefit also applies to the `.configure()` approach. + +```ts +// This isn't too bad, but it's extremely similar to the configure() method since +// we're just matching on the path. The benefit of configure is that it allows you +// to keep everything in a singe router if desired. +http.use('/static', cookieRouter, { allow: ['user-cookie'] }); +``` + +#### Complete opt-out + +This approach simply enabled plugins to opt-out of the default access control, and instead require that they implement the necessary endpoint protection using `httpAuth.middleware()`. + +This approach makes it a bit easier to make mistakes compared to the `.configure()` approach, but at the same time it has the benefit of collection all access control login in a single place (the plugin router). It also doesn't allow the framework to see which endpoints have relaxed protection, which is a downside. + +Still, this is a pattern that is currently second in line if we don't go with the `.configure()` approach. + +```ts +http.dangerouslyDisableAuthentication(); +``` + +#### Leave access control to the plugin router + +Having strict access control be the default with explicit opt-out is an explicit goal of this work, so this is not an option that we are considering. From 7e3cf3e973a8e1140bf414aa98b73f3ad23fa788 Mon Sep 17 00:00:00 2001 From: Gustaf Lundh Date: Tue, 6 Feb 2024 13:48:22 +0100 Subject: [PATCH 37/82] Prettier fix Signed-off-by: Gustaf Lundh --- microsite/data/plugins/statuspage.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/microsite/data/plugins/statuspage.yaml b/microsite/data/plugins/statuspage.yaml index 7f5658283c..652052defc 100644 --- a/microsite/data/plugins/statuspage.yaml +++ b/microsite/data/plugins/statuspage.yaml @@ -6,5 +6,5 @@ category: Monitoring description: The Statuspage plugin allows you to embedd https://statuspage.io components, component groups and dashboards in Backstage. documentation: https://github.com/AxisCommunications/backstage-plugins/blob/main/plugins/statuspage/README.md iconUrl: https://raw.githubusercontent.com/AxisCommunications/backstage-plugins/main/plugins/statuspage/media/logo.png -npmPackageName: "@axis-backstage/plugin-statuspage" -addedDate: "2024-02-06" +npmPackageName: '@axis-backstage/plugin-statuspage' +addedDate: '2024-02-06' From 82dbd52052e6a22bfb833ac76243be5029a77aff Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 00:28:32 +0000 Subject: [PATCH 38/82] chore(deps): update mcr.microsoft.com/devcontainers/typescript-node:20 docker digest to 381a1fd Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- contrib/.devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/.devcontainer/Dockerfile b/contrib/.devcontainer/Dockerfile index 05be7a6d7f..5c21c73acc 100644 --- a/contrib/.devcontainer/Dockerfile +++ b/contrib/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/devcontainers/typescript-node:20@sha256:185cde4e033cd68fb4c5c9eef94ba6bde0dac2f334ecd1a7cf6cd2c87f712d85 +FROM mcr.microsoft.com/devcontainers/typescript-node:20@sha256:381a1fde32704f229b439ade94816d5619f710e35698982ec35afcd9384ae6cf RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ && apt-get -y install chromium \ From 7592828f9d7b7d4cf02d7c03248e4c81b125eddd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 00:29:01 +0000 Subject: [PATCH 39/82] chore(deps): update nginx:mainline docker digest to 84c52df Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- contrib/docker/frontend-with-nginx/Dockerfile.dockerbuild | 2 +- contrib/docker/frontend-with-nginx/Dockerfile.hostbuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/docker/frontend-with-nginx/Dockerfile.dockerbuild b/contrib/docker/frontend-with-nginx/Dockerfile.dockerbuild index a0ab7e7afe..96edc80a77 100644 --- a/contrib/docker/frontend-with-nginx/Dockerfile.dockerbuild +++ b/contrib/docker/frontend-with-nginx/Dockerfile.dockerbuild @@ -46,7 +46,7 @@ RUN yarn workspace app build -FROM nginx:mainline@sha256:5f44022eab9198d75939d9eaa5341bc077eca16fa51d4ef32d33f1bd4c8cbe7d +FROM nginx:mainline@sha256:84c52dfd55c467e12ef85cad6a252c0990564f03c4850799bf41dd738738691f RUN apt-get update && apt-get -y install jq && rm -rf /var/lib/apt/lists/* diff --git a/contrib/docker/frontend-with-nginx/Dockerfile.hostbuild b/contrib/docker/frontend-with-nginx/Dockerfile.hostbuild index 7e58443e66..c29b0c1516 100644 --- a/contrib/docker/frontend-with-nginx/Dockerfile.hostbuild +++ b/contrib/docker/frontend-with-nginx/Dockerfile.hostbuild @@ -27,7 +27,7 @@ -FROM nginx:mainline@sha256:5f44022eab9198d75939d9eaa5341bc077eca16fa51d4ef32d33f1bd4c8cbe7d +FROM nginx:mainline@sha256:84c52dfd55c467e12ef85cad6a252c0990564f03c4850799bf41dd738738691f RUN apt-get update && apt-get -y install jq && rm -rf /var/lib/apt/lists/* From f34b101f06ce0b5b1bc6ff89026fd42f11b802d9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 01:15:25 +0000 Subject: [PATCH 40/82] chore(deps): update dependency @testing-library/jest-dom to v6.4.2 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0e90b16d15..7a731f65db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17791,8 +17791,8 @@ __metadata: linkType: hard "@testing-library/jest-dom@npm:^6.0.0": - version: 6.3.0 - resolution: "@testing-library/jest-dom@npm:6.3.0" + version: 6.4.2 + resolution: "@testing-library/jest-dom@npm:6.4.2" dependencies: "@adobe/css-tools": ^4.3.2 "@babel/runtime": ^7.9.2 @@ -17819,7 +17819,7 @@ __metadata: optional: true vitest: optional: true - checksum: cea8aa17895cf4aff573fedee80e8a592611caf7bc724702fc70b3b7bfee94becd3a10873c818d931424018d6fdeeca9d1a2ea5f53b74092ad5e8e09f03dde90 + checksum: 631aeadbf4e738080ae095242cf1a29a0b4ee2f09c8bdd0d3f00a923707da64c1617e088ba9a961d098481afabdc1d19149fb7ef98edf15132348eb222f345ae languageName: node linkType: hard From fbc44e3890921e6b9233d5a260bd17d419e9d1f6 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 01:16:49 +0000 Subject: [PATCH 41/82] chore(deps): update dependency @types/sanitize-html to v2.11.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0e90b16d15..d02d00aff3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19473,11 +19473,11 @@ __metadata: linkType: hard "@types/sanitize-html@npm:^2.6.2": - version: 2.9.5 - resolution: "@types/sanitize-html@npm:2.9.5" + version: 2.11.0 + resolution: "@types/sanitize-html@npm:2.11.0" dependencies: htmlparser2: ^8.0.0 - checksum: fd0afee5dac91aa2c42391f0c8c9254204f4ee1f10b902aa04e8f7809043d785e28af2732f75277ef09e46838013ad60abedb02ba1424b6218264f3333437fb5 + checksum: a901d55d31cd946a7fce0130cc7cf6bcf56602af9c87291be77d8149c60e7afc47c83ca74c67c2d84e6ba029fe9bbd6f14f89a8cb30fbd185766eebc5722c251 languageName: node linkType: hard From 359375c5aaab5fcf4791a20ad8c40bf92db1ff82 Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Wed, 7 Feb 2024 09:59:33 +0100 Subject: [PATCH 42/82] Update members of Discoverability team Camila and Renan have switched teams. Djamaile had joined BUX. BUX got merged into "Infinite Buck$" Signed-off-by: Mitchell Hentges --- OWNERS.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/OWNERS.md b/OWNERS.md index 4d6fb21a80..7ad21c6fee 100644 --- a/OWNERS.md +++ b/OWNERS.md @@ -37,14 +37,13 @@ Team: @backstage/discoverability-maintainers Scope: Discoverability within Backstage, including the home page, information architecture, and search -| Name | Organization | Team | GitHub | Discord | -| ------------------------ | ------------ | ---- | ---------------------------------------- | ------------------ | -| Avantika Iyer | Spotify | BUX | [tikabom](http://github.com/tikabom) | - | -| Camila Belo | Spotify | BUX | [camilaibs](http://github.com/camilaibs) | Camila Loiola#0226 | -| Emma Indal | Spotify | BUX | [emmaindal](http://github.com/emmaindal) | emmaindal#7503 | -| Raghunandan Balachandran | Spotify | BUX | [soapraj](http://github.com/soapraj) | raghunandanb#1114 | -| Renan Mendes Carvalho | Spotify | BUX | [aitherios](http://github.com/aitherios) | aitherios#0593 | -| Bailey Brooks | Spotify | BUX | [bailey](http://github.com/bailey) | \_bailey4 | +| Name | Organization | Team | GitHub | Discord | +| ------------------------ | ------------ | -------------- | ---------------------------------------- | ----------------- | +| Avantika Iyer | Spotify | Infinite Buck$ | [tikabom](http://github.com/tikabom) | - | +| Emma Indal | Spotify | Infinite Buck$ | [emmaindal](http://github.com/emmaindal) | emmaindal#7503 | +| Djamaile Rahamat | Spotify | Infinite Buck$ | [djamaile](http://github.com/djamaile) | dyoqi | +| Raghunandan Balachandran | Spotify | Infinite Buck$ | [soapraj](http://github.com/soapraj) | raghunandanb#1114 | +| Bailey Brooks | Spotify | Infinite Buck$ | [bailey](http://github.com/bailey) | \_bailey4 | ### Helm Charts From f972f8d9f97af8d874958114d4f542c19018b7f3 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Sun, 4 Feb 2024 14:13:14 +0100 Subject: [PATCH 43/82] refactor: apply more review suggestions Signed-off-by: Camila Belo --- .../frontend-system/building-apps/01-index.md | 78 ++++++++++++------- .../building-apps/02-built-in-extensions.md | 42 +++++----- 2 files changed, 72 insertions(+), 48 deletions(-) diff --git a/docs/frontend-system/building-apps/01-index.md b/docs/frontend-system/building-apps/01-index.md index cf860c01d9..e23f628fb6 100644 --- a/docs/frontend-system/building-apps/01-index.md +++ b/docs/frontend-system/building-apps/01-index.md @@ -14,19 +14,19 @@ A Backstage App is a monorepo setup that includes everything you need to run Bac ## Creating a new app -To create a Backstage app, you will need to have Node.js Active LTS Release installed. +To create a new Backstage app we recommend using the `@backstage/create-app` command line, and the easiest way to run this package is with `npx`: -The easiest way to run the create app package is with `npx`: +:::note +The create-app CLI requires Node.js Active LTS Release. +::: ```sh +# The command bellow creates a Backstage App inside the current folder. +# The name of the app-folder is the name that was provided when prompted. npx @backstage/create-app@latest ``` -This will create a new Backstage App inside the current folder. The name of the app-folder is the name that was provided when prompted. - -:::note -The created app will currently be templated for use in the legacy frontend system, and you will need to replace the existing app wiring code. -::: +The created-app is currently templated for legacy frontend system applications, so the app wiring code it creates needs to be migrated, see [the app instance](#the-app-instance) section for an example. ## The app instance @@ -37,6 +37,7 @@ This is how to create a minimal app: ```tsx title="in src/index.ts" import ReactDOM from 'react-dom/client'; import { createApp } from '@backstage/frontend-app-api'; +import catalogPlugin from '@backstage/plugin-catalog/alpha'; // Create your app instance const app = createApp({ @@ -49,31 +50,41 @@ const root = app.createRoot(); // Just like any other React we need a root element. No server side rendering is used. const rootEl = document.getElementById('root')!; + +ReactDOM.createRoot(rootEl).render(root); ``` -Note that the `createRoot` exports an element instead of a component and it no longer accepts a custom root element as parameter, so this is the reason you can pass the returned element directly to React `createRoot`. See [customizing your root app element](#app-root) for more details on how to do it with extensions. +Note that `createRoot` returns the root element that is rendered by React. The above example is installing a catalog plugin and using default settings for the app, as no options other than the `features` array are passed to the `createApp` function. + +Visit the [built-in extensions](#customize-or-override-built-in-extensions) section to see what is installed by default in a Backstage application. ## Configure your app -### Enable features discovering +### Bind external routes -This is how you enable the experimental feature discovering when building your app with the `@backstage/cli`, check out [here](https://backstage.io/docs/frontend-system/architecture/app#feature-discovery) for more details. +Linking routes from different plugins requires this configuration. You can do this either through a configuration file or by coding, visit [this](https://backstage.io/docs/frontend-system/architecture/routes#binding-external-route-references) page for instructions. + +### Enable feature discovery + +Use this setting to enable experimental feature discovery when building your app with `@backstage/cli`. With this configuration your application tries to discover and install package extensions automatically, check [here](../architecture/02-app.md#feature-discovery) for more details. :::warning Remember that package extensions that are not auto-discovered must be manually added to the application when creating an app. See [features](#install-features-manually) for more details. ::: -### Bind external routes +### Configure extensions individually -This is the configuration you do when you want to associate an external plugin route ref with a regular one. There are two ways of doing it: via configuration file or through code. Access [this](https://backstage.io/docs/frontend-system/architecture/routes#binding-external-route-references) page for learning both ways. +It is possible to enable, disable and configure extensions individually in the `app-config.yaml` config file. To get familiar with what is available for app extensions personalization, go to the [built-in extensions](./02-built-in-extensions.md) documentation. For plugin customizations, we recommend that you read the instructions in each plugin's README file. -## Customize individual extensions +### Customize or override built-in extensions -It possible to enable, disable, order and configure extensions individually in the `app-config.yaml` config file. To get familiar with what is available for app extensions, go to the [built-in extensions](./02-built-in-extensions.md) documentation. For plugins customizations, we recommend you checking their read files instructions. +Previously you would customize the application route, components, apis, sidebar, etc. through the code in `App.tsx`. Now we want you to write less code and install more extensions to customize your Backstage instance. See [here](../building-plugins/03-extension-types.md) which types of extensions are available for you to customize your application. -## Install features manually +## Use code to customize the app at a more granular level -A manual installation is required if your packages are not discovered automatically, either because you are not using `@backstage/cli` to build your application or because the features are defined in local modules in the app package. For manually install a feature you have to import your it and pass it to the `createApp` function: +### Install features manually + +A manual installation is required if your packages are not discovered automatically, either because you are not using `@backstage/cli` to build your application or because the features are defined in local modules in the app package. In order to manually install a feature, you must import it and pass it to the `createApp` function: ```tsx title="packages/app/src/App.tsx" import { createApp } from '@backstage/frontend-app-api'; @@ -91,34 +102,47 @@ export default app.createRoot(); You can also pass overrides to the features array, for more details, please read the [extension overrides](../architecture/05-extension-overrides.md) documentation. ::: -If for some reason you need to perform asynchronous operations before passing features to the `createApp` function, you can use an async function as `features` option and this should return a features array promise: +### Using an async features loader + +In case you need to perform asynchronous operations before passing features to the `createApp` function, define a [feature loader](https://backstage.io/docs/reference/frontend-app-api.createappfeatureloader/) object and pass it to the `features` option: ```tsx title="packages/app/src/App.tsx" import { createApp } from '@backstage/frontend-app-api'; const app = createApp({ - // Lazy loading the plugin feature - features: import('./plugins/MyPlugin').then(m => [m.default]), + features: { + getLoaderName: () => '', + // there is a reference to the config api in the options param + load: async _options => { + // returning a lazy loaded plugins and overrides array + // could be util for module federation + return import('./features').then(m => m.default); + }, + }, }); export default app.createRoot(); ``` -## Lazy load your configuration file +### Lazy load your configuration file -In some cases we want to load our configuration from a backend server or we just want to override the default app configuration loader. If you want to do it, you can pass an async callback to the `createApp` function and it should return a promise of the config object: +In some cases we want to load our configuration from a backend server and to do so, you can pass an callback to the `configLoader` option when calling the `createApp` function, the callback should return a promise of an object with the config object: ```tsx title="packages/app/src/App.tsx" import { createApp } from '@backstage/frontend-app-api'; +import { getConfigFromServer } from './utils'; +// Example lazy loading the app configuration const app = createApp({ - // Lazy loading the plugin feature - features: import('./plugins/MyPlugin').then(m => [m.default]), + // Returns Promise<{ config: ConfigApi }> + configLoader: async () => { + // Calls an async utility method that fetches the config object from the server + const config = await getConfigFromServer(); + // Feel free to manipulate the config object before returning it + // A common example is conditionally modify the config based on the running enviroment + return { config }; + }, }); export default app.createRoot(); ``` - -## Customize or override built-in extensions - -Previously you would customize the application route, components, apis, sidebar, etc. through the code in `App.tsx`. Now we want you to write less code and install more extensions to customize your Backstage instance. See [here](../building-plugins/03-extension-types.md) which types of extensions are available for you to customize your application. diff --git a/docs/frontend-system/building-apps/02-built-in-extensions.md b/docs/frontend-system/building-apps/02-built-in-extensions.md index be89e23c9e..4f8417f74f 100644 --- a/docs/frontend-system/building-apps/02-built-in-extensions.md +++ b/docs/frontend-system/building-apps/02-built-in-extensions.md @@ -38,13 +38,13 @@ This extension is the first extension attached to the extension tree. It is resp #### Inputs -| Name | Description | Type | Optional | Default | Extension creator | -| ------------ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | ------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| root | The app root element. | [coreExtensionData.reactElement](https://backstage.io/docs/reference/frontend-plugin-api.coreextensiondata) | false | The [`App/Root`](#app-root) extension output. | No creator available, configure or override the [`App/Root`](#app-root) extension. | -| apis | The app apis factories. | [createApiExtension.factoryDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createapiextension.factorydataref) | false | See [default apis](#default-apis-extensions). | [createApiExtension](https://backstage.io/docs/reference/frontend-plugin-api.createapiextension) | -| themes | The app themes list. | [createThemeExtension.themeDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createthemeextension.themedataref) | false | See [default themes](#default-theme-extensions). | [createThemeExtension](https://backstage.io/docs/reference/frontend-plugin-api.createthemeextension) | -| components | The app components list. | [createComponentExtension.componentDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createcomponentextension.componentdataref) | - | false | See [default components](#defaults-components-extensions). | [createComponentExtension](https://backstage.io/docs/reference/frontend-plugin-api.createcomponentextension) | -| translations | The app translations list. | [createTranslationExtension.translationDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createtranslationextension.translationdataref) | - | false | - | [createTranslationExtension](https://backstage.io/docs/reference/frontend-plugin-api.createtranslationextension) | +| Name | Description | Type | Optional | Default | Extension creator | +| ------------ | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -------- | --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| root | The app root element. | [coreExtensionData.reactElement](https://backstage.io/docs/reference/frontend-plugin-api.coreextensiondata) | false | The [`App/Root`](#app-root) extension output. | No creator available, configure or override the [`App/Root`](#app-root) extension. | +| apis | The app apis factories. | [createApiExtension.factoryDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createapiextension.factorydataref) | false | See [default apis](#default-apis-extensions). | [createApiExtension](https://backstage.io/docs/reference/frontend-plugin-api.createapiextension) | +| themes | The app themes list. | [createThemeExtension.themeDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createthemeextension.themedataref) | false | See [default themes](#default-theme-extensions). | [createThemeExtension](https://backstage.io/docs/reference/frontend-plugin-api.createthemeextension) | +| components | The app components list. | [createComponentExtension.componentDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createcomponentextension.componentdataref) | false | See [default components](#default-components-extensions). | [createComponentExtension](https://backstage.io/docs/reference/frontend-plugin-api.createcomponentextension) | +| translations | The app translations list. | [createTranslationExtension.translationDataRef](https://backstage.io/docs/reference/frontend-plugin-api.createtranslationextension.translationdataref) | false | - | [createTranslationExtension](https://backstage.io/docs/reference/frontend-plugin-api.createtranslationextension) | #### Default theme extensions @@ -59,11 +59,11 @@ Extensions that provides default theme inputs for the `App` extension. Extensions that provides default components inputs for the `App` extension. -| kind | namespace | name | id | -| :--------: | :-------: | :-----------------------------------: | :--------------------: | -| components | app | core.components.progress | `components:app/light` | -| components | app | core.components.notFoundErrorPage | `components:app/dark` | -| components | app | core.components.errorBoundaryFallback | `components:app/dark` | +| kind | namespace | name | id | +| :--------: | :-------: | :-----------------------------------: | :----------------------------------------------------: | +| components | app | core.components.progress | `components:app/core.components.progress` | +| components | app | core.components.notFoundErrorPage | `components:app/core.components.notFoundErrorPage` | +| components | app | core.components.errorBoundaryFallback | `components:app/core.components.errorBoundaryFallback` | #### Default apis extensions @@ -91,7 +91,7 @@ Extensions that provides default apis inputs for the `App` extension. ### App root -This is the extension that creates the app root element, so it renders root level components such as app router, layout. +This is the extension that creates the app root element, so it renders root level components such as app router and layout. #### Inputs @@ -115,10 +115,10 @@ An app root element extension that displays messages posted via the [`AlertApi`] ###### Configurations -| Key | Type | Default value | Description | -| -------------------- | -------------------------------------------------------------------------- | ----------------------------------------- | ---------------------------------------------------------------- | -| `transientTimeoutMs` | number | 5000 | Time in milliseconds to wait before displaying messages | -| `anchorOrigin` | { vertical: 'top' \| 'bottom', horizontal: 'left' \| 'center' \| 'right' } | { vertical: 'top', horizontal: 'center' } | Position on the screen where the message alert will be displayed | +| Key | Type | Default value | Description | +| -------------------- | -------------------------------------------------------------------------- | ----------------------------------------- | ----------------------------------------------------------------- | +| `transientTimeoutMs` | number | 5000 | Time in milliseconds to wait before displaying messages. | +| `anchorOrigin` | { vertical: 'top' \| 'bottom', horizontal: 'left' \| 'center' \| 'right' } | { vertical: 'top', horizontal: 'center' } | Position on the screen where the message alert will be displayed. | ###### Override or disable the extension @@ -178,10 +178,10 @@ Renders a route element for each route received as input and a `NotFoundErrorPag Be careful when overriding this extension, as to do so correctly you must consider these implementation requirements: -- The routing system is managed by more than one extension, and they all use 'react-router' behind the scenes and there are also some utilities that are based on the same library like `useRouteRefParams`. Therefore, you cannot use a different library without causing side effects in these other extensions and helper utilities; -- Don't remove configs or inputs, just extend these things yourself with optional new options, otherwise it will cause breaking changes for extensions like `createPageExtension` that depend on this type of entry, for example; -- Remember to user the route refs for getting paths dynamically, otherwise if an adopter modifies a path through configuration, the route is not going to point to the configured path. -- Adopter expects to be able to customize the `NotFoundErrorPage` component via Components API, you should render this component for routes not configured. +- The routing system is managed by more than one extension, and they all use `react-router` behind the scenes. There are also some utilities that are based on the same `routing` library like `useRouteRefParams`. Therefore, you cannot use a different library without causing side effects in these other extensions and helper utilities; +- Don't remove configs or inputs, just extend these things yourself with optional new options, otherwise it will cause breaking changes for extensions like `createPageExtension` that depend on this type of inputs; +- Remember to user the route refs for getting paths dynamically, otherwise if an adopter modifies a path through configuration, the route is not going to point to the configured path; +- Adopters expect to be able to customize the `NotFoundErrorPage` component via Components API, you should render this component for routes not configured. #### Inputs From 542e14d37e9c202aa63e04a4dc8068088805aa88 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 13:12:52 +0000 Subject: [PATCH 44/82] fix(deps): update dependency postcss to v8.4.34 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 0e90b16d15..c4fa40b626 100644 --- a/yarn.lock +++ b/yarn.lock @@ -38072,13 +38072,13 @@ __metadata: linkType: hard "postcss@npm:^8.1.0, postcss@npm:^8.4.27, postcss@npm:^8.4.33": - version: 8.4.33 - resolution: "postcss@npm:8.4.33" + version: 8.4.34 + resolution: "postcss@npm:8.4.34" dependencies: nanoid: ^3.3.7 picocolors: ^1.0.0 source-map-js: ^1.0.2 - checksum: 6f98b2af4b76632a3de20c4f47bf0e984a1ce1a531cf11adcb0b1d63a6cbda0aae4165e578b66c32ca4879038e3eaad386a6be725a8fb4429c78e3c1ab858fe9 + checksum: 46c32b51810a23060288c86fdb5195237c497f952c674167fd1cbb3f0c628389a3fd48ae0b289447e5368b4abbc95f81e2d318bfdc5554063b2a7e8192e1a540 languageName: node linkType: hard From bf2584f5fef58f4936ee1d2f98a8d9fd027ef388 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 13:18:39 +0000 Subject: [PATCH 45/82] chore(deps): pin dependencies Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/verify_microsite_accessibility.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify_microsite_accessibility.yml b/.github/workflows/verify_microsite_accessibility.yml index 683fe7840e..9df9a9f8a0 100644 --- a/.github/workflows/verify_microsite_accessibility.yml +++ b/.github/workflows/verify_microsite_accessibility.yml @@ -19,10 +19,10 @@ jobs: with: egress-policy: audit - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Use Node.js 18.x - uses: actions/setup-node@v4.0.1 + uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 with: node-version: 18.x From 28ad7467fa6bc2d2ccde8d43534979e4a9699a49 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 13:24:24 +0000 Subject: [PATCH 46/82] chore(deps): update chromaui/action digest to c53f509 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/verify_storybook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/verify_storybook.yml b/.github/workflows/verify_storybook.yml index 5471555402..563d9b811c 100644 --- a/.github/workflows/verify_storybook.yml +++ b/.github/workflows/verify_storybook.yml @@ -51,7 +51,7 @@ jobs: - run: yarn build-storybook - - uses: chromaui/action@05a82adb1e6919df177f54777e81a2ef3e312323 # v10 + - uses: chromaui/action@c53f50952a7b6d99666d77d8a61eb1b58944d68a # v10 with: token: ${{ secrets.GITHUB_TOKEN }} # projectToken intentionally shared to allow collaborators to run Chromatic on forks From 89444f1ea512aa3aead2a29a70fa730c5f7d610e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 14:04:11 +0000 Subject: [PATCH 47/82] chore(deps): update mysql:8 docker digest to 2a9ef10 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy_packages.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 247770a74e..b2cbeb167c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,7 +177,7 @@ jobs: ports: - 5432/tcp mysql8: - image: mysql:8@sha256:d7c20c5ba268c558f4fac62977f8c7125bde0630ff8946b08dde44135ef40df3 + image: mysql:8@sha256:2a9ef1075ff30c65bbcf4f96b25a03ea3b3f492c284e6c4a612c269ce4c5bb19 env: MYSQL_ROOT_PASSWORD: root options: >- diff --git a/.github/workflows/deploy_packages.yml b/.github/workflows/deploy_packages.yml index 7e4f297933..488aa281a6 100644 --- a/.github/workflows/deploy_packages.yml +++ b/.github/workflows/deploy_packages.yml @@ -45,7 +45,7 @@ jobs: ports: - 5432/tcp mysql8: - image: mysql:8@sha256:d7c20c5ba268c558f4fac62977f8c7125bde0630ff8946b08dde44135ef40df3 + image: mysql:8@sha256:2a9ef1075ff30c65bbcf4f96b25a03ea3b3f492c284e6c4a612c269ce4c5bb19 env: MYSQL_ROOT_PASSWORD: root options: >- From 265a5ef3564d1e15e2472cfc3a49b0c2ae2514d7 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 14:04:17 +0000 Subject: [PATCH 48/82] chore(deps): update postgres:12 docker digest to 8ffdca6 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy_packages.yml | 2 +- .github/workflows/verify_e2e-linux.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 247770a74e..dbefb58a2e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,7 +166,7 @@ jobs: ports: - 5432/tcp postgres12: - image: postgres:12@sha256:aafc7d3faafa5f95fa4709007c742864747a104c3d950f98bb606145208e4a77 + image: postgres:12@sha256:8ffdca6e9208aceb30653fa0cc1c38956303ace453944b54b4f71019cfe854c1 env: POSTGRES_PASSWORD: postgres options: >- diff --git a/.github/workflows/deploy_packages.yml b/.github/workflows/deploy_packages.yml index 7e4f297933..dc6021762d 100644 --- a/.github/workflows/deploy_packages.yml +++ b/.github/workflows/deploy_packages.yml @@ -34,7 +34,7 @@ jobs: ports: - 5432/tcp postgres12: - image: postgres:12@sha256:aafc7d3faafa5f95fa4709007c742864747a104c3d950f98bb606145208e4a77 + image: postgres:12@sha256:8ffdca6e9208aceb30653fa0cc1c38956303ace453944b54b4f71019cfe854c1 env: POSTGRES_PASSWORD: postgres options: >- diff --git a/.github/workflows/verify_e2e-linux.yml b/.github/workflows/verify_e2e-linux.yml index 9fd2acafa4..315cb76963 100644 --- a/.github/workflows/verify_e2e-linux.yml +++ b/.github/workflows/verify_e2e-linux.yml @@ -19,7 +19,7 @@ jobs: services: postgres: - image: postgres:12@sha256:aafc7d3faafa5f95fa4709007c742864747a104c3d950f98bb606145208e4a77 + image: postgres:12@sha256:8ffdca6e9208aceb30653fa0cc1c38956303ace453944b54b4f71019cfe854c1 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres From a029c41837901d2dfc88bfdda47db6cd662b39ef Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 7 Feb 2024 15:14:38 +0100 Subject: [PATCH 49/82] beps/0003: add TODOs for issuing service tokens Couple of concerns around how service tokens are issued that came up. First one is whether we should require callers to specify which plugin they want to talk to - as this information can be quite valuable to the implementation. Second is how we make it hard to forget to forward credentials, since the existing interface doesn't really do that. Signed-off-by: Patrik Oldsberg --- beps/0003-auth-architecture-evolution/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beps/0003-auth-architecture-evolution/README.md b/beps/0003-auth-architecture-evolution/README.md index 6c8aa38b0b..e5937aab0d 100644 --- a/beps/0003-auth-architecture-evolution/README.md +++ b/beps/0003-auth-architecture-evolution/README.md @@ -111,6 +111,8 @@ type BackstageCredentials = export interface AuthService { authenticate(token: string): Promise; + // TODO: should the caller provide the target plugin ID? + // TODO: how can we make it very difficult to forget to forward credentials issueToken(credentials: BackstageCredentials): Promise<{ token: string }>; } ``` From eab6182032154eb63b5fdca900e91ec33353ceee Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 7 Feb 2024 15:17:55 +0100 Subject: [PATCH 50/82] root: add repo field Signed-off-by: Patrik Oldsberg --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 3592a3df84..137f01fe45 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,10 @@ "prepare": "husky", "postinstall": "husky || true" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage" + }, "workspaces": { "packages": [ "packages/*", From 21ad2bb7c6ae01b4105718a779ac8545830b9469 Mon Sep 17 00:00:00 2001 From: Patrick Jungermann Date: Tue, 30 Jan 2024 23:31:07 +0100 Subject: [PATCH 51/82] chore(catalog): remove deprecated catalog-backend-module-bitbucket plugin The package `@backstage/plugin-catalog-backend-module-bitbucket` was replaced by - `@backstage/plugin-catalog-backend-module-bitbucket-cloud` - `@backstage/plugin-catalog-backend-module-bitbucket-server` in April 2022. Signed-off-by: Patrick Jungermann --- .../.eslintrc.js | 1 - .../CHANGELOG.md | 1184 ----------------- .../README.md | 8 - .../api-report.md | 47 - .../catalog-info.yaml | 10 - .../package.json | 52 - .../src/BitbucketDiscoveryProcessor.test.ts | 1176 ---------------- .../src/BitbucketDiscoveryProcessor.ts | 415 ------ .../src/index.ts | 24 - .../src/lib/BitbucketRepositoryParser.test.ts | 44 - .../src/lib/BitbucketRepositoryParser.ts | 51 - .../src/lib/BitbucketServerClient.ts | 100 -- .../src/lib/index.ts | 21 - .../src/lib/types.ts | 31 - .../src/setupTests.ts | 17 - yarn.lock | 17 - 16 files changed, 3198 deletions(-) delete mode 100644 plugins/catalog-backend-module-bitbucket/.eslintrc.js delete mode 100644 plugins/catalog-backend-module-bitbucket/CHANGELOG.md delete mode 100644 plugins/catalog-backend-module-bitbucket/README.md delete mode 100644 plugins/catalog-backend-module-bitbucket/api-report.md delete mode 100644 plugins/catalog-backend-module-bitbucket/catalog-info.yaml delete mode 100644 plugins/catalog-backend-module-bitbucket/package.json delete mode 100644 plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.test.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/index.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.test.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/lib/BitbucketServerClient.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/lib/index.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/lib/types.ts delete mode 100644 plugins/catalog-backend-module-bitbucket/src/setupTests.ts diff --git a/plugins/catalog-backend-module-bitbucket/.eslintrc.js b/plugins/catalog-backend-module-bitbucket/.eslintrc.js deleted file mode 100644 index e2a53a6ad2..0000000000 --- a/plugins/catalog-backend-module-bitbucket/.eslintrc.js +++ /dev/null @@ -1 +0,0 @@ -module.exports = require('@backstage/cli/config/eslint-factory')(__dirname); diff --git a/plugins/catalog-backend-module-bitbucket/CHANGELOG.md b/plugins/catalog-backend-module-bitbucket/CHANGELOG.md deleted file mode 100644 index 8a54e85f13..0000000000 --- a/plugins/catalog-backend-module-bitbucket/CHANGELOG.md +++ /dev/null @@ -1,1184 +0,0 @@ -# @backstage/plugin-catalog-backend-module-bitbucket - -## 0.2.25-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.21.0-next.2 - - @backstage/plugin-catalog-node@1.6.2-next.2 - - @backstage/config@1.1.1 - - @backstage/integration@1.9.0-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.16-next.1 - -## 0.2.25-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.21.0-next.1 - - @backstage/integration@1.9.0-next.0 - - @backstage/config@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.16-next.1 - - @backstage/plugin-catalog-node@1.6.2-next.1 - -## 0.2.25-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.21.0-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.16-next.0 - - @backstage/plugin-catalog-node@1.6.2-next.0 - - @backstage/config@1.1.1 - - @backstage/integration@1.8.0 - -## 0.2.24 - -### Patch Changes - -- 4016f21: Remove some unused dependencies -- Updated dependencies - - @backstage/backend-common@0.20.1 - - @backstage/plugin-catalog-node@1.6.1 - - @backstage/config@1.1.1 - - @backstage/integration@1.8.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.15 - -## 0.2.24-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.20.1-next.2 - - @backstage/plugin-catalog-node@1.6.1-next.2 - -## 0.2.24-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.20.1-next.1 - - @backstage/integration@1.8.0 - - @backstage/config@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.15 - - @backstage/plugin-catalog-node@1.6.1-next.1 - -## 0.2.24-next.0 - -### Patch Changes - -- 4016f21: Remove some unused dependencies -- Updated dependencies - - @backstage/backend-common@0.20.1-next.0 - - @backstage/plugin-catalog-node@1.6.1-next.0 - - @backstage/config@1.1.1 - - @backstage/integration@1.8.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.15 - -## 0.2.23 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.20.0 - - @backstage/plugin-catalog-node@1.6.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.15 - - @backstage/integration@1.8.0 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/types@1.1.1 - -## 0.2.23-next.3 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.20.0-next.3 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/integration@1.8.0-next.1 - - @backstage/types@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.15-next.1 - - @backstage/plugin-catalog-node@1.6.0-next.3 - -## 0.2.23-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-node@1.6.0-next.2 - - @backstage/backend-common@0.20.0-next.2 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/integration@1.8.0-next.1 - - @backstage/types@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.15-next.1 - -## 0.2.23-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/integration@1.8.0-next.1 - - @backstage/backend-common@0.20.0-next.1 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/types@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.15-next.1 - - @backstage/plugin-catalog-node@1.5.1-next.1 - -## 0.2.23-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.20.0-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.15-next.0 - - @backstage/integration@1.8.0-next.0 - - @backstage/plugin-catalog-node@1.5.1-next.0 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/types@1.1.1 - -## 0.2.22 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-node@1.5.0 - - @backstage/integration@1.7.2 - - @backstage/backend-common@0.19.9 - - @backstage/plugin-bitbucket-cloud-common@0.2.14 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/types@1.1.1 - -## 0.2.22-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.9-next.2 - - @backstage/plugin-catalog-node@1.5.0-next.2 - -## 0.2.22-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-node@1.5.0-next.1 - - @backstage/integration@1.7.2-next.0 - - @backstage/backend-common@0.19.9-next.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.14-next.0 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/types@1.1.1 - -## 0.2.22-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.9-next.0 - - @backstage/integration@1.7.1 - - @backstage/catalog-model@1.4.3 - - @backstage/config@1.1.1 - - @backstage/errors@1.2.3 - - @backstage/types@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.13 - - @backstage/plugin-catalog-node@1.4.8-next.0 - -## 0.2.21 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.8 - - @backstage/integration@1.7.1 - - @backstage/plugin-catalog-node@1.4.7 - - @backstage/catalog-model@1.4.3 - - @backstage/errors@1.2.3 - - @backstage/plugin-bitbucket-cloud-common@0.2.13 - - @backstage/config@1.1.1 - - @backstage/types@1.1.1 - -## 0.2.21-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.8-next.2 - - @backstage/catalog-model@1.4.3-next.0 - - @backstage/integration@1.7.1-next.1 - - @backstage/errors@1.2.3-next.0 - - @backstage/plugin-catalog-node@1.4.7-next.2 - - @backstage/config@1.1.1-next.0 - - @backstage/types@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.13-next.1 - -## 0.2.20-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-node@1.4.6-next.1 - - @backstage/backend-common@0.19.7-next.1 - - @backstage/config@1.1.0 - - @backstage/catalog-model@1.4.2 - - @backstage/errors@1.2.2 - - @backstage/integration@1.7.1-next.0 - - @backstage/types@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.13-next.0 - -## 0.2.20-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/integration@1.7.1-next.0 - - @backstage/backend-common@0.19.7-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.13-next.0 - - @backstage/config@1.1.0 - - @backstage/catalog-model@1.4.2 - - @backstage/errors@1.2.2 - - @backstage/types@1.1.1 - - @backstage/plugin-catalog-node@1.4.6-next.0 - -## 0.2.18 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.5 - - @backstage/config@1.1.0 - - @backstage/catalog-model@1.4.2 - - @backstage/errors@1.2.2 - - @backstage/integration@1.7.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.12 - - @backstage/types@1.1.1 - - @backstage/plugin-catalog-node@1.4.4 - -## 0.2.18-next.3 - -### Patch Changes - -- Updated dependencies - - @backstage/catalog-model@1.4.2-next.2 - - @backstage/config@1.1.0-next.2 - - @backstage/errors@1.2.2-next.0 - - @backstage/integration@1.7.0-next.3 - - @backstage/plugin-bitbucket-cloud-common@0.2.12-next.3 - - @backstage/types@1.1.1-next.0 - - @backstage/backend-common@0.19.5-next.3 - - @backstage/plugin-catalog-node@1.4.4-next.3 - -## 0.2.18-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/config@1.1.0-next.1 - - @backstage/backend-common@0.19.5-next.2 - - @backstage/plugin-catalog-node@1.4.4-next.2 - - @backstage/integration@1.7.0-next.2 - - @backstage/catalog-model@1.4.2-next.1 - - @backstage/errors@1.2.1 - - @backstage/types@1.1.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.12-next.2 - -## 0.2.18-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/config@1.1.0-next.0 - - @backstage/integration@1.7.0-next.1 - - @backstage/backend-common@0.19.5-next.1 - - @backstage/catalog-model@1.4.2-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.12-next.1 - - @backstage/plugin-catalog-node@1.4.4-next.1 - - @backstage/errors@1.2.1 - - @backstage/types@1.1.0 - -## 0.2.17-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.4-next.0 - - @backstage/integration@1.7.0-next.0 - - @backstage/catalog-model@1.4.1 - - @backstage/config@1.0.8 - - @backstage/errors@1.2.1 - - @backstage/types@1.1.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.11-next.0 - - @backstage/plugin-catalog-node@1.4.3-next.0 - -## 0.2.15 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.9 - - @backstage/plugin-catalog-node@1.4.1 - - @backstage/integration@1.6.0 - - @backstage/catalog-model@1.4.1 - - @backstage/config@1.0.8 - - @backstage/errors@1.2.1 - - @backstage/types@1.1.0 - -## 0.2.15-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.2-next.2 - - @backstage/plugin-catalog-node@1.4.1-next.2 - -## 0.2.15-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.2-next.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.9-next.0 - - @backstage/plugin-catalog-node@1.4.1-next.1 - - @backstage/integration@1.5.1 - - @backstage/catalog-model@1.4.1 - - @backstage/config@1.0.8 - - @backstage/errors@1.2.1 - - @backstage/types@1.1.0 - -## 0.2.15-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.2-next.0 - - @backstage/catalog-model@1.4.1 - - @backstage/config@1.0.8 - - @backstage/errors@1.2.1 - - @backstage/integration@1.5.1 - - @backstage/types@1.1.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.8 - - @backstage/plugin-catalog-node@1.4.1-next.0 - -## 0.2.14 - -### Patch Changes - -- Updated dependencies - - @backstage/errors@1.2.1 - - @backstage/backend-common@0.19.1 - - @backstage/plugin-catalog-node@1.4.0 - - @backstage/catalog-model@1.4.1 - - @backstage/config@1.0.8 - - @backstage/integration@1.5.1 - - @backstage/types@1.1.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.8 - -## 0.2.14-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/errors@1.2.1-next.0 - - @backstage/backend-common@0.19.1-next.0 - - @backstage/plugin-catalog-node@1.4.0-next.0 - - @backstage/catalog-model@1.4.1-next.0 - - @backstage/config@1.0.8 - - @backstage/integration@1.5.1-next.0 - - @backstage/types@1.1.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.8-next.0 - -## 0.2.13 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.0 - - @backstage/types@1.1.0 - - @backstage/integration@1.5.0 - - @backstage/catalog-model@1.4.0 - - @backstage/errors@1.2.0 - - @backstage/plugin-catalog-node@1.3.7 - - @backstage/config@1.0.8 - - @backstage/plugin-bitbucket-cloud-common@0.2.7 - -## 0.2.13-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.0-next.2 - - @backstage/catalog-model@1.4.0-next.1 - - @backstage/config@1.0.7 - - @backstage/errors@1.2.0-next.0 - - @backstage/integration@1.5.0-next.0 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.7-next.0 - - @backstage/plugin-catalog-node@1.3.7-next.2 - -## 0.2.13-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.19.0-next.1 - - @backstage/integration@1.5.0-next.0 - - @backstage/errors@1.2.0-next.0 - - @backstage/catalog-model@1.4.0-next.0 - - @backstage/plugin-catalog-node@1.3.7-next.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.7-next.0 - - @backstage/config@1.0.7 - - @backstage/types@1.0.2 - -## 0.2.13-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-node@1.3.7-next.0 - - @backstage/backend-common@0.18.6-next.0 - - @backstage/integration@1.4.5 - - @backstage/config@1.0.7 - - @backstage/catalog-model@1.3.0 - - @backstage/errors@1.1.5 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.6 - -## 0.2.12 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.5 - - @backstage/integration@1.4.5 - - @backstage/plugin-catalog-node@1.3.6 - - @backstage/catalog-model@1.3.0 - - @backstage/config@1.0.7 - - @backstage/errors@1.1.5 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.6 - -## 0.2.12-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.5-next.1 - - @backstage/plugin-catalog-node@1.3.6-next.1 - - @backstage/config@1.0.7 - -## 0.2.12-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.5-next.0 - - @backstage/integration@1.4.5-next.0 - - @backstage/plugin-catalog-node@1.3.6-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.6-next.0 - - @backstage/catalog-model@1.3.0 - - @backstage/config@1.0.7 - - @backstage/errors@1.1.5 - - @backstage/types@1.0.2 - -## 0.2.11 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.4 - - @backstage/catalog-model@1.3.0 - - @backstage/integration@1.4.4 - - @backstage/plugin-catalog-node@1.3.5 - - @backstage/config@1.0.7 - - @backstage/errors@1.1.5 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.5 - -## 0.2.11-next.3 - -### Patch Changes - -- Updated dependencies - - @backstage/catalog-model@1.3.0-next.0 - - @backstage/backend-common@0.18.4-next.2 - - @backstage/config@1.0.7 - - @backstage/errors@1.1.5 - - @backstage/integration@1.4.4-next.0 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.5-next.0 - - @backstage/plugin-catalog-node@1.3.5-next.3 - -## 0.2.11-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.4-next.2 - - @backstage/catalog-model@1.2.1 - - @backstage/config@1.0.7 - - @backstage/errors@1.1.5 - - @backstage/integration@1.4.4-next.0 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.5-next.0 - - @backstage/plugin-catalog-node@1.3.5-next.2 - -## 0.2.11-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/integration@1.4.4-next.0 - - @backstage/backend-common@0.18.4-next.1 - - @backstage/catalog-model@1.2.1 - - @backstage/config@1.0.7 - - @backstage/errors@1.1.5 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.5-next.0 - - @backstage/plugin-catalog-node@1.3.5-next.1 - -## 0.2.11-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.4-next.0 - - @backstage/config@1.0.7 - - @backstage/integration@1.4.3 - - @backstage/catalog-model@1.2.1 - - @backstage/errors@1.1.5 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.4 - - @backstage/plugin-catalog-node@1.3.5-next.0 - -## 0.2.10 - -### Patch Changes - -- e675f902980: Make sure to not use deprecated exports from `@backstage/plugin-catalog-backend` -- 52b0022dab7: Updated dependency `msw` to `^1.0.0`. -- Updated dependencies - - @backstage/backend-common@0.18.3 - - @backstage/errors@1.1.5 - - @backstage/plugin-catalog-node@1.3.4 - - @backstage/catalog-model@1.2.1 - - @backstage/integration@1.4.3 - - @backstage/plugin-bitbucket-cloud-common@0.2.4 - - @backstage/config@1.0.7 - - @backstage/types@1.0.2 - -## 0.2.10-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.3-next.2 - - @backstage/plugin-catalog-backend@1.8.0-next.2 - - @backstage/config@1.0.7-next.0 - - @backstage/integration@1.4.3-next.0 - -## 0.2.10-next.1 - -### Patch Changes - -- 52b0022dab7: Updated dependency `msw` to `^1.0.0`. -- Updated dependencies - - @backstage/errors@1.1.5-next.0 - - @backstage/backend-common@0.18.3-next.1 - - @backstage/integration@1.4.3-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.4-next.0 - - @backstage/plugin-catalog-backend@1.8.0-next.1 - - @backstage/config@1.0.7-next.0 - - @backstage/catalog-model@1.2.1-next.1 - - @backstage/types@1.0.2 - -## 0.2.10-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-backend@1.8.0-next.0 - - @backstage/backend-common@0.18.3-next.0 - - @backstage/catalog-model@1.2.1-next.0 - - @backstage/config@1.0.6 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.2 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.3 - -## 0.2.9 - -### Patch Changes - -- 85b04f659a: Internal refactor to not use deprecated `substr` -- Updated dependencies - - @backstage/plugin-catalog-backend@1.7.2 - - @backstage/backend-common@0.18.2 - - @backstage/catalog-model@1.2.0 - - @backstage/config@1.0.6 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.2 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.3 - -## 0.2.9-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.2-next.2 - - @backstage/plugin-catalog-backend@1.7.2-next.2 - - @backstage/catalog-model@1.2.0-next.1 - - @backstage/config@1.0.6 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.2 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.3 - -## 0.2.9-next.1 - -### Patch Changes - -- 85b04f659a: Internal refactor to not use deprecated `substr` -- Updated dependencies - - @backstage/plugin-catalog-backend@1.7.2-next.1 - - @backstage/backend-common@0.18.2-next.1 - - @backstage/catalog-model@1.1.6-next.0 - - @backstage/config@1.0.6 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.2 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.3 - -## 0.2.9-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/catalog-model@1.1.6-next.0 - - @backstage/backend-common@0.18.2-next.0 - - @backstage/plugin-catalog-backend@1.7.2-next.0 - -## 0.2.7 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.0 - - @backstage/catalog-model@1.1.5 - - @backstage/plugin-catalog-backend@1.7.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.3 - - @backstage/config@1.0.6 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.2 - - @backstage/types@1.0.2 - -## 0.2.7-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.0-next.1 - - @backstage/plugin-catalog-backend@1.7.0-next.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.3-next.1 - - @backstage/catalog-model@1.1.5-next.1 - - @backstage/config@1.0.6-next.0 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.2-next.0 - - @backstage/types@1.0.2 - -## 0.2.7-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.18.0-next.0 - - @backstage/config@1.0.6-next.0 - - @backstage/plugin-catalog-backend@1.7.0-next.1 - - @backstage/catalog-model@1.1.5-next.1 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.2-next.0 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.3-next.0 - -## 0.2.7-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/catalog-model@1.1.5-next.0 - - @backstage/plugin-catalog-backend@1.7.0-next.0 - - @backstage/backend-common@0.17.0 - - @backstage/config@1.0.5 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.1 - - @backstage/types@1.0.2 - - @backstage/plugin-bitbucket-cloud-common@0.2.2 - -## 0.2.6 - -### Patch Changes - -- 3280711113: Updated dependency `msw` to `^0.49.0`. -- Updated dependencies - - @backstage/plugin-catalog-backend@1.6.0 - - @backstage/backend-common@0.17.0 - - @backstage/errors@1.1.4 - - @backstage/integration@1.4.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.2 - - @backstage/types@1.0.2 - - @backstage/catalog-model@1.1.4 - - @backstage/config@1.0.5 - -## 0.2.6-next.3 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-backend@1.6.0-next.3 - - @backstage/backend-common@0.17.0-next.3 - - @backstage/catalog-model@1.1.4-next.1 - - @backstage/config@1.0.5-next.1 - - @backstage/errors@1.1.4-next.1 - - @backstage/integration@1.4.1-next.1 - - @backstage/types@1.0.2-next.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.2-next.1 - -## 0.2.6-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-backend@1.6.0-next.2 - - @backstage/backend-common@0.17.0-next.2 - - @backstage/catalog-model@1.1.4-next.1 - - @backstage/config@1.0.5-next.1 - - @backstage/errors@1.1.4-next.1 - - @backstage/integration@1.4.1-next.1 - - @backstage/types@1.0.2-next.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.2-next.1 - -## 0.2.6-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.17.0-next.1 - - @backstage/plugin-catalog-backend@1.6.0-next.1 - - @backstage/types@1.0.2-next.1 - - @backstage/config@1.0.5-next.1 - - @backstage/integration@1.4.1-next.1 - - @backstage/catalog-model@1.1.4-next.1 - - @backstage/errors@1.1.4-next.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.2-next.1 - -## 0.2.6-next.0 - -### Patch Changes - -- 3280711113: Updated dependency `msw` to `^0.49.0`. -- Updated dependencies - - @backstage/plugin-catalog-backend@1.6.0-next.0 - - @backstage/backend-common@0.16.1-next.0 - - @backstage/integration@1.4.1-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.2-next.0 - - @backstage/types@1.0.2-next.0 - - @backstage/catalog-model@1.1.4-next.0 - - @backstage/config@1.0.5-next.0 - - @backstage/errors@1.1.4-next.0 - -## 0.2.5 - -### Patch Changes - -- 4c9f7847e4: Updated dependency `msw` to `^0.48.0` while moving it to be a dev dependency. -- Updated dependencies - - @backstage/backend-common@0.16.0 - - @backstage/plugin-catalog-backend@1.5.1 - - @backstage/integration@1.4.0 - - @backstage/catalog-model@1.1.3 - - @backstage/types@1.0.1 - - @backstage/plugin-bitbucket-cloud-common@0.2.1 - - @backstage/config@1.0.4 - - @backstage/errors@1.1.3 - -## 0.2.5-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.16.0-next.1 - - @backstage/plugin-catalog-backend@1.5.1-next.1 - - @backstage/catalog-model@1.1.3-next.0 - - @backstage/config@1.0.4-next.0 - - @backstage/errors@1.1.3-next.0 - - @backstage/integration@1.4.0-next.0 - - @backstage/types@1.0.1-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.1-next.0 - -## 0.2.5-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.16.0-next.0 - - @backstage/plugin-catalog-backend@1.5.1-next.0 - - @backstage/integration@1.4.0-next.0 - - @backstage/catalog-model@1.1.3-next.0 - - @backstage/types@1.0.1-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.1-next.0 - - @backstage/config@1.0.4-next.0 - - @backstage/errors@1.1.3-next.0 - -## 0.2.4 - -### Patch Changes - -- 23f9199a0f: Deprecate `@backstage/plugin-catalog-backend-module-bitbucket`. - - Please migrate to `@backstage/plugin-catalog-backend-module-bitbucket-cloud` - or `@backstage/plugin-catalog-backend-module-bitbucket-server` instead. - -- Updated dependencies - - @backstage/catalog-model@1.1.2 - - @backstage/backend-common@0.15.2 - - @backstage/plugin-catalog-backend@1.5.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.0 - - @backstage/config@1.0.3 - - @backstage/errors@1.1.2 - - @backstage/integration@1.3.2 - - @backstage/types@1.0.0 - -## 0.2.4-next.2 - -### Patch Changes - -- 23f9199a0f: Deprecate `@backstage/plugin-catalog-backend-module-bitbucket`. - - Please migrate to `@backstage/plugin-catalog-backend-module-bitbucket-cloud` - or `@backstage/plugin-catalog-backend-module-bitbucket-server` instead. - -- Updated dependencies - - @backstage/plugin-catalog-backend@1.5.0-next.2 - - @backstage/backend-common@0.15.2-next.2 - - @backstage/catalog-model@1.1.2-next.2 - - @backstage/config@1.0.3-next.2 - - @backstage/errors@1.1.2-next.2 - - @backstage/integration@1.3.2-next.2 - - @backstage/types@1.0.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.0-next.2 - -## 0.2.4-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.15.2-next.1 - - @backstage/catalog-model@1.1.2-next.1 - - @backstage/config@1.0.3-next.1 - - @backstage/errors@1.1.2-next.1 - - @backstage/integration@1.3.2-next.1 - - @backstage/types@1.0.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.0-next.1 - - @backstage/plugin-catalog-backend@1.4.1-next.1 - -## 0.2.4-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/catalog-model@1.1.2-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.2.0-next.0 - - @backstage/plugin-catalog-backend@1.4.1-next.0 - - @backstage/backend-common@0.15.2-next.0 - - @backstage/config@1.0.3-next.0 - - @backstage/errors@1.1.2-next.0 - - @backstage/integration@1.3.2-next.0 - - @backstage/types@1.0.0 - -## 0.2.3 - -### Patch Changes - -- 667d917488: Updated dependency `msw` to `^0.47.0`. -- 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`. -- bf5e9030eb: Updated dependency `msw` to `^0.45.0`. -- Updated dependencies - - @backstage/backend-common@0.15.1 - - @backstage/integration@1.3.1 - - @backstage/plugin-catalog-backend@1.4.0 - - @backstage/catalog-model@1.1.1 - - @backstage/config@1.0.2 - - @backstage/errors@1.1.1 - - @backstage/plugin-bitbucket-cloud-common@0.1.3 - -## 0.2.3-next.3 - -### Patch Changes - -- Updated dependencies - - @backstage/catalog-model@1.1.1-next.0 - - @backstage/config@1.0.2-next.0 - - @backstage/errors@1.1.1-next.0 - - @backstage/integration@1.3.1-next.2 - - @backstage/plugin-catalog-backend@1.4.0-next.3 - - @backstage/backend-common@0.15.1-next.3 - -## 0.2.3-next.2 - -### Patch Changes - -- 667d917488: Updated dependency `msw` to `^0.47.0`. -- 87ec2ba4d6: Updated dependency `msw` to `^0.46.0`. -- Updated dependencies - - @backstage/backend-common@0.15.1-next.2 - - @backstage/integration@1.3.1-next.1 - - @backstage/plugin-catalog-backend@1.4.0-next.2 - - @backstage/plugin-bitbucket-cloud-common@0.1.3-next.1 - -## 0.2.3-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.15.1-next.1 - - @backstage/plugin-catalog-backend@1.4.0-next.1 - -## 0.2.3-next.0 - -### Patch Changes - -- bf5e9030eb: Updated dependency `msw` to `^0.45.0`. -- Updated dependencies - - @backstage/backend-common@0.15.1-next.0 - - @backstage/plugin-catalog-backend@1.3.2-next.0 - - @backstage/integration@1.3.1-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.1.3-next.0 - -## 0.2.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.15.0 - - @backstage/integration@1.3.0 - - @backstage/plugin-catalog-backend@1.3.1 - - @backstage/plugin-bitbucket-cloud-common@0.1.2 - -## 0.2.2-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.15.0-next.0 - - @backstage/integration@1.3.0-next.0 - - @backstage/plugin-catalog-backend@1.3.1-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.1.2-next.0 - -## 0.2.1 - -### Patch Changes - -- a70869e775: Updated dependency `msw` to `^0.43.0`. -- 8006d0f9bf: Updated dependency `msw` to `^0.44.0`. -- Updated dependencies - - @backstage/plugin-catalog-backend@1.3.0 - - @backstage/backend-common@0.14.1 - - @backstage/catalog-model@1.1.0 - - @backstage/integration@1.2.2 - - @backstage/plugin-bitbucket-cloud-common@0.1.1 - - @backstage/errors@1.1.0 - -## 0.2.1-next.2 - -### Patch Changes - -- a70869e775: Updated dependency `msw` to `^0.43.0`. -- Updated dependencies - - @backstage/plugin-catalog-backend@1.3.0-next.3 - - @backstage/backend-common@0.14.1-next.3 - - @backstage/integration@1.2.2-next.3 - - @backstage/plugin-bitbucket-cloud-common@0.1.1-next.1 - - @backstage/catalog-model@1.1.0-next.3 - -## 0.2.1-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/catalog-model@1.1.0-next.1 - - @backstage/backend-common@0.14.1-next.1 - - @backstage/errors@1.1.0-next.0 - - @backstage/plugin-catalog-backend@1.2.1-next.1 - - @backstage/integration@1.2.2-next.1 - -## 0.2.1-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.14.1-next.0 - - @backstage/catalog-model@1.1.0-next.0 - - @backstage/integration@1.2.2-next.0 - - @backstage/plugin-catalog-backend@1.2.1-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.1.1-next.0 - -## 0.2.0 - -### Minor Changes - -- 1c01c0fd14: Integrate `@backstage/plugin-bitbucket-cloud-common` as replacement for the `BitbucketCloudClient`. - -### Patch Changes - -- 8f7b1835df: Updated dependency `msw` to `^0.41.0`. -- Updated dependencies - - @backstage/plugin-catalog-backend@1.2.0 - - @backstage/backend-common@0.14.0 - - @backstage/integration@1.2.1 - - @backstage/plugin-bitbucket-cloud-common@0.1.0 - - @backstage/catalog-model@1.0.3 - -## 0.2.0-next.2 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.14.0-next.2 - - @backstage/integration@1.2.1-next.2 - - @backstage/plugin-catalog-backend@1.2.0-next.2 - -## 0.2.0-next.1 - -### Minor Changes - -- 1c01c0fd14: Integrate `@backstage/plugin-bitbucket-cloud-common` as replacement for the `BitbucketCloudClient`. - -### Patch Changes - -- 8f7b1835df: Updated dependency `msw` to `^0.41.0`. -- Updated dependencies - - @backstage/backend-common@0.13.6-next.1 - - @backstage/integration@1.2.1-next.1 - - @backstage/plugin-catalog-backend@1.2.0-next.1 - - @backstage/catalog-model@1.0.3-next.0 - - @backstage/plugin-bitbucket-cloud-common@0.1.0-next.0 - -## 0.1.4-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.13.6-next.0 - - @backstage/integration@1.2.1-next.0 - - @backstage/plugin-catalog-backend@1.2.0-next.0 - -## 0.1.3 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.13.3 - - @backstage/plugin-catalog-backend@1.1.2 - - @backstage/integration@1.2.0 - - @backstage/config@1.0.1 - - @backstage/catalog-model@1.0.2 - -## 0.1.3-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.13.3-next.2 - - @backstage/plugin-catalog-backend@1.1.2-next.2 - - @backstage/config@1.0.1-next.0 - - @backstage/catalog-model@1.0.2-next.0 - - @backstage/integration@1.2.0-next.1 - -## 0.1.3-next.0 - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.13.3-next.0 - - @backstage/integration@1.2.0-next.0 - - @backstage/plugin-catalog-backend@1.1.2-next.0 - -## 0.1.2 - -### Patch Changes - -- c47509e1a0: Implemented changes suggested by Deepsource.io including multiple double non-null assertion operators and unexpected awaits for non-promise values. -- 9fed130139: split BitbucketClient into BitbucketCloudClient, BitbucketServerClient -- Updated dependencies - - @backstage/plugin-catalog-backend@1.1.0 - - @backstage/integration@1.1.0 - - @backstage/catalog-model@1.0.1 - - @backstage/backend-common@0.13.2 - -## 0.1.2-next.2 - -### Patch Changes - -- 9fed130139: split BitbucketClient into BitbucketCloudClient, BitbucketServerClient -- Updated dependencies - - @backstage/plugin-catalog-backend@1.1.0-next.2 - - @backstage/catalog-model@1.0.1-next.1 - -## 0.1.2-next.1 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-backend@1.1.0-next.1 - - @backstage/integration@1.1.0-next.1 - - @backstage/backend-common@0.13.2-next.1 - -## 0.1.2-next.0 - -### Patch Changes - -- c47509e1a0: Implemented changes suggested by Deepsource.io including multiple double non-null assertion operators and unexpected awaits for non-promise values. -- Updated dependencies - - @backstage/catalog-model@1.0.1-next.0 - - @backstage/plugin-catalog-backend@1.0.1-next.0 - - @backstage/backend-common@0.13.2-next.0 - - @backstage/integration@1.0.1-next.0 - -## 0.1.1 - -### Patch Changes - -- Updated dependencies - - @backstage/plugin-catalog-backend@1.0.0 - - @backstage/backend-common@0.13.1 - - @backstage/catalog-model@1.0.0 - - @backstage/integration@1.0.0 - - @backstage/config@1.0.0 - - @backstage/errors@1.0.0 - - @backstage/types@1.0.0 - -## 0.1.0 - -### Minor Changes - -- 47a5ae5dd2: Added package, moving out Bitbucket specific functionality from the catalog-backend - -### Patch Changes - -- Updated dependencies - - @backstage/backend-common@0.13.0 - - @backstage/plugin-catalog-backend@0.24.0 - - @backstage/catalog-model@0.13.0 diff --git a/plugins/catalog-backend-module-bitbucket/README.md b/plugins/catalog-backend-module-bitbucket/README.md deleted file mode 100644 index ae22c7a427..0000000000 --- a/plugins/catalog-backend-module-bitbucket/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Catalog Backend Module for Bitbucket - -This is an extension module to the plugin-catalog-backend plugin, providing extensions targeted at Bitbucket offerings. - -## Getting started - -See [Backstage documentation](https://backstage.io/docs/integrations/bitbucket/discovery) for details on how to install -and configure the plugin. diff --git a/plugins/catalog-backend-module-bitbucket/api-report.md b/plugins/catalog-backend-module-bitbucket/api-report.md deleted file mode 100644 index 30b2a89826..0000000000 --- a/plugins/catalog-backend-module-bitbucket/api-report.md +++ /dev/null @@ -1,47 +0,0 @@ -## API Report File for "@backstage/plugin-catalog-backend-module-bitbucket" - -> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). - -```ts -import { BitbucketIntegration } from '@backstage/integration'; -import { CatalogProcessor } from '@backstage/plugin-catalog-node'; -import { CatalogProcessorEmit } from '@backstage/plugin-catalog-node'; -import { CatalogProcessorResult } from '@backstage/plugin-catalog-node'; -import { Config } from '@backstage/config'; -import { LocationSpec } from '@backstage/plugin-catalog-node'; -import { Logger } from 'winston'; -import { ScmIntegrationRegistry } from '@backstage/integration'; - -// @public @deprecated (undocumented) -export class BitbucketDiscoveryProcessor implements CatalogProcessor { - constructor(options: { - integrations: ScmIntegrationRegistry; - parser?: BitbucketRepositoryParser; - logger: Logger; - }); - // (undocumented) - static fromConfig( - config: Config, - options: { - parser?: BitbucketRepositoryParser; - logger: Logger; - }, - ): BitbucketDiscoveryProcessor; - // (undocumented) - getProcessorName(): string; - // (undocumented) - readLocation( - location: LocationSpec, - _optional: boolean, - emit: CatalogProcessorEmit, - ): Promise; -} - -// @public @deprecated -export type BitbucketRepositoryParser = (options: { - integration: BitbucketIntegration; - target: string; - presence?: 'optional' | 'required'; - logger: Logger; -}) => AsyncIterable; -``` diff --git a/plugins/catalog-backend-module-bitbucket/catalog-info.yaml b/plugins/catalog-backend-module-bitbucket/catalog-info.yaml deleted file mode 100644 index a384181766..0000000000 --- a/plugins/catalog-backend-module-bitbucket/catalog-info.yaml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: backstage.io/v1alpha1 -kind: Component -metadata: - name: backstage-plugin-catalog-backend-module-bitbucket - title: '@backstage/plugin-catalog-backend-module-bitbucket' - description: A Backstage catalog backend module that helps integrate towards Bitbucket -spec: - lifecycle: experimental - type: backstage-backend-plugin-module - owner: catalog-maintainers diff --git a/plugins/catalog-backend-module-bitbucket/package.json b/plugins/catalog-backend-module-bitbucket/package.json deleted file mode 100644 index 19dd046280..0000000000 --- a/plugins/catalog-backend-module-bitbucket/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "@backstage/plugin-catalog-backend-module-bitbucket", - "description": "A Backstage catalog backend module that helps integrate towards Bitbucket", - "version": "0.2.25-next.2", - "deprecated": true, - "main": "src/index.ts", - "types": "src/index.ts", - "license": "Apache-2.0", - "publishConfig": { - "access": "public", - "main": "dist/index.cjs.js", - "types": "dist/index.d.ts" - }, - "backstage": { - "role": "backend-plugin-module" - }, - "homepage": "https://backstage.io", - "repository": { - "type": "git", - "url": "https://github.com/backstage/backstage", - "directory": "plugins/catalog-backend-module-bitbucket" - }, - "keywords": [ - "backstage" - ], - "scripts": { - "build": "backstage-cli package build", - "lint": "backstage-cli package lint", - "test": "backstage-cli package test", - "prepack": "backstage-cli package prepack", - "postpack": "backstage-cli package postpack", - "clean": "backstage-cli package clean", - "start": "backstage-cli package start" - }, - "dependencies": { - "@backstage/backend-common": "workspace:^", - "@backstage/config": "workspace:^", - "@backstage/integration": "workspace:^", - "@backstage/plugin-bitbucket-cloud-common": "workspace:^", - "@backstage/plugin-catalog-node": "workspace:^", - "node-fetch": "^2.6.7", - "winston": "^3.2.1" - }, - "devDependencies": { - "@backstage/backend-test-utils": "workspace:^", - "@backstage/cli": "workspace:^", - "msw": "^1.0.0" - }, - "files": [ - "dist" - ] -} diff --git a/plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.test.ts b/plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.test.ts deleted file mode 100644 index 262fb4e6c4..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.test.ts +++ /dev/null @@ -1,1176 +0,0 @@ -/* - * Copyright 2021 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 { getVoidLogger } from '@backstage/backend-common'; -import { setupRequestMockHandlers } from '@backstage/backend-test-utils'; -import { ConfigReader } from '@backstage/config'; -import { Models } from '@backstage/plugin-bitbucket-cloud-common'; -import { LocationSpec, processingResult } from '@backstage/plugin-catalog-node'; -import { RequestHandler, rest } from 'msw'; -import { setupServer } from 'msw/node'; -import { BitbucketDiscoveryProcessor } from './BitbucketDiscoveryProcessor'; -import { PagedResponse } from './lib'; - -const server = setupServer(); - -function setupStubs( - projects: any[], - bitbucketBaseUrl = `https://bitbucket.mycompany.com`, -) { - function pagedResponse(values: any): PagedResponse { - return { - values: values, - isLastPage: true, - } as PagedResponse; - } - - function stubbedProject( - project: string, - repos: string[], - ): RequestHandler { - return rest.get( - `${bitbucketBaseUrl}/api/rest/1.0/projects/${project}/repos`, - (_, res, ctx) => { - const response = []; - for (const repo of repos) { - response.push({ - slug: repo, - links: { - self: [ - { - href: `${bitbucketBaseUrl}/projects/${project}/repos/${repo}/browse`, - }, - ], - }, - }); - } - return res(ctx.json(pagedResponse(response))); - }, - ); - } - - server.use( - rest.get(`${bitbucketBaseUrl}/api/rest/1.0/projects`, (_, res, ctx) => { - return res( - ctx.json( - pagedResponse( - projects.map(p => { - return { key: p.key }; - }), - ), - ), - ); - }), - ); - - for (const project of projects) { - server.use(stubbedProject(project.key, project.repos)); - } -} - -function setupBitbucketCloudStubs( - workspace: string, - repositories: Pick[], -) { - const stubCallerFn = jest.fn(); - function pagedResponse(values: any): Models.PaginatedRepositories { - return { - values: values, - page: 1, - } as Models.PaginatedRepositories; - } - - server.use( - rest.get( - `https://api.bitbucket.org/2.0/repositories/${workspace}`, - (req, res, ctx) => { - stubCallerFn(req); - return res( - ctx.json( - pagedResponse( - repositories.map(r => ({ - ...r, - links: { - html: { - href: `https://bitbucket.org/${workspace}/${r.slug}`, - }, - }, - })), - ), - ), - ); - }, - ), - ); - return stubCallerFn; -} - -function setupBitbucketCloudSearchStubs( - workspace: string, - repositories: Pick[], - catalogPath: string, -) { - const stubCallerFn = jest.fn(); - function pagedResponse(values: any): Models.PaginatedRepositories { - return { - values: values, - page: 1, - } as Models.PaginatedRepositories; - } - - server.use( - rest.get( - `https://api.bitbucket.org/2.0/workspaces/${workspace}/search/code`, - (req, res, ctx) => { - stubCallerFn(req); - return res( - ctx.json( - pagedResponse( - repositories.map(r => ({ - type: 'code_search_result', - content_match_count: 0, - content_matches: [], - path_matches: [ - catalogPath - .split('/') - .flatMap(seg => [{ text: '/' }, { text: seg, match: true }]) - .slice(1), - ], - file: { - commit: { - repository: { - ...r, - links: { - html: { - href: `https://bitbucket.org/${workspace}/${r.slug}`, - }, - }, - }, - }, - path: catalogPath, - }, - })), - ), - ), - ); - }, - ), - ); - return stubCallerFn; -} - -describe('BitbucketDiscoveryProcessor', () => { - setupRequestMockHandlers(server); - - afterEach(() => jest.resetAllMocks()); - - describe('reject unrelated entries', () => { - it('rejects unknown types', async () => { - const processor = BitbucketDiscoveryProcessor.fromConfig( - new ConfigReader({ - integrations: { - bitbucket: [{ host: 'bitbucket.mycompany.com', token: 'blob' }], - }, - }), - { logger: getVoidLogger() }, - ); - const location: LocationSpec = { - type: 'not-bitbucket-discovery', - target: 'https://bitbucket.mycompany.com', - }; - await expect( - processor.readLocation(location, false, () => {}), - ).resolves.toBeFalsy(); - }); - - it('rejects unknown targets', async () => { - const processor = BitbucketDiscoveryProcessor.fromConfig( - new ConfigReader({ - integrations: { - bitbucket: [ - { host: 'bitbucket.org', token: 'blob' }, - { host: 'bitbucket.mycompany.com', token: 'blob' }, - ], - }, - }), - { logger: getVoidLogger() }, - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: 'https://not.bitbucket.mycompany.com/foobar', - }; - await expect( - processor.readLocation(location, false, () => {}), - ).rejects.toThrow( - /There is no Bitbucket integration that matches https:\/\/not.bitbucket.mycompany.com\/foobar/, - ); - }); - }); - - describe('handles organisation repositories', () => { - const processor = BitbucketDiscoveryProcessor.fromConfig( - new ConfigReader({ - integrations: { - bitbucket: [ - { - host: 'bitbucket.mycompany.com', - token: 'blob', - apiBaseUrl: 'https://bitbucket.mycompany.com/api/rest/1.0', - }, - ], - }, - }), - { logger: getVoidLogger() }, - ); - - it('output all repositories', async () => { - setupStubs([ - { key: 'backstage', repos: ['backstage'] }, - { key: 'demo', repos: ['demo'] }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/projects/*/repos/*/catalog.yaml', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/projects/backstage/repos/backstage/browse/catalog.yaml', - presence: 'optional', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/projects/demo/repos/demo/browse/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('output repositories with wildcards', async () => { - setupStubs([ - { key: 'backstage', repos: ['backstage', 'techdocs-cli'] }, - { key: 'demo', repos: ['demo'] }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/projects/backstage/repos/techdocs-*/catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/projects/backstage/repos/techdocs-cli/browse/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('output repositories by target search ref', async () => { - setupStubs([{ key: 'demo', repos: ['demo'] }]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/projects/demo/repos/demo/catalog.yaml?ref=branch-name', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/projects/demo/repos/demo/browse/catalog.yaml?ref=branch-name', - presence: 'optional', - }, - }); - }); - - it('filter unrelated repositories', async () => { - setupStubs([{ key: 'backstage', repos: ['test', 'abctest', 'testxyz'] }]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/projects/backstage/repos/test/catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/projects/backstage/repos/test/browse/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it.each` - target - ${'https://bitbucket.mycompany.com/projects/backstage/repos/*'} - ${'https://bitbucket.mycompany.com/projects/backstage/repos/*/'} - ${'https://bitbucket.mycompany.com/projects/backstage/repos/techdocs-*/'} - `("target '$target' adds default path to catalog", async ({ target }) => { - setupStubs([{ key: 'backstage', repos: ['techdocs-cli'] }]); - - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: target, - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/projects/backstage/repos/techdocs-cli/browse/catalog-info.yaml', - presence: 'optional', - }, - }); - }); - }); - - describe('handles organisation repositories with a custom baseURL', () => { - const processor = BitbucketDiscoveryProcessor.fromConfig( - new ConfigReader({ - integrations: { - bitbucket: [ - { - host: 'bitbucket.mycompany.com', - token: 'blob', - apiBaseUrl: - 'https://bitbucket.mycompany.com/custom-path/api/rest/1.0', - }, - ], - }, - }), - { logger: getVoidLogger() }, - ); - - it('output all repositories', async () => { - setupStubs( - [ - { key: 'backstage', repos: ['backstage'] }, - { key: 'demo', repos: ['demo'] }, - ], - 'https://bitbucket.mycompany.com/custom-path', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/*/repos/*/catalog.yaml', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/backstage/browse/catalog.yaml', - presence: 'optional', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/demo/repos/demo/browse/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('output repositories with wildcards', async () => { - setupStubs( - [ - { key: 'backstage', repos: ['backstage', 'techdocs-cli'] }, - { key: 'demo', repos: ['demo'] }, - ], - 'https://bitbucket.mycompany.com/custom-path', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/techdocs-*/catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/techdocs-cli/browse/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('output repositories by target search ref', async () => { - setupStubs( - [{ key: 'demo', repos: ['demo'] }], - 'https://bitbucket.mycompany.com/custom-path', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/demo/repos/demo/catalog.yaml?ref=branch-name', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/demo/repos/demo/browse/catalog.yaml?ref=branch-name', - presence: 'optional', - }, - }); - }); - - it('filter unrelated repositories', async () => { - setupStubs( - [{ key: 'backstage', repos: ['test', 'abctest', 'testxyz'] }], - 'https://bitbucket.mycompany.com/custom-path', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/test/catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/test/browse/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it.each` - target - ${'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/*'} - ${'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/*/'} - ${'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/techdocs-*/'} - `("target '$target' adds default path to catalog", async ({ target }) => { - setupStubs( - [{ key: 'backstage', repos: ['techdocs-cli'] }], - 'https://bitbucket.mycompany.com/custom-path', - ); - - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: target, - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.mycompany.com/custom-path/projects/backstage/repos/techdocs-cli/browse/catalog-info.yaml', - presence: 'optional', - }, - }); - }); - }); - - describe('handles cloud repositories', () => { - const processor = BitbucketDiscoveryProcessor.fromConfig( - new ConfigReader({ - integrations: { - bitbucket: [ - { - host: 'bitbucket.org', - username: 'myuser', - appPassword: 'blob', - }, - ], - }, - }), - { logger: getVoidLogger() }, - ); - - it('output all repositories by default', async () => { - setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: 'https://bitbucket.org/workspaces/myworkspace', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(2); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog-info.yaml', - presence: 'optional', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-two/src/master/catalog-info.yaml', - presence: 'optional', - }, - }); - }); - - it('uses provided catalog path', async () => { - setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace?catalogPath=my/nested/path/catalog.yaml', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(2); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/my/nested/path/catalog.yaml', - presence: 'optional', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-two/src/master/my/nested/path/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('output all repositories', async () => { - setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace/projects/*/repos/*?catalogPath=catalog.yaml', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(2); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog.yaml', - presence: 'optional', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-two/src/master/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('output repositories with wildcards', async () => { - setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/*?catalogPath=catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('filter unrelated repositories', async () => { - setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-two', - }, - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-three', - }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/repository-three?catalogPath=catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-three/src/master/catalog.yaml', - presence: 'optional', - }, - }); - }); - - it('submits query', async () => { - const mockCall = setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - ]); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace?q=project.key ~ "prj-one"', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog-info.yaml', - presence: 'optional', - }, - }); - expect(mockCall).toHaveBeenCalledTimes(1); - // it should be possible to do this via an `expect.objectContaining` check but seems to fail with some encoding issue. - expect(mockCall.mock.calls[0][0].url).toMatchInlineSnapshot( - `"https://api.bitbucket.org/2.0/repositories/myworkspace?page=1&pagelen=100&q=project.key+%7E+%22prj-one%22"`, - ); - }); - - it.each` - target - ${'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/*'} - ${'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/*/'} - ${'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/repository-*/'} - `("target '$target' adds default path to catalog", async ({ target }) => { - setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - ]); - - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: target, - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog-info.yaml', - presence: 'optional', - }, - }); - }); - - it.each` - target - ${'https://bitbucket.org/test'} - `("target '$target' is rejected", async ({ target }) => { - setupBitbucketCloudStubs('myworkspace', [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - ]); - - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: target, - }; - - const emitter = jest.fn(); - await expect( - processor.readLocation(location, false, emitter), - ).rejects.toThrow(/Failed to parse /); - }); - }); - - describe('handles cloud repositories using code search', () => { - const processor = BitbucketDiscoveryProcessor.fromConfig( - new ConfigReader({ - integrations: { - bitbucket: [ - { - host: 'bitbucket.org', - username: 'myuser', - appPassword: 'blob', - }, - ], - }, - }), - { logger: getVoidLogger() }, - ); - - it('output all repositories by default', async () => { - setupBitbucketCloudSearchStubs( - 'myworkspace', - [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ], - 'catalog-info.yaml', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: 'https://bitbucket.org/workspaces/myworkspace?search=true', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(2); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog-info.yaml', - presence: 'required', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-two/src/master/catalog-info.yaml', - presence: 'required', - }, - }); - }); - - it('uses provided catalog path', async () => { - setupBitbucketCloudSearchStubs( - 'myworkspace', - [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ], - 'my/nested/path/catalog.yaml', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace?search=true&catalogPath=my/nested/path/catalog.yaml', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(2); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/my/nested/path/catalog.yaml', - presence: 'required', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-two/src/master/my/nested/path/catalog.yaml', - presence: 'required', - }, - }); - }); - - it('output all repositories', async () => { - setupBitbucketCloudSearchStubs( - 'myworkspace', - [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ], - 'catalog.yaml', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace/projects/*/repos/*?search=true&catalogPath=catalog.yaml', - }; - - const emitter = jest.fn(); - - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(2); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog.yaml', - presence: 'required', - }, - }); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-two/src/master/catalog.yaml', - presence: 'required', - }, - }); - }); - - it('output repositories with wildcards', async () => { - setupBitbucketCloudSearchStubs( - 'myworkspace', - [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-two' }, - slug: 'repository-two', - }, - ], - 'catalog.yaml', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/*?search=true&catalogPath=catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog.yaml', - presence: 'required', - }, - }); - }); - - it('filter unrelated repositories', async () => { - setupBitbucketCloudSearchStubs( - 'myworkspace', - [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-two', - }, - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-three', - }, - ], - 'catalog.yaml', - ); - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/repository-three?search=true&catalogPath=catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-three/src/master/catalog.yaml', - presence: 'required', - }, - }); - }); - - it.each` - target - ${'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/*?search=true'} - ${'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/*/?search=true'} - ${'https://bitbucket.org/workspaces/myworkspace/projects/prj-one/repos/repository-*/?search=true'} - `("target '$target' adds default path to catalog", async ({ target }) => { - setupBitbucketCloudSearchStubs( - 'myworkspace', - [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - ], - 'catalog-info.yaml', - ); - - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: target, - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'url', - target: - 'https://bitbucket.org/myworkspace/repository-one/src/master/catalog-info.yaml', - presence: 'required', - }, - }); - }); - - it.each` - target - ${'https://bitbucket.org/test?search=true'} - `("target '$target' is rejected", async ({ target }) => { - setupBitbucketCloudSearchStubs( - 'myworkspace', - [ - { - project: { type: 'project', key: 'prj-one' }, - slug: 'repository-one', - }, - ], - 'catalog-info.yaml', - ); - - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: target, - }; - - const emitter = jest.fn(); - await expect( - processor.readLocation(location, false, emitter), - ).rejects.toThrow(/Failed to parse /); - }); - }); - - describe('Custom repository parser', () => { - const processor = BitbucketDiscoveryProcessor.fromConfig( - new ConfigReader({ - integrations: { - bitbucket: [ - { - host: 'bitbucket.mycompany.com', - token: 'blob', - apiBaseUrl: 'https://bitbucket.mycompany.com/api/rest/1.0', - }, - ], - }, - }), - { - parser: async function* customRepositoryParser({}) { - yield processingResult.location({ - type: 'custom-location-type', - target: 'custom-target', - presence: 'optional', - }); - }, - logger: getVoidLogger(), - }, - ); - - it('use custom repository parser', async () => { - setupStubs([{ key: 'backstage', repos: ['test'] }]); - - const location: LocationSpec = { - type: 'bitbucket-discovery', - target: - 'https://bitbucket.mycompany.com/projects/backstage/repos/test/catalog.yaml', - }; - - const emitter = jest.fn(); - await processor.readLocation(location, false, emitter); - - expect(emitter).toHaveBeenCalledTimes(1); - expect(emitter).toHaveBeenCalledWith({ - type: 'location', - location: { - type: 'custom-location-type', - target: 'custom-target', - presence: 'optional', - }, - }); - }); - }); -}); diff --git a/plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.ts b/plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.ts deleted file mode 100644 index 3f25d6ed7b..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/BitbucketDiscoveryProcessor.ts +++ /dev/null @@ -1,415 +0,0 @@ -/* - * Copyright 2021 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 { Config } from '@backstage/config'; -import { - BitbucketIntegration, - ScmIntegrationRegistry, - ScmIntegrations, -} from '@backstage/integration'; -import { - BitbucketCloudClient, - Models, -} from '@backstage/plugin-bitbucket-cloud-common'; -import { - CatalogProcessor, - CatalogProcessorEmit, - LocationSpec, -} from '@backstage/plugin-catalog-node'; -import { Logger } from 'winston'; -import { - BitbucketRepository, - BitbucketRepositoryParser, - BitbucketServerClient, - defaultRepositoryParser, - paginated, -} from './lib'; - -const DEFAULT_BRANCH = 'master'; -const DEFAULT_CATALOG_LOCATION = '/catalog-info.yaml'; - -/** - * @public - * @deprecated Please migrate to `@backstage/plugin-catalog-backend-module-bitbucket-cloud` or `@backstage/plugin-catalog-backend-module-bitbucket-server` instead. - */ -export class BitbucketDiscoveryProcessor implements CatalogProcessor { - private readonly integrations: ScmIntegrationRegistry; - private readonly parser: BitbucketRepositoryParser; - private readonly logger: Logger; - - static fromConfig( - config: Config, - options: { - parser?: BitbucketRepositoryParser; - logger: Logger; - }, - ) { - const integrations = ScmIntegrations.fromConfig(config); - - return new BitbucketDiscoveryProcessor({ - ...options, - integrations, - }); - } - - constructor(options: { - integrations: ScmIntegrationRegistry; - parser?: BitbucketRepositoryParser; - logger: Logger; - }) { - this.integrations = options.integrations; - this.parser = options.parser || defaultRepositoryParser; - this.logger = options.logger; - this.logger.warn( - 'Please migrate to `@backstage/plugin-catalog-backend-module-bitbucket-cloud` or `@backstage/plugin-catalog-backend-module-bitbucket-server` instead.', - ); - } - - getProcessorName(): string { - return 'BitbucketDiscoveryProcessor'; - } - - async readLocation( - location: LocationSpec, - _optional: boolean, - emit: CatalogProcessorEmit, - ): Promise { - if (location.type !== 'bitbucket-discovery') { - return false; - } - - const integration = this.integrations.bitbucket.byUrl(location.target); - if (!integration) { - throw new Error( - `There is no Bitbucket integration that matches ${location.target}. Please add a configuration entry for it under integrations.bitbucket`, - ); - } - - const startTimestamp = Date.now(); - this.logger.info( - `Reading ${integration.config.host} repositories from ${location.target}`, - ); - - const processOptions: ProcessOptions = { - emit, - integration, - location, - }; - - const isBitbucketCloud = integration.config.host === 'bitbucket.org'; - const { scanned, matches } = isBitbucketCloud - ? await this.processCloudRepositories(processOptions) - : await this.processOrganizationRepositories(processOptions); - - const duration = ((Date.now() - startTimestamp) / 1000).toFixed(1); - this.logger.debug( - `Read ${scanned} ${integration.config.host} repositories (${matches} matching the pattern) in ${duration} seconds`, - ); - - return true; - } - - private async processCloudRepositories( - options: ProcessOptions, - ): Promise { - const { location, integration, emit } = options; - const client = BitbucketCloudClient.fromConfig(integration.config); - - const { searchEnabled } = parseBitbucketCloudUrl(location.target); - - const result = searchEnabled - ? await searchBitbucketCloudLocations(client, location.target) - : await readBitbucketCloudLocations(client, location.target); - - for (const locationTarget of result.matches) { - for await (const entity of this.parser({ - integration, - target: locationTarget, - presence: searchEnabled ? 'required' : 'optional', - logger: this.logger, - })) { - emit(entity); - } - } - return { - matches: result.matches.length, - scanned: result.scanned, - }; - } - - private async processOrganizationRepositories( - options: ProcessOptions, - ): Promise { - const { location, integration, emit } = options; - const { catalogPath: requestedCatalogPath } = parseUrl(location.target); - const catalogPath = requestedCatalogPath - ? `/${requestedCatalogPath}` - : DEFAULT_CATALOG_LOCATION; - - const client = new BitbucketServerClient({ - config: integration.config, - }); - - const result = await readBitbucketOrg(client, location.target); - for (const repository of result.matches) { - for await (const entity of this.parser({ - integration, - target: `${repository.links.self[0].href}${catalogPath}`, - logger: this.logger, - })) { - emit(entity); - } - } - return { - matches: result.matches.length, - scanned: result.scanned, - }; - } -} - -export async function readBitbucketOrg( - client: BitbucketServerClient, - target: string, -): Promise> { - const { projectSearchPath, repoSearchPath } = parseUrl(target); - const projects = paginated(options => client.listProjects(options)); - const result: Result = { - scanned: 0, - matches: [], - }; - - for await (const project of projects) { - if (!projectSearchPath.test(project.key)) { - continue; - } - const repositories = paginated(options => - client.listRepositories(project.key, options), - ); - for await (const repository of repositories) { - result.scanned++; - if (repoSearchPath.test(repository.slug)) { - result.matches.push(repository); - } - } - } - return result; -} - -export async function searchBitbucketCloudLocations( - client: BitbucketCloudClient, - target: string, -): Promise> { - const { - workspacePath, - catalogPath: requestedCatalogPath, - projectSearchPath, - repoSearchPath, - } = parseBitbucketCloudUrl(target); - - const result: Result = { - scanned: 0, - matches: [], - }; - - const catalogPath = requestedCatalogPath - ? requestedCatalogPath - : DEFAULT_CATALOG_LOCATION; - const catalogFilename = catalogPath.substring( - catalogPath.lastIndexOf('/') + 1, - ); - - // load all fields relevant for creating refs later, but not more - const fields = [ - // exclude code/content match details - '-values.content_matches', - // include/add relevant repository details - '+values.file.commit.repository.mainbranch.name', - '+values.file.commit.repository.project.key', - '+values.file.commit.repository.slug', - // remove irrelevant links - '-values.*.links', - '-values.*.*.links', - '-values.*.*.*.links', - // ...except the one we need - '+values.file.commit.repository.links.html.href', - ].join(','); - const query = `"${catalogFilename}" path:${catalogPath}`; - const searchResults = client - .searchCode(workspacePath, query, { fields }) - .iterateResults(); - - for await (const searchResult of searchResults) { - // not a file match, but a code match - if (searchResult.path_matches!.length === 0) { - continue; - } - - const repository = searchResult.file!.commit!.repository!; - if (!matchesPostFilters(repository, projectSearchPath, repoSearchPath)) { - continue; - } - - const repoUrl = repository.links!.html!.href; - const branch = repository.mainbranch?.name ?? DEFAULT_BRANCH; - const filePath = searchResult.file!.path; - const location = `${repoUrl}/src/${branch}/${filePath}`; - - result.matches.push(location); - } - - return result; -} - -export async function readBitbucketCloudLocations( - client: BitbucketCloudClient, - target: string, -): Promise> { - const { catalogPath: requestedCatalogPath } = parseBitbucketCloudUrl(target); - const catalogPath = requestedCatalogPath - ? `/${requestedCatalogPath}` - : DEFAULT_CATALOG_LOCATION; - - return readBitbucketCloud(client, target).then(result => { - const matches = result.matches.map(repository => { - const branch = repository.mainbranch?.name ?? DEFAULT_BRANCH; - return `${repository.links!.html!.href}/src/${branch}${catalogPath}`; - }); - - return { - scanned: result.scanned, - matches, - }; - }); -} - -export async function readBitbucketCloud( - client: BitbucketCloudClient, - target: string, -): Promise> { - const { - workspacePath, - queryParam: q, - projectSearchPath, - repoSearchPath, - } = parseBitbucketCloudUrl(target); - - const repositories = client - .listRepositoriesByWorkspace(workspacePath, { q }) - .iterateResults(); - const result: Result = { - scanned: 0, - matches: [], - }; - - for await (const repository of repositories) { - result.scanned++; - if (matchesPostFilters(repository, projectSearchPath, repoSearchPath)) { - result.matches.push(repository); - } - } - return result; -} - -function matchesPostFilters( - repository: Models.Repository, - projectSearchPath: RegExp | undefined, - repoSearchPath: RegExp | undefined, -): boolean { - return ( - (!projectSearchPath || projectSearchPath.test(repository.project!.key!)) && - (!repoSearchPath || repoSearchPath.test(repository.slug!)) - ); -} - -function parseUrl(urlString: string): { - projectSearchPath: RegExp; - repoSearchPath: RegExp; - catalogPath: string; -} { - const url = new URL(urlString); - const indexOfProjectSegment = - url.pathname.toLowerCase().indexOf('/projects/') + 1; - const path = url.pathname.slice(indexOfProjectSegment).split('/'); - - // /projects/backstage/repos/techdocs-*/catalog-info.yaml - if (path.length > 3 && path[1].length && path[3].length) { - return { - projectSearchPath: escapeRegExp(decodeURIComponent(path[1])), - repoSearchPath: escapeRegExp(decodeURIComponent(path[3])), - catalogPath: decodeURIComponent(path.slice(4).join('/') + url.search), - }; - } - - throw new Error(`Failed to parse ${urlString}`); -} - -function readPathParameters(pathParts: string[]): Map { - const vals: Record = {}; - for (let i = 0; i + 1 < pathParts.length; i += 2) { - vals[pathParts[i]] = decodeURIComponent(pathParts[i + 1]); - } - return new Map(Object.entries(vals)); -} - -function parseBitbucketCloudUrl(urlString: string): { - workspacePath: string; - catalogPath?: string; - projectSearchPath?: RegExp; - repoSearchPath?: RegExp; - queryParam?: string; - searchEnabled: boolean; -} { - const url = new URL(urlString); - const pathMap = readPathParameters(url.pathname.slice(1).split('/')); - const query = url.searchParams; - - if (!pathMap.has('workspaces')) { - throw new Error(`Failed to parse workspace from ${urlString}`); - } - - return { - workspacePath: pathMap.get('workspaces')!, - projectSearchPath: pathMap.has('projects') - ? escapeRegExp(pathMap.get('projects')!) - : undefined, - repoSearchPath: pathMap.has('repos') - ? escapeRegExp(pathMap.get('repos')!) - : undefined, - catalogPath: query.get('catalogPath') || undefined, - queryParam: query.get('q') || undefined, - searchEnabled: query.get('search')?.toLowerCase() === 'true', - }; -} - -function escapeRegExp(str: string): RegExp { - return new RegExp(`^${str.replace(/\*/g, '.*')}$`); -} - -type ProcessOptions = { - integration: BitbucketIntegration; - location: LocationSpec; - emit: CatalogProcessorEmit; -}; - -type Result = { - scanned: number; - matches: T[]; -}; - -type ResultSummary = { - scanned: number; - matches: number; -}; diff --git a/plugins/catalog-backend-module-bitbucket/src/index.ts b/plugins/catalog-backend-module-bitbucket/src/index.ts deleted file mode 100644 index 5bbda25dea..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/index.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 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. - */ - -/** - * A Backstage catalog backend module that helps integrate towards Bitbucket - * - * @packageDocumentation - */ - -export { BitbucketDiscoveryProcessor } from './BitbucketDiscoveryProcessor'; -export type { BitbucketRepositoryParser } from './lib/BitbucketRepositoryParser'; diff --git a/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.test.ts b/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.test.ts deleted file mode 100644 index 478ccd7c52..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.test.ts +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright 2021 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 { processingResult } from '@backstage/plugin-catalog-node'; -import { defaultRepositoryParser } from './BitbucketRepositoryParser'; - -describe('BitbucketRepositoryParser', () => { - describe('defaultRepositoryParser', () => { - it('emits location', async () => { - const browseUrl = - 'https://bitbucket.mycompany.com/projects/project-key/repos/repo-slug/browse'; - const path = '/catalog-info.yaml'; - const expected = [ - processingResult.location({ - type: 'url', - target: `${browseUrl}${path}`, - presence: 'optional', - }), - ]; - const actual = defaultRepositoryParser({ - target: `${browseUrl}${path}`, - }); - - let i = 0; - for await (const entity of actual) { - expect(entity).toStrictEqual(expected[i]); - i++; - } - }); - }); -}); diff --git a/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.ts b/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.ts deleted file mode 100644 index aa973f87c2..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketRepositoryParser.ts +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2021 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 { BitbucketIntegration } from '@backstage/integration'; -import { - CatalogProcessorResult, - processingResult, -} from '@backstage/plugin-catalog-node'; -import { Logger } from 'winston'; - -/** - * A custom callback that reacts to finding a repository by yielding processing - * results. - * - * @public - * @deprecated Please migrate to `@backstage/plugin-catalog-backend-module-bitbucket-cloud` or `@backstage/plugin-catalog-backend-module-bitbucket-server` instead. - */ -export type BitbucketRepositoryParser = (options: { - integration: BitbucketIntegration; - target: string; - presence?: 'optional' | 'required'; - logger: Logger; -}) => AsyncIterable; - -export const defaultRepositoryParser = - async function* defaultRepositoryParser(options: { - target: string; - presence?: 'optional' | 'required'; - }) { - yield processingResult.location({ - type: 'url', - target: options.target, - // Not all locations may actually exist, since the user defined them as a wildcard pattern. - // Thus, we emit them as optional and let the downstream processor find them while not outputting - // an error if it couldn't. - presence: options.presence ?? 'optional', - }); - }; diff --git a/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketServerClient.ts b/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketServerClient.ts deleted file mode 100644 index bcebb1713b..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/lib/BitbucketServerClient.ts +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2021 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 { - BitbucketIntegrationConfig, - getBitbucketRequestOptions, -} from '@backstage/integration'; -import fetch from 'node-fetch'; - -export class BitbucketServerClient { - private readonly config: BitbucketIntegrationConfig; - - constructor(options: { config: BitbucketIntegrationConfig }) { - this.config = options.config; - } - - async listProjects(options?: ListOptions): Promise> { - return this.pagedRequest(`${this.config.apiBaseUrl}/projects`, options); - } - - async listRepositories( - projectKey: string, - options?: ListOptions, - ): Promise> { - return this.pagedRequest( - `${this.config.apiBaseUrl}/projects/${encodeURIComponent( - projectKey, - )}/repos`, - options, - ); - } - - private async pagedRequest( - endpoint: string, - options?: ListOptions, - ): Promise> { - const request = new URL(endpoint); - for (const key in options) { - if (options[key]) { - request.searchParams.append(key, options[key]!.toString()); - } - } - - const response = await fetch( - request.toString(), - getBitbucketRequestOptions(this.config), - ); - if (!response.ok) { - throw new Error( - `Unexpected response when fetching ${request.toString()}. Expected 200 but got ${ - response.status - } - ${response.statusText}`, - ); - } - return response.json() as Promise>; - } -} - -export type ListOptions = { - [key: string]: number | undefined; - limit?: number | undefined; - start?: number | undefined; -}; - -export type PagedResponse = { - size: number; - limit: number; - start: number; - isLastPage: boolean; - values: T[]; - nextPageStart: number; -}; - -export async function* paginated( - request: (options: ListOptions) => Promise>, - options?: ListOptions, -) { - const opts = options || { start: 0 }; - let res; - do { - res = await request(opts); - opts.start = res.nextPageStart; - for (const item of res.values) { - yield item; - } - } while (!res.isLastPage); -} diff --git a/plugins/catalog-backend-module-bitbucket/src/lib/index.ts b/plugins/catalog-backend-module-bitbucket/src/lib/index.ts deleted file mode 100644 index c93bd7afd9..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/lib/index.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright 2021 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. - */ - -export { defaultRepositoryParser } from './BitbucketRepositoryParser'; -export type { BitbucketRepositoryParser } from './BitbucketRepositoryParser'; -export { BitbucketServerClient, paginated } from './BitbucketServerClient'; -export type { PagedResponse } from './BitbucketServerClient'; -export type { BitbucketRepository } from './types'; diff --git a/plugins/catalog-backend-module-bitbucket/src/lib/types.ts b/plugins/catalog-backend-module-bitbucket/src/lib/types.ts deleted file mode 100644 index b1bb416363..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/lib/types.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2021 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. - */ - -type BitbucketRepositoryBase = { - project: { - key: string; - }; - slug: string; -}; - -export type BitbucketRepository = BitbucketRepositoryBase & { - links: Record< - string, - { - href: string; - }[] - >; -}; diff --git a/plugins/catalog-backend-module-bitbucket/src/setupTests.ts b/plugins/catalog-backend-module-bitbucket/src/setupTests.ts deleted file mode 100644 index d3232290a7..0000000000 --- a/plugins/catalog-backend-module-bitbucket/src/setupTests.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright 2020 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. - */ - -export {}; diff --git a/yarn.lock b/yarn.lock index 5cea46e304..77803f6dd0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5419,23 +5419,6 @@ __metadata: languageName: unknown linkType: soft -"@backstage/plugin-catalog-backend-module-bitbucket@workspace:plugins/catalog-backend-module-bitbucket": - version: 0.0.0-use.local - resolution: "@backstage/plugin-catalog-backend-module-bitbucket@workspace:plugins/catalog-backend-module-bitbucket" - dependencies: - "@backstage/backend-common": "workspace:^" - "@backstage/backend-test-utils": "workspace:^" - "@backstage/cli": "workspace:^" - "@backstage/config": "workspace:^" - "@backstage/integration": "workspace:^" - "@backstage/plugin-bitbucket-cloud-common": "workspace:^" - "@backstage/plugin-catalog-node": "workspace:^" - msw: ^1.0.0 - node-fetch: ^2.6.7 - winston: ^3.2.1 - languageName: unknown - linkType: soft - "@backstage/plugin-catalog-backend-module-gcp@workspace:plugins/catalog-backend-module-gcp": version: 0.0.0-use.local resolution: "@backstage/plugin-catalog-backend-module-gcp@workspace:plugins/catalog-backend-module-gcp" From 27b0c7543d95f38244d7712b5fdbd0049d6a67fe Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:10:59 +0000 Subject: [PATCH 52/82] chore(deps): update postgres:16 docker digest to 09f23e0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy_packages.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 247770a74e..efc91e10a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -155,7 +155,7 @@ jobs: name: Test ${{ matrix.node-version }} services: postgres16: - image: postgres:16@sha256:4d1b17af6f66b852ee3a721f6691a2ca7352f9d28f570a6a48cee4ebe646b2fd + image: postgres:16@sha256:09f23e02d76670d3b346a3c00aa33a27cf57aab8341eedfcdaed41459d14f5c4 env: POSTGRES_PASSWORD: postgres options: >- diff --git a/.github/workflows/deploy_packages.yml b/.github/workflows/deploy_packages.yml index 7e4f297933..7e4d71f567 100644 --- a/.github/workflows/deploy_packages.yml +++ b/.github/workflows/deploy_packages.yml @@ -23,7 +23,7 @@ jobs: services: postgres16: - image: postgres:16@sha256:4d1b17af6f66b852ee3a721f6691a2ca7352f9d28f570a6a48cee4ebe646b2fd + image: postgres:16@sha256:09f23e02d76670d3b346a3c00aa33a27cf57aab8341eedfcdaed41459d14f5c4 env: POSTGRES_PASSWORD: postgres options: >- From 21c6061daaff0fa2a17c1093652f2275a1e365d2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 17:42:29 +0000 Subject: [PATCH 53/82] chore(deps): update dependency @types/react-dom to v18.2.19 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index b628f67c47..a6560d5ef5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19254,11 +19254,11 @@ __metadata: linkType: hard "@types/react-dom@npm:^18": - version: 18.2.18 - resolution: "@types/react-dom@npm:18.2.18" + version: 18.2.19 + resolution: "@types/react-dom@npm:18.2.19" dependencies: "@types/react": "*" - checksum: 8e3da404c980e2b2a76da3852f812ea6d8b9d0e7f5923fbaf3bfbbbfa1d59116ff91c129de8f68e9b7668a67ae34484fe9df74d5a7518cf8591ec07a0c4dad57 + checksum: 087a19d8e4c1c0900ec4ac5ddb749a811a38274b25683d233c11755d2895cc6e475e8bf9bea3dee36519769298e078d4c2feab9ab4bd13b26bc2a6170716437e languageName: node linkType: hard From 5a916c3da506e65007bbc4f9b0bd0c7c77d4c922 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 18:25:00 +0000 Subject: [PATCH 54/82] fix(deps): update dependency swagger-ui-react to v5.11.3 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index b628f67c47..855b67bf0e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -42576,8 +42576,8 @@ __metadata: linkType: hard "swagger-ui-react@npm:^5.0.0": - version: 5.11.2 - resolution: "swagger-ui-react@npm:5.11.2" + version: 5.11.3 + resolution: "swagger-ui-react@npm:5.11.3" dependencies: "@babel/runtime-corejs3": ^7.23.8 "@braintree/sanitize-url": =7.0.0 @@ -42616,7 +42616,7 @@ __metadata: peerDependencies: react: ">=16.8.0 <19" react-dom: ">=16.8.0 <19" - checksum: 741780967d82cebb12754c1d085f182a2e19e8015aa80b04f9f8c985671a9a447ef7db7f1cf79a2c2a32078d6ababd3436262d81d9e531e5c74f74f1cb392b11 + checksum: 44b6693cb3285c83ef54ea3484a5b2d3285517d77b3a7ba9cd8dfb7a2b25a25242f99ae04c0c0a5786841d490e2a0e1c4021c4d69012caf6983096fc8ead70dd languageName: node linkType: hard From f90fdd5b247f7cb96b6786e277978f4d8a0182e1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 18:25:09 +0000 Subject: [PATCH 55/82] chore(deps): update step-security/harden-runner action to v2.7.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/verify_microsite_accessibility-noop.yml | 2 +- .github/workflows/verify_microsite_accessibility.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify_microsite_accessibility-noop.yml b/.github/workflows/verify_microsite_accessibility-noop.yml index 35a7b3e19d..4b63dc41cc 100644 --- a/.github/workflows/verify_microsite_accessibility-noop.yml +++ b/.github/workflows/verify_microsite_accessibility-noop.yml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Harden Runner - uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 + uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 with: egress-policy: audit diff --git a/.github/workflows/verify_microsite_accessibility.yml b/.github/workflows/verify_microsite_accessibility.yml index 9df9a9f8a0..eb9d3de683 100644 --- a/.github/workflows/verify_microsite_accessibility.yml +++ b/.github/workflows/verify_microsite_accessibility.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Harden Runner - uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1 + uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 with: egress-policy: audit From 6196ddf0a6c8e89f0fe0e126327200e032c7e625 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:15:42 +0000 Subject: [PATCH 56/82] fix(deps): update dependency chokidar to v3.6.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index a6560d5ef5..3b9815f712 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22833,8 +22833,8 @@ __metadata: linkType: hard "chokidar@npm:^3.3.1, chokidar@npm:^3.4.2, chokidar@npm:^3.5.2, chokidar@npm:^3.5.3": - version: 3.5.3 - resolution: "chokidar@npm:3.5.3" + version: 3.6.0 + resolution: "chokidar@npm:3.6.0" dependencies: anymatch: ~3.1.2 braces: ~3.0.2 @@ -22847,7 +22847,7 @@ __metadata: dependenciesMeta: fsevents: optional: true - checksum: b49fcde40176ba007ff361b198a2d35df60d9bb2a5aab228279eb810feae9294a6b4649ab15981304447afe1e6ffbf4788ad5db77235dc770ab777c6e771980c + checksum: d2f29f499705dcd4f6f3bbed79a9ce2388cf530460122eed3b9c48efeab7a4e28739c6551fd15bec9245c6b9eeca7a32baa64694d64d9b6faeb74ddb8c4a413d languageName: node linkType: hard From a2e7fc62a8885f90601d6f291bda6e0041add342 Mon Sep 17 00:00:00 2001 From: Michael Stergianis Date: Wed, 7 Feb 2024 14:37:46 -0500 Subject: [PATCH 57/82] Organizes imports for kubernetes-backend/plugin.ts I found it really difficult to read the imports particularly for plugin-kubernetes-node so I organized them Signed-off-by: Michael Stergianis --- .changeset/perfect-colts-hammer.md | 5 ++++ plugins/kubernetes-backend/src/plugin.ts | 31 ++++++++++++------------ 2 files changed, 20 insertions(+), 16 deletions(-) create mode 100644 .changeset/perfect-colts-hammer.md diff --git a/.changeset/perfect-colts-hammer.md b/.changeset/perfect-colts-hammer.md new file mode 100644 index 0000000000..616bcbda6f --- /dev/null +++ b/.changeset/perfect-colts-hammer.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-kubernetes-backend': patch +--- + +Organized imports in plugin.ts diff --git a/plugins/kubernetes-backend/src/plugin.ts b/plugins/kubernetes-backend/src/plugin.ts index 1b4aca4160..74a8a68e53 100644 --- a/plugins/kubernetes-backend/src/plugin.ts +++ b/plugins/kubernetes-backend/src/plugin.ts @@ -16,30 +16,29 @@ import { loggerToWinstonLogger } from '@backstage/backend-common'; import { - createBackendPlugin, coreServices, + createBackendPlugin, } from '@backstage/backend-plugin-api'; import { catalogServiceRef } from '@backstage/plugin-catalog-node/alpha'; import { KubernetesBuilder } from '@backstage/plugin-kubernetes-backend'; + import { - KubernetesObjectsProviderExtensionPoint, - kubernetesObjectsProviderExtensionPoint, - KubernetesObjectsProvider, - KubernetesClusterSupplierExtensionPoint, - kubernetesClusterSupplierExtensionPoint, - KubernetesClustersSupplier, - KubernetesAuthStrategyExtensionPoint, - AuthenticationStrategy, kubernetesAuthStrategyExtensionPoint, - KubernetesFetcher, - KubernetesServiceLocatorExtensionPoint, - KubernetesServiceLocator, - kubernetesServiceLocatorExtensionPoint, -} from '@backstage/plugin-kubernetes-node'; -import { - KubernetesFetcherExtensionPoint, + kubernetesClusterSupplierExtensionPoint, kubernetesFetcherExtensionPoint, + kubernetesObjectsProviderExtensionPoint, + kubernetesServiceLocatorExtensionPoint, + type AuthenticationStrategy, + type KubernetesAuthStrategyExtensionPoint, + type KubernetesClusterSupplierExtensionPoint, + type KubernetesClustersSupplier, + type KubernetesFetcher, + type KubernetesFetcherExtensionPoint, + type KubernetesObjectsProvider, + type KubernetesObjectsProviderExtensionPoint, + type KubernetesServiceLocator, + type KubernetesServiceLocatorExtensionPoint, } from '@backstage/plugin-kubernetes-node'; class ObjectsProvider implements KubernetesObjectsProviderExtensionPoint { From da36058893e2b2447fe157147ec5bd224a13d8ea Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 19:42:45 +0000 Subject: [PATCH 58/82] chore(deps): update ruby:3.3 docker digest to edc0719 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- plugins/scaffolder-backend-module-rails/Rails.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scaffolder-backend-module-rails/Rails.dockerfile b/plugins/scaffolder-backend-module-rails/Rails.dockerfile index 191ddda8e7..1eddd66f76 100644 --- a/plugins/scaffolder-backend-module-rails/Rails.dockerfile +++ b/plugins/scaffolder-backend-module-rails/Rails.dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.3@sha256:79fd4a27fc343abc7372e9082fcfae3750e24cdb519c1cfd89cfa7a4d48a5191 +FROM ruby:3.3@sha256:edc0719e887ae8a34c9edfe0178333117cb6fbfd6f49502dbccc8ae22d26a63e RUN apt-get update -qq && \ apt-get install -y nodejs postgresql-client git && \ From 81a73b655930f24cbeae71a4e0446a8b506201b1 Mon Sep 17 00:00:00 2001 From: armandocomellas1 Date: Wed, 7 Feb 2024 14:42:51 -0600 Subject: [PATCH 59/82] adds a x-goog-api-client header to existing API requests in this plugin to clearly identify API requests from this GKE plugin Signed-off-by: armandocomellas1 --- .changeset/mighty-tomatoes-visit.md | 4 +-- .../cluster-locator/GkeClusterLocator.test.ts | 25 ++++++++++++------- .../src/cluster-locator/GkeClusterLocator.ts | 4 +-- 3 files changed, 20 insertions(+), 13 deletions(-) diff --git a/.changeset/mighty-tomatoes-visit.md b/.changeset/mighty-tomatoes-visit.md index 7c12a0fa00..beb37d02ed 100644 --- a/.changeset/mighty-tomatoes-visit.md +++ b/.changeset/mighty-tomatoes-visit.md @@ -1,5 +1,5 @@ --- -'@backstage/plugin-kubernetes-backend': minor +'@backstage/plugin-kubernetes-backend': patch --- -At Line 91, in the second parameter enter a value for the property `libName` and `libVersion` to post headers to the key `x-goog-api-client` +adds a x-goog-api-client header to existing API requests in this plugin to clearly identify API requests from this GKE plugin. headers are formatted as follows where `libVersion` represents the current dotted version number of the Backstage GKE plugin and `libName` represent the current Google API used at backstage. diff --git a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts index de77000249..e6e19a6aaa 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.test.ts @@ -18,9 +18,18 @@ import { ANNOTATION_KUBERNETES_AUTH_PROVIDER } from '@backstage/plugin-kubernete import '@backstage/backend-common'; import { ConfigReader, Config } from '@backstage/config'; import { GkeClusterLocator } from './GkeClusterLocator'; -import { Duration } from 'luxon'; +import * as container from '@google-cloud/container'; const mockedListClusters = jest.fn(); +jest.mock('@google-cloud/container', () => { + return { + v1: { + ClusterManagerClient: jest.fn().mockImplementation(() => { + mockedListClusters(); + }), + }, + }; +}); describe('GkeClusterLocator', () => { beforeEach(() => { @@ -486,20 +495,18 @@ describe('GkeClusterLocator', () => { }, ]); }); - it('Check if new container.v1.ClusterManagerClient has key and values as parameter', async () => { + it('constructs ClusterManagerClient with identifying metadata', async () => { const configs: Config = new ConfigReader({ type: 'gke', projectId: 'some-project', }); - const refreshIntervals: Duration | undefined = undefined; - const getHeaders: GkeClusterLocator = GkeClusterLocator.fromConfig( - configs, - refreshIntervals, - ); + GkeClusterLocator.fromConfig(configs); - expect(getHeaders).toHaveProperty('client._opts.libName'); - expect(getHeaders).toHaveProperty('client._opts.libVersion'); + expect(container.v1.ClusterManagerClient).toHaveBeenCalledWith({ + libName: 'backstage/kubernetes-backend.GkeClusterLocator', + libVersion: expect.any(String), + }); }); }); }); diff --git a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts index 33b9ee74b9..3b3d74e17f 100644 --- a/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts +++ b/plugins/kubernetes-backend/src/cluster-locator/GkeClusterLocator.ts @@ -81,7 +81,7 @@ export class GkeClusterLocator implements KubernetesClustersSupplier { return gkeClusterLocator; } - // At Line 91, in the second parameter enter a value for the property libName and libVersion to post headers to the key 'x-goog-api-client' + // Added an `x-goog-api-client` header to API requests made by the GKE cluster locator to clearly identify API requests from this plugin. static fromConfig( config: Config, refreshInterval: Duration | undefined = undefined, @@ -89,7 +89,7 @@ export class GkeClusterLocator implements KubernetesClustersSupplier { return GkeClusterLocator.fromConfigWithClient( config, new container.v1.ClusterManagerClient({ - libName: 'backstage/gke', + libName: `backstage/kubernetes-backend.GkeClusterLocator`, libVersion: packageinfo.version, }), refreshInterval, From 9f2b50b553c934db723101916d11f2c5bff4ef2a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 20:47:21 +0000 Subject: [PATCH 60/82] fix(deps): update aws-sdk-js-v3 monorepo to v3.509.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 191 +++++++++++++++++++++++++++--------------------------- 1 file changed, 96 insertions(+), 95 deletions(-) diff --git a/yarn.lock b/yarn.lock index 24c1938de9..4b7f3b8602 100644 --- a/yarn.lock +++ b/yarn.lock @@ -363,15 +363,15 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/client-cognito-identity@npm:3.504.0": - version: 3.504.0 - resolution: "@aws-sdk/client-cognito-identity@npm:3.504.0" +"@aws-sdk/client-cognito-identity@npm:3.509.0": + version: 3.509.0 + resolution: "@aws-sdk/client-cognito-identity@npm:3.509.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/core": 3.496.0 - "@aws-sdk/credential-provider-node": 3.504.0 + "@aws-sdk/credential-provider-node": 3.509.0 "@aws-sdk/middleware-host-header": 3.502.0 "@aws-sdk/middleware-logger": 3.502.0 "@aws-sdk/middleware-recursion-detection": 3.502.0 @@ -407,19 +407,19 @@ __metadata: "@smithy/util-retry": ^2.1.1 "@smithy/util-utf8": ^2.1.1 tslib: ^2.5.0 - checksum: e941df21af6e53a408a1b92db33ad4575a459eae983320959be9a3e152a9293eea93fc62579c60282a3454a520b493624a44f9529b7f9eca66ca2ebd9615004a + checksum: 5ec80c36888445f6462308b66c9c06c85202b411ed4157ec96e638317507907b313f6e9062fa5266b88e091364d2872ea30a5c59f50ce5c2bdd069140bf6ab2d languageName: node linkType: hard "@aws-sdk/client-eks@npm:^3.350.0": - version: 3.504.0 - resolution: "@aws-sdk/client-eks@npm:3.504.0" + version: 3.509.0 + resolution: "@aws-sdk/client-eks@npm:3.509.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/core": 3.496.0 - "@aws-sdk/credential-provider-node": 3.504.0 + "@aws-sdk/credential-provider-node": 3.509.0 "@aws-sdk/middleware-host-header": 3.502.0 "@aws-sdk/middleware-logger": 3.502.0 "@aws-sdk/middleware-recursion-detection": 3.502.0 @@ -457,19 +457,19 @@ __metadata: "@smithy/util-waiter": ^2.1.1 tslib: ^2.5.0 uuid: ^8.3.2 - checksum: 40650c95b683fd9adedd1aedfffd23cab73c22f971d82d3e5547732c01d332dfab981d7d47fe81fae2f1db406b58f899e62bf5844b3ee42e7005b0a1ece86227 + checksum: 9c15bf5ea7635487e62b59974ec17940987b6efcac28a46786f423d4900508f10675976be72dfae8704fda5b0192d3e19faa8a6a4ad344790d4ab589e0c9ad30 languageName: node linkType: hard "@aws-sdk/client-organizations@npm:^3.350.0": - version: 3.504.0 - resolution: "@aws-sdk/client-organizations@npm:3.504.0" + version: 3.509.0 + resolution: "@aws-sdk/client-organizations@npm:3.509.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/core": 3.496.0 - "@aws-sdk/credential-provider-node": 3.504.0 + "@aws-sdk/credential-provider-node": 3.509.0 "@aws-sdk/middleware-host-header": 3.502.0 "@aws-sdk/middleware-logger": 3.502.0 "@aws-sdk/middleware-recursion-detection": 3.502.0 @@ -505,20 +505,20 @@ __metadata: "@smithy/util-retry": ^2.1.1 "@smithy/util-utf8": ^2.1.1 tslib: ^2.5.0 - checksum: 15daecdad337d503a672ec36d177aeb66ea5061ffcd559a66ae8dfb8bafcc2c7428fe855c2b7b832f222edf1fc2917d39ecd31e71ad19d6f9805f7b46b3cb929 + checksum: 3af1844b63bc996807483deb85919756f82381d112bfb2c1cdc5c1e9291a71eb926a064e84ed1c4c22c23e9631502437e6b7cfacf922145c35e8c5aa63a9fd06 languageName: node linkType: hard "@aws-sdk/client-s3@npm:^3.350.0": - version: 3.504.0 - resolution: "@aws-sdk/client-s3@npm:3.504.0" + version: 3.509.0 + resolution: "@aws-sdk/client-s3@npm:3.509.0" dependencies: "@aws-crypto/sha1-browser": 3.0.0 "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/core": 3.496.0 - "@aws-sdk/credential-provider-node": 3.504.0 + "@aws-sdk/credential-provider-node": 3.509.0 "@aws-sdk/middleware-bucket-endpoint": 3.502.0 "@aws-sdk/middleware-expect-continue": 3.502.0 "@aws-sdk/middleware-flexible-checksums": 3.502.0 @@ -571,23 +571,23 @@ __metadata: "@smithy/util-waiter": ^2.1.1 fast-xml-parser: 4.2.5 tslib: ^2.5.0 - checksum: 22f4bb61196d5a567295e4ad42248f132a5e16ed1eb66bee9fcb7273dad13a9c3a2ebe5b2fb4277e645ede8b0650ddb2665fd450018b56cc29650dbd5d6ce427 + checksum: 8bbb1badb376c4f541bcfdf45cef8c9057565f6ee7516fffd645f1384549b937f76fafbc9b73ff240aaff49efd9acfdd20a37e6d1e316f9215208a29abb2ea24 languageName: node linkType: hard "@aws-sdk/client-sqs@npm:^3.350.0": - version: 3.504.0 - resolution: "@aws-sdk/client-sqs@npm:3.504.0" + version: 3.509.0 + resolution: "@aws-sdk/client-sqs@npm:3.509.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/core": 3.496.0 - "@aws-sdk/credential-provider-node": 3.504.0 + "@aws-sdk/credential-provider-node": 3.509.0 "@aws-sdk/middleware-host-header": 3.502.0 "@aws-sdk/middleware-logger": 3.502.0 "@aws-sdk/middleware-recursion-detection": 3.502.0 - "@aws-sdk/middleware-sdk-sqs": 3.502.0 + "@aws-sdk/middleware-sdk-sqs": 3.507.0 "@aws-sdk/middleware-user-agent": 3.502.0 "@aws-sdk/region-config-resolver": 3.502.0 "@aws-sdk/types": 3.502.0 @@ -621,17 +621,17 @@ __metadata: "@smithy/util-retry": ^2.1.1 "@smithy/util-utf8": ^2.1.1 tslib: ^2.5.0 - checksum: 4b533cc79693ef82ead2c02ebe530a7cc8d73eeb11ca2e95ee21d84b479a5d277d42c152ecf08727e4f323a4ada995d3ff8ba248a845c85214ca06843996357c + checksum: 4858f376f24dbd70007bff8a9c766c8b3778f32dabb6b4228f74b97f4b094c671c827d3f3ab1e30aec7bc24a39ada06e5f6f060c14274b7ee64081119de03fa6 languageName: node linkType: hard -"@aws-sdk/client-sso-oidc@npm:3.504.0": - version: 3.504.0 - resolution: "@aws-sdk/client-sso-oidc@npm:3.504.0" +"@aws-sdk/client-sso-oidc@npm:3.507.0": + version: 3.507.0 + resolution: "@aws-sdk/client-sso-oidc@npm:3.507.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/core": 3.496.0 "@aws-sdk/middleware-host-header": 3.502.0 "@aws-sdk/middleware-logger": 3.502.0 @@ -669,14 +669,14 @@ __metadata: "@smithy/util-utf8": ^2.1.1 tslib: ^2.5.0 peerDependencies: - "@aws-sdk/credential-provider-node": ^3.504.0 - checksum: 93e816246e1f3ebf00c696f9f1cc2b3afd8c49ffc67020ce8aba0e752051afce4bfe9521bf6f4ad8dc55eeef5d320a903353829704215ec5838bbc08ec48974c + "@aws-sdk/credential-provider-node": ^3.507.0 + checksum: e85da9c9f2eb791c866dd767aa9942ac2e4f9f957185503032f8ae964c066bef6cae258d8075e442cf41333117e3bc73c1d8d1c2625ba76c569d0d42d5d48409 languageName: node linkType: hard -"@aws-sdk/client-sso@npm:3.502.0": - version: 3.502.0 - resolution: "@aws-sdk/client-sso@npm:3.502.0" +"@aws-sdk/client-sso@npm:3.507.0": + version: 3.507.0 + resolution: "@aws-sdk/client-sso@npm:3.507.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 @@ -715,13 +715,13 @@ __metadata: "@smithy/util-retry": ^2.1.1 "@smithy/util-utf8": ^2.1.1 tslib: ^2.5.0 - checksum: ef801b4838af20d0d0458b02f0ca8ecb1e08ab1a8c1fe885b446745f730aee1e8a4fd1cbc555a7628390f67955d6d62b06f57f426551210356414f3c15cdd084 + checksum: e5ede601b02c6fb33c9a6d93c0dfffb9b7b2631f601f323c3cf8594e9d472a55024a0345b33d213b5fa8940f685788080233b38d62cf7602c39fceae45d0b36a languageName: node linkType: hard -"@aws-sdk/client-sts@npm:3.504.0, @aws-sdk/client-sts@npm:^3.350.0": - version: 3.504.0 - resolution: "@aws-sdk/client-sts@npm:3.504.0" +"@aws-sdk/client-sts@npm:3.507.0, @aws-sdk/client-sts@npm:^3.350.0": + version: 3.507.0 + resolution: "@aws-sdk/client-sts@npm:3.507.0" dependencies: "@aws-crypto/sha256-browser": 3.0.0 "@aws-crypto/sha256-js": 3.0.0 @@ -763,8 +763,8 @@ __metadata: fast-xml-parser: 4.2.5 tslib: ^2.5.0 peerDependencies: - "@aws-sdk/credential-provider-node": ^3.504.0 - checksum: f13bd125c5a5f4bf75945c4bb72b2e4e27eec5d666e3fed81014b86f4abbed6b4751bf74448d35e361bab2fb45c1574908e3354ff09d474a64392deeb05f7150 + "@aws-sdk/credential-provider-node": ^3.507.0 + checksum: f00584e210e99836457814c15c5796c4014117277d564f0eb7d2b98b18af5c5bd6f7df6925aa7f295fa9ac0a263c2d9d49bb8e23e583569074449a2fb3d15ed1 languageName: node linkType: hard @@ -782,16 +782,16 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-cognito-identity@npm:3.504.0": - version: 3.504.0 - resolution: "@aws-sdk/credential-provider-cognito-identity@npm:3.504.0" +"@aws-sdk/credential-provider-cognito-identity@npm:3.509.0": + version: 3.509.0 + resolution: "@aws-sdk/credential-provider-cognito-identity@npm:3.509.0" dependencies: - "@aws-sdk/client-cognito-identity": 3.504.0 + "@aws-sdk/client-cognito-identity": 3.509.0 "@aws-sdk/types": 3.502.0 "@smithy/property-provider": ^2.1.1 "@smithy/types": ^2.9.1 tslib: ^2.5.0 - checksum: 20bd84eb8bc1dc9f1ef8eb730cbf6c0d546a8ab43be724f7f16c94b39bf9c7ab46f32f27fcc102be873ff43bf19b1a7793164ec827730b582b5d4493c7fefdae + checksum: 7fb2ff1e098968d36e711db7457d2389a3244cebec87da60488750020aad568b938de2e306566190e8c610e40d3c0e3402b2c48a6046f5ee8a9c11c00a4ca803 languageName: node linkType: hard @@ -824,42 +824,42 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-ini@npm:3.504.0": - version: 3.504.0 - resolution: "@aws-sdk/credential-provider-ini@npm:3.504.0" +"@aws-sdk/credential-provider-ini@npm:3.507.0": + version: 3.507.0 + resolution: "@aws-sdk/credential-provider-ini@npm:3.507.0" dependencies: - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/credential-provider-env": 3.502.0 "@aws-sdk/credential-provider-process": 3.502.0 - "@aws-sdk/credential-provider-sso": 3.504.0 - "@aws-sdk/credential-provider-web-identity": 3.504.0 + "@aws-sdk/credential-provider-sso": 3.507.0 + "@aws-sdk/credential-provider-web-identity": 3.507.0 "@aws-sdk/types": 3.502.0 "@smithy/credential-provider-imds": ^2.2.1 "@smithy/property-provider": ^2.1.1 "@smithy/shared-ini-file-loader": ^2.3.1 "@smithy/types": ^2.9.1 tslib: ^2.5.0 - checksum: b8a2b56ee7109608c74b97a0fa7c52759d11b4754e81b4fd32a178d9e2ee2ea4c334e31a657b2f10d042da30f53f7e6003d87c6e4a13f517e6d5d4afaa8fba20 + checksum: b07df1a5f9e157d2fe49a44fd2c90564c8f3ab5543f70769a39e5d155e2ea21b3e793cfc84388e773c8d1d5d442bb1df64fa38fd223a8333f2c58f45ed2c8494 languageName: node linkType: hard -"@aws-sdk/credential-provider-node@npm:3.504.0, @aws-sdk/credential-provider-node@npm:^3.350.0": - version: 3.504.0 - resolution: "@aws-sdk/credential-provider-node@npm:3.504.0" +"@aws-sdk/credential-provider-node@npm:3.509.0, @aws-sdk/credential-provider-node@npm:^3.350.0": + version: 3.509.0 + resolution: "@aws-sdk/credential-provider-node@npm:3.509.0" dependencies: "@aws-sdk/credential-provider-env": 3.502.0 "@aws-sdk/credential-provider-http": 3.503.1 - "@aws-sdk/credential-provider-ini": 3.504.0 + "@aws-sdk/credential-provider-ini": 3.507.0 "@aws-sdk/credential-provider-process": 3.502.0 - "@aws-sdk/credential-provider-sso": 3.504.0 - "@aws-sdk/credential-provider-web-identity": 3.504.0 + "@aws-sdk/credential-provider-sso": 3.507.0 + "@aws-sdk/credential-provider-web-identity": 3.507.0 "@aws-sdk/types": 3.502.0 "@smithy/credential-provider-imds": ^2.2.1 "@smithy/property-provider": ^2.1.1 "@smithy/shared-ini-file-loader": ^2.3.1 "@smithy/types": ^2.9.1 tslib: ^2.5.0 - checksum: 5d36589c7755313992013c8d2d776f2ab919a1d528eb17ed32d869869595d941d3e0e533e80bc2ea7b49a94fd80f205a4438aba5e5eabfc0a8f4717665490a59 + checksum: 85bac6b0813b9c4d3cd878b21e940bb7730005c9bd7f9307e0eb9e93a229166761fcb25b57714a8019063b9eb3ff0c90cca31d9821589e8cd51adafe42232c37 languageName: node linkType: hard @@ -876,55 +876,55 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/credential-provider-sso@npm:3.504.0": - version: 3.504.0 - resolution: "@aws-sdk/credential-provider-sso@npm:3.504.0" +"@aws-sdk/credential-provider-sso@npm:3.507.0": + version: 3.507.0 + resolution: "@aws-sdk/credential-provider-sso@npm:3.507.0" dependencies: - "@aws-sdk/client-sso": 3.502.0 - "@aws-sdk/token-providers": 3.504.0 + "@aws-sdk/client-sso": 3.507.0 + "@aws-sdk/token-providers": 3.507.0 "@aws-sdk/types": 3.502.0 "@smithy/property-provider": ^2.1.1 "@smithy/shared-ini-file-loader": ^2.3.1 "@smithy/types": ^2.9.1 tslib: ^2.5.0 - checksum: e3716422ef27e6aa6d50a9e85809c2e51b2f7a3d8bddc4b1b0d61a5cfce2ccb2c7503e9319498861f57b05557027fe59863b3ee292601321b7fb80d772027ddb + checksum: 2bfbd29ea3650c25794ca6054fd93da51ecb59ae64515fc8257ccb17a6b4ade6fcf615f86b042169b57255305b4fb2892961c2ddae52c21e3b47f90c69f1b0b0 languageName: node linkType: hard -"@aws-sdk/credential-provider-web-identity@npm:3.504.0": - version: 3.504.0 - resolution: "@aws-sdk/credential-provider-web-identity@npm:3.504.0" +"@aws-sdk/credential-provider-web-identity@npm:3.507.0": + version: 3.507.0 + resolution: "@aws-sdk/credential-provider-web-identity@npm:3.507.0" dependencies: - "@aws-sdk/client-sts": 3.504.0 + "@aws-sdk/client-sts": 3.507.0 "@aws-sdk/types": 3.502.0 "@smithy/property-provider": ^2.1.1 "@smithy/types": ^2.9.1 tslib: ^2.5.0 - checksum: daf3c44b6663cd3e63634fce953c8ddd409640f53462c6e625de9b238b98dfc288776264990957f06f3134a6ba96dabd16e82cd7150d5c2579bcc625f9d2933d + checksum: dc06ce47e00d1688e9297a2b7fdbe763ac0738325ebdb9779caa4d44914fb378b9381505ddb5fc30d44b68764bc3459481417cf7a8def7e96d9437b72d8649d0 languageName: node linkType: hard "@aws-sdk/credential-providers@npm:^3.350.0": - version: 3.504.1 - resolution: "@aws-sdk/credential-providers@npm:3.504.1" + version: 3.509.0 + resolution: "@aws-sdk/credential-providers@npm:3.509.0" dependencies: - "@aws-sdk/client-cognito-identity": 3.504.0 - "@aws-sdk/client-sso": 3.502.0 - "@aws-sdk/client-sts": 3.504.0 - "@aws-sdk/credential-provider-cognito-identity": 3.504.0 + "@aws-sdk/client-cognito-identity": 3.509.0 + "@aws-sdk/client-sso": 3.507.0 + "@aws-sdk/client-sts": 3.507.0 + "@aws-sdk/credential-provider-cognito-identity": 3.509.0 "@aws-sdk/credential-provider-env": 3.502.0 "@aws-sdk/credential-provider-http": 3.503.1 - "@aws-sdk/credential-provider-ini": 3.504.0 - "@aws-sdk/credential-provider-node": 3.504.0 + "@aws-sdk/credential-provider-ini": 3.507.0 + "@aws-sdk/credential-provider-node": 3.509.0 "@aws-sdk/credential-provider-process": 3.502.0 - "@aws-sdk/credential-provider-sso": 3.504.0 - "@aws-sdk/credential-provider-web-identity": 3.504.0 + "@aws-sdk/credential-provider-sso": 3.507.0 + "@aws-sdk/credential-provider-web-identity": 3.507.0 "@aws-sdk/types": 3.502.0 "@smithy/credential-provider-imds": ^2.2.1 "@smithy/property-provider": ^2.1.1 "@smithy/types": ^2.9.1 tslib: ^2.5.0 - checksum: d27d06c982560ed1925573ef14f55fc6784c02103c570834a6fbaab2083c9d006dfc842484d1ed44477f1607da99d30edcbcdf1b61e28ad1a541dc7e639b182d + checksum: 2e6b2cc78734f69f2496dd940f868a39a919696625082fab63d7e5d7bd741a0d1c2109bdbb66fef216417a7fd6070e112a84236d1597731585f9f586e8c0926d languageName: node linkType: hard @@ -950,8 +950,8 @@ __metadata: linkType: hard "@aws-sdk/lib-storage@npm:^3.350.0": - version: 3.504.0 - resolution: "@aws-sdk/lib-storage@npm:3.504.0" + version: 3.509.0 + resolution: "@aws-sdk/lib-storage@npm:3.509.0" dependencies: "@smithy/abort-controller": ^2.1.1 "@smithy/middleware-endpoint": ^2.4.1 @@ -962,7 +962,7 @@ __metadata: tslib: ^2.5.0 peerDependencies: "@aws-sdk/client-s3": ^3.0.0 - checksum: b6b23444c78b45192279b580365460d2aaa0beaef2dc7ca1479d6a927eba59d408ea75bbb0691aa2f31daed9a59d0dedf50688839e406eacde858ebca60a25b8 + checksum: eca8d6014fd58a675f493da236018ec35a5d8f7128966a097bcd3ca81c3b1d0738bf8baaffe155cc6cb7ad8f9e0d41946894f499a5337344162eb20efcf97846 languageName: node linkType: hard @@ -1085,16 +1085,17 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/middleware-sdk-sqs@npm:3.502.0": - version: 3.502.0 - resolution: "@aws-sdk/middleware-sdk-sqs@npm:3.502.0" +"@aws-sdk/middleware-sdk-sqs@npm:3.507.0": + version: 3.507.0 + resolution: "@aws-sdk/middleware-sdk-sqs@npm:3.507.0" dependencies: "@aws-sdk/types": 3.502.0 + "@smithy/smithy-client": ^2.3.1 "@smithy/types": ^2.9.1 "@smithy/util-hex-encoding": ^2.1.1 "@smithy/util-utf8": ^2.1.1 tslib: ^2.5.0 - checksum: 42bf269bcb5d77586fdc4457eeee40457a956f2235576a32421551e296de8070a85402f32d0d4dd92fed3aec6b68686873f95086817013e70bd3a911456768f3 + checksum: 2995ce335247ff7ac8660ebec8175bbb072c256f29d4577a520305b505cedaf7269638e393c79cc85949cb1eccb9cbad786ee88900df8a45f8a0cf4525f9a080 languageName: node linkType: hard @@ -1235,17 +1236,17 @@ __metadata: languageName: node linkType: hard -"@aws-sdk/token-providers@npm:3.504.0": - version: 3.504.0 - resolution: "@aws-sdk/token-providers@npm:3.504.0" +"@aws-sdk/token-providers@npm:3.507.0": + version: 3.507.0 + resolution: "@aws-sdk/token-providers@npm:3.507.0" dependencies: - "@aws-sdk/client-sso-oidc": 3.504.0 + "@aws-sdk/client-sso-oidc": 3.507.0 "@aws-sdk/types": 3.502.0 "@smithy/property-provider": ^2.1.1 "@smithy/shared-ini-file-loader": ^2.3.1 "@smithy/types": ^2.9.1 tslib: ^2.5.0 - checksum: efdda4b1d1976085f2fa3f3733cfc644f8a9a66f07e76e3b250d27b66a4c25ce2e9bfd526b2a7041d9c683d5535d445b7ab511eb3ecefe67376318d019b5e224 + checksum: 8d90139d9a1d2976e799b3234b723d903cbb2001acbfad658330de5a2fa5a04028e9db288780cd6d071edaf3d3890138ef7a69851e6b173433787635ac316ccf languageName: node linkType: hard From 450aa4cfe54851ee03889299144077e538bdf735 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 20:47:58 +0000 Subject: [PATCH 61/82] fix(deps): update dependency cronstrue to v2.48.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 24c1938de9..f18e457bd1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24108,11 +24108,11 @@ __metadata: linkType: hard "cronstrue@npm:^2.2.0, cronstrue@npm:^2.32.0": - version: 2.47.0 - resolution: "cronstrue@npm:2.47.0" + version: 2.48.0 + resolution: "cronstrue@npm:2.48.0" bin: cronstrue: bin/cli.js - checksum: a6752c8873fec30cabab4c5b92abde3a625cb5ef1797d9360f762b9e0bb9c0607a09744340faccdbf5b97eaeb5df0ebe9b5c424043fdba9b39799c82404076ec + checksum: d767d0f2cc1e286256bf6a92f555aacd1da103e97efd3dfc057a6f836f449b34302ace9fc00fdd28732fa5f8be1a1e940cef1a222b23dff90a419f33b3ff45aa languageName: node linkType: hard From ced0310edbbe2a398d313b355149301cbccb5f57 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 21:29:46 +0000 Subject: [PATCH 62/82] fix(deps): update dependency semver to v7.6.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index 4b7f3b8602..7513a0392f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -40944,7 +40944,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.5.4, semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4, semver@npm:~7.5.4": +"semver@npm:7.5.4, semver@npm:~7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -40964,6 +40964,17 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4": + version: 7.6.0 + resolution: "semver@npm:7.6.0" + dependencies: + lru-cache: ^6.0.0 + bin: + semver: bin/semver.js + checksum: 7427f05b70786c696640edc29fdd4bc33b2acf3bbe1740b955029044f80575fc664e1a512e4113c3af21e767154a94b4aa214bf6cd6e42a1f6dba5914e0b208c + languageName: node + linkType: hard + "send@npm:0.18.0": version: 0.18.0 resolution: "send@npm:0.18.0" From 8c1eb9262b7898879311312db0b7b5fd25e4e248 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 21:48:55 +0000 Subject: [PATCH 63/82] fix(deps): update swc monorepo Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- microsite/yarn.lock | 102 ++++++++++++++++++++------------------- storybook/yarn.lock | 102 ++++++++++++++++++++------------------- yarn.lock | 115 +++++++++++++++++++++++--------------------- 3 files changed, 163 insertions(+), 156 deletions(-) diff --git a/microsite/yarn.lock b/microsite/yarn.lock index 8bbef32fa1..b858d2bf13 100644 --- a/microsite/yarn.lock +++ b/microsite/yarn.lock @@ -2701,90 +2701,90 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-arm64@npm:1.3.107" +"@swc/core-darwin-arm64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-arm64@npm:1.4.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-x64@npm:1.3.107" +"@swc/core-darwin-x64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-x64@npm:1.4.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.107" +"@swc/core-linux-arm-gnueabihf@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.4.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.107" +"@swc/core-linux-arm64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-gnu@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.107" +"@swc/core-linux-arm64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-musl@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.107" +"@swc/core-linux-x64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-gnu@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-musl@npm:1.3.107" +"@swc/core-linux-x64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-musl@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.107" +"@swc/core-win32-arm64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-arm64-msvc@npm:1.4.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.107" +"@swc/core-win32-ia32-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-ia32-msvc@npm:1.4.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.107" +"@swc/core-win32-x64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-x64-msvc@npm:1.4.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@swc/core@npm:^1.3.46": - version: 1.3.107 - resolution: "@swc/core@npm:1.3.107" + version: 1.4.0 + resolution: "@swc/core@npm:1.4.0" dependencies: - "@swc/core-darwin-arm64": 1.3.107 - "@swc/core-darwin-x64": 1.3.107 - "@swc/core-linux-arm-gnueabihf": 1.3.107 - "@swc/core-linux-arm64-gnu": 1.3.107 - "@swc/core-linux-arm64-musl": 1.3.107 - "@swc/core-linux-x64-gnu": 1.3.107 - "@swc/core-linux-x64-musl": 1.3.107 - "@swc/core-win32-arm64-msvc": 1.3.107 - "@swc/core-win32-ia32-msvc": 1.3.107 - "@swc/core-win32-x64-msvc": 1.3.107 + "@swc/core-darwin-arm64": 1.4.0 + "@swc/core-darwin-x64": 1.4.0 + "@swc/core-linux-arm-gnueabihf": 1.4.0 + "@swc/core-linux-arm64-gnu": 1.4.0 + "@swc/core-linux-arm64-musl": 1.4.0 + "@swc/core-linux-x64-gnu": 1.4.0 + "@swc/core-linux-x64-musl": 1.4.0 + "@swc/core-win32-arm64-msvc": 1.4.0 + "@swc/core-win32-ia32-msvc": 1.4.0 + "@swc/core-win32-x64-msvc": 1.4.0 "@swc/counter": ^0.1.1 "@swc/types": ^0.1.5 peerDependencies: @@ -2813,14 +2813,14 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 0dccff50461fb8c0f4af053b70e555c91386cb07aa7657a7328d58e397d15640723587549416d8fa7dcc073ad11b39318146bd50ec4a82345ce2ce39c7ba4c00 + checksum: cef6459ba707362e88373f1c2c779c760a7fdf06c0123856be005bb012de91cb913b37fb49e485ac551494a1ee46fb6369c5aca9d453e1e5e391a8514c0db185 languageName: node linkType: hard -"@swc/counter@npm:^0.1.1": - version: 0.1.1 - resolution: "@swc/counter@npm:0.1.1" - checksum: bb974babd493ba01c0d4a95ab610c3fc15fbf609c08cb0342798e485f57ecc0950abbf84e07124e63c5fe610b492d9a8dd03701d3b9ef7329d9e8bf3cc44980f +"@swc/counter@npm:^0.1.1, @swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 languageName: node linkType: hard @@ -11500,12 +11500,14 @@ __metadata: linkType: hard "swc-loader@npm:^0.2.3": - version: 0.2.4 - resolution: "swc-loader@npm:0.2.4" + version: 0.2.6 + resolution: "swc-loader@npm:0.2.6" + dependencies: + "@swc/counter": ^0.1.3 peerDependencies: "@swc/core": ^1.2.147 webpack: ">=2" - checksum: f23bfe8900b35abdcb9910a2749f3c9d66edf5c660afc67fcf7983647eaec322e024d1edd3bd9fd48bd3191eea0616f67b5f8b5f923e3a648fa5b448683c3213 + checksum: fe90948c02a51bb8ffcff1ce3590e01dc12860b0bb7c9e22052b14fa846ed437781ae265614a5e14344bea22001108780f00a6e350e28c0b3499bc4cd11335fb languageName: node linkType: hard diff --git a/storybook/yarn.lock b/storybook/yarn.lock index c8ec3d12cd..d2fe0b1c40 100644 --- a/storybook/yarn.lock +++ b/storybook/yarn.lock @@ -2842,90 +2842,90 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-arm64@npm:1.3.107" +"@swc/core-darwin-arm64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-arm64@npm:1.4.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-x64@npm:1.3.107" +"@swc/core-darwin-x64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-x64@npm:1.4.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.107" +"@swc/core-linux-arm-gnueabihf@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.4.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.107" +"@swc/core-linux-arm64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-gnu@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.107" +"@swc/core-linux-arm64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-musl@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.107" +"@swc/core-linux-x64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-gnu@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-musl@npm:1.3.107" +"@swc/core-linux-x64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-musl@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.107" +"@swc/core-win32-arm64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-arm64-msvc@npm:1.4.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.107" +"@swc/core-win32-ia32-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-ia32-msvc@npm:1.4.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.107" +"@swc/core-win32-x64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-x64-msvc@npm:1.4.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@swc/core@npm:^1.3.46": - version: 1.3.107 - resolution: "@swc/core@npm:1.3.107" + version: 1.4.0 + resolution: "@swc/core@npm:1.4.0" dependencies: - "@swc/core-darwin-arm64": 1.3.107 - "@swc/core-darwin-x64": 1.3.107 - "@swc/core-linux-arm-gnueabihf": 1.3.107 - "@swc/core-linux-arm64-gnu": 1.3.107 - "@swc/core-linux-arm64-musl": 1.3.107 - "@swc/core-linux-x64-gnu": 1.3.107 - "@swc/core-linux-x64-musl": 1.3.107 - "@swc/core-win32-arm64-msvc": 1.3.107 - "@swc/core-win32-ia32-msvc": 1.3.107 - "@swc/core-win32-x64-msvc": 1.3.107 + "@swc/core-darwin-arm64": 1.4.0 + "@swc/core-darwin-x64": 1.4.0 + "@swc/core-linux-arm-gnueabihf": 1.4.0 + "@swc/core-linux-arm64-gnu": 1.4.0 + "@swc/core-linux-arm64-musl": 1.4.0 + "@swc/core-linux-x64-gnu": 1.4.0 + "@swc/core-linux-x64-musl": 1.4.0 + "@swc/core-win32-arm64-msvc": 1.4.0 + "@swc/core-win32-ia32-msvc": 1.4.0 + "@swc/core-win32-x64-msvc": 1.4.0 "@swc/counter": ^0.1.1 "@swc/types": ^0.1.5 peerDependencies: @@ -2954,14 +2954,14 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 0dccff50461fb8c0f4af053b70e555c91386cb07aa7657a7328d58e397d15640723587549416d8fa7dcc073ad11b39318146bd50ec4a82345ce2ce39c7ba4c00 + checksum: cef6459ba707362e88373f1c2c779c760a7fdf06c0123856be005bb012de91cb913b37fb49e485ac551494a1ee46fb6369c5aca9d453e1e5e391a8514c0db185 languageName: node linkType: hard -"@swc/counter@npm:^0.1.1": - version: 0.1.1 - resolution: "@swc/counter@npm:0.1.1" - checksum: bb974babd493ba01c0d4a95ab610c3fc15fbf609c08cb0342798e485f57ecc0950abbf84e07124e63c5fe610b492d9a8dd03701d3b9ef7329d9e8bf3cc44980f +"@swc/counter@npm:^0.1.1, @swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 languageName: node linkType: hard @@ -10906,12 +10906,14 @@ __metadata: linkType: hard "swc-loader@npm:^0.2.3": - version: 0.2.4 - resolution: "swc-loader@npm:0.2.4" + version: 0.2.6 + resolution: "swc-loader@npm:0.2.6" + dependencies: + "@swc/counter": ^0.1.3 peerDependencies: "@swc/core": ^1.2.147 webpack: ">=2" - checksum: f23bfe8900b35abdcb9910a2749f3c9d66edf5c660afc67fcf7983647eaec322e024d1edd3bd9fd48bd3191eea0616f67b5f8b5f923e3a648fa5b448683c3213 + checksum: fe90948c02a51bb8ffcff1ce3590e01dc12860b0bb7c9e22052b14fa846ed437781ae265614a5e14344bea22001108780f00a6e350e28c0b3499bc4cd11335fb languageName: node linkType: hard diff --git a/yarn.lock b/yarn.lock index 37ca03c247..36d1098cac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17529,90 +17529,90 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-arm64@npm:1.3.107" +"@swc/core-darwin-arm64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-arm64@npm:1.4.0" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-darwin-x64@npm:1.3.107" +"@swc/core-darwin-x64@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-darwin-x64@npm:1.4.0" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.107" +"@swc/core-linux-arm-gnueabihf@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.4.0" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.107" +"@swc/core-linux-arm64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-gnu@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.107" +"@swc/core-linux-arm64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-arm64-musl@npm:1.4.0" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.107" +"@swc/core-linux-x64-gnu@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-gnu@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-linux-x64-musl@npm:1.3.107" +"@swc/core-linux-x64-musl@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-linux-x64-musl@npm:1.4.0" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.107" +"@swc/core-win32-arm64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-arm64-msvc@npm:1.4.0" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.107" +"@swc/core-win32-ia32-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-ia32-msvc@npm:1.4.0" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.107": - version: 1.3.107 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.107" +"@swc/core-win32-x64-msvc@npm:1.4.0": + version: 1.4.0 + resolution: "@swc/core-win32-x64-msvc@npm:1.4.0" conditions: os=win32 & cpu=x64 languageName: node linkType: hard "@swc/core@npm:^1.3.46": - version: 1.3.107 - resolution: "@swc/core@npm:1.3.107" + version: 1.4.0 + resolution: "@swc/core@npm:1.4.0" dependencies: - "@swc/core-darwin-arm64": 1.3.107 - "@swc/core-darwin-x64": 1.3.107 - "@swc/core-linux-arm-gnueabihf": 1.3.107 - "@swc/core-linux-arm64-gnu": 1.3.107 - "@swc/core-linux-arm64-musl": 1.3.107 - "@swc/core-linux-x64-gnu": 1.3.107 - "@swc/core-linux-x64-musl": 1.3.107 - "@swc/core-win32-arm64-msvc": 1.3.107 - "@swc/core-win32-ia32-msvc": 1.3.107 - "@swc/core-win32-x64-msvc": 1.3.107 + "@swc/core-darwin-arm64": 1.4.0 + "@swc/core-darwin-x64": 1.4.0 + "@swc/core-linux-arm-gnueabihf": 1.4.0 + "@swc/core-linux-arm64-gnu": 1.4.0 + "@swc/core-linux-arm64-musl": 1.4.0 + "@swc/core-linux-x64-gnu": 1.4.0 + "@swc/core-linux-x64-musl": 1.4.0 + "@swc/core-win32-arm64-msvc": 1.4.0 + "@swc/core-win32-ia32-msvc": 1.4.0 + "@swc/core-win32-x64-msvc": 1.4.0 "@swc/counter": ^0.1.1 "@swc/types": ^0.1.5 peerDependencies: @@ -17641,35 +17641,36 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 0dccff50461fb8c0f4af053b70e555c91386cb07aa7657a7328d58e397d15640723587549416d8fa7dcc073ad11b39318146bd50ec4a82345ce2ce39c7ba4c00 + checksum: cef6459ba707362e88373f1c2c779c760a7fdf06c0123856be005bb012de91cb913b37fb49e485ac551494a1ee46fb6369c5aca9d453e1e5e391a8514c0db185 languageName: node linkType: hard -"@swc/counter@npm:^0.1.1": - version: 0.1.1 - resolution: "@swc/counter@npm:0.1.1" - checksum: bb974babd493ba01c0d4a95ab610c3fc15fbf609c08cb0342798e485f57ecc0950abbf84e07124e63c5fe610b492d9a8dd03701d3b9ef7329d9e8bf3cc44980f +"@swc/counter@npm:^0.1.1, @swc/counter@npm:^0.1.3": + version: 0.1.3 + resolution: "@swc/counter@npm:0.1.3" + checksum: df8f9cfba9904d3d60f511664c70d23bb323b3a0803ec9890f60133954173047ba9bdeabce28cd70ba89ccd3fd6c71c7b0bd58be85f611e1ffbe5d5c18616598 languageName: node linkType: hard "@swc/helpers@npm:^0.5.0": - version: 0.5.3 - resolution: "@swc/helpers@npm:0.5.3" + version: 0.5.6 + resolution: "@swc/helpers@npm:0.5.6" dependencies: tslib: ^2.4.0 - checksum: 61c3f7ccd47fc70ad91437df88be6b458cdc11e311cb331288827d7c50befffc72aa18fe913ec2a9e70fbf44e4b818bed38bfd7c329d689e1ff3c198d084cd02 + checksum: 45de57097e1f6f356f571c7a4f55c692a46b0404c8601e5d9552e152000dfe541ff529d3d01c8a4abf60799d6e7d0078936e40be0a203ca356299d5d6adea765 languageName: node linkType: hard "@swc/jest@npm:^0.2.22": - version: 0.2.34 - resolution: "@swc/jest@npm:0.2.34" + version: 0.2.36 + resolution: "@swc/jest@npm:0.2.36" dependencies: "@jest/create-cache-key-function": ^29.7.0 + "@swc/counter": ^0.1.3 jsonc-parser: ^3.2.0 peerDependencies: "@swc/core": "*" - checksum: 8f92f9f45661dd728876d6b9bb619e96b463c9d2940c9038ab7fb1cd48f04e4b1763da39a0d0473750fee0e825bb9a9e3653b9a884d928da8f40004e7ee9554f + checksum: 14f2e696ac093e23dae1e2e57d894bbcde4de6fe80341a26c8d0d8cbae5aae31832f8fa32dc698529f128d19a76aeedf2227f59480de6dab5eb3f30bfdf9b71a languageName: node linkType: hard @@ -42622,12 +42623,14 @@ __metadata: linkType: hard "swc-loader@npm:^0.2.3": - version: 0.2.4 - resolution: "swc-loader@npm:0.2.4" + version: 0.2.6 + resolution: "swc-loader@npm:0.2.6" + dependencies: + "@swc/counter": ^0.1.3 peerDependencies: "@swc/core": ^1.2.147 webpack: ">=2" - checksum: f23bfe8900b35abdcb9910a2749f3c9d66edf5c660afc67fcf7983647eaec322e024d1edd3bd9fd48bd3191eea0616f67b5f8b5f923e3a648fa5b448683c3213 + checksum: fe90948c02a51bb8ffcff1ce3590e01dc12860b0bb7c9e22052b14fa846ed437781ae265614a5e14344bea22001108780f00a6e350e28c0b3499bc4cd11335fb languageName: node linkType: hard From 30b5be374eebe0e0699bc2ece9c13b150be93425 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 22:17:10 +0000 Subject: [PATCH 64/82] fix(deps): update typescript-eslint monorepo to v6.21.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 96 +++++++++++++++++++++++++++---------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/yarn.lock b/yarn.lock index fc745b69f1..22977539bd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19876,14 +19876,14 @@ __metadata: linkType: hard "@typescript-eslint/eslint-plugin@npm:^6.12.0": - version: 6.20.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.20.0" + version: 6.21.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.21.0" dependencies: "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.20.0 - "@typescript-eslint/type-utils": 6.20.0 - "@typescript-eslint/utils": 6.20.0 - "@typescript-eslint/visitor-keys": 6.20.0 + "@typescript-eslint/scope-manager": 6.21.0 + "@typescript-eslint/type-utils": 6.21.0 + "@typescript-eslint/utils": 6.21.0 + "@typescript-eslint/visitor-keys": 6.21.0 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.4 @@ -19896,25 +19896,25 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: d002cbe1a99aef5d5b1601702f08a9e3c060ab5355707b4428ec61854b88513e625e5a898dc9fded669a4b33bb71a216aa7799f0e0c58ee00150218c69e7959c + checksum: 5ef2c502255e643e98051e87eb682c2a257e87afd8ec3b9f6274277615e1c2caf3131b352244cfb1987b8b2c415645eeacb9113fa841fc4c9b2ac46e8aed6efd languageName: node linkType: hard "@typescript-eslint/parser@npm:^6.7.2": - version: 6.20.0 - resolution: "@typescript-eslint/parser@npm:6.20.0" + version: 6.21.0 + resolution: "@typescript-eslint/parser@npm:6.21.0" dependencies: - "@typescript-eslint/scope-manager": 6.20.0 - "@typescript-eslint/types": 6.20.0 - "@typescript-eslint/typescript-estree": 6.20.0 - "@typescript-eslint/visitor-keys": 6.20.0 + "@typescript-eslint/scope-manager": 6.21.0 + "@typescript-eslint/types": 6.21.0 + "@typescript-eslint/typescript-estree": 6.21.0 + "@typescript-eslint/visitor-keys": 6.21.0 debug: ^4.3.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 91c0a715e7a37a0386770b0c4c208d0732736828294a3f58901655f0edf9230d1211dbfb8ac0ea562993506130773131fc1ee241311f43d78007af959bd46b9a + checksum: 162fe3a867eeeffda7328bce32dae45b52283c68c8cb23258fb9f44971f761991af61f71b8c9fe1aa389e93dfe6386f8509c1273d870736c507d76dd40647b68 languageName: node linkType: hard @@ -19928,22 +19928,22 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.20.0": - version: 6.20.0 - resolution: "@typescript-eslint/scope-manager@npm:6.20.0" +"@typescript-eslint/scope-manager@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/scope-manager@npm:6.21.0" dependencies: - "@typescript-eslint/types": 6.20.0 - "@typescript-eslint/visitor-keys": 6.20.0 - checksum: 54a06c485d4be6ac95b283fe2e29c2cd8a9a0b159d0f38e5f670dd2e1265358e2ad7b4442a0c61870430b38a6d0bf640843caaaf4c7f122523455221bbb3b011 + "@typescript-eslint/types": 6.21.0 + "@typescript-eslint/visitor-keys": 6.21.0 + checksum: 71028b757da9694528c4c3294a96cc80bc7d396e383a405eab3bc224cda7341b88e0fc292120b35d3f31f47beac69f7083196c70616434072fbcd3d3e62d3376 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.20.0": - version: 6.20.0 - resolution: "@typescript-eslint/type-utils@npm:6.20.0" +"@typescript-eslint/type-utils@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/type-utils@npm:6.21.0" dependencies: - "@typescript-eslint/typescript-estree": 6.20.0 - "@typescript-eslint/utils": 6.20.0 + "@typescript-eslint/typescript-estree": 6.21.0 + "@typescript-eslint/utils": 6.21.0 debug: ^4.3.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -19951,7 +19951,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 438702c626706cb62f0fcbbb3e3c5c8946ade84f170c182eaebb43604716d2dbf05fac105bdbcb968f3d3375e8076bed8bf095ab65dc891666c91d9174bced6f + checksum: 77025473f4d80acf1fafcce99c5c283e557686a61861febeba9c9913331f8a41e930bf5cd8b7a54db502a57b6eb8ea6d155cbd4f41349ed00e3d7aeb1f477ddc languageName: node linkType: hard @@ -19962,10 +19962,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:6.20.0": - version: 6.20.0 - resolution: "@typescript-eslint/types@npm:6.20.0" - checksum: a4551ce9ce40119c2401a70d5a0f9fd16eec4771d076933983fd5fd4a42c0d9a1ac883dfa7640ddec0459057005d4ef4fd19d681b14b8cef89b094283a117f5f +"@typescript-eslint/types@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/types@npm:6.21.0" + checksum: 9501b47d7403417af95fc1fb72b2038c5ac46feac0e1598a46bcb43e56a606c387e9dcd8a2a0abe174c91b509f2d2a8078b093786219eb9a01ab2fbf9ee7b684 languageName: node linkType: hard @@ -19987,12 +19987,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.20.0": - version: 6.20.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.20.0" +"@typescript-eslint/typescript-estree@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.21.0" dependencies: - "@typescript-eslint/types": 6.20.0 - "@typescript-eslint/visitor-keys": 6.20.0 + "@typescript-eslint/types": 6.21.0 + "@typescript-eslint/visitor-keys": 6.21.0 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -20002,24 +20002,24 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 256cdeae8c9c365f23ab1cefb29b9bc20451fc7b879651f47fd388e13976b62ecd0da56bf5b7a5d7050de1160b0e05fc841c4e5b0e91d8b03728a52d76e8caf9 + checksum: dec02dc107c4a541e14fb0c96148f3764b92117c3b635db3a577b5a56fc48df7a556fa853fb82b07c0663b4bf2c484c9f245c28ba3e17e5cb0918ea4cab2ea21 languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.20.0": - version: 6.20.0 - resolution: "@typescript-eslint/utils@npm:6.20.0" +"@typescript-eslint/utils@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/utils@npm:6.21.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 "@types/json-schema": ^7.0.12 "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 6.20.0 - "@typescript-eslint/types": 6.20.0 - "@typescript-eslint/typescript-estree": 6.20.0 + "@typescript-eslint/scope-manager": 6.21.0 + "@typescript-eslint/types": 6.21.0 + "@typescript-eslint/typescript-estree": 6.21.0 semver: ^7.5.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 1c248ce34b612e922796c3bbb323d05994f4bca5d49a200ff14f2d7522c9ca5bdf08613c4f2187c9242f67d73f9c2ec5d07b05c5af7034a2e57843b99230b0b0 + checksum: b129b3a4aebec8468259f4589985cb59ea808afbfdb9c54f02fad11e17d185e2bf72bb332f7c36ec3c09b31f18fc41368678b076323e6e019d06f74ee93f7bf2 languageName: node linkType: hard @@ -20051,13 +20051,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.20.0": - version: 6.20.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.20.0" +"@typescript-eslint/visitor-keys@npm:6.21.0": + version: 6.21.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.21.0" dependencies: - "@typescript-eslint/types": 6.20.0 + "@typescript-eslint/types": 6.21.0 eslint-visitor-keys: ^3.4.1 - checksum: 6a360f16b7b28d3cbb539252d17c6ac8519fd26e5f27f895cd7d400e9ec428b67ecda131f2bd2d57144c0436dcdb15022749b163a46c61e62af2312e8e3be488 + checksum: 67c7e6003d5af042d8703d11538fca9d76899f0119130b373402819ae43f0bc90d18656aa7add25a24427ccf1a0efd0804157ba83b0d4e145f06107d7d1b7433 languageName: node linkType: hard From 3631fb4c1ade79a11cc130bd16e33e3e032972e2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 22:17:54 +0000 Subject: [PATCH 65/82] fix(deps): update dependency dompurify to v3 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .changeset/renovate-c392808.md | 8 ++++++++ plugins/gcalendar/package.json | 4 ++-- plugins/microsoft-calendar/package.json | 2 +- plugins/techdocs/package.json | 4 ++-- yarn.lock | 25 +++++++++++++++++-------- 5 files changed, 30 insertions(+), 13 deletions(-) create mode 100644 .changeset/renovate-c392808.md diff --git a/.changeset/renovate-c392808.md b/.changeset/renovate-c392808.md new file mode 100644 index 0000000000..4d7f660d34 --- /dev/null +++ b/.changeset/renovate-c392808.md @@ -0,0 +1,8 @@ +--- +'@backstage/plugin-gcalendar': patch +'@backstage/plugin-microsoft-calendar': patch +'@backstage/plugin-techdocs': patch +--- + +Updated dependency `dompurify` to `^3.0.0`. +Updated dependency `@types/dompurify` to `^3.0.0`. diff --git a/plugins/gcalendar/package.json b/plugins/gcalendar/package.json index d3f3fa31da..1720a35c77 100644 --- a/plugins/gcalendar/package.json +++ b/plugins/gcalendar/package.json @@ -38,7 +38,7 @@ "@tanstack/react-query": "^4.1.3", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "classnames": "^2.3.1", - "dompurify": "^2.3.6", + "dompurify": "^3.0.0", "lodash": "^4.17.21", "luxon": "^3.0.0", "material-ui-popup-state": "^1.9.3", @@ -56,7 +56,7 @@ "@testing-library/dom": "^9.0.0", "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^14.0.0", - "@types/dompurify": "^2.3.3", + "@types/dompurify": "^3.0.0", "@types/sanitize-html": "^2.6.2" }, "files": [ diff --git a/plugins/microsoft-calendar/package.json b/plugins/microsoft-calendar/package.json index 25b8993713..aca81f8ad2 100644 --- a/plugins/microsoft-calendar/package.json +++ b/plugins/microsoft-calendar/package.json @@ -57,7 +57,7 @@ "@tanstack/react-query": "^4.1.3", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "classnames": "^2.3.1", - "dompurify": "^2.3.6", + "dompurify": "^3.0.0", "lodash": "^4.17.21", "luxon": "^3.0.0", "material-ui-popup-state": "^1.9.3", diff --git a/plugins/techdocs/package.json b/plugins/techdocs/package.json index 9629494159..3544b62589 100644 --- a/plugins/techdocs/package.json +++ b/plugins/techdocs/package.json @@ -66,7 +66,7 @@ "@material-ui/lab": "4.0.0-alpha.61", "@material-ui/styles": "^4.10.0", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", - "dompurify": "^2.2.9", + "dompurify": "^3.0.0", "event-source-polyfill": "1.0.25", "git-url-parse": "^13.0.0", "jss": "~10.10.0", @@ -89,7 +89,7 @@ "@testing-library/jest-dom": "^6.0.0", "@testing-library/react": "^14.0.0", "@testing-library/user-event": "^14.0.0", - "@types/dompurify": "^2.2.2", + "@types/dompurify": "^3.0.0", "@types/event-source-polyfill": "^1.0.0", "canvas": "^2.10.2" }, diff --git a/yarn.lock b/yarn.lock index fc745b69f1..015961b388 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6793,11 +6793,11 @@ __metadata: "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 - "@types/dompurify": ^2.3.3 + "@types/dompurify": ^3.0.0 "@types/react": ^16.13.1 || ^17.0.0 || ^18.0.0 "@types/sanitize-html": ^2.6.2 classnames: ^2.3.1 - dompurify: ^2.3.6 + dompurify: ^3.0.0 lodash: ^4.17.21 luxon: ^3.0.0 material-ui-popup-state: ^1.9.3 @@ -7661,7 +7661,7 @@ __metadata: "@testing-library/react": ^14.0.0 "@types/react": ^16.13.1 || ^17.0.0 || ^18.0.0 classnames: ^2.3.1 - dompurify: ^2.3.6 + dompurify: ^3.0.0 lodash: ^4.17.21 luxon: ^3.0.0 material-ui-popup-state: ^1.9.3 @@ -9708,11 +9708,11 @@ __metadata: "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 "@testing-library/user-event": ^14.0.0 - "@types/dompurify": ^2.2.2 + "@types/dompurify": ^3.0.0 "@types/event-source-polyfill": ^1.0.0 "@types/react": ^16.13.1 || ^17.0.0 || ^18.0.0 canvas: ^2.10.2 - dompurify: ^2.2.9 + dompurify: ^3.0.0 event-source-polyfill: 1.0.25 git-url-parse: ^13.0.0 jss: ~10.10.0 @@ -18433,7 +18433,7 @@ __metadata: languageName: node linkType: hard -"@types/dompurify@npm:^2.1.0, @types/dompurify@npm:^2.2.2, @types/dompurify@npm:^2.3.3": +"@types/dompurify@npm:^2.1.0": version: 2.4.0 resolution: "@types/dompurify@npm:2.4.0" dependencies: @@ -18442,6 +18442,15 @@ __metadata: languageName: node linkType: hard +"@types/dompurify@npm:^3.0.0": + version: 3.0.5 + resolution: "@types/dompurify@npm:3.0.5" + dependencies: + "@types/trusted-types": "*" + checksum: ffc34eca6a4536e1c8c16a47cce2623c5a118a9785492e71230052d92933ff096d14326ff449031e8dfaac509413222372d8f2b28786a13159de6241df716185 + languageName: node + linkType: hard + "@types/ejs@npm:^3.1.3": version: 3.1.5 resolution: "@types/ejs@npm:3.1.5" @@ -25503,14 +25512,14 @@ __metadata: languageName: node linkType: hard -"dompurify@npm:=3.0.8": +"dompurify@npm:=3.0.8, dompurify@npm:^3.0.0": version: 3.0.8 resolution: "dompurify@npm:3.0.8" checksum: cac660ccae15a9603f06a85344da868a4c3732d8b57f7998de0f421eb4b9e67d916be52e9bb2a57b2f95b49e994cc50bcd06bb87f2cb2849cf058bdf15266237 languageName: node linkType: hard -"dompurify@npm:^2.2.7, dompurify@npm:^2.2.9, dompurify@npm:^2.3.6": +"dompurify@npm:^2.2.7": version: 2.4.7 resolution: "dompurify@npm:2.4.7" checksum: 13c047e772a1998348191554dda403950d45ef2ec75fa0b9915cc179ccea0a39ef780d283109bd72cf83a2a085af6c77664281d4d0106a737bc5f39906364efe From 09cedb9ae85ed0a1a4f8221c1464cbd1a6d33463 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 7 Feb 2024 22:24:44 +0000 Subject: [PATCH 66/82] fix(deps): update dependency @react-hookz/web to v24 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .changeset/renovate-235713b.md | 11 +++++++ packages/core-components/package.json | 2 +- plugins/catalog-react/package.json | 2 +- plugins/entity-validation/package.json | 2 +- plugins/gcp-projects/package.json | 2 +- plugins/scaffolder-react/package.json | 2 +- plugins/scaffolder/package.json | 2 +- .../package.json | 2 +- yarn.lock | 30 ++++++++++++++----- 9 files changed, 41 insertions(+), 14 deletions(-) create mode 100644 .changeset/renovate-235713b.md diff --git a/.changeset/renovate-235713b.md b/.changeset/renovate-235713b.md new file mode 100644 index 0000000000..148062dadb --- /dev/null +++ b/.changeset/renovate-235713b.md @@ -0,0 +1,11 @@ +--- +'@backstage/core-components': patch +'@backstage/plugin-catalog-react': patch +'@backstage/plugin-entity-validation': patch +'@backstage/plugin-gcp-projects': patch +'@backstage/plugin-scaffolder-react': patch +'@backstage/plugin-scaffolder': patch +'@backstage/plugin-techdocs-module-addons-contrib': patch +--- + +Updated dependency `@react-hookz/web` to `^24.0.0`. diff --git a/packages/core-components/package.json b/packages/core-components/package.json index 12a07e74a7..8355d42417 100644 --- a/packages/core-components/package.json +++ b/packages/core-components/package.json @@ -56,7 +56,7 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", - "@react-hookz/web": "^23.0.0", + "@react-hookz/web": "^24.0.0", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "@types/react-sparklines": "^1.7.0", "@types/react-text-truncate": "^0.14.0", diff --git a/plugins/catalog-react/package.json b/plugins/catalog-react/package.json index b4c2c786b4..97dfc7f289 100644 --- a/plugins/catalog-react/package.json +++ b/plugins/catalog-react/package.json @@ -61,7 +61,7 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", - "@react-hookz/web": "^23.0.0", + "@react-hookz/web": "^24.0.0", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "classnames": "^2.2.6", "lodash": "^4.17.21", diff --git a/plugins/entity-validation/package.json b/plugins/entity-validation/package.json index ed9d240067..105bc19b45 100644 --- a/plugins/entity-validation/package.json +++ b/plugins/entity-validation/package.json @@ -42,7 +42,7 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", - "@react-hookz/web": "^23.0.0", + "@react-hookz/web": "^24.0.0", "@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0", "@uiw/react-codemirror": "^4.9.3", "lodash": "^4.17.21", diff --git a/plugins/gcp-projects/package.json b/plugins/gcp-projects/package.json index 3963141099..d7d674477f 100644 --- a/plugins/gcp-projects/package.json +++ b/plugins/gcp-projects/package.json @@ -37,7 +37,7 @@ "@backstage/core-components": "workspace:^", "@backstage/core-plugin-api": "workspace:^", "@material-ui/core": "^4.12.2", - "@react-hookz/web": "^23.0.0", + "@react-hookz/web": "^24.0.0", "@types/react": "^16.13.1 || ^17.0.0" }, "peerDependencies": { diff --git a/plugins/scaffolder-react/package.json b/plugins/scaffolder-react/package.json index 8fdb78bf75..438f6f0191 100644 --- a/plugins/scaffolder-react/package.json +++ b/plugins/scaffolder-react/package.json @@ -58,7 +58,7 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", - "@react-hookz/web": "^23.0.0", + "@react-hookz/web": "^24.0.0", "@rjsf/core": "5.17.0", "@rjsf/material-ui": "5.17.0", "@rjsf/utils": "5.17.0", diff --git a/plugins/scaffolder/package.json b/plugins/scaffolder/package.json index c513efc45c..53e17ee1f4 100644 --- a/plugins/scaffolder/package.json +++ b/plugins/scaffolder/package.json @@ -67,7 +67,7 @@ "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", - "@react-hookz/web": "^23.0.0", + "@react-hookz/web": "^24.0.0", "@rjsf/core": "5.17.0", "@rjsf/material-ui": "5.17.0", "@rjsf/utils": "5.17.0", diff --git a/plugins/techdocs-module-addons-contrib/package.json b/plugins/techdocs-module-addons-contrib/package.json index af1a88c174..5357fbb736 100644 --- a/plugins/techdocs-module-addons-contrib/package.json +++ b/plugins/techdocs-module-addons-contrib/package.json @@ -41,7 +41,7 @@ "@backstage/plugin-techdocs-react": "workspace:^", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", - "@react-hookz/web": "^23.0.0", + "@react-hookz/web": "^24.0.0", "git-url-parse": "^13.0.0", "photoswipe": "^5.3.7" }, diff --git a/yarn.lock b/yarn.lock index 72dd043c9f..0515c9d871 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3920,7 +3920,7 @@ __metadata: "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 - "@react-hookz/web": ^23.0.0 + "@react-hookz/web": ^24.0.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -5918,7 +5918,7 @@ __metadata: "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 - "@react-hookz/web": ^23.0.0 + "@react-hookz/web": ^24.0.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -6490,7 +6490,7 @@ __metadata: "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 - "@react-hookz/web": ^23.0.0 + "@react-hookz/web": ^24.0.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -6818,7 +6818,7 @@ __metadata: "@backstage/core-plugin-api": "workspace:^" "@backstage/dev-utils": "workspace:^" "@material-ui/core": ^4.12.2 - "@react-hookz/web": ^23.0.0 + "@react-hookz/web": ^24.0.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -8701,7 +8701,7 @@ __metadata: "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 - "@react-hookz/web": ^23.0.0 + "@react-hookz/web": ^24.0.0 "@rjsf/core": 5.17.0 "@rjsf/material-ui": 5.17.0 "@rjsf/utils": 5.17.0 @@ -8765,7 +8765,7 @@ __metadata: "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 "@material-ui/lab": 4.0.0-alpha.61 - "@react-hookz/web": ^23.0.0 + "@react-hookz/web": ^24.0.0 "@rjsf/core": 5.17.0 "@rjsf/material-ui": 5.17.0 "@rjsf/utils": 5.17.0 @@ -9591,7 +9591,7 @@ __metadata: "@backstage/test-utils": "workspace:^" "@material-ui/core": ^4.12.2 "@material-ui/icons": ^4.9.1 - "@react-hookz/web": ^23.0.0 + "@react-hookz/web": ^24.0.0 "@testing-library/dom": ^9.0.0 "@testing-library/jest-dom": ^6.0.0 "@testing-library/react": ^14.0.0 @@ -15422,6 +15422,22 @@ __metadata: languageName: node linkType: hard +"@react-hookz/web@npm:^24.0.0": + version: 24.0.4 + resolution: "@react-hookz/web@npm:24.0.4" + dependencies: + "@react-hookz/deep-equal": ^1.0.4 + peerDependencies: + js-cookie: ^3.0.5 + react: ^16.8 || ^17 || ^18 + react-dom: ^16.8 || ^17 || ^18 + peerDependenciesMeta: + js-cookie: + optional: true + checksum: 842dd51a2c875814c7468632315d756e79fcdff2882d7224e8e06c630f95ab788b6a59c29c0318cb049a18be97537803be8e3dbae12de34b2ae1290ababe266a + languageName: node + linkType: hard + "@remix-run/router@npm:1.15.0": version: 1.15.0 resolution: "@remix-run/router@npm:1.15.0" From e12086e487447bd52e1726386752cb97276f5352 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 00:12:52 +0000 Subject: [PATCH 67/82] fix(deps): update dependency @google-cloud/container to v5.6.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index deb189a576..4711891d38 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11653,11 +11653,11 @@ __metadata: linkType: hard "@google-cloud/container@npm:^5.0.0": - version: 5.5.0 - resolution: "@google-cloud/container@npm:5.5.0" + version: 5.6.0 + resolution: "@google-cloud/container@npm:5.6.0" dependencies: google-gax: ^4.0.3 - checksum: e88dd56e6911d3bdbb3f63d91536636f9018d421a5e6d3ab8f002c62f1c46d488e83265406c23fe02ae10edab0fc55b32bef726795e04dd52e0b38889d323dd0 + checksum: 3222a86659e250e82694da16d0efa67855b905b931c08901d6aff0daf3d41b300cea3937342f3f6e9995f9dacf3a61914c74d45b2dea627aceedf87415b0aa3e languageName: node linkType: hard From d557d47cb50eca4135d2f4c39b7e1cc02420f87e Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 7 Feb 2024 15:19:00 +0100 Subject: [PATCH 68/82] cli: added repository field check to repo fix Signed-off-by: Patrik Oldsberg --- .changeset/fluffy-jeans-eat.md | 5 ++ .changeset/fuzzy-turtles-camp.md | 5 ++ packages/cli-node/api-report.md | 8 +++ .../cli-node/src/monorepo/PackageGraph.ts | 8 +++ packages/cli/src/commands/repo/fix.ts | 58 ++++++++++++++++++- 5 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 .changeset/fluffy-jeans-eat.md create mode 100644 .changeset/fuzzy-turtles-camp.md diff --git a/.changeset/fluffy-jeans-eat.md b/.changeset/fluffy-jeans-eat.md new file mode 100644 index 0000000000..8935c33937 --- /dev/null +++ b/.changeset/fluffy-jeans-eat.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli': patch +--- + +Added check for the `repository` field in the `repo fix` command. diff --git a/.changeset/fuzzy-turtles-camp.md b/.changeset/fuzzy-turtles-camp.md new file mode 100644 index 0000000000..ca1767bd30 --- /dev/null +++ b/.changeset/fuzzy-turtles-camp.md @@ -0,0 +1,5 @@ +--- +'@backstage/cli-node': patch +--- + +Added `repository` field to `BackstagePackageJson` type. diff --git a/packages/cli-node/api-report.md b/packages/cli-node/api-report.md index 71be6c4bd4..4bd152dca8 100644 --- a/packages/cli-node/api-report.md +++ b/packages/cli-node/api-report.md @@ -55,6 +55,14 @@ export interface BackstagePackageJson { registry?: string; }; // (undocumented) + repository?: + | string + | { + type: string; + url: string; + directory: string; + }; + // (undocumented) scripts?: { [key: string]: string; }; diff --git a/packages/cli-node/src/monorepo/PackageGraph.ts b/packages/cli-node/src/monorepo/PackageGraph.ts index fb46dbde26..cd01ec833f 100644 --- a/packages/cli-node/src/monorepo/PackageGraph.ts +++ b/packages/cli-node/src/monorepo/PackageGraph.ts @@ -58,6 +58,14 @@ export interface BackstagePackageJson { registry?: string; }; + repository?: + | string + | { + type: string; + url: string; + directory: string; + }; + dependencies?: { [key: string]: string; }; diff --git a/packages/cli/src/commands/repo/fix.ts b/packages/cli/src/commands/repo/fix.ts index bd5b375ed5..b975203a73 100644 --- a/packages/cli/src/commands/repo/fix.ts +++ b/packages/cli/src/commands/repo/fix.ts @@ -22,7 +22,11 @@ import { } from '@backstage/cli-node'; import { OptionValues } from 'commander'; import fs from 'fs-extra'; -import { resolve as resolvePath } from 'path'; +import { + resolve as resolvePath, + join as joinPath, + relative as relativePath, +} from 'path'; import { paths } from '../../lib/paths'; /** @@ -189,12 +193,64 @@ export function fixSideEffects(pkg: FixablePackage) { pkg.changed = true; } +export function createRepositoryFieldFixer() { + const rootPkg = require(paths.resolveTargetRoot('package.json')); + const rootRepoField = rootPkg.repository; + if (!rootRepoField) { + return () => {}; + } + + const rootType = rootRepoField.type || 'git'; + const rootUrl = rootRepoField.url; + const rootDir = rootRepoField.directory || ''; + + return (pkg: FixablePackage) => { + const expectedPath = joinPath( + rootDir, + relativePath(paths.targetRoot, pkg.dir), + ); + const repoField = pkg.packageJson.repository; + + if (!repoField || typeof repoField === 'string') { + const pkgEntries = Object.entries(pkg.packageJson); + pkgEntries.splice( + // Place it just above the backstage field + pkgEntries.findIndex(([name]) => name === 'backstage'), + 0, + [ + 'repository', + { + type: rootType, + url: rootUrl, + directory: expectedPath, + }, + ], + ); + pkg.packageJson = Object.fromEntries(pkgEntries) as BackstagePackageJson; + pkg.changed = true; + return; + } + + // If there's a type or URL mismatch, leave the field as is + if (repoField.type !== rootType || repoField.url !== rootUrl) { + return; + } + + if (repoField.directory !== expectedPath) { + repoField.directory = expectedPath; + pkg.changed = true; + } + }; +} + export async function command(opts: OptionValues): Promise { const packages = await readFixablePackages(); + const fixRepositoryField = createRepositoryFieldFixer(); for (const pkg of packages) { fixPackageExports(pkg); fixSideEffects(pkg); + fixRepositoryField(pkg); } if (opts.check) { From 847218837d01379f8e5102f971238229e077c720 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 7 Feb 2024 15:21:49 +0100 Subject: [PATCH 69/82] add missing repository fields Signed-off-by: Patrik Oldsberg --- .changeset/poor-points-do.md | 46 +++++++++++++++++++ packages/app-next/package.json | 5 ++ .../package.json | 5 ++ packages/e2e-test-utils/package.json | 5 ++ packages/frontend-app-api/package.json | 5 ++ packages/frontend-test-utils/package.json | 5 ++ plugins/analytics-module-ga4/package.json | 2 +- .../package.json | 5 ++ plugins/app-node/package.json | 5 ++ plugins/app-visualizer/package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../example-todo-list-backend/package.json | 2 +- plugins/example-todo-list-common/package.json | 2 +- plugins/kubernetes-node/package.json | 5 ++ plugins/kubernetes-react/package.json | 5 ++ plugins/notifications-backend/package.json | 5 ++ plugins/notifications-common/package.json | 5 ++ plugins/notifications-node/package.json | 5 ++ plugins/notifications/package.json | 5 ++ plugins/opencost/package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 5 ++ .../package.json | 2 +- plugins/signals-backend/package.json | 5 ++ plugins/signals-node/package.json | 5 ++ plugins/signals-react/package.json | 5 ++ plugins/signals/package.json | 5 ++ plugins/vault-backend/package.json | 2 +- plugins/vault-node/package.json | 5 ++ 46 files changed, 251 insertions(+), 5 deletions(-) create mode 100644 .changeset/poor-points-do.md diff --git a/.changeset/poor-points-do.md b/.changeset/poor-points-do.md new file mode 100644 index 0000000000..198ef24c83 --- /dev/null +++ b/.changeset/poor-points-do.md @@ -0,0 +1,46 @@ +--- +'@backstage/plugin-catalog-backend-module-scaffolder-entity-model': patch +'@backstage/plugin-search-backend-module-stack-overflow-collator': patch +'@backstage/plugin-permission-backend-module-allow-all-policy': patch +'@backstage/plugin-scaffolder-backend-module-bitbucket-server': patch +'@backstage/plugin-auth-backend-module-oauth2-proxy-provider': patch +'@backstage/plugin-auth-backend-module-vmware-cloud-provider': patch +'@backstage/plugin-scaffolder-backend-module-bitbucket-cloud': patch +'@backstage/plugin-catalog-backend-module-backstage-openapi': patch +'@backstage/plugin-auth-backend-module-atlassian-provider': patch +'@backstage/plugin-auth-backend-module-microsoft-provider': patch +'@backstage/plugin-auth-backend-module-pinniped-provider': patch +'@backstage/plugin-auth-backend-module-github-provider': patch +'@backstage/plugin-auth-backend-module-gitlab-provider': patch +'@backstage/plugin-auth-backend-module-oauth2-provider': patch +'@backstage/plugin-scaffolder-backend-module-bitbucket': patch +'@backstage/plugin-analytics-module-newrelic-browser': patch +'@backstage/plugin-auth-backend-module-oidc-provider': patch +'@backstage/plugin-auth-backend-module-okta-provider': patch +'@backstage/plugin-catalog-backend-module-github-org': patch +'@backstage/backend-dynamic-feature-service': patch +'@backstage/plugin-scaffolder-backend-module-gerrit': patch +'@backstage/plugin-scaffolder-backend-module-github': patch +'@backstage/plugin-scaffolder-backend-module-azure': patch +'@backstage/plugin-notifications-backend': patch +'@backstage/frontend-test-utils': patch +'@backstage/plugin-analytics-module-ga4': patch +'@backstage/plugin-notifications-common': patch +'@backstage/plugin-notifications-node': patch +'@backstage/frontend-app-api': patch +'@backstage/plugin-kubernetes-react': patch +'@backstage/e2e-test-utils': patch +'@backstage/plugin-kubernetes-node': patch +'@backstage/plugin-signals-backend': patch +'@backstage/plugin-app-visualizer': patch +'@backstage/plugin-notifications': patch +'@backstage/plugin-signals-react': patch +'@backstage/plugin-vault-backend': patch +'@backstage/plugin-signals-node': patch +'@backstage/plugin-vault-node': patch +'@backstage/plugin-app-node': patch +'@backstage/plugin-opencost': patch +'@backstage/plugin-signals': patch +--- + +Added or fixed the `repository` field in `package.json`. diff --git a/packages/app-next/package.json b/packages/app-next/package.json index 3848870f53..4d9ee93474 100644 --- a/packages/app-next/package.json +++ b/packages/app-next/package.json @@ -2,6 +2,11 @@ "name": "example-app-next", "version": "0.0.6-next.2", "private": true, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "packages/app-next" + }, "backstage": { "role": "frontend" }, diff --git a/packages/backend-dynamic-feature-service/package.json b/packages/backend-dynamic-feature-service/package.json index 08e3af8cec..01616e38b8 100644 --- a/packages/backend-dynamic-feature-service/package.json +++ b/packages/backend-dynamic-feature-service/package.json @@ -9,6 +9,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "packages/backend-dynamic-feature-service" + }, "backstage": { "role": "node-library" }, diff --git a/packages/e2e-test-utils/package.json b/packages/e2e-test-utils/package.json index 3448497395..84e001acff 100644 --- a/packages/e2e-test-utils/package.json +++ b/packages/e2e-test-utils/package.json @@ -22,6 +22,11 @@ ] } }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "packages/e2e-test-utils" + }, "backstage": { "role": "node-library" }, diff --git a/packages/frontend-app-api/package.json b/packages/frontend-app-api/package.json index 4dd530fd1a..3b9e5433f0 100644 --- a/packages/frontend-app-api/package.json +++ b/packages/frontend-app-api/package.json @@ -9,6 +9,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "packages/frontend-app-api" + }, "backstage": { "role": "web-library" }, diff --git a/packages/frontend-test-utils/package.json b/packages/frontend-test-utils/package.json index ea1a461b72..80e15e11e2 100644 --- a/packages/frontend-test-utils/package.json +++ b/packages/frontend-test-utils/package.json @@ -9,6 +9,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "packages/frontend-test-utils" + }, "backstage": { "role": "web-library" }, diff --git a/plugins/analytics-module-ga4/package.json b/plugins/analytics-module-ga4/package.json index 7b21e4a30d..83f43a0d6a 100644 --- a/plugins/analytics-module-ga4/package.json +++ b/plugins/analytics-module-ga4/package.json @@ -16,7 +16,7 @@ "repository": { "type": "git", "url": "https://github.com/backstage/backstage", - "directory": "plugins/plugins/analytics-module-ga4" + "directory": "plugins/analytics-module-ga4" }, "sideEffects": false, "scripts": { diff --git a/plugins/analytics-module-newrelic-browser/package.json b/plugins/analytics-module-newrelic-browser/package.json index e3d250f386..61f15092f5 100644 --- a/plugins/analytics-module-newrelic-browser/package.json +++ b/plugins/analytics-module-newrelic-browser/package.json @@ -9,6 +9,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/analytics-module-newrelic-browser" + }, "backstage": { "role": "frontend-plugin-module" }, diff --git a/plugins/app-node/package.json b/plugins/app-node/package.json index 02c0d999da..7ea9fa1d3c 100644 --- a/plugins/app-node/package.json +++ b/plugins/app-node/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/app-node" + }, "backstage": { "role": "node-library" }, diff --git a/plugins/app-visualizer/package.json b/plugins/app-visualizer/package.json index 4b5568e06f..e87faf9f5b 100644 --- a/plugins/app-visualizer/package.json +++ b/plugins/app-visualizer/package.json @@ -5,6 +5,11 @@ "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/app-visualizer" + }, "backstage": { "role": "frontend-plugin" }, diff --git a/plugins/auth-backend-module-atlassian-provider/package.json b/plugins/auth-backend-module-atlassian-provider/package.json index 2e9d8d8b32..288aeb1d05 100644 --- a/plugins/auth-backend-module-atlassian-provider/package.json +++ b/plugins/auth-backend-module-atlassian-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-atlassian-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-github-provider/package.json b/plugins/auth-backend-module-github-provider/package.json index c72730efae..7085e95003 100644 --- a/plugins/auth-backend-module-github-provider/package.json +++ b/plugins/auth-backend-module-github-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-github-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-gitlab-provider/package.json b/plugins/auth-backend-module-gitlab-provider/package.json index 5f60e9baff..f89c94b7e9 100644 --- a/plugins/auth-backend-module-gitlab-provider/package.json +++ b/plugins/auth-backend-module-gitlab-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-gitlab-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-microsoft-provider/package.json b/plugins/auth-backend-module-microsoft-provider/package.json index e68abd607e..32325c5574 100644 --- a/plugins/auth-backend-module-microsoft-provider/package.json +++ b/plugins/auth-backend-module-microsoft-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-microsoft-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-oauth2-provider/package.json b/plugins/auth-backend-module-oauth2-provider/package.json index c5d940c7e0..525fa5ab34 100644 --- a/plugins/auth-backend-module-oauth2-provider/package.json +++ b/plugins/auth-backend-module-oauth2-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-oauth2-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-oauth2-proxy-provider/package.json b/plugins/auth-backend-module-oauth2-proxy-provider/package.json index 17f5a512cb..3903108d2b 100644 --- a/plugins/auth-backend-module-oauth2-proxy-provider/package.json +++ b/plugins/auth-backend-module-oauth2-proxy-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-oauth2-proxy-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-oidc-provider/package.json b/plugins/auth-backend-module-oidc-provider/package.json index 93b6196bfb..d144fddc59 100644 --- a/plugins/auth-backend-module-oidc-provider/package.json +++ b/plugins/auth-backend-module-oidc-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-oidc-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-okta-provider/package.json b/plugins/auth-backend-module-okta-provider/package.json index c770d443bc..ab3e1a90a7 100644 --- a/plugins/auth-backend-module-okta-provider/package.json +++ b/plugins/auth-backend-module-okta-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-okta-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-pinniped-provider/package.json b/plugins/auth-backend-module-pinniped-provider/package.json index 977839c87a..6b3eee0675 100644 --- a/plugins/auth-backend-module-pinniped-provider/package.json +++ b/plugins/auth-backend-module-pinniped-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-pinniped-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/auth-backend-module-vmware-cloud-provider/package.json b/plugins/auth-backend-module-vmware-cloud-provider/package.json index ab5eb71477..db3f76dc66 100644 --- a/plugins/auth-backend-module-vmware-cloud-provider/package.json +++ b/plugins/auth-backend-module-vmware-cloud-provider/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/auth-backend-module-vmware-cloud-provider" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/catalog-backend-module-backstage-openapi/package.json b/plugins/catalog-backend-module-backstage-openapi/package.json index e76d550c11..19deaa42de 100644 --- a/plugins/catalog-backend-module-backstage-openapi/package.json +++ b/plugins/catalog-backend-module-backstage-openapi/package.json @@ -9,6 +9,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/catalog-backend-module-backstage-openapi" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/catalog-backend-module-github-org/package.json b/plugins/catalog-backend-module-github-org/package.json index 4eef491fef..fc460647ad 100644 --- a/plugins/catalog-backend-module-github-org/package.json +++ b/plugins/catalog-backend-module-github-org/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/catalog-backend-module-github-org" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/catalog-backend-module-scaffolder-entity-model/package.json b/plugins/catalog-backend-module-scaffolder-entity-model/package.json index 17304252f2..e1e6d0a966 100644 --- a/plugins/catalog-backend-module-scaffolder-entity-model/package.json +++ b/plugins/catalog-backend-module-scaffolder-entity-model/package.json @@ -19,6 +19,11 @@ ] } }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/catalog-backend-module-scaffolder-entity-model" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/example-todo-list-backend/package.json b/plugins/example-todo-list-backend/package.json index fb9ddd74a8..1a564ab689 100644 --- a/plugins/example-todo-list-backend/package.json +++ b/plugins/example-todo-list-backend/package.json @@ -12,7 +12,7 @@ "repository": { "type": "git", "url": "https://github.com/backstage/backstage", - "directory": "plugins/plugins/example-todo-list-backend" + "directory": "plugins/example-todo-list-backend" }, "publishConfig": { "access": "public", diff --git a/plugins/example-todo-list-common/package.json b/plugins/example-todo-list-common/package.json index 1d984812f9..df2cd403c4 100644 --- a/plugins/example-todo-list-common/package.json +++ b/plugins/example-todo-list-common/package.json @@ -17,7 +17,7 @@ "repository": { "type": "git", "url": "https://github.com/backstage/backstage", - "directory": "plugins/plugins/example-todo-list-common" + "directory": "plugins/example-todo-list-common" }, "sideEffects": false, "scripts": { diff --git a/plugins/kubernetes-node/package.json b/plugins/kubernetes-node/package.json index fa47649351..aeaa1c3dc4 100644 --- a/plugins/kubernetes-node/package.json +++ b/plugins/kubernetes-node/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/kubernetes-node" + }, "backstage": { "role": "node-library" }, diff --git a/plugins/kubernetes-react/package.json b/plugins/kubernetes-react/package.json index fa8e24b6ba..45df0bacb2 100644 --- a/plugins/kubernetes-react/package.json +++ b/plugins/kubernetes-react/package.json @@ -10,6 +10,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/kubernetes-react" + }, "backstage": { "role": "web-library" }, diff --git a/plugins/notifications-backend/package.json b/plugins/notifications-backend/package.json index f9138e38b4..2b6b8ab573 100644 --- a/plugins/notifications-backend/package.json +++ b/plugins/notifications-backend/package.json @@ -9,6 +9,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/notifications-backend" + }, "backstage": { "role": "backend-plugin" }, diff --git a/plugins/notifications-common/package.json b/plugins/notifications-common/package.json index f2c4018ea9..a768d64b73 100644 --- a/plugins/notifications-common/package.json +++ b/plugins/notifications-common/package.json @@ -11,6 +11,11 @@ "module": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/notifications-common" + }, "backstage": { "role": "common-library" }, diff --git a/plugins/notifications-node/package.json b/plugins/notifications-node/package.json index 44c38b2314..93cae9b929 100644 --- a/plugins/notifications-node/package.json +++ b/plugins/notifications-node/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/notifications-node" + }, "backstage": { "role": "node-library" }, diff --git a/plugins/notifications/package.json b/plugins/notifications/package.json index e41bedc17a..2e0a75d39b 100644 --- a/plugins/notifications/package.json +++ b/plugins/notifications/package.json @@ -9,6 +9,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/notifications" + }, "backstage": { "role": "frontend-plugin" }, diff --git a/plugins/opencost/package.json b/plugins/opencost/package.json index 5fba181742..e947f307d4 100644 --- a/plugins/opencost/package.json +++ b/plugins/opencost/package.json @@ -9,6 +9,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/opencost" + }, "backstage": { "role": "frontend-plugin" }, diff --git a/plugins/permission-backend-module-policy-allow-all/package.json b/plugins/permission-backend-module-policy-allow-all/package.json index 22027f88f1..b2284a6455 100644 --- a/plugins/permission-backend-module-policy-allow-all/package.json +++ b/plugins/permission-backend-module-policy-allow-all/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/permission-backend-module-policy-allow-all" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/scaffolder-backend-module-azure/package.json b/plugins/scaffolder-backend-module-azure/package.json index 5c69820477..4c30a38d74 100644 --- a/plugins/scaffolder-backend-module-azure/package.json +++ b/plugins/scaffolder-backend-module-azure/package.json @@ -8,6 +8,11 @@ "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/scaffolder-backend-module-azure" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/package.json b/plugins/scaffolder-backend-module-bitbucket-cloud/package.json index 23136e9d0d..a71ff30e7b 100644 --- a/plugins/scaffolder-backend-module-bitbucket-cloud/package.json +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/package.json @@ -8,6 +8,11 @@ "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/scaffolder-backend-module-bitbucket-cloud" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/scaffolder-backend-module-bitbucket-server/package.json b/plugins/scaffolder-backend-module-bitbucket-server/package.json index 261bf3eb31..32384a77ea 100644 --- a/plugins/scaffolder-backend-module-bitbucket-server/package.json +++ b/plugins/scaffolder-backend-module-bitbucket-server/package.json @@ -8,6 +8,11 @@ "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/scaffolder-backend-module-bitbucket-server" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/scaffolder-backend-module-bitbucket/package.json b/plugins/scaffolder-backend-module-bitbucket/package.json index 5393340287..6d572cdf5f 100644 --- a/plugins/scaffolder-backend-module-bitbucket/package.json +++ b/plugins/scaffolder-backend-module-bitbucket/package.json @@ -9,6 +9,11 @@ "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/scaffolder-backend-module-bitbucket" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/scaffolder-backend-module-gerrit/package.json b/plugins/scaffolder-backend-module-gerrit/package.json index 7fd95a1209..93d325fcf7 100644 --- a/plugins/scaffolder-backend-module-gerrit/package.json +++ b/plugins/scaffolder-backend-module-gerrit/package.json @@ -8,6 +8,11 @@ "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/scaffolder-backend-module-gerrit" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/scaffolder-backend-module-github/package.json b/plugins/scaffolder-backend-module-github/package.json index f065d1f50a..fd3ce88491 100644 --- a/plugins/scaffolder-backend-module-github/package.json +++ b/plugins/scaffolder-backend-module-github/package.json @@ -8,6 +8,11 @@ "publishConfig": { "access": "public" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/scaffolder-backend-module-github" + }, "backstage": { "role": "backend-plugin-module" }, diff --git a/plugins/search-backend-module-stack-overflow-collator/package.json b/plugins/search-backend-module-stack-overflow-collator/package.json index 8ff7324e08..aaa6bf68b3 100644 --- a/plugins/search-backend-module-stack-overflow-collator/package.json +++ b/plugins/search-backend-module-stack-overflow-collator/package.json @@ -17,7 +17,7 @@ "repository": { "type": "git", "url": "https://github.com/backstage/backstage", - "directory": "plugins/search-backend-module-stack-overflow" + "directory": "plugins/search-backend-module-stack-overflow-collator" }, "scripts": { "start": "backstage-cli package start", diff --git a/plugins/signals-backend/package.json b/plugins/signals-backend/package.json index fa33e58992..728b11f7ba 100644 --- a/plugins/signals-backend/package.json +++ b/plugins/signals-backend/package.json @@ -9,6 +9,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/signals-backend" + }, "backstage": { "role": "backend-plugin" }, diff --git a/plugins/signals-node/package.json b/plugins/signals-node/package.json index 09aa8e2d2e..40837e90a1 100644 --- a/plugins/signals-node/package.json +++ b/plugins/signals-node/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/signals-node" + }, "backstage": { "role": "node-library" }, diff --git a/plugins/signals-react/package.json b/plugins/signals-react/package.json index a977de7802..a8aa9bd885 100644 --- a/plugins/signals-react/package.json +++ b/plugins/signals-react/package.json @@ -10,6 +10,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/signals-react" + }, "backstage": { "role": "web-library" }, diff --git a/plugins/signals/package.json b/plugins/signals/package.json index 45be979c8c..9f69b615dc 100644 --- a/plugins/signals/package.json +++ b/plugins/signals/package.json @@ -9,6 +9,11 @@ "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/signals" + }, "backstage": { "role": "frontend-plugin" }, diff --git a/plugins/vault-backend/package.json b/plugins/vault-backend/package.json index 4bd9d93c3e..7dafc4a0d2 100644 --- a/plugins/vault-backend/package.json +++ b/plugins/vault-backend/package.json @@ -17,7 +17,7 @@ "repository": { "type": "git", "url": "https://github.com/backstage/backstage", - "directory": "plugins/vault" + "directory": "plugins/vault-backend" }, "keywords": [ "backstage", diff --git a/plugins/vault-node/package.json b/plugins/vault-node/package.json index 0460b3fd8e..f5ab268b58 100644 --- a/plugins/vault-node/package.json +++ b/plugins/vault-node/package.json @@ -10,6 +10,11 @@ "main": "dist/index.cjs.js", "types": "dist/index.d.ts" }, + "repository": { + "type": "git", + "url": "https://github.com/backstage/backstage", + "directory": "plugins/vault-node" + }, "backstage": { "role": "node-library" }, From 60a68f10e9829069d41eb1b0303d438ba38787e2 Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Thu, 21 Dec 2023 09:00:59 +0200 Subject: [PATCH 70/82] ci: introduce knip for checking unused packages fixes #21948 Signed-off-by: Heikki Hellgren --- .changeset/friendly-terms-love.md | 253 +++++ .../config/vocabularies/Backstage/accept.txt | 1 + .prettierignore | 1 + package.json | 1 + packages/app-defaults/knip-report.md | 11 + .../app-next-example-plugin/knip-report.md | 10 + packages/app-next/knip-report.md | 83 ++ packages/app/knip-report.md | 40 + packages/backend-app-api/knip-report.md | 18 + packages/backend-common/knip-report.md | 33 + packages/backend-defaults/knip-report.md | 15 + packages/backend-dev-utils/knip-report.md | 8 + .../knip-report.md | 20 + packages/backend-next/knip-report.md | 20 + packages/backend-openapi-utils/knip-report.md | 16 + packages/backend-plugin-api/knip-report.md | 8 + packages/backend-tasks/knip-report.md | 10 + packages/backend-test-utils/knip-report.md | 20 + packages/backend/knip-report.md | 27 + packages/catalog-client/knip-report.md | 9 + packages/catalog-model/knip-report.md | 10 + packages/cli-common/knip-report.md | 8 + packages/cli-node/knip-report.md | 15 + packages/cli/knip-report.md | 78 ++ packages/codemods/knip-report.md | 17 + packages/config-loader/knip-report.md | 11 + packages/config/knip-report.md | 9 + packages/core-app-api/knip-report.md | 25 + packages/core-compat-api/knip-report.md | 21 + packages/core-components/knip-report.md | 33 + packages/core-plugin-api/knip-report.md | 20 + packages/create-app/knip-report.md | 12 + packages/dev-utils/knip-report.md | 20 + packages/e2e-test-utils/knip-report.md | 14 + packages/e2e-test/knip-report.md | 11 + packages/errors/knip-report.md | 8 + packages/eslint-plugin/knip-report.md | 10 + packages/frontend-app-api/knip-report.md | 11 + packages/frontend-plugin-api/knip-report.md | 22 + packages/frontend-test-utils/knip-report.md | 9 + packages/integration-aws-node/knip-report.md | 19 + packages/integration-react/knip-report.md | 20 + packages/integration/knip-report.md | 10 + packages/release-manifests/knip-report.md | 10 + packages/repo-tools/knip-report.md | 26 + .../src/commands/api-reports/api-extractor.ts | 89 +- .../commands/api-reports/api-reports.test.ts | 5 +- .../src/commands/api-reports/api-reports.ts | 14 +- .../techdocs-cli-embedded-app/knip-report.md | 21 + packages/techdocs-cli/knip-report.md | 18 + packages/test-utils/knip-report.md | 16 + packages/theme/knip-report.md | 18 + packages/types/knip-report.md | 11 + packages/version-bridge/knip-report.md | 10 + plugins/adr-backend/knip-report.md | 17 + plugins/adr-common/knip-report.md | 8 + plugins/adr/knip-report.md | 18 + plugins/airbrake-backend/knip-report.md | 16 + plugins/airbrake/knip-report.md | 23 + plugins/allure/knip-report.md | 14 + plugins/analytics-module-ga/knip-report.md | 19 + plugins/analytics-module-ga4/knip-report.md | 20 + .../knip-report.md | 17 + plugins/apache-airflow/knip-report.md | 15 + .../knip-report.md | 9 + plugins/api-docs/knip-report.md | 23 + plugins/apollo-explorer/knip-report.md | 18 + plugins/app-backend/knip-report.md | 19 + plugins/app-node/knip-report.md | 8 + plugins/app-visualizer/knip-report.md | 8 + .../knip-report.md | 19 + .../knip-report.md | 10 + .../knip-report.md | 12 + .../knip-report.md | 19 + .../knip-report.md | 11 + .../knip-report.md | 21 + .../knip-report.md | 18 + .../knip-report.md | 9 + .../knip-report.md | 19 + .../knip-report.md | 18 + .../knip-report.md | 15 + plugins/auth-backend/knip-report.md | 32 + plugins/auth-node/knip-report.md | 21 + plugins/azure-devops-backend/knip-report.md | 16 + plugins/azure-devops-common/knip-report.md | 8 + plugins/azure-devops/knip-report.md | 13 + plugins/azure-sites-backend/knip-report.md | 16 + plugins/azure-sites-common/knip-report.md | 8 + plugins/azure-sites/knip-report.md | 14 + plugins/badges-backend/knip-report.md | 17 + plugins/badges/knip-report.md | 11 + plugins/bazaar-backend/knip-report.md | 15 + plugins/bazaar/knip-report.md | 17 + plugins/bitbucket-cloud-common/knip-report.md | 11 + plugins/bitrise/knip-report.md | 23 + .../catalog-backend-module-aws/knip-report.md | 20 + .../knip-report.md | 11 + .../knip-report.md | 17 + .../knip-report.md | 11 + .../knip-report.md | 11 + .../knip-report.md | 16 + .../catalog-backend-module-gcp/knip-report.md | 9 + .../knip-report.md | 18 + .../knip-report.md | 10 + .../knip-report.md | 26 + .../knip-report.md | 11 + .../knip-report.md | 10 + .../knip-report.md | 8 + .../knip-report.md | 11 + .../knip-report.md | 10 + .../knip-report.md | 16 + .../knip-report.md | 9 + .../knip-report.md | 8 + plugins/catalog-backend/knip-report.md | 20 + plugins/catalog-common/knip-report.md | 8 + plugins/catalog-graph/knip-report.md | 23 + plugins/catalog-import/knip-report.md | 16 + plugins/catalog-node/knip-report.md | 9 + plugins/catalog-react/knip-report.md | 23 + .../knip-report.md | 11 + plugins/catalog/knip-report.md | 22 + .../knip-report.md | 15 + plugins/cicd-statistics/knip-report.md | 8 + plugins/circleci/knip-report.md | 9 + plugins/cloudbuild/knip-report.md | 13 + plugins/code-climate/knip-report.md | 19 + plugins/code-coverage-backend/knip-report.md | 17 + plugins/code-coverage/knip-report.md | 13 + plugins/codescene/knip-report.md | 21 + plugins/config-schema/knip-report.md | 12 + plugins/cost-insights-common/knip-report.md | 8 + plugins/cost-insights/knip-report.md | 23 + plugins/devtools-backend/knip-report.md | 17 + plugins/devtools-common/knip-report.md | 8 + plugins/devtools/knip-report.md | 11 + plugins/dynatrace/knip-report.md | 14 + .../entity-feedback-backend/knip-report.md | 19 + plugins/entity-feedback-common/knip-report.md | 8 + plugins/entity-feedback/knip-report.md | 14 + plugins/entity-validation/knip-report.md | 12 + .../knip-report.md | 12 + .../knip-report.md | 16 + .../knip-report.md | 16 + .../knip-report.md | 16 + .../knip-report.md | 16 + .../knip-report.md | 16 + .../events-backend-test-utils/knip-report.md | 8 + plugins/events-backend/knip-report.md | 11 + plugins/events-node/knip-report.md | 8 + .../example-todo-list-backend/knip-report.md | 16 + .../example-todo-list-common/knip-report.md | 8 + plugins/example-todo-list/knip-report.md | 11 + plugins/explore-backend/knip-report.md | 18 + plugins/explore-common/knip-report.md | 8 + plugins/explore-react/knip-report.md | 12 + plugins/explore/knip-report.md | 16 + plugins/firehydrant/knip-report.md | 14 + plugins/fossa/knip-report.md | 15 + plugins/gcalendar/knip-report.md | 20 + plugins/gcp-projects/knip-report.md | 12 + plugins/git-release-manager/knip-report.md | 13 + plugins/github-actions/knip-report.md | 14 + plugins/github-deployments/knip-report.md | 15 + plugins/github-issues/knip-report.md | 13 + .../github-pull-requests-board/knip-report.md | 12 + plugins/gitops-profiles/knip-report.md | 14 + plugins/gocd/knip-report.md | 21 + plugins/graphiql/knip-report.md | 21 + plugins/graphql-voyager/knip-report.md | 12 + plugins/home-react/knip-report.md | 9 + plugins/home/knip-report.md | 14 + plugins/ilert/knip-report.md | 12 + plugins/jenkins-backend/knip-report.md | 15 + plugins/jenkins-common/knip-report.md | 8 + plugins/jenkins/knip-report.md | 14 + plugins/kafka-backend/knip-report.md | 11 + plugins/kafka/knip-report.md | 14 + plugins/kubernetes-backend/knip-report.md | 28 + plugins/kubernetes-cluster/knip-report.md | 22 + plugins/kubernetes-common/knip-report.md | 8 + plugins/kubernetes-node/knip-report.md | 8 + plugins/kubernetes-react/knip-report.md | 14 + plugins/kubernetes/knip-report.md | 29 + plugins/lighthouse-backend/knip-report.md | 8 + plugins/lighthouse-common/knip-report.md | 8 + plugins/lighthouse/knip-report.md | 15 + plugins/linguist-backend/knip-report.md | 19 + plugins/linguist-common/knip-report.md | 8 + plugins/linguist/knip-report.md | 12 + plugins/microsoft-calendar/knip-report.md | 12 + plugins/newrelic-dashboard/knip-report.md | 11 + plugins/newrelic/knip-report.md | 14 + plugins/nomad-backend/knip-report.md | 16 + plugins/nomad/knip-report.md | 12 + plugins/octopus-deploy/knip-report.md | 12 + plugins/opencost/knip-report.md | 10 + plugins/org-react/knip-report.md | 20 + plugins/org/knip-report.md | 20 + plugins/pagerduty/knip-report.md | 14 + plugins/periskop-backend/knip-report.md | 16 + plugins/periskop/knip-report.md | 12 + .../knip-report.md | 9 + plugins/permission-backend/knip-report.md | 17 + plugins/permission-common/knip-report.md | 9 + plugins/permission-node/knip-report.md | 12 + plugins/permission-react/knip-report.md | 11 + plugins/playlist-backend/knip-report.md | 19 + plugins/playlist-common/knip-report.md | 8 + plugins/playlist/knip-report.md | 22 + plugins/proxy-backend/knip-report.md | 25 + plugins/puppetdb/knip-report.md | 14 + plugins/rollbar-backend/knip-report.md | 22 + plugins/rollbar/knip-report.md | 19 + .../knip-report.md | 14 + .../knip-report.md | 16 + .../knip-report.md | 10 + .../knip-report.md | 17 + .../knip-report.md | 11 + .../knip-report.md | 18 + .../knip-report.md | 10 + .../knip-report.md | 16 + .../knip-report.md | 17 + .../knip-report.md | 15 + plugins/scaffolder-backend/knip-report.md | 19 + plugins/scaffolder-common/knip-report.md | 8 + plugins/scaffolder-node/knip-report.md | 10 + plugins/scaffolder-react/knip-report.md | 27 + plugins/scaffolder/knip-report.md | 25 + .../knip-report.md | 10 + .../knip-report.md | 17 + .../knip-report.md | 10 + .../search-backend-module-pg/knip-report.md | 15 + .../knip-report.md | 10 + .../knip-report.md | 10 + plugins/search-backend-node/knip-report.md | 14 + plugins/search-backend/knip-report.md | 18 + plugins/search-common/knip-report.md | 8 + plugins/search-react/knip-report.md | 22 + plugins/search/knip-report.md | 16 + plugins/sentry/knip-report.md | 19 + plugins/shortcuts/knip-report.md | 13 + plugins/sonarqube-backend/knip-report.md | 18 + plugins/sonarqube-react/knip-report.md | 9 + plugins/sonarqube/knip-report.md | 21 + plugins/splunk-on-call/knip-report.md | 14 + plugins/stack-overflow-backend/knip-report.md | 17 + plugins/stack-overflow/knip-report.md | 19 + plugins/stackstorm/knip-report.md | 15 + .../knip-report.md | 15 + plugins/tech-insights-backend/knip-report.md | 19 + plugins/tech-insights-common/knip-report.md | 8 + plugins/tech-insights-node/knip-report.md | 8 + plugins/tech-insights/knip-report.md | 12 + plugins/tech-radar/knip-report.md | 15 + .../techdocs-addons-test-utils/knip-report.md | 16 + plugins/techdocs-backend/knip-report.md | 11 + .../knip-report.md | 13 + plugins/techdocs-node/knip-report.md | 12 + plugins/techdocs-react/knip-report.md | 19 + plugins/techdocs/knip-report.md | 24 + plugins/todo-backend/knip-report.md | 16 + plugins/todo/knip-report.md | 19 + plugins/user-settings-backend/knip-report.md | 19 + plugins/user-settings/knip-report.md | 22 + plugins/vault-backend/knip-report.md | 22 + plugins/vault-node/knip-report.md | 8 + plugins/vault/knip-report.md | 15 + plugins/xcmetrics/knip-report.md | 14 + scripts/check-docs-quality.js | 3 +- yarn.lock | 861 +++++++++++++++++- 270 files changed, 5226 insertions(+), 34 deletions(-) create mode 100644 .changeset/friendly-terms-love.md create mode 100644 packages/app-defaults/knip-report.md create mode 100644 packages/app-next-example-plugin/knip-report.md create mode 100644 packages/app-next/knip-report.md create mode 100644 packages/app/knip-report.md create mode 100644 packages/backend-app-api/knip-report.md create mode 100644 packages/backend-common/knip-report.md create mode 100644 packages/backend-defaults/knip-report.md create mode 100644 packages/backend-dev-utils/knip-report.md create mode 100644 packages/backend-dynamic-feature-service/knip-report.md create mode 100644 packages/backend-next/knip-report.md create mode 100644 packages/backend-openapi-utils/knip-report.md create mode 100644 packages/backend-plugin-api/knip-report.md create mode 100644 packages/backend-tasks/knip-report.md create mode 100644 packages/backend-test-utils/knip-report.md create mode 100644 packages/backend/knip-report.md create mode 100644 packages/catalog-client/knip-report.md create mode 100644 packages/catalog-model/knip-report.md create mode 100644 packages/cli-common/knip-report.md create mode 100644 packages/cli-node/knip-report.md create mode 100644 packages/cli/knip-report.md create mode 100644 packages/codemods/knip-report.md create mode 100644 packages/config-loader/knip-report.md create mode 100644 packages/config/knip-report.md create mode 100644 packages/core-app-api/knip-report.md create mode 100644 packages/core-compat-api/knip-report.md create mode 100644 packages/core-components/knip-report.md create mode 100644 packages/core-plugin-api/knip-report.md create mode 100644 packages/create-app/knip-report.md create mode 100644 packages/dev-utils/knip-report.md create mode 100644 packages/e2e-test-utils/knip-report.md create mode 100644 packages/e2e-test/knip-report.md create mode 100644 packages/errors/knip-report.md create mode 100644 packages/eslint-plugin/knip-report.md create mode 100644 packages/frontend-app-api/knip-report.md create mode 100644 packages/frontend-plugin-api/knip-report.md create mode 100644 packages/frontend-test-utils/knip-report.md create mode 100644 packages/integration-aws-node/knip-report.md create mode 100644 packages/integration-react/knip-report.md create mode 100644 packages/integration/knip-report.md create mode 100644 packages/release-manifests/knip-report.md create mode 100644 packages/repo-tools/knip-report.md create mode 100644 packages/techdocs-cli-embedded-app/knip-report.md create mode 100644 packages/techdocs-cli/knip-report.md create mode 100644 packages/test-utils/knip-report.md create mode 100644 packages/theme/knip-report.md create mode 100644 packages/types/knip-report.md create mode 100644 packages/version-bridge/knip-report.md create mode 100644 plugins/adr-backend/knip-report.md create mode 100644 plugins/adr-common/knip-report.md create mode 100644 plugins/adr/knip-report.md create mode 100644 plugins/airbrake-backend/knip-report.md create mode 100644 plugins/airbrake/knip-report.md create mode 100644 plugins/allure/knip-report.md create mode 100644 plugins/analytics-module-ga/knip-report.md create mode 100644 plugins/analytics-module-ga4/knip-report.md create mode 100644 plugins/analytics-module-newrelic-browser/knip-report.md create mode 100644 plugins/apache-airflow/knip-report.md create mode 100644 plugins/api-docs-module-protoc-gen-doc/knip-report.md create mode 100644 plugins/api-docs/knip-report.md create mode 100644 plugins/apollo-explorer/knip-report.md create mode 100644 plugins/app-backend/knip-report.md create mode 100644 plugins/app-node/knip-report.md create mode 100644 plugins/app-visualizer/knip-report.md create mode 100644 plugins/auth-backend-module-atlassian-provider/knip-report.md create mode 100644 plugins/auth-backend-module-gcp-iap-provider/knip-report.md create mode 100644 plugins/auth-backend-module-github-provider/knip-report.md create mode 100644 plugins/auth-backend-module-gitlab-provider/knip-report.md create mode 100644 plugins/auth-backend-module-google-provider/knip-report.md create mode 100644 plugins/auth-backend-module-microsoft-provider/knip-report.md create mode 100644 plugins/auth-backend-module-oauth2-provider/knip-report.md create mode 100644 plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md create mode 100644 plugins/auth-backend-module-okta-provider/knip-report.md create mode 100644 plugins/auth-backend-module-pinniped-provider/knip-report.md create mode 100644 plugins/auth-backend-module-vmware-cloud-provider/knip-report.md create mode 100644 plugins/auth-backend/knip-report.md create mode 100644 plugins/auth-node/knip-report.md create mode 100644 plugins/azure-devops-backend/knip-report.md create mode 100644 plugins/azure-devops-common/knip-report.md create mode 100644 plugins/azure-devops/knip-report.md create mode 100644 plugins/azure-sites-backend/knip-report.md create mode 100644 plugins/azure-sites-common/knip-report.md create mode 100644 plugins/azure-sites/knip-report.md create mode 100644 plugins/badges-backend/knip-report.md create mode 100644 plugins/badges/knip-report.md create mode 100644 plugins/bazaar-backend/knip-report.md create mode 100644 plugins/bazaar/knip-report.md create mode 100644 plugins/bitbucket-cloud-common/knip-report.md create mode 100644 plugins/bitrise/knip-report.md create mode 100644 plugins/catalog-backend-module-aws/knip-report.md create mode 100644 plugins/catalog-backend-module-azure/knip-report.md create mode 100644 plugins/catalog-backend-module-backstage-openapi/knip-report.md create mode 100644 plugins/catalog-backend-module-bitbucket-cloud/knip-report.md create mode 100644 plugins/catalog-backend-module-bitbucket-server/knip-report.md create mode 100644 plugins/catalog-backend-module-bitbucket/knip-report.md create mode 100644 plugins/catalog-backend-module-gcp/knip-report.md create mode 100644 plugins/catalog-backend-module-gerrit/knip-report.md create mode 100644 plugins/catalog-backend-module-github-org/knip-report.md create mode 100644 plugins/catalog-backend-module-github/knip-report.md create mode 100644 plugins/catalog-backend-module-gitlab/knip-report.md create mode 100644 plugins/catalog-backend-module-incremental-ingestion/knip-report.md create mode 100644 plugins/catalog-backend-module-ldap/knip-report.md create mode 100644 plugins/catalog-backend-module-msgraph/knip-report.md create mode 100644 plugins/catalog-backend-module-openapi/knip-report.md create mode 100644 plugins/catalog-backend-module-puppetdb/knip-report.md create mode 100644 plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md create mode 100644 plugins/catalog-backend-module-unprocessed/knip-report.md create mode 100644 plugins/catalog-backend/knip-report.md create mode 100644 plugins/catalog-common/knip-report.md create mode 100644 plugins/catalog-graph/knip-report.md create mode 100644 plugins/catalog-import/knip-report.md create mode 100644 plugins/catalog-node/knip-report.md create mode 100644 plugins/catalog-react/knip-report.md create mode 100644 plugins/catalog-unprocessed-entities/knip-report.md create mode 100644 plugins/catalog/knip-report.md create mode 100644 plugins/cicd-statistics-module-gitlab/knip-report.md create mode 100644 plugins/cicd-statistics/knip-report.md create mode 100644 plugins/circleci/knip-report.md create mode 100644 plugins/cloudbuild/knip-report.md create mode 100644 plugins/code-climate/knip-report.md create mode 100644 plugins/code-coverage-backend/knip-report.md create mode 100644 plugins/code-coverage/knip-report.md create mode 100644 plugins/codescene/knip-report.md create mode 100644 plugins/config-schema/knip-report.md create mode 100644 plugins/cost-insights-common/knip-report.md create mode 100644 plugins/cost-insights/knip-report.md create mode 100644 plugins/devtools-backend/knip-report.md create mode 100644 plugins/devtools-common/knip-report.md create mode 100644 plugins/devtools/knip-report.md create mode 100644 plugins/dynatrace/knip-report.md create mode 100644 plugins/entity-feedback-backend/knip-report.md create mode 100644 plugins/entity-feedback-common/knip-report.md create mode 100644 plugins/entity-feedback/knip-report.md create mode 100644 plugins/entity-validation/knip-report.md create mode 100644 plugins/events-backend-module-aws-sqs/knip-report.md create mode 100644 plugins/events-backend-module-azure/knip-report.md create mode 100644 plugins/events-backend-module-bitbucket-cloud/knip-report.md create mode 100644 plugins/events-backend-module-gerrit/knip-report.md create mode 100644 plugins/events-backend-module-github/knip-report.md create mode 100644 plugins/events-backend-module-gitlab/knip-report.md create mode 100644 plugins/events-backend-test-utils/knip-report.md create mode 100644 plugins/events-backend/knip-report.md create mode 100644 plugins/events-node/knip-report.md create mode 100644 plugins/example-todo-list-backend/knip-report.md create mode 100644 plugins/example-todo-list-common/knip-report.md create mode 100644 plugins/example-todo-list/knip-report.md create mode 100644 plugins/explore-backend/knip-report.md create mode 100644 plugins/explore-common/knip-report.md create mode 100644 plugins/explore-react/knip-report.md create mode 100644 plugins/explore/knip-report.md create mode 100644 plugins/firehydrant/knip-report.md create mode 100644 plugins/fossa/knip-report.md create mode 100644 plugins/gcalendar/knip-report.md create mode 100644 plugins/gcp-projects/knip-report.md create mode 100644 plugins/git-release-manager/knip-report.md create mode 100644 plugins/github-actions/knip-report.md create mode 100644 plugins/github-deployments/knip-report.md create mode 100644 plugins/github-issues/knip-report.md create mode 100644 plugins/github-pull-requests-board/knip-report.md create mode 100644 plugins/gitops-profiles/knip-report.md create mode 100644 plugins/gocd/knip-report.md create mode 100644 plugins/graphiql/knip-report.md create mode 100644 plugins/graphql-voyager/knip-report.md create mode 100644 plugins/home-react/knip-report.md create mode 100644 plugins/home/knip-report.md create mode 100644 plugins/ilert/knip-report.md create mode 100644 plugins/jenkins-backend/knip-report.md create mode 100644 plugins/jenkins-common/knip-report.md create mode 100644 plugins/jenkins/knip-report.md create mode 100644 plugins/kafka-backend/knip-report.md create mode 100644 plugins/kafka/knip-report.md create mode 100644 plugins/kubernetes-backend/knip-report.md create mode 100644 plugins/kubernetes-cluster/knip-report.md create mode 100644 plugins/kubernetes-common/knip-report.md create mode 100644 plugins/kubernetes-node/knip-report.md create mode 100644 plugins/kubernetes-react/knip-report.md create mode 100644 plugins/kubernetes/knip-report.md create mode 100644 plugins/lighthouse-backend/knip-report.md create mode 100644 plugins/lighthouse-common/knip-report.md create mode 100644 plugins/lighthouse/knip-report.md create mode 100644 plugins/linguist-backend/knip-report.md create mode 100644 plugins/linguist-common/knip-report.md create mode 100644 plugins/linguist/knip-report.md create mode 100644 plugins/microsoft-calendar/knip-report.md create mode 100644 plugins/newrelic-dashboard/knip-report.md create mode 100644 plugins/newrelic/knip-report.md create mode 100644 plugins/nomad-backend/knip-report.md create mode 100644 plugins/nomad/knip-report.md create mode 100644 plugins/octopus-deploy/knip-report.md create mode 100644 plugins/opencost/knip-report.md create mode 100644 plugins/org-react/knip-report.md create mode 100644 plugins/org/knip-report.md create mode 100644 plugins/pagerduty/knip-report.md create mode 100644 plugins/periskop-backend/knip-report.md create mode 100644 plugins/periskop/knip-report.md create mode 100644 plugins/permission-backend-module-policy-allow-all/knip-report.md create mode 100644 plugins/permission-backend/knip-report.md create mode 100644 plugins/permission-common/knip-report.md create mode 100644 plugins/permission-node/knip-report.md create mode 100644 plugins/permission-react/knip-report.md create mode 100644 plugins/playlist-backend/knip-report.md create mode 100644 plugins/playlist-common/knip-report.md create mode 100644 plugins/playlist/knip-report.md create mode 100644 plugins/proxy-backend/knip-report.md create mode 100644 plugins/puppetdb/knip-report.md create mode 100644 plugins/rollbar-backend/knip-report.md create mode 100644 plugins/rollbar/knip-report.md create mode 100644 plugins/scaffolder-backend-module-azure/knip-report.md create mode 100644 plugins/scaffolder-backend-module-bitbucket/knip-report.md create mode 100644 plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md create mode 100644 plugins/scaffolder-backend-module-cookiecutter/knip-report.md create mode 100644 plugins/scaffolder-backend-module-gerrit/knip-report.md create mode 100644 plugins/scaffolder-backend-module-github/knip-report.md create mode 100644 plugins/scaffolder-backend-module-gitlab/knip-report.md create mode 100644 plugins/scaffolder-backend-module-rails/knip-report.md create mode 100644 plugins/scaffolder-backend-module-sentry/knip-report.md create mode 100644 plugins/scaffolder-backend-module-yeoman/knip-report.md create mode 100644 plugins/scaffolder-backend/knip-report.md create mode 100644 plugins/scaffolder-common/knip-report.md create mode 100644 plugins/scaffolder-node/knip-report.md create mode 100644 plugins/scaffolder-react/knip-report.md create mode 100644 plugins/scaffolder/knip-report.md create mode 100644 plugins/search-backend-module-catalog/knip-report.md create mode 100644 plugins/search-backend-module-elasticsearch/knip-report.md create mode 100644 plugins/search-backend-module-explore/knip-report.md create mode 100644 plugins/search-backend-module-pg/knip-report.md create mode 100644 plugins/search-backend-module-stack-overflow-collator/knip-report.md create mode 100644 plugins/search-backend-module-techdocs/knip-report.md create mode 100644 plugins/search-backend-node/knip-report.md create mode 100644 plugins/search-backend/knip-report.md create mode 100644 plugins/search-common/knip-report.md create mode 100644 plugins/search-react/knip-report.md create mode 100644 plugins/search/knip-report.md create mode 100644 plugins/sentry/knip-report.md create mode 100644 plugins/shortcuts/knip-report.md create mode 100644 plugins/sonarqube-backend/knip-report.md create mode 100644 plugins/sonarqube-react/knip-report.md create mode 100644 plugins/sonarqube/knip-report.md create mode 100644 plugins/splunk-on-call/knip-report.md create mode 100644 plugins/stack-overflow-backend/knip-report.md create mode 100644 plugins/stack-overflow/knip-report.md create mode 100644 plugins/stackstorm/knip-report.md create mode 100644 plugins/tech-insights-backend-module-jsonfc/knip-report.md create mode 100644 plugins/tech-insights-backend/knip-report.md create mode 100644 plugins/tech-insights-common/knip-report.md create mode 100644 plugins/tech-insights-node/knip-report.md create mode 100644 plugins/tech-insights/knip-report.md create mode 100644 plugins/tech-radar/knip-report.md create mode 100644 plugins/techdocs-addons-test-utils/knip-report.md create mode 100644 plugins/techdocs-backend/knip-report.md create mode 100644 plugins/techdocs-module-addons-contrib/knip-report.md create mode 100644 plugins/techdocs-node/knip-report.md create mode 100644 plugins/techdocs-react/knip-report.md create mode 100644 plugins/techdocs/knip-report.md create mode 100644 plugins/todo-backend/knip-report.md create mode 100644 plugins/todo/knip-report.md create mode 100644 plugins/user-settings-backend/knip-report.md create mode 100644 plugins/user-settings/knip-report.md create mode 100644 plugins/vault-backend/knip-report.md create mode 100644 plugins/vault-node/knip-report.md create mode 100644 plugins/vault/knip-report.md create mode 100644 plugins/xcmetrics/knip-report.md diff --git a/.changeset/friendly-terms-love.md b/.changeset/friendly-terms-love.md new file mode 100644 index 0000000000..ed53fcee31 --- /dev/null +++ b/.changeset/friendly-terms-love.md @@ -0,0 +1,253 @@ +--- +'@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. diff --git a/.github/vale/config/vocabularies/Backstage/accept.txt b/.github/vale/config/vocabularies/Backstage/accept.txt index 940e855828..9bb4a52cf4 100644 --- a/.github/vale/config/vocabularies/Backstage/accept.txt +++ b/.github/vale/config/vocabularies/Backstage/accept.txt @@ -185,6 +185,7 @@ Kaswell keepalive Keyv Knex +knip Koyeb KPIs Kuang diff --git a/.prettierignore b/.prettierignore index c54ee5d821..c561036ebb 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,6 +6,7 @@ coverage templates api-report.md api-report-*.md +knip-report.md cli-report.md plugins/scaffolder-backend/sample-templates .vscode diff --git a/package.json b/package.json index 053e031dcb..f0e399866e 100644 --- a/package.json +++ b/package.json @@ -87,6 +87,7 @@ "eslint-plugin-testing-library": "^6.0.0", "fs-extra": "10.1.0", "husky": "^9.0.0", + "knip": "^3.12.0", "lint-staged": "^15.0.0", "minimist": "^1.2.5", "node-gyp": "^10.0.0", diff --git a/packages/app-defaults/knip-report.md b/packages/app-defaults/knip-report.md new file mode 100644 index 0000000000..bac77f66bc --- /dev/null +++ b/packages/app-defaults/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## 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 | + diff --git a/packages/app-next-example-plugin/knip-report.md b/packages/app-next-example-plugin/knip-report.md new file mode 100644 index 0000000000..9bc5da7334 --- /dev/null +++ b/packages/app-next-example-plugin/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:---------------|:-------------| +| msw | package.json | +| cross-fetch | package.json | +| @backstage/cli | package.json | + diff --git a/packages/app-next/knip-report.md b/packages/app-next/knip-report.md new file mode 100644 index 0000000000..7ac62531b7 --- /dev/null +++ b/packages/app-next/knip-report.md @@ -0,0 +1,83 @@ +# Knip report + +## Unused dependencies (63) + +| Name | Location | +|:-------------------------------------------------|:-------------| +| lodash | package.json | +| history | package.json | +| react-use | package.json | +| @octokit/rest | package.json | +| zen-observable | package.json | +| @material-ui/lab | package.json | +| @backstage/theme | package.json | +| @backstage/plugin-org | package.json | +| @backstage/plugin-adr | package.json | +| @backstage/plugin-todo | package.json | +| @backstage/plugin-gocd | package.json | +| app-next-example-plugin | package.json | +| @backstage/plugin-kafka | package.json | +| @backstage/app-defaults | package.json | +| @backstage/plugin-sentry | package.json | +| @backstage/plugin-search | package.json | +| @backstage/plugin-badges | package.json | +| @backstage/catalog-model | package.json | +| @backstage/plugin-rollbar | package.json | +| @backstage/plugin-jenkins | package.json | +| @backstage/plugin-explore | package.json | +| @backstage/plugin-catalog | package.json | +| @circleci/backstage-plugin | package.json | +| @backstage/plugin-puppetdb | package.json | +| @backstage/plugin-playlist | package.json | +| @backstage/plugin-newrelic | package.json | +| @backstage/plugin-devtools | package.json | +| @backstage/plugin-api-docs | package.json | +| @backstage/plugin-airbrake | package.json | +| @backstage/plugin-shortcuts | package.json | +| @backstage/plugin-dynatrace | package.json | +| @backstage/plugin-stackstorm | package.json | +| @backstage/plugin-scaffolder | package.json | +| @backstage/plugin-lighthouse | package.json | +| @backstage/plugin-kubernetes | package.json | +| @backstage/plugin-cloudbuild | package.json | +| @backstage/plugin-azure-sites | package.json | +| @backstage/plugin-search-react | package.json | +| @backstage/plugin-gcp-projects | package.json | +| @backstage/plugin-azure-devops | package.json | +| @backstage/plugin-tech-insights | package.json | +| @backstage/plugin-search-common | package.json | +| @backstage/plugin-cost-insights | package.json | +| @backstage/plugin-code-coverage | package.json | +| @backstage/plugin-catalog-react | package.json | +| @backstage/plugin-catalog-graph | package.json | +| @backstage/plugin-techdocs-react | package.json | +| @backstage/plugin-octopus-deploy | package.json | +| @backstage/plugin-github-actions | package.json | +| @backstage/plugin-catalog-common | package.json | +| @backstage/plugin-apache-airflow | package.json | +| @backstage/plugin-linguist-common | package.json | +| @backstage/plugin-entity-feedback | package.json | +| @backstage/plugin-scaffolder-react | package.json | +| @backstage/plugin-permission-react | package.json | +| @roadiehq/backstage-plugin-travis-ci | package.json | +| @roadiehq/backstage-plugin-buildkite | package.json | +| @backstage/plugin-newrelic-dashboard | package.json | +| @oriflame/backstage-plugin-score-card | package.json | +| @roadiehq/backstage-plugin-github-insights | package.json | +| @backstage/plugin-catalog-unprocessed-entities | package.json | +| @roadiehq/backstage-plugin-github-pull-requests | package.json | +| @backstage/plugin-techdocs-module-addons-contrib | package.json | + +## Unused devDependencies (8) + +| Name | Location | +|:----------------------------|:-------------| +| cross-env | package.json | +| @types/jquery | package.json | +| @testing-library/dom | package.json | +| @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 | + diff --git a/packages/app/knip-report.md b/packages/app/knip-report.md new file mode 100644 index 0000000000..9a80ddd4ad --- /dev/null +++ b/packages/app/knip-report.md @@ -0,0 +1,40 @@ +# Knip report + +## Unused dependencies (15) + +| Name | Location | +|:----------------------------------|:-------------| +| vite | package.json | +| history | package.json | +| react-router | package.json | +| @octokit/rest | package.json | +| zen-observable | package.json | +| vite-plugin-html | package.json | +| @material-ui/lab | package.json | +| @backstage/theme | package.json | +| @vitejs/plugin-react | package.json | +| vite-plugin-node-polyfills | package.json | +| @backstage/plugin-airbrake | 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) + +| Name | Location | +|:----------------------------|:-------------| +| cross-env | package.json | +| @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) + +| Name | Location | +|:------------|:---------------------------------------------------------| +| @rjsf/utils | src/components/scaffolder/customScaffolderExtensions.tsx | + diff --git a/packages/backend-app-api/knip-report.md b/packages/backend-app-api/knip-report.md new file mode 100644 index 0000000000..6b0b884653 --- /dev/null +++ b/packages/backend-app-api/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------|:-------------| +| winston-transport | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| http-errors | package.json | +| @backstage/cli | package.json | +| @types/http-errors | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/packages/backend-common/knip-report.md b/packages/backend-common/knip-report.md new file mode 100644 index 0000000000..a5bb065337 --- /dev/null +++ b/packages/backend-common/knip-report.md @@ -0,0 +1,33 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:----------------------|:-------------| +| mysql2 | package.json | +| @types/webpack-env | package.json | +| @manypkg/get-packages | package.json | + +## Unused devDependencies (12) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| mysql2 | package.json | +| supertest | package.json | +| http-errors | package.json | +| better-sqlite3 | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @types/webpack-env | package.json | +| @types/http-errors | package.json | +| aws-sdk-client-mock | package.json | +| @aws-sdk/util-stream-node | package.json | +| @backstage/backend-test-utils | package.json | + +## Referenced optional peerDependencies (1) + +| Name | Location | +|:---------------------|:-------------| +| pg-connection-string | package.json | + diff --git a/packages/backend-defaults/knip-report.md b/packages/backend-defaults/knip-report.md new file mode 100644 index 0000000000..f667b944dd --- /dev/null +++ b/packages/backend-defaults/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/backend-plugin-api | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/packages/backend-dev-utils/knip-report.md b/packages/backend-dev-utils/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/packages/backend-dev-utils/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/packages/backend-dynamic-feature-service/knip-report.md b/packages/backend-dynamic-feature-service/knip-report.md new file mode 100644 index 0000000000..72049f8827 --- /dev/null +++ b/packages/backend-dynamic-feature-service/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:--------------------------------|:-------------| +| @backstage/types | package.json | +| @backstage/errors | package.json | +| @backstage/plugin-search-common | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| wait-for-expect | package.json | +| @backstage/config-loader | package.json | +| @backstage/backend-app-api | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/packages/backend-next/knip-report.md b/packages/backend-next/knip-report.md new file mode 100644 index 0000000000..07ea59cd66 --- /dev/null +++ b/packages/backend-next/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (7) + +| Name | Location | +|:-------------------------------------------------|:-------------| +| @backstage/backend-tasks | package.json | +| @backstage/plugin-auth-node | package.json | +| @backstage/backend-plugin-api | package.json | +| @backstage/plugin-permission-node | package.json | +| @backstage/plugin-permission-common | package.json | +| @backstage/plugin-search-backend-node | package.json | +| @backstage/plugin-catalog-backend-module-openapi | package.json | + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/packages/backend-openapi-utils/knip-report.md b/packages/backend-openapi-utils/knip-report.md new file mode 100644 index 0000000000..1f28b4cd29 --- /dev/null +++ b/packages/backend-openapi-utils/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| lodash | package.json | +| @backstage/backend-plugin-api | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:---------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | + diff --git a/packages/backend-plugin-api/knip-report.md b/packages/backend-plugin-api/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/packages/backend-plugin-api/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/packages/backend-tasks/knip-report.md b/packages/backend-tasks/knip-report.md new file mode 100644 index 0000000000..243349f63c --- /dev/null +++ b/packages/backend-tasks/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| wait-for-expect | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/packages/backend-test-utils/knip-report.md b/packages/backend-test-utils/knip-report.md new file mode 100644 index 0000000000..c6974ee723 --- /dev/null +++ b/packages/backend-test-utils/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (5) + +| Name | Location | +|:------------------|:-------------| +| pg | package.json | +| msw | package.json | +| mysql2 | package.json | +| better-sqlite3 | package.json | +| @backstage/errors | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/packages/backend/knip-report.md b/packages/backend/knip-report.md new file mode 100644 index 0000000000..3d3e308dfb --- /dev/null +++ b/packages/backend/knip-report.md @@ -0,0 +1,27 @@ +# Knip report + +## Unused dependencies (12) + +| Name | Location | +|:--------------------------------------------------|:-------------| +| pg | package.json | +| luxon | package.json | +| mysql2 | package.json | +| example-app | package.json | +| @octokit/rest | package.json | +| better-sqlite3 | package.json | +| @gitbeaker/node | package.json | +| 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-scaffolder-backend-module-rails | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:---------------------------------|:-------------| +| @types/luxon | package.json | +| @backstage/cli | package.json | +| @types/express-serve-static-core | package.json | + diff --git a/packages/catalog-client/knip-report.md b/packages/catalog-client/knip-report.md new file mode 100644 index 0000000000..23d85dc9a4 --- /dev/null +++ b/packages/catalog-client/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:---------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | + diff --git a/packages/catalog-model/knip-report.md b/packages/catalog-model/knip-report.md new file mode 100644 index 0000000000..7b964d1d0f --- /dev/null +++ b/packages/catalog-model/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:-------------------|:-------------| +| yaml | package.json | +| @backstage/cli | package.json | +| @types/json-schema | package.json | + diff --git a/packages/cli-common/knip-report.md b/packages/cli-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/packages/cli-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/packages/cli-node/knip-report.md b/packages/cli-node/knip-report.md new file mode 100644 index 0000000000..fc3e84abaf --- /dev/null +++ b/packages/cli-node/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------|:-------------| +| semver | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/packages/cli/knip-report.md b/packages/cli/knip-report.md new file mode 100644 index 0000000000..c6242c2598 --- /dev/null +++ b/packages/cli/knip-report.md @@ -0,0 +1,78 @@ +# Knip report + +## Unused dependencies (28) + +| Name | Location | +|:---------------------------------|:-------------| +| util | package.json | +| glob | package.json | +| buffer | package.json | +| sucrase | package.json | +| process | package.json | +| postcss | package.json | +| esbuild | package.json | +| @swc/jest | package.json | +| @swc/core | package.json | +| @svgr/core | package.json | +| cross-fetch | package.json | +| jest-runtime | package.json | +| @swc/helpers | package.json | +| replace-in-file | package.json | +| jest-css-modules | package.json | +| @svgr/plugin-jsx | package.json | +| @svgr/plugin-svgo | package.json | +| @types/webpack-env | package.json | +| eslint-plugin-react | package.json | +| terser-webpack-plugin | package.json | +| jest-environment-jsdom | package.json | +| eslint-plugin-jsx-a11y | package.json | +| @sucrase/webpack-loader | package.json | +| eslint-plugin-react-hooks | package.json | +| eslint-plugin-deprecation | package.json | +| eslint-formatter-friendly | package.json | +| @spotify/eslint-config-react | package.json | +| @typescript-eslint/eslint-plugin | package.json | + +## Unused devDependencies (13) + +| Name | Location | +|:----------------------------------------|:-------------| +| del | package.json | +| ts-node | package.json | +| nodemon | package.json | +| @types/ejs | package.json | +| @types/svgo | package.json | +| @backstage/theme | package.json | +| @types/http-proxy | package.json | +| @backstage/dev-utils | package.json | +| @backstage/core-app-api | package.json | +| @backstage/core-components | package.json | +| @types/terser-webpack-plugin | package.json | +| @backstage/backend-plugin-api | package.json | +| @types/rollup-plugin-peer-deps-external | package.json | + +## Referenced optional peerDependencies (4) + +| Name | Location | +|:---------------------------|:-------------| +| vite | package.json | +| vite-plugin-html | package.json | +| @vitejs/plugin-react | package.json | +| vite-plugin-node-polyfills | package.json | + +## 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 | + diff --git a/packages/codemods/knip-report.md b/packages/codemods/knip-report.md new file mode 100644 index 0000000000..2d38eafb88 --- /dev/null +++ b/packages/codemods/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:------------------------|:-------------| +| jscodeshift | package.json | +| jscodeshift-add-imports | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-------------------|:-------------| +| ts-node | package.json | +| @backstage/cli | package.json | +| @types/jscodeshift | package.json | + diff --git a/packages/config-loader/knip-report.md b/packages/config-loader/knip-report.md new file mode 100644 index 0000000000..ff197bea3a --- /dev/null +++ b/packages/config-loader/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| zen-observable | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/packages/config/knip-report.md b/packages/config/knip-report.md new file mode 100644 index 0000000000..ce8576bebf --- /dev/null +++ b/packages/config/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:----------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/test-utils | package.json | + diff --git a/packages/core-app-api/knip-report.md b/packages/core-app-api/knip-report.md new file mode 100644 index 0000000000..fc58f49ab9 --- /dev/null +++ b/packages/core-app-api/knip-report.md @@ -0,0 +1,25 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| history | package.json | + +## Unused devDependencies (12) + +| Name | Location | +|:-----------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| react-router-beta | package.json | +| react-router-stable | package.json | +| @testing-library/dom | package.json | +| react-router-dom-beta | package.json | +| @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 | + diff --git a/packages/core-compat-api/knip-report.md b/packages/core-compat-api/knip-report.md new file mode 100644 index 0000000000..1e6c227882 --- /dev/null +++ b/packages/core-compat-api/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------------|:-------------| +| @backstage/core-app-api | package.json | + +## 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/plugin-stackstorm | package.json | +| @backstage/frontend-test-utils | package.json | +| @oriflame/backstage-plugin-score-card | package.json | + diff --git a/packages/core-components/knip-report.md b/packages/core-components/knip-report.md new file mode 100644 index 0000000000..1a2ba665c4 --- /dev/null +++ b/packages/core-components/knip-report.md @@ -0,0 +1,33 @@ +# Knip report + +## Unused dependencies (4) + +| Name | Location | +|:------------------|:-------------| +| linkifyjs | package.json | +| @date-io/core | package.json | +| zen-observable | package.json | +| @backstage/config | package.json | + +## Unused devDependencies (11) + +| Name | Location | +|:----------------------------|:-------------| +| msw | package.json | +| cross-fetch | package.json | +| @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 | +| @testing-library/user-event | package.json | + +## Unlisted dependencies (1) + +| Name | Location | +|:--------|:---------------------------------------| +| csstype | src/components/Lifecycle/Lifecycle.tsx | + diff --git a/packages/core-plugin-api/knip-report.md b/packages/core-plugin-api/knip-report.md new file mode 100644 index 0000000000..81ec43c56d --- /dev/null +++ b/packages/core-plugin-api/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| history | package.json | + +## Unused devDependencies (7) + +| 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 | +| @testing-library/jest-dom | package.json | +| @testing-library/user-event | package.json | + diff --git a/packages/create-app/knip-report.md b/packages/create-app/knip-report.md new file mode 100644 index 0000000000..5c8c59adc1 --- /dev/null +++ b/packages/create-app/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| ts-node | package.json | +| nodemon | package.json | +| @backstage/cli | package.json | +| @types/command-exists | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/packages/dev-utils/knip-report.md b/packages/dev-utils/knip-report.md new file mode 100644 index 0000000000..0215fabf06 --- /dev/null +++ b/packages/dev-utils/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-----------------|:-------------| +| @backstage/theme | package.json | + +## Unused devDependencies (7) + +| Name | Location | +|:----------------------------|:-------------| +| zen-observable | package.json | +| @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 | +| @testing-library/user-event | package.json | + diff --git a/packages/e2e-test-utils/knip-report.md b/packages/e2e-test-utils/knip-report.md new file mode 100644 index 0000000000..a41c8d5233 --- /dev/null +++ b/packages/e2e-test-utils/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + +## Referenced optional peerDependencies (1) + +| Name | Location | +|:-----------------|:-------------| +| @playwright/test | package.json | + diff --git a/packages/e2e-test/knip-report.md b/packages/e2e-test/knip-report.md new file mode 100644 index 0000000000..fbc04bfa55 --- /dev/null +++ b/packages/e2e-test/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:-----------------|:-------------| +| ts-node | package.json | +| nodemon | package.json | +| @backstage/cli | package.json | +| @types/puppeteer | package.json | + diff --git a/packages/errors/knip-report.md b/packages/errors/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/packages/errors/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/packages/eslint-plugin/knip-report.md b/packages/eslint-plugin/knip-report.md new file mode 100644 index 0000000000..5c4fbbed76 --- /dev/null +++ b/packages/eslint-plugin/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unlisted dependencies (3) + +| Name | Location | +|:--------------------------|:-------------------------------| +| @typescript-eslint/parser | .eslintrc.js | +| estree | lib/visitImports.js | +| estree | rules/no-undeclared-imports.js | + diff --git a/packages/frontend-app-api/knip-report.md b/packages/frontend-app-api/knip-report.md new file mode 100644 index 0000000000..bac77f66bc --- /dev/null +++ b/packages/frontend-app-api/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## 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 | + diff --git a/packages/frontend-plugin-api/knip-report.md b/packages/frontend-plugin-api/knip-report.md new file mode 100644 index 0000000000..c7680f4f9e --- /dev/null +++ b/packages/frontend-plugin-api/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:---------------------------|:-------------| +| lodash | package.json | +| @material-ui/core | package.json | +| @backstage/core-components | package.json | + +## Unused devDependencies (7) + +| Name | Location | +|:-------------------------------|:-------------| +| history | package.json | +| @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 | + diff --git a/packages/frontend-test-utils/knip-report.md b/packages/frontend-test-utils/knip-report.md new file mode 100644 index 0000000000..ae56051f88 --- /dev/null +++ b/packages/frontend-test-utils/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/packages/integration-aws-node/knip-report.md b/packages/integration-aws-node/knip-report.md new file mode 100644 index 0000000000..a8a1f8c820 --- /dev/null +++ b/packages/integration-aws-node/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:----------------------------------|:-------------| +| @backstage/errors | package.json | +| @aws-sdk/credential-provider-node | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:-------------------------|:-------------| +| @backstage/cli | package.json | +| aws-sdk-client-mock | package.json | +| @backstage/test-utils | package.json | +| aws-sdk-client-mock-jest | package.json | +| @backstage/config-loader | package.json | + diff --git a/packages/integration-react/knip-report.md b/packages/integration-react/knip-report.md new file mode 100644 index 0000000000..c7c82e3d6f --- /dev/null +++ b/packages/integration-react/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## 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 | + diff --git a/packages/integration/knip-report.md b/packages/integration/knip-report.md new file mode 100644 index 0000000000..995a52d5a7 --- /dev/null +++ b/packages/integration/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:-------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/config-loader | package.json | + diff --git a/packages/release-manifests/knip-report.md b/packages/release-manifests/knip-report.md new file mode 100644 index 0000000000..bac0bb3f80 --- /dev/null +++ b/packages/release-manifests/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:----------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/test-utils | package.json | + diff --git a/packages/repo-tools/knip-report.md b/packages/repo-tools/knip-report.md new file mode 100644 index 0000000000..5c60462783 --- /dev/null +++ b/packages/repo-tools/knip-report.md @@ -0,0 +1,26 @@ +# Knip report + +## Unused dependencies (6) + +| Name | Location | +|:------------------------------------|:-------------| +| glob | package.json | +| ts-node | package.json | +| is-glob | package.json | +| @stoplight/spectral-runtime | package.json | +| @stoplight/spectral-functions | package.json | +| @openapitools/openapi-generator-cli | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @types/is-glob | package.json | +| @backstage/backend-test-utils | package.json | + +## Referenced optional peerDependencies (1) + +| Name | Location | +|:---------|:-------------| +| prettier | package.json | + diff --git a/packages/repo-tools/src/commands/api-reports/api-extractor.ts b/packages/repo-tools/src/commands/api-reports/api-extractor.ts index b8c241bb0b..882dbe5f58 100644 --- a/packages/repo-tools/src/commands/api-reports/api-extractor.ts +++ b/packages/repo-tools/src/commands/api-reports/api-extractor.ts @@ -16,37 +16,37 @@ import { groupBy } from 'lodash'; import { - resolve as resolvePath, - relative as relativePath, basename, join, + relative as relativePath, + resolve as resolvePath, } from 'path'; import { execFile } from 'child_process'; import fs from 'fs-extra'; import { + CompilerState, Extractor, ExtractorConfig, - CompilerState, ExtractorLogLevel, ExtractorMessage, } from '@microsoft/api-extractor'; import { Program } from 'typescript'; import { - DocNode, - IDocNodeContainerParameters, - TSDocTagSyntaxKind, - TSDocConfiguration, - Standardization, DocBlockTag, - DocPlainText, DocLinkTag, + DocNode, + DocPlainText, + IDocNodeContainerParameters, + Standardization, + TSDocConfiguration, + TSDocTagSyntaxKind, } from '@microsoft/tsdoc'; import { TSDocConfigFile } from '@microsoft/tsdoc-config'; import { - ApiPackage, - ApiModel, ApiItem, ApiItemKind, + ApiModel, + ApiPackage, } from '@microsoft/api-extractor-model'; import { IMarkdownDocumenterOptions, @@ -290,10 +290,10 @@ function logApiReportInstructions() { '*************************************************************************************', ); console.log( - '* You have uncommitted changes to the public API of a package. *', + '* You have uncommitted changes to the public API or reports of a package. *', ); console.log( - '* To solve this, run `yarn build:api-reports` and commit all api-report.md changes. *', + '* To solve this, run `yarn build:api-reports` and commit all md file changes. *', ); console.log( '*************************************************************************************', @@ -1443,3 +1443,66 @@ 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/'); + + for (const packageDir of packageDirs) { + 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}, `); + } + } + } +} diff --git a/packages/repo-tools/src/commands/api-reports/api-reports.test.ts b/packages/repo-tools/src/commands/api-reports/api-reports.test.ts index d1f7a3836c..955720c52e 100644 --- a/packages/repo-tools/src/commands/api-reports/api-reports.test.ts +++ b/packages/repo-tools/src/commands/api-reports/api-reports.test.ts @@ -20,9 +20,9 @@ import * as pathsLib from '../../lib/paths'; import { buildDocs, - runCliExtraction, - runApiExtraction, categorizePackageDirs, + runApiExtraction, + runCliExtraction, } from './api-extractor'; import { buildApiReports } from './api-reports'; @@ -43,6 +43,7 @@ jest.mock('./api-extractor', () => ({ runApiExtraction: jest.fn(), runCliExtraction: jest.fn(), buildDocs: jest.fn(), + runKnipReports: jest.fn(), })); const projectPaths = pathsLib.paths; diff --git a/packages/repo-tools/src/commands/api-reports/api-reports.ts b/packages/repo-tools/src/commands/api-reports/api-reports.ts index d9164578b0..31900ae9a8 100644 --- a/packages/repo-tools/src/commands/api-reports/api-reports.ts +++ b/packages/repo-tools/src/commands/api-reports/api-reports.ts @@ -16,11 +16,12 @@ import { OptionValues } from 'commander'; import { - createTemporaryTsConfig, + buildDocs, categorizePackageDirs, + createTemporaryTsConfig, runApiExtraction, runCliExtraction, - buildDocs, + runKnipReports, } from './api-extractor'; import { paths as cliPaths, resolvePackagePaths } from '../../lib/paths'; import { generateTypeDeclarations } from './generateTypeDeclarations'; @@ -94,6 +95,7 @@ export const buildApiReports = async (paths: string[] = [], opts: Options) => { validateReleaseTags: opts.validateReleaseTags, }); } + if (cliPackageDirs.length > 0) { console.log('# Generating package CLI reports'); await runCliExtraction({ @@ -102,6 +104,14 @@ 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({ diff --git a/packages/techdocs-cli-embedded-app/knip-report.md b/packages/techdocs-cli-embedded-app/knip-report.md new file mode 100644 index 0000000000..87e4093961 --- /dev/null +++ b/packages/techdocs-cli-embedded-app/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (4) + +| Name | Location | +|:----------------------|:-------------| +| history | package.json | +| react-use | package.json | +| @backstage/theme | package.json | +| @backstage/test-utils | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:----------------------------|:-------------| +| cross-env | package.json | +| @testing-library/dom | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | +| @testing-library/user-event | package.json | + diff --git a/packages/techdocs-cli/knip-report.md b/packages/techdocs-cli/knip-report.md new file mode 100644 index 0000000000..818eb3953a --- /dev/null +++ b/packages/techdocs-cli/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------------|:-------------| +| global-agent | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:-------------------|:-------------| +| ts-node | package.json | +| nodemon | package.json | +| find-process | package.json | +| @backstage/cli | package.json | +| @types/webpack-env | package.json | + diff --git a/packages/test-utils/knip-report.md b/packages/test-utils/knip-report.md new file mode 100644 index 0000000000..01c8cd52b2 --- /dev/null +++ b/packages/test-utils/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------|:-------------| +| @material-ui/core | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/packages/theme/knip-report.md b/packages/theme/knip-report.md new file mode 100644 index 0000000000..4e238f9db6 --- /dev/null +++ b/packages/theme/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:----------------|:-------------| +| @emotion/react | package.json | +| @emotion/styled | 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 | + diff --git a/packages/types/knip-report.md b/packages/types/knip-report.md new file mode 100644 index 0000000000..9a1bf2ebe7 --- /dev/null +++ b/packages/types/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:----------------------|:-------------| +| luxon | package.json | +| zen-observable | package.json | +| @backstage/cli | package.json | +| @types/zen-observable | package.json | + diff --git a/packages/version-bridge/knip-report.md b/packages/version-bridge/knip-report.md new file mode 100644 index 0000000000..14792f6907 --- /dev/null +++ b/packages/version-bridge/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/adr-backend/knip-report.md b/plugins/adr-backend/knip-report.md new file mode 100644 index 0000000000..46434ad5e6 --- /dev/null +++ b/plugins/adr-backend/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-----------|:-------------| +| yn | package.json | +| node-fetch | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/adr-common/knip-report.md b/plugins/adr-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/adr-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/adr/knip-report.md b/plugins/adr/knip-report.md new file mode 100644 index 0000000000..dd9e1bedfe --- /dev/null +++ b/plugins/adr/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:---------------|:-------------| +| remark-gfm | package.json | +| react-markdown | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/airbrake-backend/knip-report.md b/plugins/airbrake-backend/knip-report.md new file mode 100644 index 0000000000..8c164ce0a4 --- /dev/null +++ b/plugins/airbrake-backend/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/airbrake/knip-report.md b/plugins/airbrake/knip-report.md new file mode 100644 index 0000000000..72d2b4fc16 --- /dev/null +++ b/plugins/airbrake/knip-report.md @@ -0,0 +1,23 @@ +# Knip report + +## Unused dependencies (3) + +| 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 | + diff --git a/plugins/allure/knip-report.md b/plugins/allure/knip-report.md new file mode 100644 index 0000000000..49caf552e3 --- /dev/null +++ b/plugins/allure/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/analytics-module-ga/knip-report.md b/plugins/analytics-module-ga/knip-report.md new file mode 100644 index 0000000000..5a62588b7e --- /dev/null +++ b/plugins/analytics-module-ga/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| 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 | + diff --git a/plugins/analytics-module-ga4/knip-report.md b/plugins/analytics-module-ga4/knip-report.md new file mode 100644 index 0000000000..abf81e4cb3 --- /dev/null +++ b/plugins/analytics-module-ga4/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (1) + +| 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 | + diff --git a/plugins/analytics-module-newrelic-browser/knip-report.md b/plugins/analytics-module-newrelic-browser/knip-report.md new file mode 100644 index 0000000000..321f11e9c6 --- /dev/null +++ b/plugins/analytics-module-newrelic-browser/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (1) + +| 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 | + diff --git a/plugins/apache-airflow/knip-report.md b/plugins/apache-airflow/knip-report.md new file mode 100644 index 0000000000..08495d977c --- /dev/null +++ b/plugins/apache-airflow/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/api-docs-module-protoc-gen-doc/knip-report.md b/plugins/api-docs-module-protoc-gen-doc/knip-report.md new file mode 100644 index 0000000000..ae56051f88 --- /dev/null +++ b/plugins/api-docs-module-protoc-gen-doc/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/api-docs/knip-report.md b/plugins/api-docs/knip-report.md new file mode 100644 index 0000000000..d6646c1efe --- /dev/null +++ b/plugins/api-docs/knip-report.md @@ -0,0 +1,23 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:---------------------|:-------------| +| graphql-ws | package.json | +| graphql-config | package.json | +| isomorphic-form-data | package.json | + +## Unused devDependencies (8) + +| 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 | + diff --git a/plugins/apollo-explorer/knip-report.md b/plugins/apollo-explorer/knip-report.md new file mode 100644 index 0000000000..127784b04c --- /dev/null +++ b/plugins/apollo-explorer/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------------|:-------------| +| use-deep-compare-effect | package.json | + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/app-backend/knip-report.md b/plugins/app-backend/knip-report.md new file mode 100644 index 0000000000..d9b5d085f3 --- /dev/null +++ b/plugins/app-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (6) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| node-fetch | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-app-api | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/app-node/knip-report.md b/plugins/app-node/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/app-node/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/app-visualizer/knip-report.md b/plugins/app-visualizer/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/app-visualizer/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/auth-backend-module-atlassian-provider/knip-report.md b/plugins/auth-backend-module-atlassian-provider/knip-report.md new file mode 100644 index 0000000000..2c608a6827 --- /dev/null +++ b/plugins/auth-backend-module-atlassian-provider/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:---------|:-------------| +| express | package.json | +| passport | package.json | + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/auth-backend-module-gcp-iap-provider/knip-report.md b/plugins/auth-backend-module-gcp-iap-provider/knip-report.md new file mode 100644 index 0000000000..b0c3c1d32f --- /dev/null +++ b/plugins/auth-backend-module-gcp-iap-provider/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| express | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/auth-backend-module-github-provider/knip-report.md b/plugins/auth-backend-module-github-provider/knip-report.md new file mode 100644 index 0000000000..ef27674899 --- /dev/null +++ b/plugins/auth-backend-module-github-provider/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/auth-backend-module-gitlab-provider/knip-report.md b/plugins/auth-backend-module-gitlab-provider/knip-report.md new file mode 100644 index 0000000000..2c608a6827 --- /dev/null +++ b/plugins/auth-backend-module-gitlab-provider/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:---------|:-------------| +| express | package.json | +| passport | package.json | + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/auth-backend-module-google-provider/knip-report.md b/plugins/auth-backend-module-google-provider/knip-report.md new file mode 100644 index 0000000000..6e4b0f2a59 --- /dev/null +++ b/plugins/auth-backend-module-google-provider/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:-------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-auth-backend | package.json | + diff --git a/plugins/auth-backend-module-microsoft-provider/knip-report.md b/plugins/auth-backend-module-microsoft-provider/knip-report.md new file mode 100644 index 0000000000..67ef0e695c --- /dev/null +++ b/plugins/auth-backend-module-microsoft-provider/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:---------|:-------------| +| express | package.json | +| passport | package.json | + +## Unused devDependencies (7) + +| 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 | + diff --git a/plugins/auth-backend-module-oauth2-provider/knip-report.md b/plugins/auth-backend-module-oauth2-provider/knip-report.md new file mode 100644 index 0000000000..b4f8775d9a --- /dev/null +++ b/plugins/auth-backend-module-oauth2-provider/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---------|:-------------| +| passport | package.json | + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md b/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md new file mode 100644 index 0000000000..2a595acf79 --- /dev/null +++ b/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/auth-backend-module-okta-provider/knip-report.md b/plugins/auth-backend-module-okta-provider/knip-report.md new file mode 100644 index 0000000000..2c608a6827 --- /dev/null +++ b/plugins/auth-backend-module-okta-provider/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:---------|:-------------| +| express | package.json | +| passport | package.json | + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/auth-backend-module-pinniped-provider/knip-report.md b/plugins/auth-backend-module-pinniped-provider/knip-report.md new file mode 100644 index 0000000000..dc55a51fd3 --- /dev/null +++ b/plugins/auth-backend-module-pinniped-provider/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused devDependencies (11) + +| 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 | + diff --git a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md new file mode 100644 index 0000000000..d9be83c6e3 --- /dev/null +++ b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused devDependencies (8) + +| 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 | + diff --git a/plugins/auth-backend/knip-report.md b/plugins/auth-backend/knip-report.md new file mode 100644 index 0000000000..40fdccc2c3 --- /dev/null +++ b/plugins/auth-backend/knip-report.md @@ -0,0 +1,32 @@ +# Knip report + +## Unused dependencies (10) + +| Name | Location | +|:------------------------|:-------------| +| yn | package.json | +| cors | package.json | +| morgan | package.json | +| winston | package.json | +| fs-extra | package.json | +| compression | package.json | +| passport-gitlab2 | package.json | +| passport-github2 | package.json | +| google-auth-library | package.json | +| passport-google-oauth20 | package.json | + +## Unused devDependencies (10) + +| Name | Location | +|:-------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @types/xml2js | package.json | +| @backstage/cli | package.json | +| @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-google-oauth20 | package.json | + diff --git a/plugins/auth-node/knip-report.md b/plugins/auth-node/knip-report.md new file mode 100644 index 0000000000..3d3a7684bb --- /dev/null +++ b/plugins/auth-node/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-----------|:-------------| +| winston | package.json | +| node-fetch | package.json | + +## Unused devDependencies (7) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| uuid | package.json | +| supertest | package.json | +| cookie-parser | package.json | +| @backstage/cli | package.json | +| express-promise-router | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/azure-devops-backend/knip-report.md b/plugins/azure-devops-backend/knip-report.md new file mode 100644 index 0000000000..8c164ce0a4 --- /dev/null +++ b/plugins/azure-devops-backend/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/azure-devops-common/knip-report.md b/plugins/azure-devops-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/azure-devops-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/azure-devops/knip-report.md b/plugins/azure-devops/knip-report.md new file mode 100644 index 0000000000..5484ac86b2 --- /dev/null +++ b/plugins/azure-devops/knip-report.md @@ -0,0 +1,13 @@ +# Knip report + +## 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 | + diff --git a/plugins/azure-sites-backend/knip-report.md b/plugins/azure-sites-backend/knip-report.md new file mode 100644 index 0000000000..739ca03adb --- /dev/null +++ b/plugins/azure-sites-backend/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-----------|:-------------| +| yn | package.json | +| node-fetch | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:-----------------|:-------------| +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/azure-sites-common/knip-report.md b/plugins/azure-sites-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/azure-sites-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/azure-sites/knip-report.md b/plugins/azure-sites/knip-report.md new file mode 100644 index 0000000000..49caf552e3 --- /dev/null +++ b/plugins/azure-sites/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/badges-backend/knip-report.md b/plugins/badges-backend/knip-report.md new file mode 100644 index 0000000000..93eacaa2b1 --- /dev/null +++ b/plugins/badges-backend/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:----------|:-------------| +| yn | package.json | +| cors | package.json | +| supertest | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/badges/knip-report.md b/plugins/badges/knip-report.md new file mode 100644 index 0000000000..3fa6192efd --- /dev/null +++ b/plugins/badges/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @backstage/test-utils | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/bazaar-backend/knip-report.md b/plugins/bazaar-backend/knip-report.md new file mode 100644 index 0000000000..ea141f0cbe --- /dev/null +++ b/plugins/bazaar-backend/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/bazaar/knip-report.md b/plugins/bazaar/knip-report.md new file mode 100644 index 0000000000..b43003d1bb --- /dev/null +++ b/plugins/bazaar/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| @testing-library/jest-dom | package.json | +| @backstage/catalog-client | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/bitbucket-cloud-common/knip-report.md b/plugins/bitbucket-cloud-common/knip-report.md new file mode 100644 index 0000000000..63682826ff --- /dev/null +++ b/plugins/bitbucket-cloud-common/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------------|:-------------| +| msw | package.json | +| ts-morph | package.json | +| @backstage/cli | package.json | +| @openapitools/openapi-generator-cli | package.json | + diff --git a/plugins/bitrise/knip-report.md b/plugins/bitrise/knip-report.md new file mode 100644 index 0000000000..3bf7c90c2b --- /dev/null +++ b/plugins/bitrise/knip-report.md @@ -0,0 +1,23 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---------|:-------------| +| recharts | package.json | + +## Unused devDependencies (10) + +| Name | Location | +|:----------------------------|:-------------| +| msw | package.json | +| @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 | + diff --git a/plugins/catalog-backend-module-aws/knip-report.md b/plugins/catalog-backend-module-aws/knip-report.md new file mode 100644 index 0000000000..cb210f6032 --- /dev/null +++ b/plugins/catalog-backend-module-aws/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------------------|:-------------| +| @aws-sdk/credential-providers | package.json | + +## Unused devDependencies (7) + +| Name | Location | +|:------------------------------|:-------------| +| yaml | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| aws-sdk-client-mock | package.json | +| aws-sdk-client-mock-jest | package.json | +| @aws-sdk/util-stream-node | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-azure/knip-report.md b/plugins/catalog-backend-module-azure/knip-report.md new file mode 100644 index 0000000000..195f060dc1 --- /dev/null +++ b/plugins/catalog-backend-module-azure/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-backstage-openapi/knip-report.md b/plugins/catalog-backend-module-backstage-openapi/knip-report.md new file mode 100644 index 0000000000..1a11be1d96 --- /dev/null +++ b/plugins/catalog-backend-module-backstage-openapi/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-------|:-------------| +| yn | package.json | +| lodash | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| @types/express | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md b/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md new file mode 100644 index 0000000000..195f060dc1 --- /dev/null +++ b/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-bitbucket-server/knip-report.md b/plugins/catalog-backend-module-bitbucket-server/knip-report.md new file mode 100644 index 0000000000..195f060dc1 --- /dev/null +++ b/plugins/catalog-backend-module-bitbucket-server/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-bitbucket/knip-report.md b/plugins/catalog-backend-module-bitbucket/knip-report.md new file mode 100644 index 0000000000..7f1069ffcc --- /dev/null +++ b/plugins/catalog-backend-module-bitbucket/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/backend-common | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-gcp/knip-report.md b/plugins/catalog-backend-module-gcp/knip-report.md new file mode 100644 index 0000000000..2a595acf79 --- /dev/null +++ b/plugins/catalog-backend-module-gcp/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-gerrit/knip-report.md b/plugins/catalog-backend-module-gerrit/knip-report.md new file mode 100644 index 0000000000..9a01b39c31 --- /dev/null +++ b/plugins/catalog-backend-module-gerrit/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---------|:-------------| +| fs-extra | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| @types/fs-extra | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-github-org/knip-report.md b/plugins/catalog-backend-module-github-org/knip-report.md new file mode 100644 index 0000000000..7165b5aa7f --- /dev/null +++ b/plugins/catalog-backend-module-github-org/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| luxon | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-github/knip-report.md b/plugins/catalog-backend-module-github/knip-report.md new file mode 100644 index 0000000000..6654a9469f --- /dev/null +++ b/plugins/catalog-backend-module-github/knip-report.md @@ -0,0 +1,26 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:----------------------------------|:-------------| +| node-fetch | package.json | +| @backstage/plugin-catalog-backend | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + +## Unlisted dependencies (3) + +| Name | Location | +|:------------------------|:----------------------------------------------| +| @octokit/webhooks-types | src/providers/GithubEntityProvider.ts | +| @octokit/webhooks-types | src/providers/GithubMultiOrgEntityProvider.ts | +| @octokit/webhooks-types | src/providers/GithubOrgEntityProvider.ts | + diff --git a/plugins/catalog-backend-module-gitlab/knip-report.md b/plugins/catalog-backend-module-gitlab/knip-report.md new file mode 100644 index 0000000000..195f060dc1 --- /dev/null +++ b/plugins/catalog-backend-module-gitlab/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md new file mode 100644 index 0000000000..fbc203820a --- /dev/null +++ b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-defaults | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-ldap/knip-report.md b/plugins/catalog-backend-module-ldap/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/catalog-backend-module-ldap/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/catalog-backend-module-msgraph/knip-report.md b/plugins/catalog-backend-module-msgraph/knip-report.md new file mode 100644 index 0000000000..195f060dc1 --- /dev/null +++ b/plugins/catalog-backend-module-msgraph/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| luxon | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-openapi/knip-report.md b/plugins/catalog-backend-module-openapi/knip-report.md new file mode 100644 index 0000000000..76c554b1db --- /dev/null +++ b/plugins/catalog-backend-module-openapi/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| openapi-types | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-puppetdb/knip-report.md b/plugins/catalog-backend-module-puppetdb/knip-report.md new file mode 100644 index 0000000000..eaad6fecaa --- /dev/null +++ b/plugins/catalog-backend-module-puppetdb/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------|:-------------| +| luxon | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md b/plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md new file mode 100644 index 0000000000..2a595acf79 --- /dev/null +++ b/plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-backend-module-unprocessed/knip-report.md b/plugins/catalog-backend-module-unprocessed/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/catalog-backend-module-unprocessed/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/catalog-backend/knip-report.md b/plugins/catalog-backend/knip-report.md new file mode 100644 index 0000000000..5639c9c550 --- /dev/null +++ b/plugins/catalog-backend/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-----------|:-------------| +| node-fetch | package.json | + +## Unused devDependencies (7) + +| 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 | + diff --git a/plugins/catalog-common/knip-report.md b/plugins/catalog-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/catalog-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/catalog-graph/knip-report.md b/plugins/catalog-graph/knip-report.md new file mode 100644 index 0000000000..ffeefea695 --- /dev/null +++ b/plugins/catalog-graph/knip-report.md @@ -0,0 +1,23 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| lodash | package.json | +| @backstage/catalog-client | package.json | + +## Unused devDependencies (9) + +| 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 | + diff --git a/plugins/catalog-import/knip-report.md b/plugins/catalog-import/knip-report.md new file mode 100644 index 0000000000..106e5b2b82 --- /dev/null +++ b/plugins/catalog-import/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused devDependencies (9) + +| 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 | + diff --git a/plugins/catalog-node/knip-report.md b/plugins/catalog-node/knip-report.md new file mode 100644 index 0000000000..2a595acf79 --- /dev/null +++ b/plugins/catalog-node/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/catalog-react/knip-report.md b/plugins/catalog-react/knip-report.md new file mode 100644 index 0000000000..0bd163e533 --- /dev/null +++ b/plugins/catalog-react/knip-report.md @@ -0,0 +1,23 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---------------------------------|:-------------| +| @backstage/plugin-catalog-common | package.json | + +## Unused devDependencies (10) + +| 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 | + diff --git a/plugins/catalog-unprocessed-entities/knip-report.md b/plugins/catalog-unprocessed-entities/knip-report.md new file mode 100644 index 0000000000..f57e40a0ba --- /dev/null +++ b/plugins/catalog-unprocessed-entities/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## 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 | + diff --git a/plugins/catalog/knip-report.md b/plugins/catalog/knip-report.md new file mode 100644 index 0000000000..875b92587f --- /dev/null +++ b/plugins/catalog/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| history | package.json | + +## Unused devDependencies (9) + +| 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 | + diff --git a/plugins/cicd-statistics-module-gitlab/knip-report.md b/plugins/cicd-statistics-module-gitlab/knip-report.md new file mode 100644 index 0000000000..3826e577d2 --- /dev/null +++ b/plugins/cicd-statistics-module-gitlab/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------|:-------------| +| luxon | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:---------------|:-------------| +| @types/react | package.json | +| @backstage/cli | package.json | + diff --git a/plugins/cicd-statistics/knip-report.md b/plugins/cicd-statistics/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/cicd-statistics/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/circleci/knip-report.md b/plugins/circleci/knip-report.md new file mode 100644 index 0000000000..60ceb9a96f --- /dev/null +++ b/plugins/circleci/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:---------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | + diff --git a/plugins/cloudbuild/knip-report.md b/plugins/cloudbuild/knip-report.md new file mode 100644 index 0000000000..5484ac86b2 --- /dev/null +++ b/plugins/cloudbuild/knip-report.md @@ -0,0 +1,13 @@ +# Knip report + +## 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 | + diff --git a/plugins/code-climate/knip-report.md b/plugins/code-climate/knip-report.md new file mode 100644 index 0000000000..ae8b1336a1 --- /dev/null +++ b/plugins/code-climate/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| 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 | + diff --git a/plugins/code-coverage-backend/knip-report.md b/plugins/code-coverage-backend/knip-report.md new file mode 100644 index 0000000000..bce9ec210a --- /dev/null +++ b/plugins/code-coverage-backend/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:-----------------|:-------------| +| xml2js | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/code-coverage/knip-report.md b/plugins/code-coverage/knip-report.md new file mode 100644 index 0000000000..308b2f4748 --- /dev/null +++ b/plugins/code-coverage/knip-report.md @@ -0,0 +1,13 @@ +# Knip report + +## Unused devDependencies (6) + +| 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 | + diff --git a/plugins/codescene/knip-report.md b/plugins/codescene/knip-report.md new file mode 100644 index 0000000000..cd4b52a70a --- /dev/null +++ b/plugins/codescene/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------|:-------------| +| @backstage/config | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/config-schema/knip-report.md b/plugins/config-schema/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/config-schema/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/cost-insights-common/knip-report.md b/plugins/cost-insights-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/cost-insights-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/cost-insights/knip-report.md b/plugins/cost-insights/knip-report.md new file mode 100644 index 0000000000..6e3734e217 --- /dev/null +++ b/plugins/cost-insights/knip-report.md @@ -0,0 +1,23 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:--------------------|:-------------| +| history | package.json | +| @material-ui/styles | package.json | + +## Unused devDependencies (9) + +| 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 | + diff --git a/plugins/devtools-backend/knip-report.md b/plugins/devtools-backend/knip-report.md new file mode 100644 index 0000000000..dc9f753a6b --- /dev/null +++ b/plugins/devtools-backend/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/minimist | package.json | +| @types/supertest | package.json | + diff --git a/plugins/devtools-common/knip-report.md b/plugins/devtools-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/devtools-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/devtools/knip-report.md b/plugins/devtools/knip-report.md new file mode 100644 index 0000000000..f57e40a0ba --- /dev/null +++ b/plugins/devtools/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## 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 | + diff --git a/plugins/dynatrace/knip-report.md b/plugins/dynatrace/knip-report.md new file mode 100644 index 0000000000..44e48cb6b2 --- /dev/null +++ b/plugins/dynatrace/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | + diff --git a/plugins/entity-feedback-backend/knip-report.md b/plugins/entity-feedback-backend/knip-report.md new file mode 100644 index 0000000000..02e48d9bc4 --- /dev/null +++ b/plugins/entity-feedback-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:------------------|:-------------| +| yn | package.json | +| node-fetch | package.json | +| @backstage/config | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/entity-feedback-common/knip-report.md b/plugins/entity-feedback-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/entity-feedback-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/entity-feedback/knip-report.md b/plugins/entity-feedback/knip-report.md new file mode 100644 index 0000000000..f3538df4bb --- /dev/null +++ b/plugins/entity-feedback/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused devDependencies (7) + +| Name | Location | +|:----------------------------|:-------------| +| msw | package.json | +| @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 | +| @testing-library/user-event | package.json | + diff --git a/plugins/entity-validation/knip-report.md b/plugins/entity-validation/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/entity-validation/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/events-backend-module-aws-sqs/knip-report.md b/plugins/events-backend-module-aws-sqs/knip-report.md new file mode 100644 index 0000000000..f8ed497e3c --- /dev/null +++ b/plugins/events-backend-module-aws-sqs/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| Name | Location | +|:--------------------------------------------|:-------------| +| @backstage/cli | package.json | +| @aws-sdk/types | package.json | +| aws-sdk-client-mock | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-events-backend-test-utils | package.json | + diff --git a/plugins/events-backend-module-azure/knip-report.md b/plugins/events-backend-module-azure/knip-report.md new file mode 100644 index 0000000000..c0ed269e78 --- /dev/null +++ b/plugins/events-backend-module-azure/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| winston | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-events-backend-test-utils | package.json | + diff --git a/plugins/events-backend-module-bitbucket-cloud/knip-report.md b/plugins/events-backend-module-bitbucket-cloud/knip-report.md new file mode 100644 index 0000000000..c0ed269e78 --- /dev/null +++ b/plugins/events-backend-module-bitbucket-cloud/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| winston | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-events-backend-test-utils | package.json | + diff --git a/plugins/events-backend-module-gerrit/knip-report.md b/plugins/events-backend-module-gerrit/knip-report.md new file mode 100644 index 0000000000..c0ed269e78 --- /dev/null +++ b/plugins/events-backend-module-gerrit/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| winston | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-events-backend-test-utils | package.json | + diff --git a/plugins/events-backend-module-github/knip-report.md b/plugins/events-backend-module-github/knip-report.md new file mode 100644 index 0000000000..c0ed269e78 --- /dev/null +++ b/plugins/events-backend-module-github/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| winston | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-events-backend-test-utils | package.json | + diff --git a/plugins/events-backend-module-gitlab/knip-report.md b/plugins/events-backend-module-gitlab/knip-report.md new file mode 100644 index 0000000000..c0ed269e78 --- /dev/null +++ b/plugins/events-backend-module-gitlab/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| winston | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-events-backend-test-utils | package.json | + diff --git a/plugins/events-backend-test-utils/knip-report.md b/plugins/events-backend-test-utils/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/events-backend-test-utils/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/events-backend/knip-report.md b/plugins/events-backend/knip-report.md new file mode 100644 index 0000000000..f97871a27b --- /dev/null +++ b/plugins/events-backend/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-events-backend-test-utils | package.json | + diff --git a/plugins/events-node/knip-report.md b/plugins/events-node/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/events-node/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/example-todo-list-backend/knip-report.md b/plugins/example-todo-list-backend/knip-report.md new file mode 100644 index 0000000000..8c164ce0a4 --- /dev/null +++ b/plugins/example-todo-list-backend/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/example-todo-list-common/knip-report.md b/plugins/example-todo-list-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/example-todo-list-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/example-todo-list/knip-report.md b/plugins/example-todo-list/knip-report.md new file mode 100644 index 0000000000..a3d34e034c --- /dev/null +++ b/plugins/example-todo-list/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/explore-backend/knip-report.md b/plugins/explore-backend/knip-report.md new file mode 100644 index 0000000000..d957444a99 --- /dev/null +++ b/plugins/explore-backend/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| yn | package.json | +| node-fetch | package.json | +| @backstage/types | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/explore-common/knip-report.md b/plugins/explore-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/explore-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/explore-react/knip-report.md b/plugins/explore-react/knip-report.md new file mode 100644 index 0000000000..34e67d091a --- /dev/null +++ b/plugins/explore-react/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/explore/knip-report.md b/plugins/explore/knip-report.md new file mode 100644 index 0000000000..b63a8830f2 --- /dev/null +++ b/plugins/explore/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused devDependencies (9) + +| 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 | + diff --git a/plugins/firehydrant/knip-report.md b/plugins/firehydrant/knip-report.md new file mode 100644 index 0000000000..44e48cb6b2 --- /dev/null +++ b/plugins/firehydrant/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | + diff --git a/plugins/fossa/knip-report.md b/plugins/fossa/knip-report.md new file mode 100644 index 0000000000..08495d977c --- /dev/null +++ b/plugins/fossa/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/gcalendar/knip-report.md b/plugins/gcalendar/knip-report.md new file mode 100644 index 0000000000..d90d7bd7a6 --- /dev/null +++ b/plugins/gcalendar/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------------------------|:-------------| +| @maxim_mazurok/gapi.client.calendar | package.json | + +## Unused devDependencies (7) + +| 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 | + diff --git a/plugins/gcp-projects/knip-report.md b/plugins/gcp-projects/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/gcp-projects/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/git-release-manager/knip-report.md b/plugins/git-release-manager/knip-report.md new file mode 100644 index 0000000000..3187e43d3b --- /dev/null +++ b/plugins/git-release-manager/knip-report.md @@ -0,0 +1,13 @@ +# Knip report + +## Unused devDependencies (6) + +| 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 | + diff --git a/plugins/github-actions/knip-report.md b/plugins/github-actions/knip-report.md new file mode 100644 index 0000000000..44e48cb6b2 --- /dev/null +++ b/plugins/github-actions/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | + diff --git a/plugins/github-deployments/knip-report.md b/plugins/github-deployments/knip-report.md new file mode 100644 index 0000000000..08495d977c --- /dev/null +++ b/plugins/github-deployments/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/github-issues/knip-report.md b/plugins/github-issues/knip-report.md new file mode 100644 index 0000000000..5484ac86b2 --- /dev/null +++ b/plugins/github-issues/knip-report.md @@ -0,0 +1,13 @@ +# Knip report + +## 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 | + diff --git a/plugins/github-pull-requests-board/knip-report.md b/plugins/github-pull-requests-board/knip-report.md new file mode 100644 index 0000000000..3ef6ce2cf7 --- /dev/null +++ b/plugins/github-pull-requests-board/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/gitops-profiles/knip-report.md b/plugins/gitops-profiles/knip-report.md new file mode 100644 index 0000000000..44e48cb6b2 --- /dev/null +++ b/plugins/gitops-profiles/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | + diff --git a/plugins/gocd/knip-report.md b/plugins/gocd/knip-report.md new file mode 100644 index 0000000000..5c60390a31 --- /dev/null +++ b/plugins/gocd/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| qs | package.json | + +## Unused devDependencies (8) + +| 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 | + diff --git a/plugins/graphiql/knip-report.md b/plugins/graphiql/knip-report.md new file mode 100644 index 0000000000..db0c26367a --- /dev/null +++ b/plugins/graphiql/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-----------|:-------------| +| graphql | package.json | +| graphql-ws | package.json | + +## Unused devDependencies (7) + +| 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 | + diff --git a/plugins/graphql-voyager/knip-report.md b/plugins/graphql-voyager/knip-report.md new file mode 100644 index 0000000000..3ef6ce2cf7 --- /dev/null +++ b/plugins/graphql-voyager/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/home-react/knip-report.md b/plugins/home-react/knip-report.md new file mode 100644 index 0000000000..a2badb7a17 --- /dev/null +++ b/plugins/home-react/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:-------------------------|:-------------| +| @backstage/cli | package.json | +| @types/react-grid-layout | package.json | + diff --git a/plugins/home/knip-report.md b/plugins/home/knip-report.md new file mode 100644 index 0000000000..b0aec89510 --- /dev/null +++ b/plugins/home/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | +| @testing-library/jest-dom | package.json | +| @testing-library/user-event | package.json | + diff --git a/plugins/ilert/knip-report.md b/plugins/ilert/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/ilert/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/jenkins-backend/knip-report.md b/plugins/jenkins-backend/knip-report.md new file mode 100644 index 0000000000..586ac73fae --- /dev/null +++ b/plugins/jenkins-backend/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:-----------------|:-------------| +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/jenkins-common/knip-report.md b/plugins/jenkins-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/jenkins-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/jenkins/knip-report.md b/plugins/jenkins/knip-report.md new file mode 100644 index 0000000000..34592ee915 --- /dev/null +++ b/plugins/jenkins/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | +| @testing-library/jest-dom | package.json | +| @types/testing-library__jest-dom | package.json | + diff --git a/plugins/kafka-backend/knip-report.md b/plugins/kafka-backend/knip-report.md new file mode 100644 index 0000000000..c8923ea814 --- /dev/null +++ b/plugins/kafka-backend/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| jest-when | package.json | +| @backstage/cli | package.json | +| @types/jest-when | package.json | + diff --git a/plugins/kafka/knip-report.md b/plugins/kafka/knip-report.md new file mode 100644 index 0000000000..17bd287fbc --- /dev/null +++ b/plugins/kafka/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused devDependencies (7) + +| Name | Location | +|:--------------------------|:-------------| +| jest-when | 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 | + diff --git a/plugins/kubernetes-backend/knip-report.md b/plugins/kubernetes-backend/knip-report.md new file mode 100644 index 0000000000..20f05141fc --- /dev/null +++ b/plugins/kubernetes-backend/knip-report.md @@ -0,0 +1,28 @@ +# Knip report + +## Unused dependencies (7) + +| Name | Location | +|:-------------------|:-------------| +| yn | package.json | +| cors | package.json | +| morgan | package.json | +| helmet | package.json | +| compression | package.json | +| stream-buffers | package.json | +| @jest-mock/express | package.json | + +## Unused devDependencies (9) + +| Name | Location | +|:-------------------------------------------------------------|:-------------| +| ws | package.json | +| msw | package.json | +| supertest | package.json | +| @types/aws4 | package.json | +| @backstage/cli | package.json | +| @backstage/backend-app-api | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-permission-backend | package.json | +| @backstage/plugin-permission-backend-module-allow-all-policy | package.json | + diff --git a/plugins/kubernetes-cluster/knip-report.md b/plugins/kubernetes-cluster/knip-report.md new file mode 100644 index 0000000000..963f8f85a6 --- /dev/null +++ b/plugins/kubernetes-cluster/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (5) + +| Name | Location | +|:------------------------|:-------------| +| luxon | package.json | +| lodash | package.json | +| js-yaml | package.json | +| cronstrue | package.json | +| @kubernetes-models/base | package.json | + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/kubernetes-common/knip-report.md b/plugins/kubernetes-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/kubernetes-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/kubernetes-node/knip-report.md b/plugins/kubernetes-node/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/kubernetes-node/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/kubernetes-react/knip-report.md b/plugins/kubernetes-react/knip-report.md new file mode 100644 index 0000000000..953c3c2f9f --- /dev/null +++ b/plugins/kubernetes-react/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused devDependencies (7) + +| Name | Location | +|:--------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| jest-websocket-mock | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @backstage/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/kubernetes/knip-report.md b/plugins/kubernetes/knip-report.md new file mode 100644 index 0000000000..6d80ad2943 --- /dev/null +++ b/plugins/kubernetes/knip-report.md @@ -0,0 +1,29 @@ +# Knip report + +## Unused dependencies (11) + +| Name | Location | +|:--------------------------------|:-------------| +| xterm | package.json | +| luxon | package.json | +| lodash | package.json | +| js-yaml | package.json | +| cronstrue | package.json | +| xterm-addon-fit | package.json | +| kubernetes-models | package.json | +| xterm-addon-attach | package.json | +| @kubernetes/client-node | package.json | +| @kubernetes-models/base | package.json | +| @kubernetes-models/apimachinery | 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 | + diff --git a/plugins/lighthouse-backend/knip-report.md b/plugins/lighthouse-backend/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/lighthouse-backend/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/lighthouse-common/knip-report.md b/plugins/lighthouse-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/lighthouse-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/lighthouse/knip-report.md b/plugins/lighthouse/knip-report.md new file mode 100644 index 0000000000..08495d977c --- /dev/null +++ b/plugins/lighthouse/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/linguist-backend/knip-report.md b/plugins/linguist-backend/knip-report.md new file mode 100644 index 0000000000..93d1ed03cc --- /dev/null +++ b/plugins/linguist-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:----------------------------|:-------------| +| yn | package.json | +| @backstage/plugin-auth-node | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| js-yaml | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/linguist-common/knip-report.md b/plugins/linguist-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/linguist-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/linguist/knip-report.md b/plugins/linguist/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/linguist/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/microsoft-calendar/knip-report.md b/plugins/microsoft-calendar/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/microsoft-calendar/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/newrelic-dashboard/knip-report.md b/plugins/newrelic-dashboard/knip-report.md new file mode 100644 index 0000000000..3fa6192efd --- /dev/null +++ b/plugins/newrelic-dashboard/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @backstage/test-utils | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/newrelic/knip-report.md b/plugins/newrelic/knip-report.md new file mode 100644 index 0000000000..49caf552e3 --- /dev/null +++ b/plugins/newrelic/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/nomad-backend/knip-report.md b/plugins/nomad-backend/knip-report.md new file mode 100644 index 0000000000..8c164ce0a4 --- /dev/null +++ b/plugins/nomad-backend/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/nomad/knip-report.md b/plugins/nomad/knip-report.md new file mode 100644 index 0000000000..d8e2df9bd9 --- /dev/null +++ b/plugins/nomad/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| Name | Location | +|:--------------------------|:-------------| +| cross-fetch | package.json | +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/octopus-deploy/knip-report.md b/plugins/octopus-deploy/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/octopus-deploy/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/opencost/knip-report.md b/plugins/opencost/knip-report.md new file mode 100644 index 0000000000..a42dca8cda --- /dev/null +++ b/plugins/opencost/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/org-react/knip-report.md b/plugins/org-react/knip-report.md new file mode 100644 index 0000000000..8b68d31b4a --- /dev/null +++ b/plugins/org-react/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/catalog-client | package.json | + +## Unused devDependencies (7) + +| 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 | +| @testing-library/jest-dom | package.json | +| @testing-library/user-event | package.json | + diff --git a/plugins/org/knip-report.md b/plugins/org/knip-report.md new file mode 100644 index 0000000000..50cc635025 --- /dev/null +++ b/plugins/org/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused devDependencies (13) + +| Name | Location | +|:------------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/types | 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 | +| @backstage/catalog-client | package.json | +| @testing-library/user-event | package.json | +| @backstage/plugin-permission-react | package.json | +| @backstage/plugin-permission-common | package.json | + diff --git a/plugins/pagerduty/knip-report.md b/plugins/pagerduty/knip-report.md new file mode 100644 index 0000000000..44e48cb6b2 --- /dev/null +++ b/plugins/pagerduty/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | + diff --git a/plugins/periskop-backend/knip-report.md b/plugins/periskop-backend/knip-report.md new file mode 100644 index 0000000000..8c164ce0a4 --- /dev/null +++ b/plugins/periskop-backend/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/periskop/knip-report.md b/plugins/periskop/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/periskop/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/permission-backend-module-policy-allow-all/knip-report.md b/plugins/permission-backend-module-policy-allow-all/knip-report.md new file mode 100644 index 0000000000..2a595acf79 --- /dev/null +++ b/plugins/permission-backend-module-policy-allow-all/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/permission-backend/knip-report.md b/plugins/permission-backend/knip-report.md new file mode 100644 index 0000000000..cd9ea197f2 --- /dev/null +++ b/plugins/permission-backend/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:-----------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/permission-common/knip-report.md b/plugins/permission-common/knip-report.md new file mode 100644 index 0000000000..23d85dc9a4 --- /dev/null +++ b/plugins/permission-common/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:---------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | + diff --git a/plugins/permission-node/knip-report.md b/plugins/permission-node/knip-report.md new file mode 100644 index 0000000000..e03ed5c8a2 --- /dev/null +++ b/plugins/permission-node/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/permission-react/knip-report.md b/plugins/permission-react/knip-report.md new file mode 100644 index 0000000000..bac77f66bc --- /dev/null +++ b/plugins/permission-react/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## 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 | + diff --git a/plugins/playlist-backend/knip-report.md b/plugins/playlist-backend/knip-report.md new file mode 100644 index 0000000000..02e48d9bc4 --- /dev/null +++ b/plugins/playlist-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:------------------|:-------------| +| yn | package.json | +| node-fetch | package.json | +| @backstage/config | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/playlist-common/knip-report.md b/plugins/playlist-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/playlist-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/playlist/knip-report.md b/plugins/playlist/knip-report.md new file mode 100644 index 0000000000..f7eb3835e9 --- /dev/null +++ b/plugins/playlist/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------------------------|:-------------| +| @backstage/plugin-permission-common | package.json | + +## Unused devDependencies (9) + +| Name | Location | +|:--------------------------|:-------------| +| swr | package.json | +| 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 | + diff --git a/plugins/proxy-backend/knip-report.md b/plugins/proxy-backend/knip-report.md new file mode 100644 index 0000000000..a62026b363 --- /dev/null +++ b/plugins/proxy-backend/knip-report.md @@ -0,0 +1,25 @@ +# Knip report + +## Unused dependencies (5) + +| Name | Location | +|:-------|:-------------| +| yn | package.json | +| yup | package.json | +| yaml | package.json | +| uuid | package.json | +| morgan | package.json | + +## Unused devDependencies (8) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @types/yup | package.json | +| @types/uuid | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/config-loader | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/puppetdb/knip-report.md b/plugins/puppetdb/knip-report.md new file mode 100644 index 0000000000..4aa4b7205e --- /dev/null +++ b/plugins/puppetdb/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused devDependencies (7) + +| Name | Location | +|:--------------------------|:-------------| +| msw | package.json | +| @backstage/cli | 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 | + diff --git a/plugins/rollbar-backend/knip-report.md b/plugins/rollbar-backend/knip-report.md new file mode 100644 index 0000000000..c9d04b52a7 --- /dev/null +++ b/plugins/rollbar-backend/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (5) + +| Name | Location | +|:------------|:-------------| +| yn | package.json | +| cors | package.json | +| morgan | package.json | +| fs-extra | package.json | +| compression | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/rollbar/knip-report.md b/plugins/rollbar/knip-report.md new file mode 100644 index 0000000000..95ee34d272 --- /dev/null +++ b/plugins/rollbar/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------|:-------------| +| lodash | 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 | + diff --git a/plugins/scaffolder-backend-module-azure/knip-report.md b/plugins/scaffolder-backend-module-azure/knip-report.md new file mode 100644 index 0000000000..e0fd9e375f --- /dev/null +++ b/plugins/scaffolder-backend-module-azure/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/backend-common | package.json | + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/scaffolder-backend-module-bitbucket/knip-report.md b/plugins/scaffolder-backend-module-bitbucket/knip-report.md new file mode 100644 index 0000000000..7f1069ffcc --- /dev/null +++ b/plugins/scaffolder-backend-module-bitbucket/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/backend-common | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md b/plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md new file mode 100644 index 0000000000..3a54a7981d --- /dev/null +++ b/plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-cookiecutter/knip-report.md b/plugins/scaffolder-backend-module-cookiecutter/knip-report.md new file mode 100644 index 0000000000..bbd720480b --- /dev/null +++ b/plugins/scaffolder-backend-module-cookiecutter/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:------------------|:-------------| +| yn | package.json | +| winston | package.json | +| @backstage/config | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-gerrit/knip-report.md b/plugins/scaffolder-backend-module-gerrit/knip-report.md new file mode 100644 index 0000000000..ae9842cd4e --- /dev/null +++ b/plugins/scaffolder-backend-module-gerrit/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-common | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-github/knip-report.md b/plugins/scaffolder-backend-module-github/knip-report.md new file mode 100644 index 0000000000..9a7a0d3a57 --- /dev/null +++ b/plugins/scaffolder-backend-module-github/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| fs-extra | package.json | +| jest-when | package.json | +| jsonschema | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + +## Unlisted dependencies (1) + +| Name | Location | +|:-------------------------------|:-----------------------| +| @octokit/core/dist-types/types | src/actions/helpers.ts | + diff --git a/plugins/scaffolder-backend-module-gitlab/knip-report.md b/plugins/scaffolder-backend-module-gitlab/knip-report.md new file mode 100644 index 0000000000..b127556ac5 --- /dev/null +++ b/plugins/scaffolder-backend-module-gitlab/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/core-app-api | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-rails/knip-report.md b/plugins/scaffolder-backend-module-rails/knip-report.md new file mode 100644 index 0000000000..b7d1f647ff --- /dev/null +++ b/plugins/scaffolder-backend-module-rails/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------|:-------------| +| @backstage/config | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| jest-when | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-sentry/knip-report.md b/plugins/scaffolder-backend-module-sentry/knip-report.md new file mode 100644 index 0000000000..8834481f6c --- /dev/null +++ b/plugins/scaffolder-backend-module-sentry/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-----|:-------------| +| yaml | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/types | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-yeoman/knip-report.md b/plugins/scaffolder-backend-module-yeoman/knip-report.md new file mode 100644 index 0000000000..c15e502911 --- /dev/null +++ b/plugins/scaffolder-backend-module-yeoman/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| winston | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-common | package.json | + diff --git a/plugins/scaffolder-backend/knip-report.md b/plugins/scaffolder-backend/knip-report.md new file mode 100644 index 0000000000..de66889150 --- /dev/null +++ b/plugins/scaffolder-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------|:-------------| +| p-limit | package.json | + +## Unused devDependencies (6) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| strip-ansi | package.json | +| @backstage/cli | package.json | +| wait-for-expect | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-common/knip-report.md b/plugins/scaffolder-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/scaffolder-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/scaffolder-node/knip-report.md b/plugins/scaffolder-node/knip-report.md new file mode 100644 index 0000000000..27a330fa40 --- /dev/null +++ b/plugins/scaffolder-node/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/config | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-react/knip-report.md b/plugins/scaffolder-react/knip-report.md new file mode 100644 index 0000000000..57eae672dc --- /dev/null +++ b/plugins/scaffolder-react/knip-report.md @@ -0,0 +1,27 @@ +# Knip report + +## Unused dependencies (6) + +| Name | Location | +|:--------------------------|:-------------| +| zod | package.json | +| immer | package.json | +| zen-observable | package.json | +| @backstage/theme | package.json | +| zod-to-json-schema | package.json | +| @backstage/catalog-client | package.json | + +## Unused devDependencies (9) + +| 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 | +| @testing-library/jest-dom | package.json | +| @backstage/plugin-catalog | package.json | +| @testing-library/user-event | package.json | +| @backstage/plugin-catalog-common | package.json | + diff --git a/plugins/scaffolder/knip-report.md b/plugins/scaffolder/knip-report.md new file mode 100644 index 0000000000..bf7175c19f --- /dev/null +++ b/plugins/scaffolder/knip-report.md @@ -0,0 +1,25 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:--------------------|:-------------| +| immer | package.json | +| git-url-parse | package.json | +| json-schema-library | package.json | + +## Unused devDependencies (10) + +| 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 | +| @testing-library/user-event | package.json | + diff --git a/plugins/search-backend-module-catalog/knip-report.md b/plugins/search-backend-module-catalog/knip-report.md new file mode 100644 index 0000000000..3a54a7981d --- /dev/null +++ b/plugins/search-backend-module-catalog/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/search-backend-module-elasticsearch/knip-report.md b/plugins/search-backend-module-elasticsearch/knip-report.md new file mode 100644 index 0000000000..80371af481 --- /dev/null +++ b/plugins/search-backend-module-elasticsearch/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/backend-common | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:----------------------------|:-------------| +| @backstage/cli | package.json | +| @short.io/opensearch-mock | package.json | +| @backstage/backend-common | package.json | +| @elastic/elasticsearch-mock | package.json | + diff --git a/plugins/search-backend-module-explore/knip-report.md b/plugins/search-backend-module-explore/knip-report.md new file mode 100644 index 0000000000..3a54a7981d --- /dev/null +++ b/plugins/search-backend-module-explore/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/search-backend-module-pg/knip-report.md b/plugins/search-backend-module-pg/knip-report.md new file mode 100644 index 0000000000..d85ea7be07 --- /dev/null +++ b/plugins/search-backend-module-pg/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------|:-------------| +| lodash | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/search-backend-module-stack-overflow-collator/knip-report.md b/plugins/search-backend-module-stack-overflow-collator/knip-report.md new file mode 100644 index 0000000000..3a54a7981d --- /dev/null +++ b/plugins/search-backend-module-stack-overflow-collator/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/search-backend-module-techdocs/knip-report.md b/plugins/search-backend-module-techdocs/knip-report.md new file mode 100644 index 0000000000..3a54a7981d --- /dev/null +++ b/plugins/search-backend-module-techdocs/knip-report.md @@ -0,0 +1,10 @@ +# Knip report + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/search-backend-node/knip-report.md b/plugins/search-backend-node/knip-report.md new file mode 100644 index 0000000000..1beec7d360 --- /dev/null +++ b/plugins/search-backend-node/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------|:-------------| +| lodash | package.json | + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/search-backend/knip-report.md b/plugins/search-backend/knip-report.md new file mode 100644 index 0000000000..21d04f2ad5 --- /dev/null +++ b/plugins/search-backend/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:----------------------------------|:-------------| +| yn | package.json | +| @backstage/plugin-permission-node | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/search-common/knip-report.md b/plugins/search-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/search-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/search-react/knip-report.md b/plugins/search-react/knip-report.md new file mode 100644 index 0000000000..fcc7b94e86 --- /dev/null +++ b/plugins/search-react/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-----------------|:-------------| +| @backstage/theme | package.json | + +## Unused devDependencies (9) + +| 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 | +| @testing-library/jest-dom | package.json | +| @testing-library/user-event | package.json | +| @backstage/frontend-app-api | package.json | +| @backstage/frontend-test-utils | package.json | + diff --git a/plugins/search/knip-report.md b/plugins/search/knip-report.md new file mode 100644 index 0000000000..290a23740b --- /dev/null +++ b/plugins/search/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused devDependencies (9) + +| Name | Location | +|:----------------------------|:-------------| +| history | 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 | + diff --git a/plugins/sentry/knip-report.md b/plugins/sentry/knip-report.md new file mode 100644 index 0000000000..89c276c630 --- /dev/null +++ b/plugins/sentry/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------|:-------------| +| @date-io/core | 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 | + diff --git a/plugins/shortcuts/knip-report.md b/plugins/shortcuts/knip-report.md new file mode 100644 index 0000000000..5484ac86b2 --- /dev/null +++ b/plugins/shortcuts/knip-report.md @@ -0,0 +1,13 @@ +# Knip report + +## 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 | + diff --git a/plugins/sonarqube-backend/knip-report.md b/plugins/sonarqube-backend/knip-report.md new file mode 100644 index 0000000000..dfdfabd895 --- /dev/null +++ b/plugins/sonarqube-backend/knip-report.md @@ -0,0 +1,18 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/sonarqube-react/knip-report.md b/plugins/sonarqube-react/knip-report.md new file mode 100644 index 0000000000..588d89283b --- /dev/null +++ b/plugins/sonarqube-react/knip-report.md @@ -0,0 +1,9 @@ +# Knip report + +## Unused devDependencies (2) + +| Name | Location | +|:---------------|:-------------| +| @types/react | package.json | +| @backstage/cli | package.json | + diff --git a/plugins/sonarqube/knip-report.md b/plugins/sonarqube/knip-report.md new file mode 100644 index 0000000000..3f33f551fb --- /dev/null +++ b/plugins/sonarqube/knip-report.md @@ -0,0 +1,21 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------------------------|:-------------| +| @backstage/catalog-model | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/splunk-on-call/knip-report.md b/plugins/splunk-on-call/knip-report.md new file mode 100644 index 0000000000..44e48cb6b2 --- /dev/null +++ b/plugins/splunk-on-call/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | + diff --git a/plugins/stack-overflow-backend/knip-report.md b/plugins/stack-overflow-backend/knip-report.md new file mode 100644 index 0000000000..42a04f1be0 --- /dev/null +++ b/plugins/stack-overflow-backend/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:-----------|:-------------| +| qs | package.json | +| winston | package.json | +| node-fetch | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/stack-overflow/knip-report.md b/plugins/stack-overflow/knip-report.md new file mode 100644 index 0000000000..e70def7c45 --- /dev/null +++ b/plugins/stack-overflow/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @testing-library/jest-dom | package.json | + +## Unused devDependencies (6) + +| Name | Location | +|:----------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @testing-library/user-event | package.json | + diff --git a/plugins/stackstorm/knip-report.md b/plugins/stackstorm/knip-report.md new file mode 100644 index 0000000000..08495d977c --- /dev/null +++ b/plugins/stackstorm/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/tech-insights-backend-module-jsonfc/knip-report.md b/plugins/tech-insights-backend-module-jsonfc/knip-report.md new file mode 100644 index 0000000000..d250ee017c --- /dev/null +++ b/plugins/tech-insights-backend-module-jsonfc/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| luxon | package.json | +| @backstage/backend-common | package.json | + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/tech-insights-backend/knip-report.md b/plugins/tech-insights-backend/knip-report.md new file mode 100644 index 0000000000..35f2e6fc89 --- /dev/null +++ b/plugins/tech-insights-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-----|:-------------| +| yn | package.json | +| uuid | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| wait-for-expect | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/tech-insights-common/knip-report.md b/plugins/tech-insights-common/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/tech-insights-common/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/tech-insights-node/knip-report.md b/plugins/tech-insights-node/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/tech-insights-node/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/tech-insights/knip-report.md b/plugins/tech-insights/knip-report.md new file mode 100644 index 0000000000..4346521955 --- /dev/null +++ b/plugins/tech-insights/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| 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 | + diff --git a/plugins/tech-radar/knip-report.md b/plugins/tech-radar/knip-report.md new file mode 100644 index 0000000000..7854337bc3 --- /dev/null +++ b/plugins/tech-radar/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## Unused devDependencies (8) + +| 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 | +| @testing-library/user-event | package.json | +| @backstage/frontend-test-utils | package.json | + diff --git a/plugins/techdocs-addons-test-utils/knip-report.md b/plugins/techdocs-addons-test-utils/knip-report.md new file mode 100644 index 0000000000..6772f6c64a --- /dev/null +++ b/plugins/techdocs-addons-test-utils/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/plugin-catalog | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/techdocs-backend/knip-report.md b/plugins/techdocs-backend/knip-report.md new file mode 100644 index 0000000000..771313f9d2 --- /dev/null +++ b/plugins/techdocs-backend/knip-report.md @@ -0,0 +1,11 @@ +# Knip report + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/techdocs-module-addons-contrib/knip-report.md b/plugins/techdocs-module-addons-contrib/knip-report.md new file mode 100644 index 0000000000..05a106a71a --- /dev/null +++ b/plugins/techdocs-module-addons-contrib/knip-report.md @@ -0,0 +1,13 @@ +# Knip report + +## Unused devDependencies (6) + +| 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 | +| @backstage/plugin-techdocs-addons-test-utils | package.json | + diff --git a/plugins/techdocs-node/knip-report.md b/plugins/techdocs-node/knip-report.md new file mode 100644 index 0000000000..5057ef304a --- /dev/null +++ b/plugins/techdocs-node/knip-report.md @@ -0,0 +1,12 @@ +# Knip report + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| aws-sdk-client-mock | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/techdocs-react/knip-report.md b/plugins/techdocs-react/knip-report.md new file mode 100644 index 0000000000..95c382cd51 --- /dev/null +++ b/plugins/techdocs-react/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:------------------|:-------------| +| react-helmet | package.json | +| @material-ui/core | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/theme | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/techdocs/knip-report.md b/plugins/techdocs/knip-report.md new file mode 100644 index 0000000000..f78d6cfa0d --- /dev/null +++ b/plugins/techdocs/knip-report.md @@ -0,0 +1,24 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-----------------|:-------------| +| jss | package.json | +| @backstage/theme | package.json | + +## Unused devDependencies (10) + +| 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 | +| @backstage/plugin-techdocs-module-addons-contrib | package.json | + diff --git a/plugins/todo-backend/knip-report.md b/plugins/todo-backend/knip-report.md new file mode 100644 index 0000000000..8c164ce0a4 --- /dev/null +++ b/plugins/todo-backend/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/todo/knip-report.md b/plugins/todo/knip-report.md new file mode 100644 index 0000000000..a1b2118648 --- /dev/null +++ b/plugins/todo/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------------------|:-------------| +| @material-ui/icons | 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 | + diff --git a/plugins/user-settings-backend/knip-report.md b/plugins/user-settings-backend/knip-report.md new file mode 100644 index 0000000000..57512bd519 --- /dev/null +++ b/plugins/user-settings-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:------------------|:-------------| +| yn | package.json | +| winston | package.json | +| @backstage/config | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:------------------------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/user-settings/knip-report.md b/plugins/user-settings/knip-report.md new file mode 100644 index 0000000000..7d8fa19337 --- /dev/null +++ b/plugins/user-settings/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-----------------|:-------------| +| @backstage/theme | package.json | + +## Unused devDependencies (9) + +| 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 | +| @backstage/plugin-catalog | package.json | +| @testing-library/user-event | package.json | + diff --git a/plugins/vault-backend/knip-report.md b/plugins/vault-backend/knip-report.md new file mode 100644 index 0000000000..6db72eb479 --- /dev/null +++ b/plugins/vault-backend/knip-report.md @@ -0,0 +1,22 @@ +# Knip report + +## Unused dependencies (4) + +| Name | Location | +|:------------|:-------------| +| yn | package.json | +| cors | package.json | +| helmet | package.json | +| compression | package.json | + +## Unused devDependencies (6) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @types/compression | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/vault-node/knip-report.md b/plugins/vault-node/knip-report.md new file mode 100644 index 0000000000..24c942926b --- /dev/null +++ b/plugins/vault-node/knip-report.md @@ -0,0 +1,8 @@ +# Knip report + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/vault/knip-report.md b/plugins/vault/knip-report.md new file mode 100644 index 0000000000..08495d977c --- /dev/null +++ b/plugins/vault/knip-report.md @@ -0,0 +1,15 @@ +# Knip report + +## 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | + diff --git a/plugins/xcmetrics/knip-report.md b/plugins/xcmetrics/knip-report.md new file mode 100644 index 0000000000..b0aec89510 --- /dev/null +++ b/plugins/xcmetrics/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## 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 | +| @testing-library/jest-dom | package.json | +| @testing-library/user-event | package.json | + diff --git a/scripts/check-docs-quality.js b/scripts/check-docs-quality.js index 7960ff72bb..b0c5790467 100755 --- a/scripts/check-docs-quality.js +++ b/scripts/check-docs-quality.js @@ -26,6 +26,7 @@ const IGNORED = [ /^OWNERS\.md$/, /^.*[/\\]CHANGELOG\.md$/, /^.*[/\\]([^\/]+-)?api-report\.md$/, + /^.*[/\\]knip-report\.md$/, /^docs[/\\]releases[/\\].*-changelog\.md$/, /^docs[/\\]reference[/\\]/, ]; @@ -65,7 +66,7 @@ async function exitIfMissingVale() { } catch (e) { if (process.env.CI) { console.log( - `Language linter (vale) was not found. Please install vale linter (https://docs.errata.ai/vale/install).\n`, + `Language linter (vale) was not found. Please install vale linter (https://vale.sh/docs/vale-cli/installation/).\n`, ); process.exit(1); } diff --git a/yarn.lock b/yarn.lock index 4711891d38..2c7aa0ecdf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10788,6 +10788,33 @@ __metadata: languageName: node linkType: hard +"@ericcornelissen/bash-parser@npm:0.5.2": + version: 0.5.2 + resolution: "@ericcornelissen/bash-parser@npm:0.5.2" + dependencies: + array-last: ^1.1.1 + babylon: ^6.9.1 + compose-function: ^3.0.3 + deep-freeze: 0.0.1 + filter-iterator: 0.0.1 + filter-obj: ^1.1.0 + has-own-property: ^0.1.0 + identity-function: ^1.0.0 + is-iterable: ^1.1.0 + iterable-lookahead: ^1.0.0 + lodash.curry: ^4.1.1 + magic-string: ^0.16.0 + map-obj: ^2.0.0 + object-pairs: ^0.1.0 + object-values: ^1.0.0 + reverse-arguments: ^1.0.0 + shell-quote-word: ^1.0.1 + to-pascal-case: ^1.0.0 + unescape-js: ^1.0.5 + checksum: ed6feb775a45e529e36b8ab01cfe2ba39446d8403f30022d4c00f009a45ae47e9c2fd43d5607b7120366c29c42aaf4c5b0bc202066e71d543f3cde235240a87b + languageName: node + linkType: hard + "@esbuild/aix-ppc64@npm:0.19.12": version: 0.19.12 resolution: "@esbuild/aix-ppc64@npm:0.19.12" @@ -13759,6 +13786,22 @@ __metadata: languageName: node linkType: hard +"@npmcli/git@npm:^5.0.0": + version: 5.0.4 + resolution: "@npmcli/git@npm:5.0.4" + dependencies: + "@npmcli/promise-spawn": ^7.0.0 + lru-cache: ^10.0.1 + npm-pick-manifest: ^9.0.0 + proc-log: ^3.0.0 + promise-inflight: ^1.0.1 + promise-retry: ^2.0.1 + semver: ^7.3.5 + which: ^4.0.0 + checksum: 3c4adb7294eb7562cb0d908f36e1967ae6bde438192affd7f103cdeebbd9b2d83cd6b41b7db2278c9acd934c4af138baa094544e8e8a530b515c4084438d0170 + languageName: node + linkType: hard + "@npmcli/installed-package-contents@npm:^1.0.6, @npmcli/installed-package-contents@npm:^1.0.7": version: 1.0.7 resolution: "@npmcli/installed-package-contents@npm:1.0.7" @@ -13771,6 +13814,18 @@ __metadata: languageName: node linkType: hard +"@npmcli/map-workspaces@npm:3.0.4": + version: 3.0.4 + resolution: "@npmcli/map-workspaces@npm:3.0.4" + dependencies: + "@npmcli/name-from-folder": ^2.0.0 + glob: ^10.2.2 + minimatch: ^9.0.0 + read-package-json-fast: ^3.0.0 + checksum: 99607dbc502b16d0ce7a47a81ccc496b3f5ed10df4e61e61a505929de12c356092996044174ae0cfd6d8cc177ef3b597eef4987b674fc0c5a306d3a8cc1fe91a + languageName: node + linkType: hard + "@npmcli/map-workspaces@npm:^2.0.0": version: 2.0.0 resolution: "@npmcli/map-workspaces@npm:2.0.0" @@ -13822,6 +13877,13 @@ __metadata: languageName: node linkType: hard +"@npmcli/name-from-folder@npm:^2.0.0": + version: 2.0.0 + resolution: "@npmcli/name-from-folder@npm:2.0.0" + checksum: fb3ef891aa57315fb6171866847f298577c8bda98a028e93e458048477133e142b4eb45ce9f3b80454f7c257612cb01754ee782d608507698dd712164436f5bd + languageName: node + linkType: hard + "@npmcli/node-gyp@npm:^1.0.2, @npmcli/node-gyp@npm:^1.0.3": version: 1.0.3 resolution: "@npmcli/node-gyp@npm:1.0.3" @@ -13829,6 +13891,21 @@ __metadata: languageName: node linkType: hard +"@npmcli/package-json@npm:5.0.0": + version: 5.0.0 + resolution: "@npmcli/package-json@npm:5.0.0" + dependencies: + "@npmcli/git": ^5.0.0 + glob: ^10.2.2 + hosted-git-info: ^7.0.0 + json-parse-even-better-errors: ^3.0.0 + normalize-package-data: ^6.0.0 + proc-log: ^3.0.0 + semver: ^7.5.3 + checksum: 0d128e84e05e8a1771c8cc1f4232053fecf32e28f44e123ad16366ca3a7fd06f272f25f0b7d058f2763cab26bc479c8fc3c570af5de6324b05cb39868dcc6264 + languageName: node + linkType: hard + "@npmcli/package-json@npm:^1.0.1": version: 1.0.1 resolution: "@npmcli/package-json@npm:1.0.1" @@ -13847,6 +13924,15 @@ __metadata: languageName: node linkType: hard +"@npmcli/promise-spawn@npm:^7.0.0": + version: 7.0.1 + resolution: "@npmcli/promise-spawn@npm:7.0.1" + dependencies: + which: ^4.0.0 + checksum: a2b25d66d4dc835c69593bdf56588d66299fde3e80be4978347e686f24647007b794ce4da4cfcfcc569c67112720b746c4e7bf18ce45c096712d8b75fed19ec7 + languageName: node + linkType: hard + "@npmcli/run-script@npm:^2.0.0": version: 2.0.0 resolution: "@npmcli/run-script@npm:2.0.0" @@ -14704,7 +14790,7 @@ __metadata: languageName: node linkType: hard -"@pkgjs/parseargs@npm:^0.11.0": +"@pkgjs/parseargs@npm:0.11.0, @pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f @@ -14761,6 +14847,141 @@ __metadata: languageName: node linkType: hard +"@pnpm/constants@npm:7.1.1": + version: 7.1.1 + resolution: "@pnpm/constants@npm:7.1.1" + checksum: a8b6a8c633ba2099ee844a3dd7934352a2135872e86f8fe497d599837b8be7eac374839598b70030e63cb3a32f945e881d6c0e1542f0be2b74ec52d78f891649 + languageName: node + linkType: hard + +"@pnpm/core-loggers@npm:9.0.6": + version: 9.0.6 + resolution: "@pnpm/core-loggers@npm:9.0.6" + dependencies: + "@pnpm/types": 9.4.2 + peerDependencies: + "@pnpm/logger": ^5.0.0 + checksum: ab0656839c873f5954109d540ca2a7b144626036c7f78ef4a7717e755449f9c7acda3a425b83ebc1349ad5ce295f2b6e9b133be14294b11c5df6a0f8b4feaea1 + languageName: node + linkType: hard + +"@pnpm/error@npm:5.0.2": + version: 5.0.2 + resolution: "@pnpm/error@npm:5.0.2" + dependencies: + "@pnpm/constants": 7.1.1 + checksum: 490e90b3a6fa6527a5a2b07dfd46982e005d8834036871a30cf03fcb389497b9828ed01c0d39e88b6352a340556de316eae9dbefcb3246f368815a03241576e6 + languageName: node + linkType: hard + +"@pnpm/fetching-types@npm:5.0.0": + version: 5.0.0 + resolution: "@pnpm/fetching-types@npm:5.0.0" + dependencies: + "@zkochan/retry": ^0.2.0 + node-fetch: 3.0.0-beta.9 + checksum: 845c1597be6246f484477c3badce5573a1ab35c741f59e297813faf195d07e4c03ca871beb10d614a987a4dff78bd72265c0bd56c40cbf941e416b1f3ea6231c + languageName: node + linkType: hard + +"@pnpm/graceful-fs@npm:3.2.0": + version: 3.2.0 + resolution: "@pnpm/graceful-fs@npm:3.2.0" + dependencies: + graceful-fs: ^4.2.11 + checksum: b31bad77530101d27044d2d712ecf09684398cc72311fbb079675f393219fff002a9ab8e3ea91014e79f1586a861a100ac9b4881d72156383aca6e85cf9855be + languageName: node + linkType: hard + +"@pnpm/logger@npm:5.0.0": + version: 5.0.0 + resolution: "@pnpm/logger@npm:5.0.0" + dependencies: + bole: ^5.0.0 + ndjson: ^2.0.0 + checksum: 6ea91cb3a539351371147b6f051489a01630538327bb3773105e91b9b35ec689b6fc1d112d484726deffe6953b738318e1a86205362baf9fb49fad27084b8f74 + languageName: node + linkType: hard + +"@pnpm/npm-package-arg@npm:^1.0.0": + version: 1.0.0 + resolution: "@pnpm/npm-package-arg@npm:1.0.0" + dependencies: + hosted-git-info: ^4.0.1 + semver: ^7.3.5 + validate-npm-package-name: ^4.0.0 + checksum: e3dbcb605b6c86e0d29854aab00af086fd922211c9c2ed4f4923a70947c10d563b5e9adc8441d7ec0a23d074edb9cd1f0c334b506c4ecc549b07b60700f3639a + languageName: node + linkType: hard + +"@pnpm/npm-resolver@npm:18.0.2": + version: 18.0.2 + resolution: "@pnpm/npm-resolver@npm:18.0.2" + dependencies: + "@pnpm/core-loggers": 9.0.6 + "@pnpm/error": 5.0.2 + "@pnpm/fetching-types": 5.0.0 + "@pnpm/graceful-fs": 3.2.0 + "@pnpm/resolve-workspace-range": 5.0.1 + "@pnpm/resolver-base": 11.0.2 + "@pnpm/types": 9.4.2 + "@zkochan/retry": ^0.2.0 + encode-registry: ^3.0.1 + load-json-file: ^6.2.0 + lru-cache: ^10.0.2 + normalize-path: ^3.0.0 + p-limit: ^3.1.0 + p-memoize: 4.0.1 + parse-npm-tarball-url: ^3.0.0 + path-temp: ^2.1.0 + ramda: "npm:@pnpm/ramda@0.28.1" + rename-overwrite: ^5.0.0 + semver: ^7.5.4 + ssri: 10.0.5 + version-selector-type: ^3.0.0 + peerDependencies: + "@pnpm/logger": ^5.0.0 + checksum: 49f07d4939cb8589f4133e0d47fb525d6d04dbe2dfa28057ca8a8f143b4676fb339a96299852119c28c46cabf68b5f66be5385dbcba59a1bddeab65d7a5d189e + languageName: node + linkType: hard + +"@pnpm/resolve-workspace-range@npm:5.0.1": + version: 5.0.1 + resolution: "@pnpm/resolve-workspace-range@npm:5.0.1" + dependencies: + semver: ^7.4.0 + checksum: 4c6a853b1f6d8030e5458d1d88891932e209ed35daa3032919802e6005a4beca5fa31ffd2769be1353a9f0367971afebd51493ab187ac675a73a35640a82aaa1 + languageName: node + linkType: hard + +"@pnpm/resolver-base@npm:11.0.2": + version: 11.0.2 + resolution: "@pnpm/resolver-base@npm:11.0.2" + dependencies: + "@pnpm/types": 9.4.2 + checksum: 346abcdfcae881601f374b8323bf17bcc6f35282e28e073eff8e2f3c388c4ff897da6a2c615bc5165383bb825fe24985e8b987ae8221ca876a2f24aaf9b40656 + languageName: node + linkType: hard + +"@pnpm/types@npm:9.4.2": + version: 9.4.2 + resolution: "@pnpm/types@npm:9.4.2" + checksum: a499e5442c53c38820730e626eb75b67305c838d486e2544527a1dd7bc2666ac75e91db8bc8b6ee7776927593297339468e212d239f27b0d0520ee972ab8b0b9 + languageName: node + linkType: hard + +"@pnpm/workspace.pkgs-graph@npm:^2.0.13": + version: 2.0.13 + resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.13" + dependencies: + "@pnpm/npm-package-arg": ^1.0.0 + "@pnpm/npm-resolver": 18.0.2 + "@pnpm/resolve-workspace-range": 5.0.1 + ramda: "npm:@pnpm/ramda@0.28.1" + checksum: 3a39f39b5c86a2a273106a68d0060ca09e2dfd8ac646d11ac0471d4848f6db23b9d8719cbf9e36285ef13ad78527b41824b2e04fdbf533ce275bfe081012dfb8 + languageName: node + linkType: hard + "@popperjs/core@npm:^2.11.8": version: 2.11.8 resolution: "@popperjs/core@npm:2.11.8" @@ -15929,6 +16150,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/merge-streams@npm:^1.0.0": + version: 1.0.0 + resolution: "@sindresorhus/merge-streams@npm:1.0.0" + checksum: 453c2a28164113a5ec4fd23ba636e291a4112f6ee9e91cd5476b9a96e0fc9ee5ff40d405fe81bbf284c9773b7ed718a3a0f31df7895a0efd413b1f9775d154fe + languageName: node + linkType: hard + "@sinonjs/commons@npm:^2.0.0": version: 2.0.0 resolution: "@sinonjs/commons@npm:2.0.0" @@ -16547,6 +16775,19 @@ __metadata: languageName: node linkType: hard +"@snyk/github-codeowners@npm:1.1.0": + version: 1.1.0 + resolution: "@snyk/github-codeowners@npm:1.1.0" + dependencies: + commander: ^4.1.1 + ignore: ^5.1.8 + p-map: ^4.0.0 + bin: + github-codeowners: dist/cli.js + checksum: 133f867fa968f96229ebce724d8aedaa124218e20add96a3a7d39ea45e52007fee50cc90c39e406c9e662483d003da9326e00dc4d612afa5c2ca069d1cdab9d7 + languageName: node + linkType: hard + "@spotify/eslint-config-base@npm:^14.0.0": version: 14.0.1 resolution: "@spotify/eslint-config-base@npm:14.0.1" @@ -20557,6 +20798,22 @@ __metadata: languageName: node linkType: hard +"@zkochan/retry@npm:^0.2.0": + version: 0.2.0 + resolution: "@zkochan/retry@npm:0.2.0" + checksum: 268e77e4f2254e608fdb79396ab6947e7c302ebe3df90696ad6cda4f09417845ca13ad4e6bfe813fab1839f1e66b14294ceb5591fb4dacd0999927aa6fe55826 + languageName: node + linkType: hard + +"@zkochan/rimraf@npm:^2.1.2": + version: 2.1.3 + resolution: "@zkochan/rimraf@npm:2.1.3" + dependencies: + rimraf: ^3.0.2 + checksum: 81cf488065b3b3fcb49980d35dc49a59f8961887c7ed589250ea233f7b91a30c3b9d3ec0b7700829062e7c514c5f07afdcf5f811a4f1a06227daa69c0638f32a + languageName: node + linkType: hard + "@zxing/text-encoding@npm:0.9.0": version: 0.9.0 resolution: "@zxing/text-encoding@npm:0.9.0" @@ -21154,6 +21411,13 @@ __metadata: languageName: node linkType: hard +"arity-n@npm:^1.0.4": + version: 1.0.4 + resolution: "arity-n@npm:1.0.4" + checksum: 3d76e16907f7b8a9452690c1efc301d0fbecea457365797eccfbade9b8d1653175b2c38343201bf26fdcbf0bcbb31eab6d912e7c008c6d19042301dc0be80a73 + languageName: node + linkType: hard + "array-buffer-byte-length@npm:^1.0.0": version: 1.0.0 resolution: "array-buffer-byte-length@npm:1.0.0" @@ -21198,6 +21462,15 @@ __metadata: languageName: node linkType: hard +"array-last@npm:^1.1.1": + version: 1.3.0 + resolution: "array-last@npm:1.3.0" + dependencies: + is-number: ^4.0.0 + checksum: 7631c7df9b44ea26f49e2f6eeb7a7d4d95b3798586b917e1efae4a321b6362e449e00b011e88eb0260959fbfc940fbdfce1d2a35765ea080de6d71e3fc3cf1dd + languageName: node + linkType: hard + "array-union@npm:^2.1.0": version: 2.1.0 resolution: "array-union@npm:2.1.0" @@ -21816,6 +22089,15 @@ __metadata: languageName: node linkType: hard +"babylon@npm:^6.9.1": + version: 6.18.0 + resolution: "babylon@npm:6.18.0" + bin: + babylon: ./bin/babylon.js + checksum: 0777ae0c735ce1cbfc856d627589ed9aae212b84fb0c03c368b55e6c5d3507841780052808d0ad46e18a2ba516e93d55eeed8cd967f3b2938822dfeccfb2a16d + languageName: node + linkType: hard + "backo2@npm:^1.0.2": version: 1.0.2 resolution: "backo2@npm:1.0.2" @@ -22125,6 +22407,16 @@ __metadata: languageName: node linkType: hard +"bole@npm:^5.0.0": + version: 5.0.10 + resolution: "bole@npm:5.0.10" + dependencies: + fast-safe-stringify: ^2.0.7 + individual: ^3.0.0 + checksum: 029aa4cbef6ddf01e24e585f3d0836ad696f0062d62db11bc0d486c9b2337691e5e60911b704a768e3ad76f5df231789c00c52ea92d61b3a61717b32363feff8 + languageName: node + linkType: hard + "bonjour-service@npm:^1.0.11": version: 1.0.11 resolution: "bonjour-service@npm:1.0.11" @@ -22462,6 +22754,15 @@ __metadata: languageName: node linkType: hard +"builtins@npm:^5.0.0": + version: 5.0.1 + resolution: "builtins@npm:5.0.1" + dependencies: + semver: ^7.0.0 + checksum: 66d204657fe36522822a95b288943ad11b58f5eaede235b11d8c4edaa28ce4800087d44a2681524c340494aadb120a0068011acabe99d30e8f11a7d826d83515 + languageName: node + linkType: hard + "busboy@npm:^1.0.0, busboy@npm:^1.6.0": version: 1.6.0 resolution: "busboy@npm:1.6.0" @@ -23459,7 +23760,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^4.0.0": +"commander@npm:^4.0.0, commander@npm:^4.1.1": version: 4.1.1 resolution: "commander@npm:4.1.1" checksum: d7b9913ff92cae20cb577a4ac6fcc121bd6223319e54a40f51a14740a681ad5c574fd29a57da478a5f234a6fa6c52cbf0b7c641353e03c648b1ae85ba670b977 @@ -23550,6 +23851,15 @@ __metadata: languageName: node linkType: hard +"compose-function@npm:^3.0.3": + version: 3.0.3 + resolution: "compose-function@npm:3.0.3" + dependencies: + arity-n: ^1.0.4 + checksum: 9f17d431e3ee4797c844f2870e13494079882ac3dbc54c143b7d99967b371908e0ce7ceb71c6aed61e2ecddbcd7bb437d91428a3d0e6569aee17a87fcbc7918f + languageName: node + linkType: hard + "compress-commons@npm:^4.1.0": version: 4.1.0 resolution: "compress-commons@npm:4.1.0" @@ -24779,6 +25089,13 @@ __metadata: languageName: node linkType: hard +"data-uri-to-buffer@npm:^3.0.1": + version: 3.0.1 + resolution: "data-uri-to-buffer@npm:3.0.1" + checksum: c59c3009686a78c071806b72f4810856ec28222f0f4e252aa495ec027ed9732298ceea99c50328cf59b151dd34cbc3ad6150bbb43e41fc56fa19f48c99e9fc30 + languageName: node + linkType: hard + "data-uri-to-buffer@npm:^6.0.0": version: 6.0.1 resolution: "data-uri-to-buffer@npm:6.0.1" @@ -25016,6 +25333,13 @@ __metadata: languageName: node linkType: hard +"deep-freeze@npm:0.0.1": + version: 0.0.1 + resolution: "deep-freeze@npm:0.0.1" + checksum: 1e43c98e44c7849382d9f896e679d48a1b5bf40993f7cc858e3730ef4e2ba387b9b7b7fe722cac34febe7f6a564cd242c27bbc319e8df793c2a287f21e5ba038 + languageName: node + linkType: hard + "deep-is@npm:^0.1.3, deep-is@npm:~0.1.3": version: 0.1.3 resolution: "deep-is@npm:0.1.3" @@ -25713,6 +26037,19 @@ __metadata: languageName: node linkType: hard +"easy-table@npm:1.2.0": + version: 1.2.0 + resolution: "easy-table@npm:1.2.0" + dependencies: + ansi-regex: ^5.0.1 + wcwidth: ^1.0.1 + dependenciesMeta: + wcwidth: + optional: true + checksum: 66961b19751a68d2d30ce9b74ef750c374cc3112bbcac3d1ed5a939e43c035ecf6b1954098df2d5b05f1e853ab2b67de893794390dcbf0abe1f157fddeb52174 + languageName: node + linkType: hard + "ebnf@npm:^1.9.1": version: 1.9.1 resolution: "ebnf@npm:1.9.1" @@ -25839,6 +26176,15 @@ __metadata: languageName: node linkType: hard +"encode-registry@npm:^3.0.1": + version: 3.0.1 + resolution: "encode-registry@npm:3.0.1" + dependencies: + mem: ^8.0.0 + checksum: 4e7cb234704782ef3e9e0c1941cb90de9b2421da8b87a21c968609e59b931c0316b15ea0e9b5280338a831dcb8e91362f8a54f712b10c70e28598f2dfb97da4a + languageName: node + linkType: hard + "encodeurl@npm:~1.0.2": version: 1.0.2 resolution: "encodeurl@npm:1.0.2" @@ -27721,7 +28067,7 @@ __metadata: languageName: node linkType: hard -"fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": +"fast-glob@npm:3.3.2, fast-glob@npm:^3.2.11, fast-glob@npm:^3.2.12, fast-glob@npm:^3.2.9, fast-glob@npm:^3.3.2": version: 3.3.2 resolution: "fast-glob@npm:3.3.2" dependencies: @@ -27949,6 +28295,16 @@ __metadata: languageName: node linkType: hard +"fetch-blob@npm:^2.1.1": + version: 2.1.2 + resolution: "fetch-blob@npm:2.1.2" + peerDependenciesMeta: + domexception: + optional: true + checksum: 22d4487ce78ea4e52b432b0057d8d42922d5d93c0374b0bc2692cebdcb11bf8fac4f6d141b31f1633db1e9212effd38385adbd765a2c7412a621307058499214 + languageName: node + linkType: hard + "fflate@npm:^0.4.4": version: 0.4.8 resolution: "fflate@npm:0.4.8" @@ -28031,6 +28387,13 @@ __metadata: languageName: node linkType: hard +"filter-iterator@npm:0.0.1": + version: 0.0.1 + resolution: "filter-iterator@npm:0.0.1" + checksum: 1dd34e0728183b3cc69d45c57ec58cbdd21c5160d53e70592e2db049ed4da81ba551b7bfaccb11731011ce5b07ee09961b09fa4573fe906145ce63d9a1813db0 + languageName: node + linkType: hard + "filter-obj@npm:^1.1.0": version: 1.1.0 resolution: "filter-obj@npm:1.1.0" @@ -29052,6 +29415,20 @@ __metadata: languageName: node linkType: hard +"globby@npm:^14.0.0": + version: 14.0.0 + resolution: "globby@npm:14.0.0" + dependencies: + "@sindresorhus/merge-streams": ^1.0.0 + fast-glob: ^3.3.2 + ignore: ^5.2.4 + path-type: ^5.0.0 + slash: ^5.1.0 + unicorn-magic: ^0.1.0 + checksum: f331b42993e420c8f2b61a6ca062276977ea6d95f181640ff018f00200f4fe5b50f1fae7540903483e6570ca626fe16234ab88e848d43381a2529220548a9d39 + languageName: node + linkType: hard + "good-listener@npm:^1.2.2": version: 1.2.2 resolution: "good-listener@npm:1.2.2" @@ -29183,6 +29560,13 @@ __metadata: languageName: node linkType: hard +"graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.2.11": + version: 4.2.11 + resolution: "graceful-fs@npm:4.2.11" + checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 + languageName: node + linkType: hard + "grapheme-splitter@npm:^1.0.4": version: 1.0.4 resolution: "grapheme-splitter@npm:1.0.4" @@ -29490,6 +29874,13 @@ __metadata: languageName: node linkType: hard +"has-own-property@npm:^0.1.0": + version: 0.1.0 + resolution: "has-own-property@npm:0.1.0" + checksum: 4754f42e8a54860ea1a397c231843937ba890f3aa556698c9a2160df5f9b1a02ddb321ef0528294aec3aaa3139d17744da048027aa7129a631cb6554b6faed6f + languageName: node + linkType: hard + "has-property-descriptors@npm:^1.0.0": version: 1.0.0 resolution: "has-property-descriptors@npm:1.0.0" @@ -29718,6 +30109,15 @@ __metadata: languageName: node linkType: hard +"hosted-git-info@npm:^7.0.0": + version: 7.0.1 + resolution: "hosted-git-info@npm:7.0.1" + dependencies: + lru-cache: ^10.0.1 + checksum: be5280f0a20d6153b47e1ab578e09f5ae8ad734301b3ed7e547dc88a6814d7347a4888db1b4f9635cc738e3c0ef1fbff02272aba7d07c75d4c5a50ff8d618db6 + languageName: node + linkType: hard + "hpack.js@npm:^2.1.6": version: 2.1.6 resolution: "hpack.js@npm:2.1.6" @@ -30117,6 +30517,13 @@ __metadata: languageName: node linkType: hard +"identity-function@npm:^1.0.0": + version: 1.0.0 + resolution: "identity-function@npm:1.0.0" + checksum: 0ec311050c69679334b12479f53226f67ca41bc3ba7283ede3dacfb80802ec07643868d16b274ab823ceb2e81291697f01b07e32c7796f92255bd81452b7ea15 + languageName: node + linkType: hard + "identity-obj-proxy@npm:3.0.0": version: 3.0.0 resolution: "identity-obj-proxy@npm:3.0.0" @@ -30165,6 +30572,13 @@ __metadata: languageName: node linkType: hard +"ignore@npm:^5.1.8": + version: 5.3.0 + resolution: "ignore@npm:5.3.0" + checksum: 2736da6621f14ced652785cb05d86301a66d70248597537176612bd0c8630893564bd5f6421f8806b09e8472e75c591ef01672ab8059c07c6eb2c09cefe04bf9 + languageName: node + linkType: hard + "immediate@npm:~3.0.5": version: 3.0.6 resolution: "immediate@npm:3.0.6" @@ -30277,6 +30691,13 @@ __metadata: languageName: node linkType: hard +"individual@npm:^3.0.0": + version: 3.0.0 + resolution: "individual@npm:3.0.0" + checksum: 49f69cff2791f09d1364b39723cc03d8d48ae425b15b23c8f618ac81f8d76160dae9c2abde5fb885a6bfbce939017ba2a5c84cf3d8051d0804fca0ee79138aa2 + languageName: node + linkType: hard + "infer-owner@npm:^1.0.4": version: 1.0.4 resolution: "infer-owner@npm:1.0.4" @@ -30628,7 +31049,7 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.1.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.9.0": +"is-core-module@npm:^2.1.0, is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.8.1, is-core-module@npm:^2.9.0": version: 2.13.1 resolution: "is-core-module@npm:2.13.1" dependencies: @@ -30781,6 +31202,13 @@ __metadata: languageName: node linkType: hard +"is-iterable@npm:^1.1.0": + version: 1.1.1 + resolution: "is-iterable@npm:1.1.1" + checksum: d059aaf00899cf351cdf4d71ea6b4e8912107c47b31b554d28205199b306420f3b5d30a419efa6b807f466f675fd945822f1651fd6d1fd45469a578573da671e + languageName: node + linkType: hard + "is-lambda@npm:^1.0.1": version: 1.0.1 resolution: "is-lambda@npm:1.0.1" @@ -30842,6 +31270,13 @@ __metadata: languageName: node linkType: hard +"is-number@npm:^4.0.0": + version: 4.0.0 + resolution: "is-number@npm:4.0.0" + checksum: e71962a5ae97400211e6be5946eff2b81d3fa85154dad498bfe2704999e63ac6b3f8591fdb7971a121122cc6e25915c2cfe882ff7b77e243d51b92ca6961267e + languageName: node + linkType: hard + "is-number@npm:^7.0.0": version: 7.0.0 resolution: "is-number@npm:7.0.0" @@ -31371,6 +31806,13 @@ __metadata: languageName: node linkType: hard +"iterable-lookahead@npm:^1.0.0": + version: 1.0.0 + resolution: "iterable-lookahead@npm:1.0.0" + checksum: 9d849bfbfafcaf83c6eec2835192088b1f7d1aadf9f33ec4e1d117664af2d47acb742e130179c35a6eec01d0e3ec2750ea8347ba6796e47e329b015455076e67 + languageName: node + linkType: hard + "iterall@npm:^1.2.1, iterall@npm:^1.3.0": version: 1.3.0 resolution: "iterall@npm:1.3.0" @@ -32036,7 +32478,7 @@ __metadata: languageName: node linkType: hard -"jiti@npm:^1.18.2": +"jiti@npm:1.21.0, jiti@npm:^1.18.2": version: 1.21.0 resolution: "jiti@npm:1.21.0" bin: @@ -32115,7 +32557,7 @@ __metadata: languageName: node linkType: hard -"js-yaml@npm:=4.1.0, js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": +"js-yaml@npm:4.1.0, js-yaml@npm:=4.1.0, js-yaml@npm:^4.0.0, js-yaml@npm:^4.1.0": version: 4.1.0 resolution: "js-yaml@npm:4.1.0" dependencies: @@ -32348,6 +32790,13 @@ __metadata: languageName: node linkType: hard +"json-parse-even-better-errors@npm:^3.0.0": + version: 3.0.1 + resolution: "json-parse-even-better-errors@npm:3.0.1" + checksum: bf74fa3f715e56699ccd68b80a7d20908de432a3fae2d5aa2ed530a148e9d9ccdf8e6983b93d9966a553aa70dcf003ce3a7ffec2c0ce74d2a6173e3691a426f0 + languageName: node + linkType: hard + "json-pointer@npm:0.6.2": version: 0.6.2 resolution: "json-pointer@npm:0.6.2" @@ -32960,6 +33409,39 @@ __metadata: languageName: node linkType: hard +"knip@npm:^3.12.0": + version: 3.13.2 + resolution: "knip@npm:3.13.2" + dependencies: + "@ericcornelissen/bash-parser": 0.5.2 + "@npmcli/map-workspaces": 3.0.4 + "@npmcli/package-json": 5.0.0 + "@pkgjs/parseargs": 0.11.0 + "@pnpm/logger": 5.0.0 + "@pnpm/workspace.pkgs-graph": ^2.0.13 + "@snyk/github-codeowners": 1.1.0 + easy-table: 1.2.0 + fast-glob: 3.3.2 + globby: ^14.0.0 + jiti: 1.21.0 + js-yaml: 4.1.0 + micromatch: 4.0.5 + minimist: 1.2.8 + picocolors: 1.0.0 + pretty-ms: 8.0.0 + strip-json-comments: 5.0.1 + summary: 2.1.0 + zod: 3.22.4 + zod-validation-error: 2.1.0 + peerDependencies: + "@types/node": ">=18" + typescript: ">=5.0.4" + bin: + knip: bin/knip.js + checksum: b70fbfed3a3ee340bae3b0ec2d5bd4e598fde3d99923a4d26c0a0b86317d26073f024d8710ac2c8275990bea20529a36d4183eb4549e916d0a40b375b64d6b6d + languageName: node + linkType: hard + "kubernetes-models@npm:^4.1.0, kubernetes-models@npm:^4.3.1": version: 4.3.1 resolution: "kubernetes-models@npm:4.3.1" @@ -33250,6 +33732,18 @@ __metadata: languageName: node linkType: hard +"load-json-file@npm:^6.2.0": + version: 6.2.0 + resolution: "load-json-file@npm:6.2.0" + dependencies: + graceful-fs: ^4.1.15 + parse-json: ^5.0.0 + strip-bom: ^4.0.0 + type-fest: ^0.6.0 + checksum: 4429e430ebb99375fc7cd936348e4f7ba729486080ced4272091c1e386a7f5f738ea3337d8ffd4b01c2f5bc3ddde92f2c780045b66838fe98bdb79f901884643 + languageName: node + linkType: hard + "load-yaml-file@npm:^0.2.0": version: 0.2.0 resolution: "load-yaml-file@npm:0.2.0" @@ -33354,7 +33848,7 @@ __metadata: languageName: node linkType: hard -"lodash.curry@npm:^4.0.1": +"lodash.curry@npm:^4.0.1, lodash.curry@npm:^4.1.1": version: 4.1.1 resolution: "lodash.curry@npm:4.1.1" checksum: 9192b70fe7df4d1ff780c0260bee271afa9168c93fe4fa24bc861900240531b59781b5fdaadf4644fea8f4fbcd96f0700539ab294b579ffc1022c6c15dcc462a @@ -33713,7 +34207,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^10.0.0, lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": +"lru-cache@npm:^10.0.0, lru-cache@npm:^10.0.1, lru-cache@npm:^10.0.2, lru-cache@npm:^9.1.1 || ^10.0.0": version: 10.1.0 resolution: "lru-cache@npm:10.1.0" checksum: 58056d33e2500fbedce92f8c542e7c11b50d7d086578f14b7074d8c241422004af0718e08a6eaae8705cee09c77e39a61c1c79e9370ba689b7010c152e6a76ab @@ -33815,6 +34309,15 @@ __metadata: languageName: node linkType: hard +"magic-string@npm:^0.16.0": + version: 0.16.0 + resolution: "magic-string@npm:0.16.0" + dependencies: + vlq: ^0.2.1 + checksum: f97e225062b600212e95fc8ed1948410bee3cb5248e03ed14fc45f12bb61a43960fdc0525f4aaaf62d6e79165526c9f8274ec225a92d421980cfcfcb8063be98 + languageName: node + linkType: hard + "magic-string@npm:^0.25.7": version: 0.25.7 resolution: "magic-string@npm:0.25.7" @@ -33944,6 +34447,15 @@ __metadata: languageName: node linkType: hard +"map-age-cleaner@npm:^0.1.3": + version: 0.1.3 + resolution: "map-age-cleaner@npm:0.1.3" + dependencies: + p-defer: ^1.0.0 + checksum: cb2804a5bcb3cbdfe4b59066ea6d19f5e7c8c196cd55795ea4c28f792b192e4c442426ae52524e5e1acbccf393d3bddacefc3d41f803e66453f6c4eda3650bc1 + languageName: node + linkType: hard + "map-age-cleaner@npm:^0.2.0": version: 0.2.0 resolution: "map-age-cleaner@npm:0.2.0" @@ -33960,6 +34472,13 @@ __metadata: languageName: node linkType: hard +"map-obj@npm:^2.0.0": + version: 2.0.0 + resolution: "map-obj@npm:2.0.0" + checksum: 77d2b7b03398a71c84bd7df8ab7be2139e5459fc1e18dbb5f15055fe7284bec0fc37fe410185b5f8ca2e3c3e01fd0fd1f946c579607878adb26cad1cd75314aa + languageName: node + linkType: hard + "map-obj@npm:^4.0.0": version: 4.3.0 resolution: "map-obj@npm:4.3.0" @@ -34278,6 +34797,26 @@ __metadata: languageName: node linkType: hard +"mem@npm:^6.0.1": + version: 6.1.1 + resolution: "mem@npm:6.1.1" + dependencies: + map-age-cleaner: ^0.1.3 + mimic-fn: ^3.0.0 + checksum: 59a54b66838f074354fd2ae32cca5064996761ded870e74fa1e098bb3e5d48fc033ebeacf6809d4b2ad3036f7a6fb7538858821bbd4f1cfb7ef8966c0ab9b753 + languageName: node + linkType: hard + +"mem@npm:^8.0.0": + version: 8.1.1 + resolution: "mem@npm:8.1.1" + dependencies: + map-age-cleaner: ^0.1.3 + mimic-fn: ^3.1.0 + checksum: c41bc97f6f82b91899206058989e34bcb1543af40413c2ab59e5a8e97e4f8f2188d62e7bd95b2d575d5b0d823d5034a0f274a0676f6d11a0e0b973898b06c8b1 + languageName: node + linkType: hard + "memfs@npm:^3.1.2, memfs@npm:^3.4.1": version: 3.4.1 resolution: "memfs@npm:3.4.1" @@ -34801,7 +35340,7 @@ __metadata: languageName: node linkType: hard -"mimic-fn@npm:^3.0.0": +"mimic-fn@npm:^3.0.0, mimic-fn@npm:^3.1.0": version: 3.1.0 resolution: "mimic-fn@npm:3.1.0" checksum: f7b167f9115b8bbdf2c3ee55dce9149d14be9e54b237259c4bc1d8d0512ea60f25a1b323f814eb1fe8f5a541662804bcfcfff3202ca58df143edb986849d58db @@ -34887,7 +35426,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:9.0.3, minimatch@npm:^9.0.1, minimatch@npm:^9.0.3": +"minimatch@npm:9.0.3, minimatch@npm:^9.0.0, minimatch@npm:^9.0.1, minimatch@npm:^9.0.3": version: 9.0.3 resolution: "minimatch@npm:9.0.3" dependencies: @@ -34934,7 +35473,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:>=1.2.2, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5, minimist@npm:^1.2.6": +"minimist@npm:1.2.8, minimist@npm:>=1.2.2, minimist@npm:^1.2.0, minimist@npm:^1.2.3, minimist@npm:^1.2.5, minimist@npm:^1.2.6": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 @@ -35651,6 +36190,16 @@ __metadata: languageName: node linkType: hard +"node-fetch@npm:3.0.0-beta.9": + version: 3.0.0-beta.9 + resolution: "node-fetch@npm:3.0.0-beta.9" + dependencies: + data-uri-to-buffer: ^3.0.1 + fetch-blob: ^2.1.1 + checksum: 586af0910649cb62f1c044ddac41e71c0b0f48133fba406ad5e0fab51baff18f22cd187ea65ef690ceed7386a71910e904348105dc8eae55f907fa94df7e76ca + languageName: node + linkType: hard + "node-fetch@npm:^1.0.1": version: 1.7.3 resolution: "node-fetch@npm:1.7.3" @@ -35913,6 +36462,18 @@ __metadata: languageName: node linkType: hard +"normalize-package-data@npm:^6.0.0": + version: 6.0.0 + resolution: "normalize-package-data@npm:6.0.0" + dependencies: + hosted-git-info: ^7.0.0 + is-core-module: ^2.8.1 + semver: ^7.3.5 + validate-npm-package-license: ^3.0.4 + checksum: 741211a4354ba6d618caffa98f64e0e5ec9e5575bf3aefe47f4b68e662d65f9ba1b6b2d10640c16254763ed0879288155566138b5ffe384172352f6e969c1752 + languageName: node + linkType: hard + "normalize-path@npm:^2.1.1": version: 2.1.1 resolution: "normalize-path@npm:2.1.1" @@ -35977,6 +36538,15 @@ __metadata: languageName: node linkType: hard +"npm-install-checks@npm:^6.0.0": + version: 6.3.0 + resolution: "npm-install-checks@npm:6.3.0" + dependencies: + semver: ^7.1.1 + checksum: 6c20dadb878a0d2f1f777405217b6b63af1299d0b43e556af9363ee6eefaa98a17dfb7b612a473a473e96faf7e789c58b221e0d8ffdc1d34903c4f71618df3b4 + languageName: node + linkType: hard + "npm-normalize-package-bin@npm:^1.0.0, npm-normalize-package-bin@npm:^1.0.1": version: 1.0.1 resolution: "npm-normalize-package-bin@npm:1.0.1" @@ -35991,6 +36561,25 @@ __metadata: languageName: node linkType: hard +"npm-normalize-package-bin@npm:^3.0.0": + version: 3.0.1 + resolution: "npm-normalize-package-bin@npm:3.0.1" + checksum: de416d720ab22137a36292ff8a333af499ea0933ef2320a8c6f56a73b0f0448227fec4db5c890d702e26d21d04f271415eab6580b5546456861cc0c19498a4bf + languageName: node + linkType: hard + +"npm-package-arg@npm:^11.0.0": + version: 11.0.1 + resolution: "npm-package-arg@npm:11.0.1" + dependencies: + hosted-git-info: ^7.0.0 + proc-log: ^3.0.0 + semver: ^7.3.5 + validate-npm-package-name: ^5.0.0 + checksum: 60364504e04e34fc20b47ad192efc9181922bce0cb41fa81871b1b75748d8551725f61b2f9a2e3dffb1782d749a35313f5dc02c18c3987653990d486f223adf2 + languageName: node + linkType: hard + "npm-package-arg@npm:^8.0.1, npm-package-arg@npm:^8.1.2, npm-package-arg@npm:^8.1.5": version: 8.1.5 resolution: "npm-package-arg@npm:8.1.5" @@ -36042,6 +36631,18 @@ __metadata: languageName: node linkType: hard +"npm-pick-manifest@npm:^9.0.0": + version: 9.0.0 + resolution: "npm-pick-manifest@npm:9.0.0" + dependencies: + npm-install-checks: ^6.0.0 + npm-normalize-package-bin: ^3.0.0 + npm-package-arg: ^11.0.0 + semver: ^7.3.5 + checksum: a6f102f9e9e8feea69be3a65e492fef6319084a85fc4e40dc88a277a3aa675089cef13ab0436ed7916e97c7bbba8315633d818eb15402c3abfb0bddc1af08cc7 + languageName: node + linkType: hard + "npm-registry-fetch@npm:^12.0.0, npm-registry-fetch@npm:^12.0.1": version: 12.0.2 resolution: "npm-registry-fetch@npm:12.0.2" @@ -36207,6 +36808,20 @@ __metadata: languageName: node linkType: hard +"object-pairs@npm:^0.1.0": + version: 0.1.0 + resolution: "object-pairs@npm:0.1.0" + checksum: 8bde82dda701c84a27ba5bcf5e014283c6defbdab6df189af0b6582541711ed86ba2f0cce0a300a2220ba27b54ee11128c508982a191fa04f81770a7695b23d9 + languageName: node + linkType: hard + +"object-values@npm:^1.0.0": + version: 1.0.0 + resolution: "object-values@npm:1.0.0" + checksum: b86e7ef56349de1444e45b00f4aac7dcb76f2973f3e2cd5836cf86815b1ea4b2b3827bb2320cd5d1a50c78dd3068ce23cbcb5a1f024abe12296af8cf50d17a22 + languageName: node + linkType: hard + "object.assign@npm:^4.1.4": version: 4.1.4 resolution: "object.assign@npm:4.1.4" @@ -36660,6 +37275,16 @@ __metadata: languageName: node linkType: hard +"p-memoize@npm:4.0.1": + version: 4.0.1 + resolution: "p-memoize@npm:4.0.1" + dependencies: + mem: ^6.0.1 + mimic-fn: ^3.0.0 + checksum: 322294f7d8c6112cc961cf48f3e08eadc5fa0da7bc457db1a3f6f6c72d9745ae098255584d67a62367707551c514825917c86773e60c27cc341eabc9636d0a0d + languageName: node + linkType: hard + "p-queue@npm:^6.6.2": version: 6.6.2 resolution: "p-queue@npm:6.6.2" @@ -36887,6 +37512,13 @@ __metadata: languageName: node linkType: hard +"parse-ms@npm:^3.0.0": + version: 3.0.0 + resolution: "parse-ms@npm:3.0.0" + checksum: fc602bba093835562321a67a9d6c8c9687ca4f26a09459a77e07ebd7efddd1a5766725ec60eb0c83a2abe67f7a23808f7deb1c1226727776eaf7f9607ae09db2 + languageName: node + linkType: hard + "parse-multipart-data@npm:^1.4.0": version: 1.5.0 resolution: "parse-multipart-data@npm:1.5.0" @@ -36894,6 +37526,15 @@ __metadata: languageName: node linkType: hard +"parse-npm-tarball-url@npm:^3.0.0": + version: 3.0.0 + resolution: "parse-npm-tarball-url@npm:3.0.0" + dependencies: + semver: ^6.1.0 + checksum: 4a6c1048a86465570fe128d69aa4d5a4a9916cbdf86ac39e43fca3fea16554905cafa4b351bf6274ce131e698412fd89157b372abed29dfd8e6aea9e67b3a717 + languageName: node + linkType: hard + "parse-path@npm:^7.0.0": version: 7.0.0 resolution: "parse-path@npm:7.0.0" @@ -37211,6 +37852,15 @@ __metadata: languageName: node linkType: hard +"path-temp@npm:^2.1.0": + version: 2.1.0 + resolution: "path-temp@npm:2.1.0" + dependencies: + unique-string: ^2.0.0 + checksum: ad28022a9c807d17d729c3ee265cd51a36f2d0283c9b1daee02dfd84fa2e4944b93e0a8d07bd5c2ed678c3c6c048d011c1817a181f6a3f03cd3a9648faef1b7d + languageName: node + linkType: hard + "path-to-regexp@npm:0.1.7": version: 0.1.7 resolution: "path-to-regexp@npm:0.1.7" @@ -37255,6 +37905,13 @@ __metadata: languageName: node linkType: hard +"path-type@npm:^5.0.0": + version: 5.0.0 + resolution: "path-type@npm:5.0.0" + checksum: 15ec24050e8932c2c98d085b72cfa0d6b4eeb4cbde151a0a05726d8afae85784fc5544f733d8dfc68536587d5143d29c0bd793623fad03d7e61cc00067291cd5 + languageName: node + linkType: hard + "pathe@npm:^0.2.0": version: 0.2.0 resolution: "pathe@npm:0.2.0" @@ -37436,7 +38093,7 @@ __metadata: languageName: node linkType: hard -"picocolors@npm:^1.0.0": +"picocolors@npm:1.0.0, picocolors@npm:^1.0.0": version: 1.0.0 resolution: "picocolors@npm:1.0.0" checksum: a2e8092dd86c8396bdba9f2b5481032848525b3dc295ce9b57896f931e63fc16f79805144321f72976383fc249584672a75cc18d6777c6b757603f372f745981 @@ -38308,6 +38965,15 @@ __metadata: languageName: node linkType: hard +"pretty-ms@npm:8.0.0": + version: 8.0.0 + resolution: "pretty-ms@npm:8.0.0" + dependencies: + parse-ms: ^3.0.0 + checksum: b7d2a8182887af0e5ab93f9df331f10db9b8eda86855e2de115eb01a6c501bde5631a8813b1b0abdd7d045e79b08ae875369a8fd279a3dacd6d9e572bdd3bfa6 + languageName: node + linkType: hard + "printj@npm:~1.1.0": version: 1.1.2 resolution: "printj@npm:1.1.2" @@ -38719,6 +39385,13 @@ __metadata: languageName: node linkType: hard +"ramda@npm:@pnpm/ramda@0.28.1": + version: 0.28.1 + resolution: "@pnpm/ramda@npm:0.28.1" + checksum: e45e41ceab4f9a0a08fec9c7809a7b79cf3b3220998588f76567addb7533167b591112e0ea1a34b9d99f97ab7511a5bedb1cbb3d49c424c7dc0cdc060ffc2aae + languageName: node + linkType: hard + "ramda@npm:~0.29.1": version: 0.29.1 resolution: "ramda@npm:0.29.1" @@ -39597,6 +40270,16 @@ __metadata: languageName: node linkType: hard +"read-package-json-fast@npm:^3.0.0": + version: 3.0.2 + resolution: "read-package-json-fast@npm:3.0.2" + dependencies: + json-parse-even-better-errors: ^3.0.0 + npm-normalize-package-bin: ^3.0.0 + checksum: 8d406869f045f1d76e2a99865a8fd1c1af9c1dc06200b94d2b07eef87ed734b22703a8d72e1cd36ea36cc48e22020bdd187f88243c7dd0563f72114d38c17072 + languageName: node + linkType: hard + "read-pkg-up@npm:^7.0.1": version: 7.0.1 resolution: "read-pkg-up@npm:7.0.1" @@ -40074,6 +40757,16 @@ __metadata: languageName: node linkType: hard +"rename-overwrite@npm:^5.0.0": + version: 5.0.0 + resolution: "rename-overwrite@npm:5.0.0" + dependencies: + "@zkochan/rimraf": ^2.1.2 + fs-extra: 10.1.0 + checksum: eaac7b36302b6f184dcff91c625776e3a3b46b234550adcf70434695ef9c7dd28bd9c5b2945c4a7fbcd09649bd31efce26aae39166becdc05ca9213524d2c3b8 + languageName: node + linkType: hard + "renderkid@npm:^3.0.0": version: 3.0.0 resolution: "renderkid@npm:3.0.0" @@ -40385,6 +41078,13 @@ __metadata: languageName: node linkType: hard +"reverse-arguments@npm:^1.0.0": + version: 1.0.0 + resolution: "reverse-arguments@npm:1.0.0" + checksum: 4dc725066adb35bccdee90545bab7e3ddd07e61c3622afa22a6a17cc84cf22166f9355f8f206c89d344f0afc78a53ae6a8d43a710ca9774a676e3632a5a3d9a1 + languageName: node + linkType: hard + "rfc4648@npm:^1.3.0": version: 1.4.0 resolution: "rfc4648@npm:1.4.0" @@ -40628,6 +41328,7 @@ __metadata: eslint-plugin-testing-library: ^6.0.0 fs-extra: 10.1.0 husky: ^9.0.0 + knip: ^3.12.0 lint-staged: ^15.0.0 minimist: ^1.2.5 node-gyp: ^10.0.0 @@ -40969,7 +41670,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.5.4, semver@npm:~7.5.4": +"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.4.0, semver@npm:~7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -40980,7 +41681,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^6.0.0, semver@npm:^6.2.0, semver@npm:^6.3.0, semver@npm:^6.3.1": +"semver@npm:^6.0.0, semver@npm:^6.1.0, semver@npm:^6.2.0, semver@npm:^6.3.0, semver@npm:^6.3.1": version: 6.3.1 resolution: "semver@npm:6.3.1" bin: @@ -41233,6 +41934,13 @@ __metadata: languageName: node linkType: hard +"shell-quote-word@npm:^1.0.1": + version: 1.0.1 + resolution: "shell-quote-word@npm:1.0.1" + checksum: 05c5df92acba3e7920dbd987b235276871d38cf360d339074cbfabea49bbca8406a6f06a822cd1e84912c3150277d73de5194ca21c37ef95e108dfe45372526f + languageName: node + linkType: hard + "shell-quote@npm:^1.7.3, shell-quote@npm:^1.8.1": version: 1.8.1 resolution: "shell-quote@npm:1.8.1" @@ -41398,6 +42106,13 @@ __metadata: languageName: node linkType: hard +"slash@npm:^5.1.0": + version: 5.1.0 + resolution: "slash@npm:5.1.0" + checksum: 70434b34c50eb21b741d37d455110258c42d2cf18c01e6518aeb7299f3c6e626330c889c0c552b5ca2ef54a8f5a74213ab48895f0640717cacefeef6830a1ba4 + languageName: node + linkType: hard + "slice-ansi@npm:^4.0.0": version: 4.0.0 resolution: "slice-ansi@npm:4.0.0" @@ -41817,6 +42532,15 @@ __metadata: languageName: node linkType: hard +"ssri@npm:10.0.5": + version: 10.0.5 + resolution: "ssri@npm:10.0.5" + dependencies: + minipass: ^7.0.3 + checksum: 0a31b65f21872dea1ed3f7c200d7bc1c1b91c15e419deca14f282508ba917cbb342c08a6814c7f68ca4ca4116dd1a85da2bbf39227480e50125a1ceffeecb750 + languageName: node + linkType: hard + "ssri@npm:^10.0.0": version: 10.0.4 resolution: "ssri@npm:10.0.4" @@ -42152,6 +42876,13 @@ __metadata: languageName: node linkType: hard +"string.fromcodepoint@npm:^0.2.1": + version: 0.2.1 + resolution: "string.fromcodepoint@npm:0.2.1" + checksum: 6ba80f70c3e2a36dab87f5d68168936403295a73838564e701f5c861d397d77d9e97b0e2aa0f3c163a25a96c785dcc2145452b220753fb7b3e6c6fe431c9c411 + languageName: node + linkType: hard + "string.prototype.matchall@npm:^4.0.8": version: 4.0.8 resolution: "string.prototype.matchall@npm:4.0.8" @@ -42325,6 +43056,13 @@ __metadata: languageName: node linkType: hard +"strip-json-comments@npm:5.0.1": + version: 5.0.1 + resolution: "strip-json-comments@npm:5.0.1" + checksum: b314af70c6666a71133e309a571bdb87687fc878d9fd8b38ebed393a77b89835b92f191aa6b0bc10dfd028ba99eed6b6365985001d64c5aef32a4a82456a156b + languageName: node + linkType: hard + "strip-json-comments@npm:^3.1.1, strip-json-comments@npm:~3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" @@ -42486,6 +43224,13 @@ __metadata: languageName: node linkType: hard +"summary@npm:2.1.0": + version: 2.1.0 + resolution: "summary@npm:2.1.0" + checksum: 10ac12ce12c013b56ad44c37cfac206961f0993d98867b33b1b03a27b38a1cf8dd2db0b788883356c5335bbbb37d953772ef4a381d6fc8f408faf99f2bc54af5 + languageName: node + linkType: hard + "superagent@npm:^8.1.2": version: 8.1.2 resolution: "superagent@npm:8.1.2" @@ -43081,6 +43826,22 @@ __metadata: languageName: node linkType: hard +"to-no-case@npm:^1.0.0": + version: 1.0.2 + resolution: "to-no-case@npm:1.0.2" + checksum: 1d85326eeb89f9f3a805bf5b395bcabb8556e882350164c1faa10846076732f4cec02ac95b016e7d6bb2f55e448ce5dd227c7699ec43e387c705a5b2b1ee2963 + languageName: node + linkType: hard + +"to-pascal-case@npm:^1.0.0": + version: 1.0.0 + resolution: "to-pascal-case@npm:1.0.0" + dependencies: + to-space-case: ^1.0.0 + checksum: 3956e209defc6df9de98c5db24a16fb2a1a11f711350ea3bdd9466240a04ab889fa09f1bd005e26fc31343c1cca341981daf2d80d4ec3f2d0706a557978f8b91 + languageName: node + linkType: hard + "to-readable-stream@npm:^1.0.0": version: 1.0.0 resolution: "to-readable-stream@npm:1.0.0" @@ -43097,6 +43858,15 @@ __metadata: languageName: node linkType: hard +"to-space-case@npm:^1.0.0": + version: 1.0.0 + resolution: "to-space-case@npm:1.0.0" + dependencies: + to-no-case: ^1.0.0 + checksum: 157cebe3e98e7cb465fe1978cf26450cc8ea8e637a01039854fac7ed60ad074e5e18b32333cc5f30df81b81ca374d63df768cd4c1fa0fe672605f965376227f4 + languageName: node + linkType: hard + "toggle-selection@npm:^1.0.6": version: 1.0.6 resolution: "toggle-selection@npm:1.0.6" @@ -43847,6 +44617,15 @@ __metadata: languageName: node linkType: hard +"unescape-js@npm:^1.0.5": + version: 1.1.4 + resolution: "unescape-js@npm:1.1.4" + dependencies: + string.fromcodepoint: ^0.2.1 + checksum: 97acf60a8f6c170f8a66b48b71f5c56bda728c2ff6b08c3443c5f21635bf5fa38a4265bcfcf46d17cb6ac9bbb8b913a34b1abc5cfe8db5d7cc5c8eecb1817472 + languageName: node + linkType: hard + "uni-global@npm:^1.0.0": version: 1.0.0 resolution: "uni-global@npm:1.0.0" @@ -43887,6 +44666,13 @@ __metadata: languageName: node linkType: hard +"unicorn-magic@npm:^0.1.0": + version: 0.1.0 + resolution: "unicorn-magic@npm:0.1.0" + checksum: 48c5882ca3378f380318c0b4eb1d73b7e3c5b728859b060276e0a490051d4180966beeb48962d850fd0c6816543bcdfc28629dcd030bb62a286a2ae2acb5acb6 + languageName: node + linkType: hard + "unified@npm:^10.0.0": version: 10.1.0 resolution: "unified@npm:10.1.0" @@ -44457,7 +45243,7 @@ __metadata: languageName: node linkType: hard -"validate-npm-package-license@npm:^3.0.1": +"validate-npm-package-license@npm:^3.0.1, validate-npm-package-license@npm:^3.0.4": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4" dependencies: @@ -44476,6 +45262,24 @@ __metadata: languageName: node linkType: hard +"validate-npm-package-name@npm:^4.0.0": + version: 4.0.0 + resolution: "validate-npm-package-name@npm:4.0.0" + dependencies: + builtins: ^5.0.0 + checksum: a32fd537bad17fcb59cfd58ae95a414d443866020d448ec3b22e8d40550cb585026582a57efbe1f132b882eea4da8ac38ee35f7be0dd72988a3cb55d305a20c1 + languageName: node + linkType: hard + +"validate-npm-package-name@npm:^5.0.0": + version: 5.0.0 + resolution: "validate-npm-package-name@npm:5.0.0" + dependencies: + builtins: ^5.0.0 + checksum: 5342a994986199b3c28e53a8452a14b2bb5085727691ea7aa0d284a6606b127c371e0925ae99b3f1ef7cc7d2c9de75f52eb61a3d1cc45e39bca1e3a9444cbb4e + languageName: node + linkType: hard + "validate.io-array@npm:^1.0.3": version: 1.0.6 resolution: "validate.io-array@npm:1.0.6" @@ -44564,6 +45368,15 @@ __metadata: languageName: node linkType: hard +"version-selector-type@npm:^3.0.0": + version: 3.0.0 + resolution: "version-selector-type@npm:3.0.0" + dependencies: + semver: ^7.3.2 + checksum: e97968054ad3bd2ff25a1c8e55273d34db5601e573f1ebca144b145d6a984925390358959859e77aca526082a64483e776e3f15178b0d8e2b3f1deb64932a7aa + languageName: node + linkType: hard + "vfile-message@npm:^3.0.0": version: 3.0.2 resolution: "vfile-message@npm:3.0.2" @@ -44716,6 +45529,13 @@ __metadata: languageName: node linkType: hard +"vlq@npm:^0.2.1": + version: 0.2.3 + resolution: "vlq@npm:0.2.3" + checksum: 2231d8caeb5b2c1a438677ab029e9a94aa6fb61ab05819c72691b792aea0456dab29576aff5ae29309ee45bad0a309e832dc45173119bca1393f3b87709d8f8d + languageName: node + linkType: hard + "vm-browserify@npm:^1.0.1": version: 1.1.2 resolution: "vm-browserify@npm:1.1.2" @@ -45896,7 +46716,16 @@ __metadata: languageName: node linkType: hard -"zod@npm:^3.22.4": +"zod-validation-error@npm:2.1.0": + version: 2.1.0 + resolution: "zod-validation-error@npm:2.1.0" + peerDependencies: + zod: ^3.18.0 + checksum: 2331cc8d876c2df0b720b648249447b65d6b85ad0b6e60dd6515170570e6ffbe7a9adb844d44035c07d59c871048d9c45a8c429849bedeb8cbcdfa5f90101402 + languageName: node + linkType: hard + +"zod@npm:3.22.4, zod@npm:^3.22.4": version: 3.22.4 resolution: "zod@npm:3.22.4" checksum: 80bfd7f8039b24fddeb0718a2ec7c02aa9856e4838d6aa4864335a047b6b37a3273b191ef335bf0b2002e5c514ef261ffcda5a589fb084a48c336ffc4cdbab7f From b38d6b1e66b724a5e28f1723fa136c25f477160e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Tue, 16 Jan 2024 09:56:03 +0100 Subject: [PATCH 71/82] parallelize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- packages/cli/knip-report.md | 9 +- packages/core-compat-api/knip-report.md | 3 +- .../src/commands/api-reports/api-extractor.ts | 101 ++++++++++-------- .../knip-report.md | 3 +- 4 files changed, 66 insertions(+), 50 deletions(-) diff --git a/packages/cli/knip-report.md b/packages/cli/knip-report.md index c6242c2598..0143d297fe 100644 --- a/packages/cli/knip-report.md +++ b/packages/cli/knip-report.md @@ -60,10 +60,17 @@ | @vitejs/plugin-react | package.json | | vite-plugin-node-polyfills | package.json | -## Unlisted dependencies (11) +## Unlisted dependencies (18) | 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 | diff --git a/packages/core-compat-api/knip-report.md b/packages/core-compat-api/knip-report.md index 1e6c227882..9be63304d1 100644 --- a/packages/core-compat-api/knip-report.md +++ b/packages/core-compat-api/knip-report.md @@ -6,7 +6,7 @@ |:------------------------|:-------------| | @backstage/core-app-api | package.json | -## Unused devDependencies (8) +## Unused devDependencies (9) | Name | Location | |:--------------------------------------|:-------------| @@ -15,6 +15,7 @@ | @testing-library/jest-dom | package.json | | @backstage/plugin-catalog | package.json | | @backstage/plugin-puppetdb | package.json | +| @backstage/frontend-app-api | package.json | | @backstage/plugin-stackstorm | package.json | | @backstage/frontend-test-utils | package.json | | @oriflame/backstage-plugin-score-card | package.json | diff --git a/packages/repo-tools/src/commands/api-reports/api-extractor.ts b/packages/repo-tools/src/commands/api-reports/api-extractor.ts index 882dbe5f58..f7a635ad14 100644 --- a/packages/repo-tools/src/commands/api-reports/api-extractor.ts +++ b/packages/repo-tools/src/commands/api-reports/api-extractor.ts @@ -30,6 +30,8 @@ import { ExtractorLogLevel, ExtractorMessage, } from '@microsoft/api-extractor'; +import os from 'os'; +import pLimit from 'p-limit'; import { Program } from 'typescript'; import { DocBlockTag, @@ -1454,55 +1456,60 @@ export async function runKnipReports({ isLocalBuild, }: KnipExtractionOptions) { const knipDir = cliPaths.resolveTargetRoot('./node_modules/knip/bin/'); + const limiter = pLimit(os.cpus().length); - for (const packageDir of packageDirs) { - console.log(`## Processing ${packageDir}`); - const fullDir = cliPaths.resolveTargetRoot(packageDir); - const reportPath = resolvePath(fullDir, 'knip-report.md'); - const run = createBinRunner(fullDir, ''); + 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 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; + 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}, `); + } } - 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}, `); - } - } - } + }), + ), + ); } diff --git a/plugins/scaffolder-backend-module-gitlab/knip-report.md b/plugins/scaffolder-backend-module-gitlab/knip-report.md index b127556ac5..f296802cab 100644 --- a/plugins/scaffolder-backend-module-gitlab/knip-report.md +++ b/plugins/scaffolder-backend-module-gitlab/knip-report.md @@ -1,9 +1,10 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (4) | Name | Location | |:------------------------------|:-------------| +| jest-date-mock | package.json | | @backstage/cli | package.json | | @backstage/core-app-api | package.json | | @backstage/backend-test-utils | package.json | From e5a84943f276acbda4d9057424b5ba47f70cb981 Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Wed, 31 Jan 2024 09:05:14 +0200 Subject: [PATCH 72/82] chore: update to knip 4 Signed-off-by: Heikki Hellgren --- package.json | 4 +- yarn.lock | 205 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 121 insertions(+), 88 deletions(-) diff --git a/package.json b/package.json index f0e399866e..60d4a285a5 100644 --- a/package.json +++ b/package.json @@ -86,8 +86,8 @@ "eslint-plugin-react": "^7.28.0", "eslint-plugin-testing-library": "^6.0.0", "fs-extra": "10.1.0", - "husky": "^9.0.0", - "knip": "^3.12.0", + "husky": "^8.0.0", + "knip": "^4.3.1", "lint-staged": "^15.0.0", "minimist": "^1.2.5", "node-gyp": "^10.0.0", diff --git a/yarn.lock b/yarn.lock index 2c7aa0ecdf..838a17e680 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13669,6 +13669,16 @@ __metadata: languageName: node linkType: hard +"@nodelib/fs.scandir@npm:3.0.0": + version: 3.0.0 + resolution: "@nodelib/fs.scandir@npm:3.0.0" + dependencies: + "@nodelib/fs.stat": 3.0.0 + run-parallel: ^1.2.0 + checksum: f4e9d07b310f248503d3cd632310b25cd01d97a74701bc59e1458bad32c84f78615d9853820adba8af73d970868aab46de68e540ca7efd90dacd4ea34d05553d + languageName: node + linkType: hard + "@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": version: 2.0.5 resolution: "@nodelib/fs.stat@npm:2.0.5" @@ -13676,6 +13686,23 @@ __metadata: languageName: node linkType: hard +"@nodelib/fs.stat@npm:3.0.0": + version: 3.0.0 + resolution: "@nodelib/fs.stat@npm:3.0.0" + checksum: 93a93e19b64d0275b5120bed2cf85da4c5804014de1bdac6e9933b835b1cb9f88252dc990b148076bec034fc757bdd97d74cf5d99bc9f895e0f925aeabe7dbcf + languageName: node + linkType: hard + +"@nodelib/fs.walk@npm:2.0.0": + version: 2.0.0 + resolution: "@nodelib/fs.walk@npm:2.0.0" + dependencies: + "@nodelib/fs.scandir": 3.0.0 + fastq: ^1.15.0 + checksum: f900965bc3953a67cb74916ec0950cd5d58006a9218aef99928cc22dd77d117376aaf710e46c740d18638a99337a4e81cbf70c892a2124269bf177c459d89837 + languageName: node + linkType: hard + "@nodelib/fs.walk@npm:^1.2.3, @nodelib/fs.walk@npm:^1.2.8": version: 1.2.8 resolution: "@nodelib/fs.walk@npm:1.2.8" @@ -14790,7 +14817,7 @@ __metadata: languageName: node linkType: hard -"@pkgjs/parseargs@npm:0.11.0, @pkgjs/parseargs@npm:^0.11.0": +"@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f @@ -14914,16 +14941,16 @@ __metadata: languageName: node linkType: hard -"@pnpm/npm-resolver@npm:18.0.2": - version: 18.0.2 - resolution: "@pnpm/npm-resolver@npm:18.0.2" +"@pnpm/npm-resolver@npm:18.1.0": + version: 18.1.0 + resolution: "@pnpm/npm-resolver@npm:18.1.0" dependencies: "@pnpm/core-loggers": 9.0.6 "@pnpm/error": 5.0.2 "@pnpm/fetching-types": 5.0.0 "@pnpm/graceful-fs": 3.2.0 "@pnpm/resolve-workspace-range": 5.0.1 - "@pnpm/resolver-base": 11.0.2 + "@pnpm/resolver-base": 11.1.0 "@pnpm/types": 9.4.2 "@zkochan/retry": ^0.2.0 encode-registry: ^3.0.1 @@ -14941,7 +14968,7 @@ __metadata: version-selector-type: ^3.0.0 peerDependencies: "@pnpm/logger": ^5.0.0 - checksum: 49f07d4939cb8589f4133e0d47fb525d6d04dbe2dfa28057ca8a8f143b4676fb339a96299852119c28c46cabf68b5f66be5385dbcba59a1bddeab65d7a5d189e + checksum: 81b0dd97a0062374db7aecd68a94e7e52dd19c9675bd052c7fa7a2b5edb6219dc525e71dccb70bf4bae90faf44f6e1cd0d4f155606bc754ffcec4f9ab6852c08 languageName: node linkType: hard @@ -14954,12 +14981,12 @@ __metadata: languageName: node linkType: hard -"@pnpm/resolver-base@npm:11.0.2": - version: 11.0.2 - resolution: "@pnpm/resolver-base@npm:11.0.2" +"@pnpm/resolver-base@npm:11.1.0": + version: 11.1.0 + resolution: "@pnpm/resolver-base@npm:11.1.0" dependencies: "@pnpm/types": 9.4.2 - checksum: 346abcdfcae881601f374b8323bf17bcc6f35282e28e073eff8e2f3c388c4ff897da6a2c615bc5165383bb825fe24985e8b987ae8221ca876a2f24aaf9b40656 + checksum: ff42d6f1bd3cfef46ab644709de13795af682c04575d782ec8cf32ef4b114486f22f3d758b1d94423ee8969fbb786a81d3a7b6fa52054af8e403b19f15a40b3f languageName: node linkType: hard @@ -14970,15 +14997,15 @@ __metadata: languageName: node linkType: hard -"@pnpm/workspace.pkgs-graph@npm:^2.0.13": - version: 2.0.13 - resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.13" +"@pnpm/workspace.pkgs-graph@npm:^2.0.14": + version: 2.0.14 + resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.14" dependencies: "@pnpm/npm-package-arg": ^1.0.0 - "@pnpm/npm-resolver": 18.0.2 + "@pnpm/npm-resolver": 18.1.0 "@pnpm/resolve-workspace-range": 5.0.1 ramda: "npm:@pnpm/ramda@0.28.1" - checksum: 3a39f39b5c86a2a273106a68d0060ca09e2dfd8ac646d11ac0471d4848f6db23b9d8719cbf9e36285ef13ad78527b41824b2e04fdbf533ce275bfe081012dfb8 + checksum: ff3b5234611da1ec4b636616554abcb4720c4fcd3db33bcb7b4b1e4ed5ebd091a854163876c1b1f7d56d2ec6e4f344c22eaf02054f2963d9a50a49462412793d languageName: node linkType: hard @@ -16150,13 +16177,6 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/merge-streams@npm:^1.0.0": - version: 1.0.0 - resolution: "@sindresorhus/merge-streams@npm:1.0.0" - checksum: 453c2a28164113a5ec4fd23ba636e291a4112f6ee9e91cd5476b9a96e0fc9ee5ff40d405fe81bbf284c9773b7ed718a3a0f31df7895a0efd413b1f9775d154fe - languageName: node - linkType: hard - "@sinonjs/commons@npm:^2.0.0": version: 2.0.0 resolution: "@sinonjs/commons@npm:2.0.0" @@ -19451,6 +19471,13 @@ __metadata: languageName: node linkType: hard +"@types/picomatch@npm:2.3.3": + version: 2.3.3 + resolution: "@types/picomatch@npm:2.3.3" + checksum: 1bf1a1d80296a585d3310c97be87e67e16da6f5c168e01ce27eef835abfc5bcca8e395afd6ae8b2b73eb72540d1587da7a468e4dfe7277ea208cf43cae096854 + languageName: node + linkType: hard + "@types/ping@npm:^0.4.1": version: 0.4.4 resolution: "@types/ping@npm:0.4.4" @@ -28197,6 +28224,15 @@ __metadata: languageName: node linkType: hard +"fastq@npm:^1.15.0": + version: 1.17.0 + resolution: "fastq@npm:1.17.0" + dependencies: + reusify: ^1.0.4 + checksum: a1c88c357a220bdc666c2df5ec6071d49bdf79ea827d92f9a9559da3ff1b4288eecca3ecbb7b6ddf0ba016eb0a4bf756bf17c411a6d10c814aecd26e939cbd06 + languageName: node + linkType: hard + "fastq@npm:^1.6.0": version: 1.6.1 resolution: "fastq@npm:1.6.1" @@ -29415,20 +29451,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^14.0.0": - version: 14.0.0 - resolution: "globby@npm:14.0.0" - dependencies: - "@sindresorhus/merge-streams": ^1.0.0 - fast-glob: ^3.3.2 - ignore: ^5.2.4 - path-type: ^5.0.0 - slash: ^5.1.0 - unicorn-magic: ^0.1.0 - checksum: f331b42993e420c8f2b61a6ca062276977ea6d95f181640ff018f00200f4fe5b50f1fae7540903483e6570ca626fe16234ab88e848d43381a2529220548a9d39 - languageName: node - linkType: hard - "good-listener@npm:^1.2.2": version: 1.2.2 resolution: "good-listener@npm:1.2.2" @@ -30458,12 +30480,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^9.0.0": - version: 9.0.10 - resolution: "husky@npm:9.0.10" +"husky@npm:^8.0.0": + version: 8.0.3 + resolution: "husky@npm:8.0.3" bin: - husky: bin.mjs - checksum: 55f4b6db6706ff0bc181607d6a64f55310cbb18b4d7db2a5b85608c87a80abafc14ac3a8c4d0b44d6272f4a62d4c2d3d5491d6a13e2cc7ac4895309e5e5f0ec2 + husky: lib/bin.js + checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0 languageName: node linkType: hard @@ -33409,36 +33431,38 @@ __metadata: languageName: node linkType: hard -"knip@npm:^3.12.0": - version: 3.13.2 - resolution: "knip@npm:3.13.2" +"knip@npm:^4.3.1": + version: 4.3.1 + resolution: "knip@npm:4.3.1" dependencies: "@ericcornelissen/bash-parser": 0.5.2 + "@nodelib/fs.walk": 2.0.0 "@npmcli/map-workspaces": 3.0.4 "@npmcli/package-json": 5.0.0 - "@pkgjs/parseargs": 0.11.0 "@pnpm/logger": 5.0.0 - "@pnpm/workspace.pkgs-graph": ^2.0.13 + "@pnpm/workspace.pkgs-graph": ^2.0.14 "@snyk/github-codeowners": 1.1.0 + "@types/picomatch": 2.3.3 easy-table: 1.2.0 fast-glob: 3.3.2 - globby: ^14.0.0 jiti: 1.21.0 js-yaml: 4.1.0 micromatch: 4.0.5 minimist: 1.2.8 picocolors: 1.0.0 - pretty-ms: 8.0.0 + picomatch: 3.0.1 + pretty-ms: 9.0.0 + smol-toml: 1.1.4 strip-json-comments: 5.0.1 summary: 2.1.0 zod: 3.22.4 - zod-validation-error: 2.1.0 + zod-validation-error: 3.0.0 peerDependencies: "@types/node": ">=18" typescript: ">=5.0.4" bin: knip: bin/knip.js - checksum: b70fbfed3a3ee340bae3b0ec2d5bd4e598fde3d99923a4d26c0a0b86317d26073f024d8710ac2c8275990bea20529a36d4183eb4549e916d0a40b375b64d6b6d + checksum: bfee70d98b484e21be4d47e1fb3c747bb4c6ec7a01deba7af9597203c9b49510a2ccb979239d04f972c1cbf5aac2c80d0b33d4fddf9a58f24b3fcb6878ba8548 languageName: node linkType: hard @@ -37512,10 +37536,10 @@ __metadata: languageName: node linkType: hard -"parse-ms@npm:^3.0.0": - version: 3.0.0 - resolution: "parse-ms@npm:3.0.0" - checksum: fc602bba093835562321a67a9d6c8c9687ca4f26a09459a77e07ebd7efddd1a5766725ec60eb0c83a2abe67f7a23808f7deb1c1226727776eaf7f9607ae09db2 +"parse-ms@npm:^4.0.0": + version: 4.0.0 + resolution: "parse-ms@npm:4.0.0" + checksum: 673c801d9f957ff79962d71ed5a24850163f4181a90dd30c4e3666b3a804f53b77f1f0556792e8b2adbb5d58757907d1aa51d7d7dc75997c2a56d72937cbc8b7 languageName: node linkType: hard @@ -37905,13 +37929,6 @@ __metadata: languageName: node linkType: hard -"path-type@npm:^5.0.0": - version: 5.0.0 - resolution: "path-type@npm:5.0.0" - checksum: 15ec24050e8932c2c98d085b72cfa0d6b4eeb4cbde151a0a05726d8afae85784fc5544f733d8dfc68536587d5143d29c0bd793623fad03d7e61cc00067291cd5 - languageName: node - linkType: hard - "pathe@npm:^0.2.0": version: 0.2.0 resolution: "pathe@npm:0.2.0" @@ -38107,6 +38124,13 @@ __metadata: languageName: node linkType: hard +"picomatch@npm:3.0.1": + version: 3.0.1 + resolution: "picomatch@npm:3.0.1" + checksum: b7fe18174bcc05bbf0ea09cc85623ae395676b3e6bc25636d4c20db79a948586237e429905453bf1ba385bc7a7aa5b56f1b351680e650d2b5c305ceb98dfc914 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.2, picomatch@npm:^2.2.3, picomatch@npm:^2.3.0, picomatch@npm:^2.3.1": version: 2.3.1 resolution: "picomatch@npm:2.3.1" @@ -38965,12 +38989,12 @@ __metadata: languageName: node linkType: hard -"pretty-ms@npm:8.0.0": - version: 8.0.0 - resolution: "pretty-ms@npm:8.0.0" +"pretty-ms@npm:9.0.0": + version: 9.0.0 + resolution: "pretty-ms@npm:9.0.0" dependencies: - parse-ms: ^3.0.0 - checksum: b7d2a8182887af0e5ab93f9df331f10db9b8eda86855e2de115eb01a6c501bde5631a8813b1b0abdd7d045e79b08ae875369a8fd279a3dacd6d9e572bdd3bfa6 + parse-ms: ^4.0.0 + checksum: 072b17547e09cb232e8e4c7be0281e256b6d8acd18dfb2fdd715d50330d1689fdaa877f53cf90c62ed419ef842f0f5fb94a2cd8ed1aa6d7608ad48834219435d languageName: node linkType: hard @@ -39334,6 +39358,13 @@ __metadata: languageName: node linkType: hard +"queue-microtask@npm:^1.2.2": + version: 1.2.3 + resolution: "queue-microtask@npm:1.2.3" + checksum: b676f8c040cdc5b12723ad2f91414d267605b26419d5c821ff03befa817ddd10e238d22b25d604920340fd73efd8ba795465a0377c4adf45a4a41e4234e42dc4 + languageName: node + linkType: hard + "queue-tick@npm:^1.0.1": version: 1.0.1 resolution: "queue-tick@npm:1.0.1" @@ -41327,8 +41358,8 @@ __metadata: eslint-plugin-react: ^7.28.0 eslint-plugin-testing-library: ^6.0.0 fs-extra: 10.1.0 - husky: ^9.0.0 - knip: ^3.12.0 + husky: ^8.0.0 + knip: ^4.3.1 lint-staged: ^15.0.0 minimist: ^1.2.5 node-gyp: ^10.0.0 @@ -41398,6 +41429,15 @@ __metadata: languageName: node linkType: hard +"run-parallel@npm:^1.2.0": + version: 1.2.0 + resolution: "run-parallel@npm:1.2.0" + dependencies: + queue-microtask: ^1.2.2 + checksum: cb4f97ad25a75ebc11a8ef4e33bb962f8af8516bb2001082ceabd8902e15b98f4b84b4f8a9b222e5d57fc3bd1379c483886ed4619367a7680dad65316993021d + languageName: node + linkType: hard + "run-script-webpack-plugin@npm:^0.2.0": version: 0.2.0 resolution: "run-script-webpack-plugin@npm:0.2.0" @@ -42106,13 +42146,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^5.1.0": - version: 5.1.0 - resolution: "slash@npm:5.1.0" - checksum: 70434b34c50eb21b741d37d455110258c42d2cf18c01e6518aeb7299f3c6e626330c889c0c552b5ca2ef54a8f5a74213ab48895f0640717cacefeef6830a1ba4 - languageName: node - linkType: hard - "slice-ansi@npm:^4.0.0": version: 4.0.0 resolution: "slice-ansi@npm:4.0.0" @@ -42188,6 +42221,13 @@ __metadata: languageName: node linkType: hard +"smol-toml@npm:1.1.4": + version: 1.1.4 + resolution: "smol-toml@npm:1.1.4" + checksum: 71537b27c18172c819778d54b6328d438af9d16dd63f0722a9df9fd77c7084eb163274224910c89e6dec0369f130ab050bc3cf4bdba34a4dc134b4faa74749de + languageName: node + linkType: hard + "smtp-address-parser@npm:^1.0.3": version: 1.0.10 resolution: "smtp-address-parser@npm:1.0.10" @@ -44666,13 +44706,6 @@ __metadata: languageName: node linkType: hard -"unicorn-magic@npm:^0.1.0": - version: 0.1.0 - resolution: "unicorn-magic@npm:0.1.0" - checksum: 48c5882ca3378f380318c0b4eb1d73b7e3c5b728859b060276e0a490051d4180966beeb48962d850fd0c6816543bcdfc28629dcd030bb62a286a2ae2acb5acb6 - languageName: node - linkType: hard - "unified@npm:^10.0.0": version: 10.1.0 resolution: "unified@npm:10.1.0" @@ -46716,12 +46749,12 @@ __metadata: languageName: node linkType: hard -"zod-validation-error@npm:2.1.0": - version: 2.1.0 - resolution: "zod-validation-error@npm:2.1.0" +"zod-validation-error@npm:3.0.0": + version: 3.0.0 + resolution: "zod-validation-error@npm:3.0.0" peerDependencies: zod: ^3.18.0 - checksum: 2331cc8d876c2df0b720b648249447b65d6b85ad0b6e60dd6515170570e6ffbe7a9adb844d44035c07d59c871048d9c45a8c429849bedeb8cbcdfa5f90101402 + checksum: a1492268847aa69a160a50ad04dcce3d65454520c56a63680c1e6382f07a66a98463f5fbc0d58ee536651ec189fd0464d6ce657dddbdc37700cc8f7fc6e9c292 languageName: node linkType: hard From 55963c4714d24f1d9b2d1d8ed1f0bf449a250edb Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Wed, 31 Jan 2024 10:15:45 +0200 Subject: [PATCH 73/82] feat: move knip reports under own command Signed-off-by: Heikki Hellgren --- .changeset/friendly-terms-love.md | 250 +----------------- .gitignore | 5 +- package.json | 1 + packages/app-defaults/knip-report.md | 13 +- packages/app-next/knip-report.md | 6 +- packages/app/knip-report.md | 6 +- packages/backend-tasks/knip-report.md | 11 +- packages/backend/knip-report.md | 2 +- packages/cli/knip-report.md | 34 +-- packages/core-app-api/knip-report.md | 3 +- packages/core-compat-api/knip-report.md | 3 +- packages/core-components/knip-report.md | 6 +- packages/core-plugin-api/knip-report.md | 3 +- packages/dev-utils/knip-report.md | 3 +- packages/eslint-plugin/knip-report.md | 11 +- packages/frontend-app-api/knip-report.md | 13 +- packages/frontend-plugin-api/knip-report.md | 3 +- packages/frontend-test-utils/knip-report.md | 9 +- packages/integration-react/knip-report.md | 23 +- packages/repo-tools/cli-report.md | 11 + .../src/commands/api-reports/api-extractor.ts | 101 +------ .../commands/api-reports/api-reports.test.ts | 1 - .../src/commands/api-reports/api-reports.ts | 9 - packages/repo-tools/src/commands/index.ts | 11 + .../commands/knip-reports/knip-extractor.ts | 175 ++++++++++++ .../src/commands/knip-reports/knip-reports.ts | 54 ++++ packages/repo-tools/src/commands/util.ts | 41 +++ packages/test-utils/knip-report.md | 11 +- packages/theme/knip-report.md | 13 +- packages/version-bridge/knip-report.md | 11 +- plugins/adr/knip-report.md | 13 +- plugins/airbrake-backend/knip-report.md | 6 - plugins/airbrake/knip-report.md | 27 +- plugins/allure/knip-report.md | 18 +- plugins/analytics-module-ga/knip-report.md | 21 +- plugins/analytics-module-ga4/knip-report.md | 23 +- .../knip-report.md | 18 +- plugins/apache-airflow/knip-report.md | 20 +- .../knip-report.md | 9 +- plugins/api-docs/knip-report.md | 4 +- plugins/apollo-explorer/knip-report.md | 14 +- .../knip-report.md | 14 +- .../knip-report.md | 18 ++ .../knip-report.md | 14 +- .../knip-report.md | 14 +- .../knip-report.md | 18 +- .../knip-report.md | 14 +- .../knip-report.md | 24 ++ .../knip-report.md | 14 +- .../knip-report.md | 26 +- .../knip-report.md | 20 +- plugins/auth-backend/knip-report.md | 11 +- plugins/azure-devops-backend/knip-report.md | 6 - plugins/azure-devops/knip-report.md | 16 +- plugins/azure-sites-backend/knip-report.md | 8 +- plugins/azure-sites-common/knip-report.md | 6 + plugins/azure-sites/knip-report.md | 26 +- plugins/badges-backend/knip-report.md | 3 +- plugins/badges/knip-report.md | 12 +- plugins/bazaar-backend/knip-report.md | 6 - plugins/bazaar/knip-report.md | 13 +- plugins/bitrise/knip-report.md | 4 +- .../knip-report.md | 3 +- plugins/catalog-backend/knip-report.md | 19 +- plugins/catalog-graph/knip-report.md | 14 +- plugins/catalog-import/knip-report.md | 4 +- plugins/catalog-react/knip-report.md | 4 +- .../knip-report.md | 12 +- plugins/catalog/knip-report.md | 4 +- plugins/circleci/knip-report.md | 9 +- plugins/cloudbuild/knip-report.md | 16 +- plugins/code-climate/knip-report.md | 22 +- plugins/code-coverage-backend/knip-report.md | 6 - plugins/code-coverage/knip-report.md | 16 +- plugins/codescene/knip-report.md | 20 +- plugins/config-schema/knip-report.md | 14 +- plugins/cost-insights/knip-report.md | 4 +- plugins/devtools-backend/knip-report.md | 6 - plugins/devtools/knip-report.md | 12 +- plugins/dynatrace/knip-report.md | 18 +- .../entity-feedback-backend/knip-report.md | 10 +- plugins/entity-feedback/knip-report.md | 3 +- plugins/entity-validation/knip-report.md | 15 +- .../example-todo-list-backend/knip-report.md | 6 - plugins/example-todo-list/knip-report.md | 13 +- plugins/explore-backend/knip-report.md | 16 +- plugins/explore-react/knip-report.md | 15 +- plugins/explore/knip-report.md | 21 +- plugins/firehydrant/knip-report.md | 18 +- plugins/fossa/knip-report.md | 20 +- plugins/gcalendar/knip-report.md | 18 +- plugins/gcp-projects/knip-report.md | 14 +- plugins/git-release-manager/knip-report.md | 16 +- plugins/github-actions/knip-report.md | 18 +- plugins/github-deployments/knip-report.md | 20 +- plugins/github-issues/knip-report.md | 16 +- .../github-pull-requests-board/knip-report.md | 15 +- plugins/gitops-profiles/knip-report.md | 18 +- plugins/gocd/knip-report.md | 4 +- plugins/graphiql/knip-report.md | 18 +- plugins/graphql-voyager/knip-report.md | 15 +- plugins/home/knip-report.md | 5 +- plugins/ilert/knip-report.md | 14 +- plugins/jenkins-backend/knip-report.md | 6 - plugins/jenkins/knip-report.md | 17 +- plugins/kafka/knip-report.md | 18 +- plugins/kubernetes-backend/knip-report.md | 6 +- plugins/kubernetes-node/knip-report.md | 14 +- plugins/kubernetes-react/knip-report.md | 19 +- plugins/kubernetes/knip-report.md | 15 +- plugins/lighthouse/knip-report.md | 20 +- plugins/linguist-backend/knip-report.md | 3 +- plugins/linguist/knip-report.md | 14 +- plugins/microsoft-calendar/knip-report.md | 14 +- plugins/newrelic-dashboard/knip-report.md | 11 +- plugins/newrelic/knip-report.md | 18 +- plugins/nomad-backend/knip-report.md | 6 - plugins/nomad/knip-report.md | 13 +- plugins/octopus-deploy/knip-report.md | 14 +- plugins/opencost/knip-report.md | 3 +- plugins/org-react/knip-report.md | 3 +- plugins/org/knip-report.md | 25 +- plugins/pagerduty/knip-report.md | 18 +- plugins/periskop-backend/knip-report.md | 6 - plugins/periskop/knip-report.md | 14 +- plugins/permission-react/knip-report.md | 13 +- plugins/playlist-backend/knip-report.md | 10 +- plugins/playlist/knip-report.md | 22 +- plugins/proxy-backend/knip-report.md | 3 +- plugins/puppetdb/knip-report.md | 18 +- plugins/rollbar-backend/knip-report.md | 3 +- plugins/rollbar/knip-report.md | 16 +- plugins/scaffolder-react/knip-report.md | 3 +- plugins/scaffolder/knip-report.md | 8 +- plugins/search-backend/knip-report.md | 7 - plugins/search-react/knip-report.md | 10 +- plugins/search/knip-report.md | 5 +- plugins/sentry/knip-report.md | 16 +- plugins/shortcuts/knip-report.md | 16 +- plugins/signals-backend/knip-report.md | 19 ++ plugins/signals-node/knip-report.md | 20 ++ plugins/signals-react/knip-report.md | 16 ++ plugins/signals/knip-report.md | 23 ++ plugins/sonarqube-backend/knip-report.md | 6 - plugins/sonarqube/knip-report.md | 26 +- plugins/splunk-on-call/knip-report.md | 18 +- plugins/stack-overflow/knip-report.md | 9 +- plugins/stackstorm/knip-report.md | 20 +- plugins/tech-insights/knip-report.md | 14 +- plugins/tech-radar/knip-report.md | 4 +- .../techdocs-addons-test-utils/knip-report.md | 11 +- .../knip-report.md | 3 +- plugins/techdocs-react/knip-report.md | 15 +- plugins/techdocs/knip-report.md | 4 +- plugins/todo/knip-report.md | 21 +- plugins/user-settings-backend/knip-report.md | 8 - plugins/user-settings/knip-report.md | 5 +- plugins/vault-backend/knip-report.md | 25 +- plugins/vault/knip-report.md | 19 +- plugins/xcmetrics/knip-report.md | 4 +- yarn.lock | 49 +--- 161 files changed, 1128 insertions(+), 1472 deletions(-) create mode 100644 packages/repo-tools/src/commands/knip-reports/knip-extractor.ts create mode 100644 packages/repo-tools/src/commands/knip-reports/knip-reports.ts create mode 100644 packages/repo-tools/src/commands/util.ts create mode 100644 plugins/auth-backend-module-aws-alb-provider/knip-report.md create mode 100644 plugins/auth-backend-module-oidc-provider/knip-report.md create mode 100644 plugins/signals-backend/knip-report.md create mode 100644 plugins/signals-node/knip-report.md create mode 100644 plugins/signals-react/knip-report.md create mode 100644 plugins/signals/knip-report.md diff --git a/.changeset/friendly-terms-love.md b/.changeset/friendly-terms-love.md index ed53fcee31..18fc399740 100644 --- a/.changeset/friendly-terms-love.md +++ b/.changeset/friendly-terms-love.md @@ -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. diff --git a/.gitignore b/.gitignore index c0ef0d2001..e499faf29e 100644 --- a/.gitignore +++ b/.gitignore @@ -162,4 +162,7 @@ e2e-test-report/ *svg.dtmp # Scripts -plugins-report.csv \ No newline at end of file +plugins-report.csv + +# Temporary knip configs +knip.json diff --git a/package.json b/package.json index 60d4a285a5..7f38af475e 100644 --- a/package.json +++ b/package.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", diff --git a/packages/app-defaults/knip-report.md b/packages/app-defaults/knip-report.md index bac77f66bc..fb60112aa2 100644 --- a/packages/app-defaults/knip-report.md +++ b/packages/app-defaults/knip-report.md @@ -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 | diff --git a/packages/app-next/knip-report.md b/packages/app-next/knip-report.md index 7ac62531b7..7787f9c8fc 100644 --- a/packages/app-next/knip-report.md +++ b/packages/app-next/knip-report.md @@ -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 | diff --git a/packages/app/knip-report.md b/packages/app/knip-report.md index 9a80ddd4ad..f22347da9f 100644 --- a/packages/app/knip-report.md +++ b/packages/app/knip-report.md @@ -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) diff --git a/packages/backend-tasks/knip-report.md b/packages/backend-tasks/knip-report.md index 243349f63c..b4595609b6 100644 --- a/packages/backend-tasks/knip-report.md +++ b/packages/backend-tasks/knip-report.md @@ -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 | diff --git a/packages/backend/knip-report.md b/packages/backend/knip-report.md index 3d3e308dfb..dbd46f1746 100644 --- a/packages/backend/knip-report.md +++ b/packages/backend/knip-report.md @@ -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) diff --git a/packages/cli/knip-report.md b/packages/cli/knip-report.md index 0143d297fe..8caf86f5ec 100644 --- a/packages/cli/knip-report.md +++ b/packages/cli/knip-report.md @@ -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 | diff --git a/packages/core-app-api/knip-report.md b/packages/core-app-api/knip-report.md index fc58f49ab9..905368dd3f 100644 --- a/packages/core-app-api/knip-report.md +++ b/packages/core-app-api/knip-report.md @@ -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 | diff --git a/packages/core-compat-api/knip-report.md b/packages/core-compat-api/knip-report.md index 9be63304d1..25c65be193 100644 --- a/packages/core-compat-api/knip-report.md +++ b/packages/core-compat-api/knip-report.md @@ -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 | diff --git a/packages/core-components/knip-report.md b/packages/core-components/knip-report.md index 1a2ba665c4..f457b7bb78 100644 --- a/packages/core-components/knip-report.md +++ b/packages/core-components/knip-report.md @@ -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) diff --git a/packages/core-plugin-api/knip-report.md b/packages/core-plugin-api/knip-report.md index 81ec43c56d..b222f9399d 100644 --- a/packages/core-plugin-api/knip-report.md +++ b/packages/core-plugin-api/knip-report.md @@ -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 | diff --git a/packages/dev-utils/knip-report.md b/packages/dev-utils/knip-report.md index 0215fabf06..c4383e6fce 100644 --- a/packages/dev-utils/knip-report.md +++ b/packages/dev-utils/knip-report.md @@ -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 | diff --git a/packages/eslint-plugin/knip-report.md b/packages/eslint-plugin/knip-report.md index 5c4fbbed76..77fca799d7 100644 --- a/packages/eslint-plugin/knip-report.md +++ b/packages/eslint-plugin/knip-report.md @@ -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 | diff --git a/packages/frontend-app-api/knip-report.md b/packages/frontend-app-api/knip-report.md index bac77f66bc..fb60112aa2 100644 --- a/packages/frontend-app-api/knip-report.md +++ b/packages/frontend-app-api/knip-report.md @@ -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 | diff --git a/packages/frontend-plugin-api/knip-report.md b/packages/frontend-plugin-api/knip-report.md index c7680f4f9e..a6c1e939c7 100644 --- a/packages/frontend-plugin-api/knip-report.md +++ b/packages/frontend-plugin-api/knip-report.md @@ -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 | diff --git a/packages/frontend-test-utils/knip-report.md b/packages/frontend-test-utils/knip-report.md index ae56051f88..24c942926b 100644 --- a/packages/frontend-test-utils/knip-report.md +++ b/packages/frontend-test-utils/knip-report.md @@ -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 | diff --git a/packages/integration-react/knip-report.md b/packages/integration-react/knip-report.md index c7c82e3d6f..1ffbed64e8 100644 --- a/packages/integration-react/knip-report.md +++ b/packages/integration-react/knip-report.md @@ -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 | diff --git a/packages/repo-tools/cli-report.md b/packages/repo-tools/cli-report.md index 7988c479b0..13e588e3e2 100644 --- a/packages/repo-tools/cli-report.md +++ b/packages/repo-tools/cli-report.md @@ -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` ``` diff --git a/packages/repo-tools/src/commands/api-reports/api-extractor.ts b/packages/repo-tools/src/commands/api-reports/api-extractor.ts index f7a635ad14..2a7da2eac9 100644 --- a/packages/repo-tools/src/commands/api-reports/api-extractor.ts +++ b/packages/repo-tools/src/commands/api-reports/api-extractor.ts @@ -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((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}, `); - } - } - }), - ), - ); -} diff --git a/packages/repo-tools/src/commands/api-reports/api-reports.test.ts b/packages/repo-tools/src/commands/api-reports/api-reports.test.ts index 955720c52e..d26f6dba85 100644 --- a/packages/repo-tools/src/commands/api-reports/api-reports.test.ts +++ b/packages/repo-tools/src/commands/api-reports/api-reports.test.ts @@ -43,7 +43,6 @@ jest.mock('./api-extractor', () => ({ runApiExtraction: jest.fn(), runCliExtraction: jest.fn(), buildDocs: jest.fn(), - runKnipReports: jest.fn(), })); const projectPaths = pathsLib.paths; diff --git a/packages/repo-tools/src/commands/api-reports/api-reports.ts b/packages/repo-tools/src/commands/api-reports/api-reports.ts index 31900ae9a8..637cd86671 100644 --- a/packages/repo-tools/src/commands/api-reports/api-reports.ts +++ b/packages/repo-tools/src/commands/api-reports/api-reports.ts @@ -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({ diff --git a/packages/repo-tools/src/commands/index.ts b/packages/repo-tools/src/commands/index.ts index 1fa37402ce..e0463da4f9 100644 --- a/packages/repo-tools/src/commands/index.ts +++ b/packages/repo-tools/src/commands/index.ts @@ -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); } diff --git a/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts b/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts new file mode 100644 index 0000000000..8273ab2533 --- /dev/null +++ b/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts @@ -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 }); + }); + } +} diff --git a/packages/repo-tools/src/commands/knip-reports/knip-reports.ts b/packages/repo-tools/src/commands/knip-reports/knip-reports.ts new file mode 100644 index 0000000000..48ffa6cbdb --- /dev/null +++ b/packages/repo-tools/src/commands/knip-reports/knip-reports.ts @@ -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, + }); + } +}; diff --git a/packages/repo-tools/src/commands/util.ts b/packages/repo-tools/src/commands/util.ts new file mode 100644 index 0000000000..933945bc5c --- /dev/null +++ b/packages/repo-tools/src/commands/util.ts @@ -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((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); + } + }, + ); + }); +} diff --git a/packages/test-utils/knip-report.md b/packages/test-utils/knip-report.md index 01c8cd52b2..4c8222eecd 100644 --- a/packages/test-utils/knip-report.md +++ b/packages/test-utils/knip-report.md @@ -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 | diff --git a/packages/theme/knip-report.md b/packages/theme/knip-report.md index 4e238f9db6..71141a3bba 100644 --- a/packages/theme/knip-report.md +++ b/packages/theme/knip-report.md @@ -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 | diff --git a/packages/version-bridge/knip-report.md b/packages/version-bridge/knip-report.md index 14792f6907..9f54e7f06d 100644 --- a/packages/version-bridge/knip-report.md +++ b/packages/version-bridge/knip-report.md @@ -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 | diff --git a/plugins/adr/knip-report.md b/plugins/adr/knip-report.md index dd9e1bedfe..881216583e 100644 --- a/plugins/adr/knip-report.md +++ b/plugins/adr/knip-report.md @@ -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 | diff --git a/plugins/airbrake-backend/knip-report.md b/plugins/airbrake-backend/knip-report.md index 8c164ce0a4..e31e20b852 100644 --- a/plugins/airbrake-backend/knip-report.md +++ b/plugins/airbrake-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/airbrake/knip-report.md b/plugins/airbrake/knip-report.md index 72d2b4fc16..9364473c4f 100644 --- a/plugins/airbrake/knip-report.md +++ b/plugins/airbrake/knip-report.md @@ -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 | diff --git a/plugins/allure/knip-report.md b/plugins/allure/knip-report.md index 49caf552e3..a7fde3968b 100644 --- a/plugins/allure/knip-report.md +++ b/plugins/allure/knip-report.md @@ -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 | diff --git a/plugins/analytics-module-ga/knip-report.md b/plugins/analytics-module-ga/knip-report.md index 5a62588b7e..9679afeb54 100644 --- a/plugins/analytics-module-ga/knip-report.md +++ b/plugins/analytics-module-ga/knip-report.md @@ -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 | diff --git a/plugins/analytics-module-ga4/knip-report.md b/plugins/analytics-module-ga4/knip-report.md index abf81e4cb3..544b473dd0 100644 --- a/plugins/analytics-module-ga4/knip-report.md +++ b/plugins/analytics-module-ga4/knip-report.md @@ -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 | diff --git a/plugins/analytics-module-newrelic-browser/knip-report.md b/plugins/analytics-module-newrelic-browser/knip-report.md index 321f11e9c6..9f54e7f06d 100644 --- a/plugins/analytics-module-newrelic-browser/knip-report.md +++ b/plugins/analytics-module-newrelic-browser/knip-report.md @@ -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 | diff --git a/plugins/apache-airflow/knip-report.md b/plugins/apache-airflow/knip-report.md index 08495d977c..44a5bee885 100644 --- a/plugins/apache-airflow/knip-report.md +++ b/plugins/apache-airflow/knip-report.md @@ -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 | diff --git a/plugins/api-docs-module-protoc-gen-doc/knip-report.md b/plugins/api-docs-module-protoc-gen-doc/knip-report.md index ae56051f88..24c942926b 100644 --- a/plugins/api-docs-module-protoc-gen-doc/knip-report.md +++ b/plugins/api-docs-module-protoc-gen-doc/knip-report.md @@ -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 | diff --git a/plugins/api-docs/knip-report.md b/plugins/api-docs/knip-report.md index d6646c1efe..7ecee7de26 100644 --- a/plugins/api-docs/knip-report.md +++ b/plugins/api-docs/knip-report.md @@ -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 | diff --git a/plugins/apollo-explorer/knip-report.md b/plugins/apollo-explorer/knip-report.md index 127784b04c..25d92625f5 100644 --- a/plugins/apollo-explorer/knip-report.md +++ b/plugins/apollo-explorer/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-atlassian-provider/knip-report.md b/plugins/auth-backend-module-atlassian-provider/knip-report.md index 2c608a6827..fe0782ee45 100644 --- a/plugins/auth-backend-module-atlassian-provider/knip-report.md +++ b/plugins/auth-backend-module-atlassian-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-aws-alb-provider/knip-report.md b/plugins/auth-backend-module-aws-alb-provider/knip-report.md new file mode 100644 index 0000000000..3071bbff01 --- /dev/null +++ b/plugins/auth-backend-module-aws-alb-provider/knip-report.md @@ -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 | + diff --git a/plugins/auth-backend-module-github-provider/knip-report.md b/plugins/auth-backend-module-github-provider/knip-report.md index ef27674899..8d7bd5cd41 100644 --- a/plugins/auth-backend-module-github-provider/knip-report.md +++ b/plugins/auth-backend-module-github-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-gitlab-provider/knip-report.md b/plugins/auth-backend-module-gitlab-provider/knip-report.md index 2c608a6827..fe0782ee45 100644 --- a/plugins/auth-backend-module-gitlab-provider/knip-report.md +++ b/plugins/auth-backend-module-gitlab-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-microsoft-provider/knip-report.md b/plugins/auth-backend-module-microsoft-provider/knip-report.md index 67ef0e695c..d51b79899b 100644 --- a/plugins/auth-backend-module-microsoft-provider/knip-report.md +++ b/plugins/auth-backend-module-microsoft-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-oauth2-provider/knip-report.md b/plugins/auth-backend-module-oauth2-provider/knip-report.md index b4f8775d9a..3db18e15f0 100644 --- a/plugins/auth-backend-module-oauth2-provider/knip-report.md +++ b/plugins/auth-backend-module-oauth2-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-oidc-provider/knip-report.md b/plugins/auth-backend-module-oidc-provider/knip-report.md new file mode 100644 index 0000000000..8cb9f67afb --- /dev/null +++ b/plugins/auth-backend-module-oidc-provider/knip-report.md @@ -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 | + diff --git a/plugins/auth-backend-module-okta-provider/knip-report.md b/plugins/auth-backend-module-okta-provider/knip-report.md index 2c608a6827..fe0782ee45 100644 --- a/plugins/auth-backend-module-okta-provider/knip-report.md +++ b/plugins/auth-backend-module-okta-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-pinniped-provider/knip-report.md b/plugins/auth-backend-module-pinniped-provider/knip-report.md index dc55a51fd3..c3dbae1569 100644 --- a/plugins/auth-backend-module-pinniped-provider/knip-report.md +++ b/plugins/auth-backend-module-pinniped-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md index d9be83c6e3..c5d1ec2ac8 100644 --- a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md +++ b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md @@ -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 | diff --git a/plugins/auth-backend/knip-report.md b/plugins/auth-backend/knip-report.md index 40fdccc2c3..b5112154f3 100644 --- a/plugins/auth-backend/knip-report.md +++ b/plugins/auth-backend/knip-report.md @@ -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 | diff --git a/plugins/azure-devops-backend/knip-report.md b/plugins/azure-devops-backend/knip-report.md index 8c164ce0a4..e31e20b852 100644 --- a/plugins/azure-devops-backend/knip-report.md +++ b/plugins/azure-devops-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/azure-devops/knip-report.md b/plugins/azure-devops/knip-report.md index 5484ac86b2..ecf6480396 100644 --- a/plugins/azure-devops/knip-report.md +++ b/plugins/azure-devops/knip-report.md @@ -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 | diff --git a/plugins/azure-sites-backend/knip-report.md b/plugins/azure-sites-backend/knip-report.md index 739ca03adb..b1d05b28ee 100644 --- a/plugins/azure-sites-backend/knip-report.md +++ b/plugins/azure-sites-backend/knip-report.md @@ -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) diff --git a/plugins/azure-sites-common/knip-report.md b/plugins/azure-sites-common/knip-report.md index 24c942926b..c61d844657 100644 --- a/plugins/azure-sites-common/knip-report.md +++ b/plugins/azure-sites-common/knip-report.md @@ -1,5 +1,11 @@ # Knip report +## Unused dependencies (1) + +| Name | Location | +|:-------------------------|:-------------| +| @backstage/catalog-model | package.json | + ## Unused devDependencies (1) | Name | Location | diff --git a/plugins/azure-sites/knip-report.md b/plugins/azure-sites/knip-report.md index 49caf552e3..c60bbdc1a8 100644 --- a/plugins/azure-sites/knip-report.md +++ b/plugins/azure-sites/knip-report.md @@ -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 | diff --git a/plugins/badges-backend/knip-report.md b/plugins/badges-backend/knip-report.md index 93eacaa2b1..db5d6f9746 100644 --- a/plugins/badges-backend/knip-report.md +++ b/plugins/badges-backend/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (2) | Name | Location | |:----------|:-------------| -| yn | package.json | | cors | package.json | | supertest | package.json | diff --git a/plugins/badges/knip-report.md b/plugins/badges/knip-report.md index 3fa6192efd..ce8576bebf 100644 --- a/plugins/badges/knip-report.md +++ b/plugins/badges/knip-report.md @@ -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 | diff --git a/plugins/bazaar-backend/knip-report.md b/plugins/bazaar-backend/knip-report.md index ea141f0cbe..2a595acf79 100644 --- a/plugins/bazaar-backend/knip-report.md +++ b/plugins/bazaar-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (2) | Name | Location | diff --git a/plugins/bazaar/knip-report.md b/plugins/bazaar/knip-report.md index b43003d1bb..a203b667b3 100644 --- a/plugins/bazaar/knip-report.md +++ b/plugins/bazaar/knip-report.md @@ -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 | diff --git a/plugins/bitrise/knip-report.md b/plugins/bitrise/knip-report.md index 3bf7c90c2b..5ab0e57e57 100644 --- a/plugins/bitrise/knip-report.md +++ b/plugins/bitrise/knip-report.md @@ -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 | diff --git a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md index fbc203820a..2a595acf79 100644 --- a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md +++ b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md @@ -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 | diff --git a/plugins/catalog-backend/knip-report.md b/plugins/catalog-backend/knip-report.md index 5639c9c550..bae768e781 100644 --- a/plugins/catalog-backend/knip-report.md +++ b/plugins/catalog-backend/knip-report.md @@ -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 | diff --git a/plugins/catalog-graph/knip-report.md b/plugins/catalog-graph/knip-report.md index ffeefea695..95a44323ae 100644 --- a/plugins/catalog-graph/knip-report.md +++ b/plugins/catalog-graph/knip-report.md @@ -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 | diff --git a/plugins/catalog-import/knip-report.md b/plugins/catalog-import/knip-report.md index 106e5b2b82..dbaf2b64d3 100644 --- a/plugins/catalog-import/knip-report.md +++ b/plugins/catalog-import/knip-report.md @@ -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 | diff --git a/plugins/catalog-react/knip-report.md b/plugins/catalog-react/knip-report.md index 0bd163e533..03d1ee0396 100644 --- a/plugins/catalog-react/knip-report.md +++ b/plugins/catalog-react/knip-report.md @@ -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 | diff --git a/plugins/catalog-unprocessed-entities/knip-report.md b/plugins/catalog-unprocessed-entities/knip-report.md index f57e40a0ba..9f54e7f06d 100644 --- a/plugins/catalog-unprocessed-entities/knip-report.md +++ b/plugins/catalog-unprocessed-entities/knip-report.md @@ -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 | diff --git a/plugins/catalog/knip-report.md b/plugins/catalog/knip-report.md index 875b92587f..cdf24bac48 100644 --- a/plugins/catalog/knip-report.md +++ b/plugins/catalog/knip-report.md @@ -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 | diff --git a/plugins/circleci/knip-report.md b/plugins/circleci/knip-report.md index 60ceb9a96f..24c942926b 100644 --- a/plugins/circleci/knip-report.md +++ b/plugins/circleci/knip-report.md @@ -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 | diff --git a/plugins/cloudbuild/knip-report.md b/plugins/cloudbuild/knip-report.md index 5484ac86b2..ecf6480396 100644 --- a/plugins/cloudbuild/knip-report.md +++ b/plugins/cloudbuild/knip-report.md @@ -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 | diff --git a/plugins/code-climate/knip-report.md b/plugins/code-climate/knip-report.md index ae8b1336a1..ecf6480396 100644 --- a/plugins/code-climate/knip-report.md +++ b/plugins/code-climate/knip-report.md @@ -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 | diff --git a/plugins/code-coverage-backend/knip-report.md b/plugins/code-coverage-backend/knip-report.md index bce9ec210a..86e3079791 100644 --- a/plugins/code-coverage-backend/knip-report.md +++ b/plugins/code-coverage-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/code-coverage/knip-report.md b/plugins/code-coverage/knip-report.md index 308b2f4748..2f33ca2948 100644 --- a/plugins/code-coverage/knip-report.md +++ b/plugins/code-coverage/knip-report.md @@ -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 | diff --git a/plugins/codescene/knip-report.md b/plugins/codescene/knip-report.md index cd4b52a70a..efbc44e5d5 100644 --- a/plugins/codescene/knip-report.md +++ b/plugins/codescene/knip-report.md @@ -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 | diff --git a/plugins/config-schema/knip-report.md b/plugins/config-schema/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/config-schema/knip-report.md +++ b/plugins/config-schema/knip-report.md @@ -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 | diff --git a/plugins/cost-insights/knip-report.md b/plugins/cost-insights/knip-report.md index 6e3734e217..942ccee1be 100644 --- a/plugins/cost-insights/knip-report.md +++ b/plugins/cost-insights/knip-report.md @@ -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 | diff --git a/plugins/devtools-backend/knip-report.md b/plugins/devtools-backend/knip-report.md index dc9f753a6b..0c78f2475f 100644 --- a/plugins/devtools-backend/knip-report.md +++ b/plugins/devtools-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/devtools/knip-report.md b/plugins/devtools/knip-report.md index f57e40a0ba..9f54e7f06d 100644 --- a/plugins/devtools/knip-report.md +++ b/plugins/devtools/knip-report.md @@ -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 | diff --git a/plugins/dynatrace/knip-report.md b/plugins/dynatrace/knip-report.md index 44e48cb6b2..3770bb993e 100644 --- a/plugins/dynatrace/knip-report.md +++ b/plugins/dynatrace/knip-report.md @@ -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 | diff --git a/plugins/entity-feedback-backend/knip-report.md b/plugins/entity-feedback-backend/knip-report.md index 02e48d9bc4..3e8751a225 100644 --- a/plugins/entity-feedback-backend/knip-report.md +++ b/plugins/entity-feedback-backend/knip-report.md @@ -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) diff --git a/plugins/entity-feedback/knip-report.md b/plugins/entity-feedback/knip-report.md index f3538df4bb..c767d8f623 100644 --- a/plugins/entity-feedback/knip-report.md +++ b/plugins/entity-feedback/knip-report.md @@ -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 | diff --git a/plugins/entity-validation/knip-report.md b/plugins/entity-validation/knip-report.md index 4346521955..ecf6480396 100644 --- a/plugins/entity-validation/knip-report.md +++ b/plugins/entity-validation/knip-report.md @@ -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 | diff --git a/plugins/example-todo-list-backend/knip-report.md b/plugins/example-todo-list-backend/knip-report.md index 8c164ce0a4..e31e20b852 100644 --- a/plugins/example-todo-list-backend/knip-report.md +++ b/plugins/example-todo-list-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/example-todo-list/knip-report.md b/plugins/example-todo-list/knip-report.md index a3d34e034c..9679afeb54 100644 --- a/plugins/example-todo-list/knip-report.md +++ b/plugins/example-todo-list/knip-report.md @@ -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 | diff --git a/plugins/explore-backend/knip-report.md b/plugins/explore-backend/knip-report.md index d957444a99..899e3d7956 100644 --- a/plugins/explore-backend/knip-report.md +++ b/plugins/explore-backend/knip-report.md @@ -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 | diff --git a/plugins/explore-react/knip-report.md b/plugins/explore-react/knip-report.md index 34e67d091a..0b4e23a04e 100644 --- a/plugins/explore-react/knip-report.md +++ b/plugins/explore-react/knip-report.md @@ -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 | diff --git a/plugins/explore/knip-report.md b/plugins/explore/knip-report.md index b63a8830f2..44a5bee885 100644 --- a/plugins/explore/knip-report.md +++ b/plugins/explore/knip-report.md @@ -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 | diff --git a/plugins/firehydrant/knip-report.md b/plugins/firehydrant/knip-report.md index 44e48cb6b2..3770bb993e 100644 --- a/plugins/firehydrant/knip-report.md +++ b/plugins/firehydrant/knip-report.md @@ -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 | diff --git a/plugins/fossa/knip-report.md b/plugins/fossa/knip-report.md index 08495d977c..44a5bee885 100644 --- a/plugins/fossa/knip-report.md +++ b/plugins/fossa/knip-report.md @@ -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 | diff --git a/plugins/gcalendar/knip-report.md b/plugins/gcalendar/knip-report.md index d90d7bd7a6..58fbe96097 100644 --- a/plugins/gcalendar/knip-report.md +++ b/plugins/gcalendar/knip-report.md @@ -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 | diff --git a/plugins/gcp-projects/knip-report.md b/plugins/gcp-projects/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/gcp-projects/knip-report.md +++ b/plugins/gcp-projects/knip-report.md @@ -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 | diff --git a/plugins/git-release-manager/knip-report.md b/plugins/git-release-manager/knip-report.md index 3187e43d3b..7d4e715dc1 100644 --- a/plugins/git-release-manager/knip-report.md +++ b/plugins/git-release-manager/knip-report.md @@ -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 | diff --git a/plugins/github-actions/knip-report.md b/plugins/github-actions/knip-report.md index 44e48cb6b2..3770bb993e 100644 --- a/plugins/github-actions/knip-report.md +++ b/plugins/github-actions/knip-report.md @@ -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 | diff --git a/plugins/github-deployments/knip-report.md b/plugins/github-deployments/knip-report.md index 08495d977c..44a5bee885 100644 --- a/plugins/github-deployments/knip-report.md +++ b/plugins/github-deployments/knip-report.md @@ -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 | diff --git a/plugins/github-issues/knip-report.md b/plugins/github-issues/knip-report.md index 5484ac86b2..ecf6480396 100644 --- a/plugins/github-issues/knip-report.md +++ b/plugins/github-issues/knip-report.md @@ -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 | diff --git a/plugins/github-pull-requests-board/knip-report.md b/plugins/github-pull-requests-board/knip-report.md index 3ef6ce2cf7..ecf6480396 100644 --- a/plugins/github-pull-requests-board/knip-report.md +++ b/plugins/github-pull-requests-board/knip-report.md @@ -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 | diff --git a/plugins/gitops-profiles/knip-report.md b/plugins/gitops-profiles/knip-report.md index 44e48cb6b2..3770bb993e 100644 --- a/plugins/gitops-profiles/knip-report.md +++ b/plugins/gitops-profiles/knip-report.md @@ -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 | diff --git a/plugins/gocd/knip-report.md b/plugins/gocd/knip-report.md index 5c60390a31..2f750523b0 100644 --- a/plugins/gocd/knip-report.md +++ b/plugins/gocd/knip-report.md @@ -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 | diff --git a/plugins/graphiql/knip-report.md b/plugins/graphiql/knip-report.md index db0c26367a..9022122cfc 100644 --- a/plugins/graphiql/knip-report.md +++ b/plugins/graphiql/knip-report.md @@ -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 | diff --git a/plugins/graphql-voyager/knip-report.md b/plugins/graphql-voyager/knip-report.md index 3ef6ce2cf7..ecf6480396 100644 --- a/plugins/graphql-voyager/knip-report.md +++ b/plugins/graphql-voyager/knip-report.md @@ -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 | diff --git a/plugins/home/knip-report.md b/plugins/home/knip-report.md index b0aec89510..e9ae64e960 100644 --- a/plugins/home/knip-report.md +++ b/plugins/home/knip-report.md @@ -1,14 +1,11 @@ # Knip report -## Unused devDependencies (7) +## 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 | | @testing-library/user-event | package.json | diff --git a/plugins/ilert/knip-report.md b/plugins/ilert/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/ilert/knip-report.md +++ b/plugins/ilert/knip-report.md @@ -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 | diff --git a/plugins/jenkins-backend/knip-report.md b/plugins/jenkins-backend/knip-report.md index 586ac73fae..4e473a9f2e 100644 --- a/plugins/jenkins-backend/knip-report.md +++ b/plugins/jenkins-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (2) | Name | Location | diff --git a/plugins/jenkins/knip-report.md b/plugins/jenkins/knip-report.md index 34592ee915..ecf6480396 100644 --- a/plugins/jenkins/knip-report.md +++ b/plugins/jenkins/knip-report.md @@ -1,14 +1,11 @@ # Knip report -## Unused devDependencies (7) +## 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 | -| @types/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 | diff --git a/plugins/kafka/knip-report.md b/plugins/kafka/knip-report.md index 17bd287fbc..67f9dbc286 100644 --- a/plugins/kafka/knip-report.md +++ b/plugins/kafka/knip-report.md @@ -1,14 +1,12 @@ # Knip report -## Unused devDependencies (7) +## Unused devDependencies (5) -| Name | Location | -|:--------------------------|:-------------| -| jest-when | 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 | +|:-----------------------|:-------------| +| jest-when | package.json | +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | diff --git a/plugins/kubernetes-backend/knip-report.md b/plugins/kubernetes-backend/knip-report.md index 20f05141fc..29043eb8d9 100644 --- a/plugins/kubernetes-backend/knip-report.md +++ b/plugins/kubernetes-backend/knip-report.md @@ -1,14 +1,10 @@ # Knip report -## Unused dependencies (7) +## Unused dependencies (3) | Name | Location | |:-------------------|:-------------| -| yn | package.json | -| cors | package.json | | morgan | package.json | -| helmet | package.json | -| compression | package.json | | stream-buffers | package.json | | @jest-mock/express | package.json | diff --git a/plugins/kubernetes-node/knip-report.md b/plugins/kubernetes-node/knip-report.md index 24c942926b..f45a227afc 100644 --- a/plugins/kubernetes-node/knip-report.md +++ b/plugins/kubernetes-node/knip-report.md @@ -1,8 +1,14 @@ # Knip report -## Unused devDependencies (1) +## Unused devDependencies (7) -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | +| Name | Location | +|:-------------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @backstage/backend-common | package.json | +| @backstage/backend-app-api | package.json | +| @backstage/backend-test-utils | package.json | +| @backstage/plugin-kubernetes-backend | package.json | diff --git a/plugins/kubernetes-react/knip-report.md b/plugins/kubernetes-react/knip-report.md index 953c3c2f9f..176a3af098 100644 --- a/plugins/kubernetes-react/knip-report.md +++ b/plugins/kubernetes-react/knip-report.md @@ -1,14 +1,13 @@ # Knip report -## Unused devDependencies (7) +## Unused devDependencies (6) -| Name | Location | -|:--------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| jest-websocket-mock | 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 | +| jest-websocket-mock | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @backstage/core-app-api | package.json | diff --git a/plugins/kubernetes/knip-report.md b/plugins/kubernetes/knip-report.md index 6d80ad2943..b164678b81 100644 --- a/plugins/kubernetes/knip-report.md +++ b/plugins/kubernetes/knip-report.md @@ -16,14 +16,11 @@ | @kubernetes-models/base | package.json | | @kubernetes-models/apimachinery | package.json | -## Unused devDependencies (6) +## Unused devDependencies (3) -| 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 | +| @testing-library/react | package.json | diff --git a/plugins/lighthouse/knip-report.md b/plugins/lighthouse/knip-report.md index 08495d977c..44a5bee885 100644 --- a/plugins/lighthouse/knip-report.md +++ b/plugins/lighthouse/knip-report.md @@ -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 | diff --git a/plugins/linguist-backend/knip-report.md b/plugins/linguist-backend/knip-report.md index 93d1ed03cc..8588b69130 100644 --- a/plugins/linguist-backend/knip-report.md +++ b/plugins/linguist-backend/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) | Name | Location | |:----------------------------|:-------------| -| yn | package.json | | @backstage/plugin-auth-node | package.json | ## Unused devDependencies (5) diff --git a/plugins/linguist/knip-report.md b/plugins/linguist/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/linguist/knip-report.md +++ b/plugins/linguist/knip-report.md @@ -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 | diff --git a/plugins/microsoft-calendar/knip-report.md b/plugins/microsoft-calendar/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/microsoft-calendar/knip-report.md +++ b/plugins/microsoft-calendar/knip-report.md @@ -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 | diff --git a/plugins/newrelic-dashboard/knip-report.md b/plugins/newrelic-dashboard/knip-report.md index 3fa6192efd..24c942926b 100644 --- a/plugins/newrelic-dashboard/knip-report.md +++ b/plugins/newrelic-dashboard/knip-report.md @@ -1,11 +1,8 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (1) -| 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 | diff --git a/plugins/newrelic/knip-report.md b/plugins/newrelic/knip-report.md index 49caf552e3..a7fde3968b 100644 --- a/plugins/newrelic/knip-report.md +++ b/plugins/newrelic/knip-report.md @@ -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 | diff --git a/plugins/nomad-backend/knip-report.md b/plugins/nomad-backend/knip-report.md index 8c164ce0a4..e31e20b852 100644 --- a/plugins/nomad-backend/knip-report.md +++ b/plugins/nomad-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/nomad/knip-report.md b/plugins/nomad/knip-report.md index d8e2df9bd9..9f54e7f06d 100644 --- a/plugins/nomad/knip-report.md +++ b/plugins/nomad/knip-report.md @@ -1,12 +1,9 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (2) -| Name | Location | -|:--------------------------|:-------------| -| cross-fetch | package.json | -| @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 | diff --git a/plugins/octopus-deploy/knip-report.md b/plugins/octopus-deploy/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/octopus-deploy/knip-report.md +++ b/plugins/octopus-deploy/knip-report.md @@ -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 | diff --git a/plugins/opencost/knip-report.md b/plugins/opencost/knip-report.md index a42dca8cda..ae56051f88 100644 --- a/plugins/opencost/knip-report.md +++ b/plugins/opencost/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:--------------------------|:-------------| | @backstage/cli | package.json | -| @backstage/dev-utils | package.json | | @testing-library/jest-dom | package.json | diff --git a/plugins/org-react/knip-report.md b/plugins/org-react/knip-report.md index 8b68d31b4a..7b939bc6d9 100644 --- a/plugins/org-react/knip-report.md +++ b/plugins/org-react/knip-report.md @@ -6,7 +6,7 @@ |:--------------------------|:-------------| | @backstage/catalog-client | 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 | diff --git a/plugins/org/knip-report.md b/plugins/org/knip-report.md index 50cc635025..d2f6612ddc 100644 --- a/plugins/org/knip-report.md +++ b/plugins/org/knip-report.md @@ -1,20 +1,13 @@ # Knip report -## Unused devDependencies (13) +## Unused devDependencies (6) -| Name | Location | -|:------------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/types | 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 | -| @backstage/catalog-client | package.json | -| @testing-library/user-event | package.json | -| @backstage/plugin-permission-react | package.json | -| @backstage/plugin-permission-common | package.json | +| Name | Location | +|:----------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/types | package.json | +| @testing-library/dom | package.json | +| @testing-library/react | package.json | +| @backstage/plugin-catalog | package.json | +| @testing-library/user-event | package.json | diff --git a/plugins/pagerduty/knip-report.md b/plugins/pagerduty/knip-report.md index 44e48cb6b2..3770bb993e 100644 --- a/plugins/pagerduty/knip-report.md +++ b/plugins/pagerduty/knip-report.md @@ -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 | diff --git a/plugins/periskop-backend/knip-report.md b/plugins/periskop-backend/knip-report.md index 8c164ce0a4..e31e20b852 100644 --- a/plugins/periskop-backend/knip-report.md +++ b/plugins/periskop-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/periskop/knip-report.md b/plugins/periskop/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/periskop/knip-report.md +++ b/plugins/periskop/knip-report.md @@ -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 | diff --git a/plugins/permission-react/knip-report.md b/plugins/permission-react/knip-report.md index bac77f66bc..fb60112aa2 100644 --- a/plugins/permission-react/knip-report.md +++ b/plugins/permission-react/knip-report.md @@ -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 | diff --git a/plugins/playlist-backend/knip-report.md b/plugins/playlist-backend/knip-report.md index 02e48d9bc4..3e8751a225 100644 --- a/plugins/playlist-backend/knip-report.md +++ b/plugins/playlist-backend/knip-report.md @@ -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) diff --git a/plugins/playlist/knip-report.md b/plugins/playlist/knip-report.md index f7eb3835e9..84aa502ad9 100644 --- a/plugins/playlist/knip-report.md +++ b/plugins/playlist/knip-report.md @@ -6,17 +6,15 @@ |:------------------------------------|:-------------| | @backstage/plugin-permission-common | package.json | -## Unused devDependencies (9) +## Unused devDependencies (7) -| Name | Location | -|:--------------------------|:-------------| -| swr | package.json | -| 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 | +|:------------------------|:-------------| +| swr | package.json | +| 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 | diff --git a/plugins/proxy-backend/knip-report.md b/plugins/proxy-backend/knip-report.md index a62026b363..6895986f47 100644 --- a/plugins/proxy-backend/knip-report.md +++ b/plugins/proxy-backend/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused dependencies (5) +## Unused dependencies (4) | Name | Location | |:-------|:-------------| -| yn | package.json | | yup | package.json | | yaml | package.json | | uuid | package.json | diff --git a/plugins/puppetdb/knip-report.md b/plugins/puppetdb/knip-report.md index 4aa4b7205e..96247d3c96 100644 --- a/plugins/puppetdb/knip-report.md +++ b/plugins/puppetdb/knip-report.md @@ -1,14 +1,12 @@ # Knip report -## Unused devDependencies (7) +## Unused devDependencies (5) -| Name | Location | -|:--------------------------|:-------------| -| msw | package.json | -| @backstage/cli | 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 | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @backstage/core-app-api | package.json | diff --git a/plugins/rollbar-backend/knip-report.md b/plugins/rollbar-backend/knip-report.md index c9d04b52a7..a4bbbbb810 100644 --- a/plugins/rollbar-backend/knip-report.md +++ b/plugins/rollbar-backend/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused dependencies (5) +## Unused dependencies (4) | Name | Location | |:------------|:-------------| -| yn | package.json | | cors | package.json | | morgan | package.json | | fs-extra | package.json | diff --git a/plugins/rollbar/knip-report.md b/plugins/rollbar/knip-report.md index 95ee34d272..aa8f8b77be 100644 --- a/plugins/rollbar/knip-report.md +++ b/plugins/rollbar/knip-report.md @@ -6,14 +6,12 @@ |:-------|:-------------| | lodash | package.json | -## 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 | diff --git a/plugins/scaffolder-react/knip-report.md b/plugins/scaffolder-react/knip-report.md index 57eae672dc..ffe4b02cf2 100644 --- a/plugins/scaffolder-react/knip-report.md +++ b/plugins/scaffolder-react/knip-report.md @@ -11,7 +11,7 @@ | zod-to-json-schema | package.json | | @backstage/catalog-client | package.json | -## Unused devDependencies (9) +## Unused devDependencies (8) | Name | Location | |:---------------------------------|:-------------| @@ -20,7 +20,6 @@ | @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 | | @backstage/plugin-catalog-common | package.json | diff --git a/plugins/scaffolder/knip-report.md b/plugins/scaffolder/knip-report.md index bf7175c19f..d3f951fd6f 100644 --- a/plugins/scaffolder/knip-report.md +++ b/plugins/scaffolder/knip-report.md @@ -1,25 +1,23 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (4) | Name | Location | |:--------------------|:-------------| | immer | package.json | | git-url-parse | package.json | +| @rjsf/material-ui | package.json | | json-schema-library | package.json | -## Unused devDependencies (10) +## 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 | -| @backstage/plugin-catalog | package.json | | @testing-library/user-event | package.json | diff --git a/plugins/search-backend/knip-report.md b/plugins/search-backend/knip-report.md index 21d04f2ad5..22d525923f 100644 --- a/plugins/search-backend/knip-report.md +++ b/plugins/search-backend/knip-report.md @@ -1,12 +1,5 @@ # Knip report -## Unused dependencies (2) - -| Name | Location | -|:----------------------------------|:-------------| -| yn | package.json | -| @backstage/plugin-permission-node | package.json | - ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/search-react/knip-report.md b/plugins/search-react/knip-report.md index fcc7b94e86..3ab62f70ee 100644 --- a/plugins/search-react/knip-report.md +++ b/plugins/search-react/knip-report.md @@ -1,21 +1,13 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:-----------------|:-------------| -| @backstage/theme | package.json | - -## Unused devDependencies (9) +## Unused devDependencies (7) | 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 | -| @testing-library/jest-dom | package.json | | @testing-library/user-event | package.json | | @backstage/frontend-app-api | package.json | | @backstage/frontend-test-utils | package.json | diff --git a/plugins/search/knip-report.md b/plugins/search/knip-report.md index 290a23740b..c6b6402246 100644 --- a/plugins/search/knip-report.md +++ b/plugins/search/knip-report.md @@ -1,16 +1,13 @@ # Knip report -## Unused devDependencies (9) +## Unused devDependencies (6) | Name | Location | |:----------------------------|:-------------| | history | 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 | diff --git a/plugins/sentry/knip-report.md b/plugins/sentry/knip-report.md index 89c276c630..8353ecad20 100644 --- a/plugins/sentry/knip-report.md +++ b/plugins/sentry/knip-report.md @@ -6,14 +6,12 @@ |:--------------|:-------------| | @date-io/core | package.json | -## 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 | diff --git a/plugins/shortcuts/knip-report.md b/plugins/shortcuts/knip-report.md index 5484ac86b2..ecf6480396 100644 --- a/plugins/shortcuts/knip-report.md +++ b/plugins/shortcuts/knip-report.md @@ -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 | diff --git a/plugins/signals-backend/knip-report.md b/plugins/signals-backend/knip-report.md new file mode 100644 index 0000000000..03597de16c --- /dev/null +++ b/plugins/signals-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (3) + +| Name | Location | +|:----------------------|:-------------| +| node-fetch | package.json | +| @backstage/config | package.json | +| http-proxy-middleware | package.json | + +## Unused devDependencies (4) + +| Name | Location | +|:-----------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | + diff --git a/plugins/signals-node/knip-report.md b/plugins/signals-node/knip-report.md new file mode 100644 index 0000000000..ef1a89a394 --- /dev/null +++ b/plugins/signals-node/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (6) + +| Name | Location | +|:----------------------------|:-------------| +| ws | package.json | +| uuid | package.json | +| express | package.json | +| @backstage/config | package.json | +| @backstage/backend-common | package.json | +| @backstage/plugin-auth-node | package.json | + +## Unused devDependencies (2) + +| Name | Location | +|:---------------|:-------------| +| @types/express | package.json | +| @backstage/cli | package.json | + diff --git a/plugins/signals-react/knip-report.md b/plugins/signals-react/knip-report.md new file mode 100644 index 0000000000..b22feb3580 --- /dev/null +++ b/plugins/signals-react/knip-report.md @@ -0,0 +1,16 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:------------------|:-------------| +| @material-ui/core | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | + diff --git a/plugins/signals/knip-report.md b/plugins/signals/knip-report.md new file mode 100644 index 0000000000..7331067004 --- /dev/null +++ b/plugins/signals/knip-report.md @@ -0,0 +1,23 @@ +# Knip report + +## Unused dependencies (4) + +| Name | Location | +|:-------------------|:-------------| +| react-use | package.json | +| @material-ui/lab | package.json | +| @backstage/theme | package.json | +| @material-ui/icons | package.json | + +## Unused devDependencies (7) + +| Name | Location | +|:----------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| jest-websocket-mock | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @backstage/core-app-api | package.json | +| @testing-library/user-event | package.json | + diff --git a/plugins/sonarqube-backend/knip-report.md b/plugins/sonarqube-backend/knip-report.md index dfdfabd895..e03ed5c8a2 100644 --- a/plugins/sonarqube-backend/knip-report.md +++ b/plugins/sonarqube-backend/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ## Unused devDependencies (5) | Name | Location | diff --git a/plugins/sonarqube/knip-report.md b/plugins/sonarqube/knip-report.md index 3f33f551fb..44a5bee885 100644 --- a/plugins/sonarqube/knip-report.md +++ b/plugins/sonarqube/knip-report.md @@ -1,21 +1,13 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (6) -| Name | Location | -|:-------------------------|:-------------| -| @backstage/catalog-model | 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/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 | diff --git a/plugins/splunk-on-call/knip-report.md b/plugins/splunk-on-call/knip-report.md index 44e48cb6b2..3770bb993e 100644 --- a/plugins/splunk-on-call/knip-report.md +++ b/plugins/splunk-on-call/knip-report.md @@ -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 | diff --git a/plugins/stack-overflow/knip-report.md b/plugins/stack-overflow/knip-report.md index e70def7c45..5553b3a1f7 100644 --- a/plugins/stack-overflow/knip-report.md +++ b/plugins/stack-overflow/knip-report.md @@ -1,19 +1,12 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:--------------------------|:-------------| -| @testing-library/jest-dom | package.json | - -## Unused devDependencies (6) +## 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 | | @testing-library/user-event | package.json | diff --git a/plugins/stackstorm/knip-report.md b/plugins/stackstorm/knip-report.md index 08495d977c..44a5bee885 100644 --- a/plugins/stackstorm/knip-report.md +++ b/plugins/stackstorm/knip-report.md @@ -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 | diff --git a/plugins/tech-insights/knip-report.md b/plugins/tech-insights/knip-report.md index 4346521955..9679afeb54 100644 --- a/plugins/tech-insights/knip-report.md +++ b/plugins/tech-insights/knip-report.md @@ -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 | diff --git a/plugins/tech-radar/knip-report.md b/plugins/tech-radar/knip-report.md index 7854337bc3..8fc787027b 100644 --- a/plugins/tech-radar/knip-report.md +++ b/plugins/tech-radar/knip-report.md @@ -1,15 +1,13 @@ # Knip report -## 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 | -| @testing-library/jest-dom | package.json | | @testing-library/user-event | package.json | | @backstage/frontend-test-utils | package.json | diff --git a/plugins/techdocs-addons-test-utils/knip-report.md b/plugins/techdocs-addons-test-utils/knip-report.md index 6772f6c64a..79290793ca 100644 --- a/plugins/techdocs-addons-test-utils/knip-report.md +++ b/plugins/techdocs-addons-test-utils/knip-report.md @@ -6,11 +6,10 @@ |:--------------------------|:-------------| | @backstage/plugin-catalog | package.json | -## Unused devDependencies (3) +## Unused devDependencies (2) -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/jest-dom | package.json | +| Name | Location | +|:---------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/dom | package.json | diff --git a/plugins/techdocs-module-addons-contrib/knip-report.md b/plugins/techdocs-module-addons-contrib/knip-report.md index 05a106a71a..88c7858e93 100644 --- a/plugins/techdocs-module-addons-contrib/knip-report.md +++ b/plugins/techdocs-module-addons-contrib/knip-report.md @@ -1,6 +1,6 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (5) | Name | Location | |:---------------------------------------------|:-------------| @@ -8,6 +8,5 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -| @testing-library/jest-dom | package.json | | @backstage/plugin-techdocs-addons-test-utils | package.json | diff --git a/plugins/techdocs-react/knip-report.md b/plugins/techdocs-react/knip-report.md index 95c382cd51..912e0d57b9 100644 --- a/plugins/techdocs-react/knip-report.md +++ b/plugins/techdocs-react/knip-report.md @@ -7,13 +7,12 @@ | react-helmet | package.json | | @material-ui/core | package.json | -## Unused devDependencies (5) +## Unused devDependencies (4) -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/theme | 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/theme | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | diff --git a/plugins/techdocs/knip-report.md b/plugins/techdocs/knip-report.md index f78d6cfa0d..0aa86b7492 100644 --- a/plugins/techdocs/knip-report.md +++ b/plugins/techdocs/knip-report.md @@ -7,18 +7,16 @@ | jss | package.json | | @backstage/theme | package.json | -## Unused devDependencies (10) +## Unused devDependencies (8) | 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 | | @backstage/plugin-techdocs-module-addons-contrib | package.json | diff --git a/plugins/todo/knip-report.md b/plugins/todo/knip-report.md index a1b2118648..9679afeb54 100644 --- a/plugins/todo/knip-report.md +++ b/plugins/todo/knip-report.md @@ -1,19 +1,10 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (3) -| Name | Location | -|:-------------------|:-------------| -| @material-ui/icons | 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 | +| @testing-library/react | package.json | diff --git a/plugins/user-settings-backend/knip-report.md b/plugins/user-settings-backend/knip-report.md index 57512bd519..22d525923f 100644 --- a/plugins/user-settings-backend/knip-report.md +++ b/plugins/user-settings-backend/knip-report.md @@ -1,13 +1,5 @@ # Knip report -## Unused dependencies (3) - -| Name | Location | -|:------------------|:-------------| -| yn | package.json | -| winston | package.json | -| @backstage/config | package.json | - ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/user-settings/knip-report.md b/plugins/user-settings/knip-report.md index 7d8fa19337..53337fea0b 100644 --- a/plugins/user-settings/knip-report.md +++ b/plugins/user-settings/knip-report.md @@ -6,17 +6,14 @@ |:-----------------|:-------------| | @backstage/theme | package.json | -## 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 | -| @testing-library/jest-dom | package.json | -| @backstage/plugin-catalog | package.json | | @testing-library/user-event | package.json | diff --git a/plugins/vault-backend/knip-report.md b/plugins/vault-backend/knip-report.md index 6db72eb479..9597d52c23 100644 --- a/plugins/vault-backend/knip-report.md +++ b/plugins/vault-backend/knip-report.md @@ -1,22 +1,11 @@ # Knip report -## Unused dependencies (4) +## Unused devDependencies (4) -| Name | Location | -|:------------|:-------------| -| yn | package.json | -| cors | package.json | -| helmet | package.json | -| compression | package.json | - -## Unused devDependencies (6) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @types/compression | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:-----------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | diff --git a/plugins/vault/knip-report.md b/plugins/vault/knip-report.md index 08495d977c..a469608db4 100644 --- a/plugins/vault/knip-report.md +++ b/plugins/vault/knip-report.md @@ -1,15 +1,12 @@ # Knip report -## Unused devDependencies (8) +## 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 | -| @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 | +| @testing-library/react | package.json | +| @backstage/core-app-api | package.json | diff --git a/plugins/xcmetrics/knip-report.md b/plugins/xcmetrics/knip-report.md index b0aec89510..d0ad73b69c 100644 --- a/plugins/xcmetrics/knip-report.md +++ b/plugins/xcmetrics/knip-report.md @@ -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 | -| @testing-library/jest-dom | package.json | | @testing-library/user-event | package.json | diff --git a/yarn.lock b/yarn.lock index 838a17e680..80827873f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -28224,7 +28224,7 @@ __metadata: languageName: node linkType: hard -"fastq@npm:^1.15.0": +"fastq@npm:^1.15.0, fastq@npm:^1.6.0": version: 1.17.0 resolution: "fastq@npm:1.17.0" dependencies: @@ -28233,15 +28233,6 @@ __metadata: languageName: node linkType: hard -"fastq@npm:^1.6.0": - version: 1.6.1 - resolution: "fastq@npm:1.6.1" - dependencies: - reusify: ^1.0.4 - checksum: e9940b30758a6a6bb3595d965accb4c86b85c7b594c3387788c480a83ac5e43d933eccb6b41f510d0c944aa17af340f432b4efe791f0d0bbe0e3e06dfdcda610 - languageName: node - linkType: hard - "fault@npm:^1.0.0": version: 1.0.4 resolution: "fault@npm:1.0.4" @@ -29575,14 +29566,7 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.10, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": - version: 4.2.10 - resolution: "graceful-fs@npm:4.2.10" - checksum: 3f109d70ae123951905d85032ebeae3c2a5a7a997430df00ea30df0e3a6c60cf6689b109654d6fdacd28810a053348c4d14642da1d075049e6be1ba5216218da - languageName: node - linkType: hard - -"graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.2.11": +"graceful-fs@npm:^4.1.11, graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.1.2, graceful-fs@npm:^4.1.5, graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.10, graceful-fs@npm:^4.2.11, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6, graceful-fs@npm:^4.2.9": version: 4.2.11 resolution: "graceful-fs@npm:4.2.11" checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 @@ -30587,14 +30571,7 @@ __metadata: languageName: node linkType: hard -"ignore@npm:^5.1.4, ignore@npm:^5.2.0, ignore@npm:^5.2.4": - version: 5.2.4 - resolution: "ignore@npm:5.2.4" - checksum: 3d4c309c6006e2621659311783eaea7ebcd41fe4ca1d78c91c473157ad6666a57a2df790fe0d07a12300d9aac2888204d7be8d59f9aaf665b1c7fcdb432517ef - languageName: node - linkType: hard - -"ignore@npm:^5.1.8": +"ignore@npm:^5.1.4, ignore@npm:^5.1.8, ignore@npm:^5.2.0, ignore@npm:^5.2.4": version: 5.3.0 resolution: "ignore@npm:5.3.0" checksum: 2736da6621f14ced652785cb05d86301a66d70248597537176612bd0c8630893564bd5f6421f8806b09e8472e75c591ef01672ab8059c07c6eb2c09cefe04bf9 @@ -41422,14 +41399,7 @@ __metadata: languageName: node linkType: hard -"run-parallel@npm:^1.1.9": - version: 1.1.9 - resolution: "run-parallel@npm:1.1.9" - checksum: 8bbeda89c2c1dbfeaa0cdb9f17e93a011ac58ef77339ef1e61a62208b67c8e7b661891df677bb7c5be84b8792e27061177368d500b3c731bb019b0c71e667591 - languageName: node - linkType: hard - -"run-parallel@npm:^1.2.0": +"run-parallel@npm:^1.1.9, run-parallel@npm:^1.2.0": version: 1.2.0 resolution: "run-parallel@npm:1.2.0" dependencies: @@ -42572,7 +42542,7 @@ __metadata: languageName: node linkType: hard -"ssri@npm:10.0.5": +"ssri@npm:10.0.5, ssri@npm:^10.0.0": version: 10.0.5 resolution: "ssri@npm:10.0.5" dependencies: @@ -42581,15 +42551,6 @@ __metadata: languageName: node linkType: hard -"ssri@npm:^10.0.0": - version: 10.0.4 - resolution: "ssri@npm:10.0.4" - dependencies: - minipass: ^5.0.0 - checksum: fb14da9f8a72b04eab163eb13a9dda11d5962cd2317f85457c4e0b575e9a6e0e3a6a87b5bf122c75cb36565830cd5f263fb457571bf6f1587eb5f95d095d6165 - languageName: node - linkType: hard - "ssri@npm:^8.0.0, ssri@npm:^8.0.1": version: 8.0.1 resolution: "ssri@npm:8.0.1" From 00175d889a615bfdbd7b6852186004707c2792c7 Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Tue, 6 Feb 2024 15:29:37 +0200 Subject: [PATCH 74/82] docs: update knip reports Signed-off-by: Heikki Hellgren --- .changeset/tasty-oranges-rescue.md | 7 +++++++ packages/create-app/knip-report.md | 3 ++- .../knip-report.md | 3 ++- plugins/graphiql/knip-report.md | 3 +-- plugins/notifications-backend/knip-report.md | 19 ++++++++++++++++++ plugins/notifications-common/knip-report.md | 14 +++++++++++++ plugins/notifications-node/knip-report.md | 20 +++++++++++++++++++ plugins/notifications/knip-report.md | 20 +++++++++++++++++++ .../knip-report.md | 17 ++++++++++++++++ .../knip-report.md | 17 ++++++++++++++++ .../knip-report.md | 3 ++- .../knip-report.md | 17 ++++++++-------- 12 files changed, 130 insertions(+), 13 deletions(-) create mode 100644 plugins/notifications-backend/knip-report.md create mode 100644 plugins/notifications-common/knip-report.md create mode 100644 plugins/notifications-node/knip-report.md create mode 100644 plugins/notifications/knip-report.md create mode 100644 plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md create mode 100644 plugins/scaffolder-backend-module-bitbucket-server/knip-report.md diff --git a/.changeset/tasty-oranges-rescue.md b/.changeset/tasty-oranges-rescue.md index b146c2e143..891b5b3b07 100644 --- a/.changeset/tasty-oranges-rescue.md +++ b/.changeset/tasty-oranges-rescue.md @@ -1,4 +1,5 @@ --- +<<<<<<< HEAD '@backstage/plugin-auth-backend': minor --- @@ -9,3 +10,9 @@ This comes with breaking changes to config options: - `audience` is now mandatory - `wantAuthnResponseSigned` is now exposed and defaults to `true` - `wantAssertionsSigned` is now exposed and defaults to `true` +======= +'@backstage/plugin-auth-backend': patch +--- + +migrate from 'passport-saml' to '@node-saml/passport-saml' +>>>>>>> 653fd33301e (chore(plugins/auth-backend): migrate from passport-saml package to @node-saml/passport-saml) diff --git a/packages/create-app/knip-report.md b/packages/create-app/knip-report.md index 5c8c59adc1..3e3ca1b1a7 100644 --- a/packages/create-app/knip-report.md +++ b/packages/create-app/knip-report.md @@ -1,9 +1,10 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (6) | Name | Location | |:------------------------------|:-------------| +| msw | package.json | | ts-node | package.json | | nodemon | package.json | | @backstage/cli | package.json | diff --git a/plugins/auth-backend-module-aws-alb-provider/knip-report.md b/plugins/auth-backend-module-aws-alb-provider/knip-report.md index 3071bbff01..3f2a3a7c13 100644 --- a/plugins/auth-backend-module-aws-alb-provider/knip-report.md +++ b/plugins/auth-backend-module-aws-alb-provider/knip-report.md @@ -7,10 +7,11 @@ | @backstage/backend-common | package.json | | @backstage/plugin-auth-backend | package.json | -## Unused devDependencies (4) +## Unused devDependencies (5) | Name | Location | |:------------------------------|:-------------| +| msw | package.json | | express | package.json | | @backstage/cli | package.json | | @backstage/config | package.json | diff --git a/plugins/graphiql/knip-report.md b/plugins/graphiql/knip-report.md index 9022122cfc..0fb6911e83 100644 --- a/plugins/graphiql/knip-report.md +++ b/plugins/graphiql/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) | Name | Location | |:-----------|:-------------| -| graphql | package.json | | graphql-ws | package.json | ## Unused devDependencies (5) diff --git a/plugins/notifications-backend/knip-report.md b/plugins/notifications-backend/knip-report.md new file mode 100644 index 0000000000..07cbe4037a --- /dev/null +++ b/plugins/notifications-backend/knip-report.md @@ -0,0 +1,19 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:------------------|:-------------| +| node-fetch | package.json | +| @backstage/config | package.json | + +## Unused devDependencies (5) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/notifications-common/knip-report.md b/plugins/notifications-common/knip-report.md new file mode 100644 index 0000000000..372c0d21f4 --- /dev/null +++ b/plugins/notifications-common/knip-report.md @@ -0,0 +1,14 @@ +# Knip report + +## Unused dependencies (1) + +| Name | Location | +|:-------------------|:-------------| +| @material-ui/icons | package.json | + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | + diff --git a/plugins/notifications-node/knip-report.md b/plugins/notifications-node/knip-report.md new file mode 100644 index 0000000000..ede95a89bc --- /dev/null +++ b/plugins/notifications-node/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (5) + +| Name | Location | +|:-------------------------------|:-------------| +| uuid | package.json | +| knex | package.json | +| @backstage/catalog-model | package.json | +| @backstage/catalog-client | package.json | +| @backstage/plugin-signals-node | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:----------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/test-utils | package.json | + diff --git a/plugins/notifications/knip-report.md b/plugins/notifications/knip-report.md new file mode 100644 index 0000000000..9713c78460 --- /dev/null +++ b/plugins/notifications/knip-report.md @@ -0,0 +1,20 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:-----------------|:-------------| +| @material-ui/lab | package.json | +| @backstage/theme | package.json | + +## Unused devDependencies (6) + +| Name | Location | +|:----------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @backstage/core-app-api | package.json | +| @testing-library/user-event | package.json | + diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md b/plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md new file mode 100644 index 0000000000..97643caaa1 --- /dev/null +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| fs-extra | package.json | +| @backstage/backend-common | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md b/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md new file mode 100644 index 0000000000..dd5d6b075b --- /dev/null +++ b/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md @@ -0,0 +1,17 @@ +# Knip report + +## Unused dependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| yaml | package.json | +| @backstage/backend-common | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | + diff --git a/plugins/scaffolder-backend-module-bitbucket/knip-report.md b/plugins/scaffolder-backend-module-bitbucket/knip-report.md index 7f1069ffcc..97643caaa1 100644 --- a/plugins/scaffolder-backend-module-bitbucket/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket/knip-report.md @@ -1,9 +1,10 @@ # Knip report -## Unused dependencies (1) +## Unused dependencies (2) | Name | Location | |:--------------------------|:-------------| +| fs-extra | package.json | | @backstage/backend-common | package.json | ## Unused devDependencies (3) diff --git a/plugins/tech-insights-backend-module-jsonfc/knip-report.md b/plugins/tech-insights-backend-module-jsonfc/knip-report.md index d250ee017c..bfd4d03096 100644 --- a/plugins/tech-insights-backend-module-jsonfc/knip-report.md +++ b/plugins/tech-insights-backend-module-jsonfc/knip-report.md @@ -2,14 +2,15 @@ ## Unused dependencies (2) -| Name | Location | -|:--------------------------|:-------------| -| luxon | package.json | -| @backstage/backend-common | package.json | +| Name | Location | +|:-----------------|:-------------| +| luxon | package.json | +| @backstage/types | package.json | -## Unused devDependencies (1) +## Unused devDependencies (2) -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | +| Name | Location | +|:------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/backend-test-utils | package.json | From 23a29697aa20972e0b6298efa06194561f43f5bc Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Thu, 21 Dec 2023 09:00:59 +0200 Subject: [PATCH 75/82] ci: introduce knip for checking unused packages fixes #21948 Signed-off-by: Heikki Hellgren --- .changeset/friendly-terms-love.md | 255 ++++++++++++++++++ package.json | 2 +- packages/app-defaults/knip-report.md | 11 + packages/app-next/knip-report.md | 15 ++ packages/app/knip-report.md | 14 + packages/backend-tasks/knip-report.md | 10 + packages/backend/knip-report.md | 4 + packages/cli/knip-report.md | 31 +++ packages/core-app-api/knip-report.md | 8 + packages/core-compat-api/knip-report.md | 6 + packages/core-components/knip-report.md | 12 + packages/core-plugin-api/knip-report.md | 8 + packages/create-app/knip-report.md | 7 + packages/dev-utils/knip-report.md | 8 + packages/eslint-plugin/knip-report.md | 10 + packages/frontend-app-api/knip-report.md | 11 + packages/frontend-plugin-api/knip-report.md | 8 + packages/frontend-test-utils/knip-report.md | 9 + packages/integration-react/knip-report.md | 20 ++ .../src/commands/api-reports/api-extractor.ts | 67 ++++- .../commands/api-reports/api-reports.test.ts | 1 + .../src/commands/api-reports/api-reports.ts | 12 + packages/test-utils/knip-report.md | 10 + packages/theme/knip-report.md | 11 + packages/version-bridge/knip-report.md | 10 + plugins/adr/knip-report.md | 11 + plugins/airbrake-backend/knip-report.md | 9 + plugins/airbrake/knip-report.md | 23 ++ plugins/allure/knip-report.md | 14 + plugins/analytics-module-ga/knip-report.md | 19 ++ plugins/analytics-module-ga4/knip-report.md | 20 ++ .../knip-report.md | 17 ++ plugins/apache-airflow/knip-report.md | 15 ++ .../knip-report.md | 9 + plugins/api-docs/knip-report.md | 12 + plugins/apollo-explorer/knip-report.md | 12 + .../knip-report.md | 12 + .../knip-report.md | 12 + .../knip-report.md | 12 + .../knip-report.md | 14 + .../knip-report.md | 12 + .../knip-report.md | 12 + .../knip-report.md | 18 ++ .../knip-report.md | 15 ++ plugins/auth-backend/knip-report.md | 19 ++ plugins/azure-devops-backend/knip-report.md | 9 + plugins/azure-devops/knip-report.md | 13 + plugins/azure-sites-backend/knip-report.md | 7 + plugins/azure-sites-common/knip-report.md | 3 + plugins/azure-sites/knip-report.md | 14 + plugins/badges-backend/knip-report.md | 8 + plugins/badges/knip-report.md | 11 + plugins/bazaar-backend/knip-report.md | 9 + plugins/bazaar/knip-report.md | 17 ++ plugins/bitrise/knip-report.md | 12 + .../knip-report.md | 8 + plugins/catalog-backend/knip-report.md | 14 + plugins/catalog-graph/knip-report.md | 20 ++ plugins/catalog-import/knip-report.md | 12 + plugins/catalog-react/knip-report.md | 11 + .../knip-report.md | 11 + plugins/catalog/knip-report.md | 12 + plugins/circleci/knip-report.md | 9 + plugins/cloudbuild/knip-report.md | 13 + plugins/code-climate/knip-report.md | 19 ++ plugins/code-coverage-backend/knip-report.md | 9 + plugins/code-coverage/knip-report.md | 13 + plugins/codescene/knip-report.md | 15 ++ plugins/config-schema/knip-report.md | 12 + plugins/cost-insights/knip-report.md | 12 + plugins/devtools-backend/knip-report.md | 9 + plugins/devtools/knip-report.md | 11 + plugins/dynatrace/knip-report.md | 14 + .../entity-feedback-backend/knip-report.md | 10 + plugins/entity-feedback/knip-report.md | 8 + plugins/entity-validation/knip-report.md | 12 + .../example-todo-list-backend/knip-report.md | 9 + plugins/example-todo-list/knip-report.md | 11 + plugins/explore-backend/knip-report.md | 18 ++ plugins/explore-react/knip-report.md | 12 + plugins/explore/knip-report.md | 16 ++ plugins/firehydrant/knip-report.md | 14 + plugins/fossa/knip-report.md | 15 ++ plugins/gcalendar/knip-report.md | 14 + plugins/gcp-projects/knip-report.md | 12 + plugins/git-release-manager/knip-report.md | 13 + plugins/github-actions/knip-report.md | 14 + plugins/github-deployments/knip-report.md | 15 ++ plugins/github-issues/knip-report.md | 13 + .../github-pull-requests-board/knip-report.md | 12 + plugins/gitops-profiles/knip-report.md | 14 + plugins/gocd/knip-report.md | 12 + plugins/graphiql/knip-report.md | 21 ++ plugins/graphql-voyager/knip-report.md | 12 + plugins/home/knip-report.md | 11 + plugins/ilert/knip-report.md | 12 + plugins/jenkins-backend/knip-report.md | 9 + plugins/jenkins/knip-report.md | 14 + plugins/kafka/knip-report.md | 14 + plugins/kubernetes-backend/knip-report.md | 12 + plugins/kubernetes-node/knip-report.md | 8 + plugins/kubernetes-react/knip-report.md | 14 + plugins/kubernetes/knip-report.md | 13 + plugins/lighthouse/knip-report.md | 15 ++ plugins/linguist-backend/knip-report.md | 8 + plugins/linguist/knip-report.md | 12 + plugins/microsoft-calendar/knip-report.md | 12 + plugins/newrelic-dashboard/knip-report.md | 11 + plugins/newrelic/knip-report.md | 14 + plugins/nomad-backend/knip-report.md | 9 + plugins/nomad/knip-report.md | 12 + plugins/octopus-deploy/knip-report.md | 12 + plugins/opencost/knip-report.md | 8 + plugins/org-react/knip-report.md | 8 + plugins/org/knip-report.md | 20 ++ plugins/pagerduty/knip-report.md | 14 + plugins/periskop-backend/knip-report.md | 9 + plugins/periskop/knip-report.md | 12 + plugins/permission-react/knip-report.md | 11 + plugins/playlist-backend/knip-report.md | 10 + plugins/playlist/knip-report.md | 16 ++ plugins/proxy-backend/knip-report.md | 8 + plugins/puppetdb/knip-report.md | 14 + plugins/rollbar-backend/knip-report.md | 8 + plugins/rollbar/knip-report.md | 13 + .../knip-report.md | 7 + .../knip-report.md | 7 + plugins/scaffolder-react/knip-report.md | 8 + plugins/scaffolder/knip-report.md | 19 ++ plugins/search-backend/knip-report.md | 10 + plugins/search-react/knip-report.md | 17 ++ plugins/search/knip-report.md | 12 + plugins/sentry/knip-report.md | 13 + plugins/shortcuts/knip-report.md | 13 + plugins/sonarqube-backend/knip-report.md | 9 + plugins/sonarqube/knip-report.md | 21 ++ plugins/splunk-on-call/knip-report.md | 14 + plugins/stack-overflow/knip-report.md | 14 + plugins/stackstorm/knip-report.md | 15 ++ .../knip-report.md | 13 + plugins/tech-insights/knip-report.md | 12 + plugins/tech-radar/knip-report.md | 11 + .../techdocs-addons-test-utils/knip-report.md | 10 + .../knip-report.md | 8 + plugins/techdocs-react/knip-report.md | 12 + plugins/techdocs/knip-report.md | 12 + plugins/todo/knip-report.md | 19 ++ plugins/user-settings-backend/knip-report.md | 11 + plugins/user-settings/knip-report.md | 12 + plugins/vault-backend/knip-report.md | 22 ++ plugins/vault/knip-report.md | 15 ++ plugins/xcmetrics/knip-report.md | 11 + yarn.lock | 193 ++++++++++++- 153 files changed, 2345 insertions(+), 9 deletions(-) diff --git a/.changeset/friendly-terms-love.md b/.changeset/friendly-terms-love.md index 18fc399740..8cb9618f08 100644 --- a/.changeset/friendly-terms-love.md +++ b/.changeset/friendly-terms-love.md @@ -1,5 +1,260 @@ --- +<<<<<<< HEAD '@backstage/repo-tools': patch --- Introduced `knip` to the `knip-reports` command, which generates a `knip-report.md` file for your packages with dependency warnings, if any. +======= +'@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. +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/package.json b/package.json index 7f38af475e..cbf04d65ea 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "eslint-plugin-react": "^7.28.0", "eslint-plugin-testing-library": "^6.0.0", "fs-extra": "10.1.0", - "husky": "^8.0.0", + "husky": "^9.0.0", "knip": "^4.3.1", "lint-staged": "^15.0.0", "minimist": "^1.2.5", diff --git a/packages/app-defaults/knip-report.md b/packages/app-defaults/knip-report.md index fb60112aa2..8d546ae255 100644 --- a/packages/app-defaults/knip-report.md +++ b/packages/app-defaults/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,14 @@ | @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) diff --git a/packages/app-next/knip-report.md b/packages/app-next/knip-report.md index 7787f9c8fc..b96d412224 100644 --- a/packages/app-next/knip-report.md +++ b/packages/app-next/knip-report.md @@ -1,6 +1,10 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (64) +======= +## Unused dependencies (63) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------------------------|:-------------| @@ -30,7 +34,10 @@ | @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 | @@ -69,7 +76,11 @@ | @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 | |:----------------------------|:-------------| @@ -79,5 +90,9 @@ | @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 | diff --git a/packages/app/knip-report.md b/packages/app/knip-report.md index f22347da9f..f116708f3d 100644 --- a/packages/app/knip-report.md +++ b/packages/app/knip-report.md @@ -15,12 +15,21 @@ | @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 | |:----------------------------|:-------------| @@ -28,6 +37,11 @@ | @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) diff --git a/packages/backend-tasks/knip-report.md b/packages/backend-tasks/knip-report.md index b4595609b6..f17fdee4f5 100644 --- a/packages/backend-tasks/knip-report.md +++ b/packages/backend-tasks/knip-report.md @@ -1,9 +1,19 @@ # 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) diff --git a/packages/backend/knip-report.md b/packages/backend/knip-report.md index dbd46f1746..37cab7b78b 100644 --- a/packages/backend/knip-report.md +++ b/packages/backend/knip-report.md @@ -14,7 +14,11 @@ | 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) diff --git a/packages/cli/knip-report.md b/packages/cli/knip-report.md index 8caf86f5ec..6b82908882 100644 --- a/packages/cli/knip-report.md +++ b/packages/cli/knip-report.md @@ -33,11 +33,18 @@ | @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 | @@ -46,6 +53,7 @@ | @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 | @@ -53,6 +61,11 @@ | @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 | @@ -65,6 +78,7 @@ | @vitejs/plugin-react | package.json | | vite-plugin-node-polyfills | package.json | +<<<<<<< HEAD ## Unlisted dependencies (3) | Name | Location | @@ -72,4 +86,21 @@ | 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) diff --git a/packages/core-app-api/knip-report.md b/packages/core-app-api/knip-report.md index 905368dd3f..f4288e2651 100644 --- a/packages/core-app-api/knip-report.md +++ b/packages/core-app-api/knip-report.md @@ -6,7 +6,11 @@ |:--------|:-------------| | history | package.json | +<<<<<<< HEAD ## Unused devDependencies (11) +======= +## Unused devDependencies (12) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-----------------------------|:-------------| @@ -19,6 +23,10 @@ | @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 | diff --git a/packages/core-compat-api/knip-report.md b/packages/core-compat-api/knip-report.md index 25c65be193..2832fd0400 100644 --- a/packages/core-compat-api/knip-report.md +++ b/packages/core-compat-api/knip-report.md @@ -12,9 +12,15 @@ |:--------------------------------------|:-------------| | @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 | diff --git a/packages/core-components/knip-report.md b/packages/core-components/knip-report.md index f457b7bb78..f05ab12708 100644 --- a/packages/core-components/knip-report.md +++ b/packages/core-components/knip-report.md @@ -9,7 +9,11 @@ | 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 | |:----------------------------|:-------------| @@ -18,9 +22,17 @@ | @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) diff --git a/packages/core-plugin-api/knip-report.md b/packages/core-plugin-api/knip-report.md index b222f9399d..05d6074288 100644 --- a/packages/core-plugin-api/knip-report.md +++ b/packages/core-plugin-api/knip-report.md @@ -6,7 +6,11 @@ |:--------|:-------------| | history | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (7) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| @@ -15,5 +19,9 @@ | @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 | diff --git a/packages/create-app/knip-report.md b/packages/create-app/knip-report.md index 3e3ca1b1a7..d0fb85b8bf 100644 --- a/packages/create-app/knip-report.md +++ b/packages/create-app/knip-report.md @@ -1,10 +1,17 @@ # 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 | diff --git a/packages/dev-utils/knip-report.md b/packages/dev-utils/knip-report.md index c4383e6fce..e3a66ca3ec 100644 --- a/packages/dev-utils/knip-report.md +++ b/packages/dev-utils/knip-report.md @@ -6,7 +6,11 @@ |:-----------------|:-------------| | @backstage/theme | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (7) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| @@ -15,5 +19,9 @@ | @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 | diff --git a/packages/eslint-plugin/knip-report.md b/packages/eslint-plugin/knip-report.md index 77fca799d7..571007d06b 100644 --- a/packages/eslint-plugin/knip-report.md +++ b/packages/eslint-plugin/knip-report.md @@ -1,9 +1,19 @@ # 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) diff --git a/packages/frontend-app-api/knip-report.md b/packages/frontend-app-api/knip-report.md index fb60112aa2..8d546ae255 100644 --- a/packages/frontend-app-api/knip-report.md +++ b/packages/frontend-app-api/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,14 @@ | @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) diff --git a/packages/frontend-plugin-api/knip-report.md b/packages/frontend-plugin-api/knip-report.md index a6c1e939c7..2b86fc1ff2 100644 --- a/packages/frontend-plugin-api/knip-report.md +++ b/packages/frontend-plugin-api/knip-report.md @@ -8,7 +8,11 @@ | @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 | |:-------------------------------|:-------------| @@ -16,6 +20,10 @@ | @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 | diff --git a/packages/frontend-test-utils/knip-report.md b/packages/frontend-test-utils/knip-report.md index 24c942926b..456761f652 100644 --- a/packages/frontend-test-utils/knip-report.md +++ b/packages/frontend-test-utils/knip-report.md @@ -1,8 +1,17 @@ # 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) diff --git a/packages/integration-react/knip-report.md b/packages/integration-react/knip-report.md index 1ffbed64e8..a4e32b9680 100644 --- a/packages/integration-react/knip-report.md +++ b/packages/integration-react/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,23 @@ | @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) diff --git a/packages/repo-tools/src/commands/api-reports/api-extractor.ts b/packages/repo-tools/src/commands/api-reports/api-extractor.ts index 2a7da2eac9..250e8c5c03 100644 --- a/packages/repo-tools/src/commands/api-reports/api-extractor.ts +++ b/packages/repo-tools/src/commands/api-reports/api-extractor.ts @@ -290,10 +290,10 @@ function logApiReportInstructions() { '*************************************************************************************', ); console.log( - '* You have uncommitted changes to the public API of a package. *', + '* You have uncommitted changes to the public API or reports of a package. *', ); console.log( - '* To solve this, run `yarn build:api-reports` and commit all api-report.md changes. *', + '* To solve this, run `yarn build:api-reports` and commit all md file changes. *', ); console.log( '*************************************************************************************', @@ -1418,3 +1418,66 @@ 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/'); + + for (const packageDir of packageDirs) { + 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}, `); + } + } + } +} diff --git a/packages/repo-tools/src/commands/api-reports/api-reports.test.ts b/packages/repo-tools/src/commands/api-reports/api-reports.test.ts index d26f6dba85..955720c52e 100644 --- a/packages/repo-tools/src/commands/api-reports/api-reports.test.ts +++ b/packages/repo-tools/src/commands/api-reports/api-reports.test.ts @@ -43,6 +43,7 @@ jest.mock('./api-extractor', () => ({ runApiExtraction: jest.fn(), runCliExtraction: jest.fn(), buildDocs: jest.fn(), + runKnipReports: jest.fn(), })); const projectPaths = pathsLib.paths; diff --git a/packages/repo-tools/src/commands/api-reports/api-reports.ts b/packages/repo-tools/src/commands/api-reports/api-reports.ts index 637cd86671..65c5cbc9bd 100644 --- a/packages/repo-tools/src/commands/api-reports/api-reports.ts +++ b/packages/repo-tools/src/commands/api-reports/api-reports.ts @@ -21,6 +21,10 @@ 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'; @@ -103,6 +107,14 @@ 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({ diff --git a/packages/test-utils/knip-report.md b/packages/test-utils/knip-report.md index 4c8222eecd..08c9b73139 100644 --- a/packages/test-utils/knip-report.md +++ b/packages/test-utils/knip-report.md @@ -6,10 +6,20 @@ |:------------------|:-------------| | @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) diff --git a/packages/theme/knip-report.md b/packages/theme/knip-report.md index 71141a3bba..62506ab978 100644 --- a/packages/theme/knip-report.md +++ b/packages/theme/knip-report.md @@ -7,6 +7,7 @@ | @emotion/react | package.json | | @emotion/styled | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -14,4 +15,14 @@ | @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) diff --git a/packages/version-bridge/knip-report.md b/packages/version-bridge/knip-report.md index 9f54e7f06d..415c462d04 100644 --- a/packages/version-bridge/knip-report.md +++ b/packages/version-bridge/knip-report.md @@ -1,9 +1,19 @@ # 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) diff --git a/plugins/adr/knip-report.md b/plugins/adr/knip-report.md index 881216583e..2480ea795e 100644 --- a/plugins/adr/knip-report.md +++ b/plugins/adr/knip-report.md @@ -7,6 +7,7 @@ | remark-gfm | package.json | | react-markdown | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -14,4 +15,14 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/airbrake-backend/knip-report.md b/plugins/airbrake-backend/knip-report.md index e31e20b852..4411840964 100644 --- a/plugins/airbrake-backend/knip-report.md +++ b/plugins/airbrake-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/airbrake/knip-report.md b/plugins/airbrake/knip-report.md index 9364473c4f..e4eb03417a 100644 --- a/plugins/airbrake/knip-report.md +++ b/plugins/airbrake/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,26 @@ | @testing-library/dom | package.json | | @testing-library/react | package.json | | @backstage/app-defaults | package.json | +======= +## Unused dependencies (3) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/allure/knip-report.md b/plugins/allure/knip-report.md index a7fde3968b..c8d267442a 100644 --- a/plugins/allure/knip-report.md +++ b/plugins/allure/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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/react | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/analytics-module-ga/knip-report.md b/plugins/analytics-module-ga/knip-report.md index 9679afeb54..e7b0f58096 100644 --- a/plugins/analytics-module-ga/knip-report.md +++ b/plugins/analytics-module-ga/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,22 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused dependencies (1) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/analytics-module-ga4/knip-report.md b/plugins/analytics-module-ga4/knip-report.md index 544b473dd0..904a942e91 100644 --- a/plugins/analytics-module-ga4/knip-report.md +++ b/plugins/analytics-module-ga4/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,23 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused dependencies (1) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/analytics-module-newrelic-browser/knip-report.md b/plugins/analytics-module-newrelic-browser/knip-report.md index 9f54e7f06d..cdefb51a57 100644 --- a/plugins/analytics-module-newrelic-browser/knip-report.md +++ b/plugins/analytics-module-newrelic-browser/knip-report.md @@ -1,9 +1,26 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | package.json | +======= +## Unused dependencies (1) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/apache-airflow/knip-report.md b/plugins/apache-airflow/knip-report.md index 44a5bee885..8a969b09db 100644 --- a/plugins/apache-airflow/knip-report.md +++ b/plugins/apache-airflow/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,18 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/api-docs-module-protoc-gen-doc/knip-report.md b/plugins/api-docs-module-protoc-gen-doc/knip-report.md index 24c942926b..456761f652 100644 --- a/plugins/api-docs-module-protoc-gen-doc/knip-report.md +++ b/plugins/api-docs-module-protoc-gen-doc/knip-report.md @@ -1,8 +1,17 @@ # 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) diff --git a/plugins/api-docs/knip-report.md b/plugins/api-docs/knip-report.md index 7ecee7de26..aa86bb7764 100644 --- a/plugins/api-docs/knip-report.md +++ b/plugins/api-docs/knip-report.md @@ -8,14 +8,26 @@ | graphql-config | package.json | | isomorphic-form-data | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (8) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/apollo-explorer/knip-report.md b/plugins/apollo-explorer/knip-report.md index 25d92625f5..6cf66ba93c 100644 --- a/plugins/apollo-explorer/knip-report.md +++ b/plugins/apollo-explorer/knip-report.md @@ -6,6 +6,7 @@ |:------------------------|:-------------| | use-deep-compare-effect | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -13,4 +14,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-atlassian-provider/knip-report.md b/plugins/auth-backend-module-atlassian-provider/knip-report.md index fe0782ee45..1cb1149b2e 100644 --- a/plugins/auth-backend-module-atlassian-provider/knip-report.md +++ b/plugins/auth-backend-module-atlassian-provider/knip-report.md @@ -7,6 +7,7 @@ | express | package.json | | passport | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -14,4 +15,15 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-github-provider/knip-report.md b/plugins/auth-backend-module-github-provider/knip-report.md index 8d7bd5cd41..158060407d 100644 --- a/plugins/auth-backend-module-github-provider/knip-report.md +++ b/plugins/auth-backend-module-github-provider/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-gitlab-provider/knip-report.md b/plugins/auth-backend-module-gitlab-provider/knip-report.md index fe0782ee45..1cb1149b2e 100644 --- a/plugins/auth-backend-module-gitlab-provider/knip-report.md +++ b/plugins/auth-backend-module-gitlab-provider/knip-report.md @@ -7,6 +7,7 @@ | express | package.json | | passport | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -14,4 +15,15 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-microsoft-provider/knip-report.md b/plugins/auth-backend-module-microsoft-provider/knip-report.md index d51b79899b..08382b3027 100644 --- a/plugins/auth-backend-module-microsoft-provider/knip-report.md +++ b/plugins/auth-backend-module-microsoft-provider/knip-report.md @@ -7,6 +7,7 @@ | express | package.json | | passport | package.json | +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -16,4 +17,17 @@ | @backstage/cli | package.json | | @backstage/config | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (7) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-oauth2-provider/knip-report.md b/plugins/auth-backend-module-oauth2-provider/knip-report.md index 3db18e15f0..1fefb17432 100644 --- a/plugins/auth-backend-module-oauth2-provider/knip-report.md +++ b/plugins/auth-backend-module-oauth2-provider/knip-report.md @@ -6,6 +6,7 @@ |:---------|:-------------| | passport | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -13,4 +14,15 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-okta-provider/knip-report.md b/plugins/auth-backend-module-okta-provider/knip-report.md index fe0782ee45..1cb1149b2e 100644 --- a/plugins/auth-backend-module-okta-provider/knip-report.md +++ b/plugins/auth-backend-module-okta-provider/knip-report.md @@ -7,6 +7,7 @@ | express | package.json | | passport | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -14,4 +15,15 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-pinniped-provider/knip-report.md b/plugins/auth-backend-module-pinniped-provider/knip-report.md index c3dbae1569..4601c096f8 100644 --- a/plugins/auth-backend-module-pinniped-provider/knip-report.md +++ b/plugins/auth-backend-module-pinniped-provider/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (9) | Name | Location | @@ -13,4 +14,21 @@ | @backstage/cli | package.json | | express-session | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (11) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md index c5d1ec2ac8..5498ec587c 100644 --- a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md +++ b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,18 @@ | @backstage/errors | package.json | | @backstage/config | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused devDependencies (8) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend/knip-report.md b/plugins/auth-backend/knip-report.md index b5112154f3..40bedf09df 100644 --- a/plugins/auth-backend/knip-report.md +++ b/plugins/auth-backend/knip-report.md @@ -1,6 +1,10 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (12) +======= +## Unused dependencies (10) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------|:-------------| @@ -9,6 +13,7 @@ | morgan | package.json | | winston | package.json | | fs-extra | package.json | +<<<<<<< HEAD | node-cache | package.json | | compression | package.json | | openid-client | package.json | @@ -18,6 +23,15 @@ | passport-google-oauth20 | package.json | ## Unused devDependencies (9) +======= +| compression | package.json | +| passport-gitlab2 | package.json | +| passport-github2 | package.json | +| google-auth-library | package.json | +| passport-google-oauth20 | package.json | + +## Unused devDependencies (10) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------|:-------------| @@ -28,6 +42,11 @@ | @types/body-parser | package.json | | @types/passport-github2 | package.json | | @types/passport-strategy | package.json | +<<<<<<< HEAD | @types/passport-microsoft | package.json | +======= +| @backstage/backend-defaults | package.json | +| @backstage/backend-test-utils | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @types/passport-google-oauth20 | package.json | diff --git a/plugins/azure-devops-backend/knip-report.md b/plugins/azure-devops-backend/knip-report.md index e31e20b852..4411840964 100644 --- a/plugins/azure-devops-backend/knip-report.md +++ b/plugins/azure-devops-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/azure-devops/knip-report.md b/plugins/azure-devops/knip-report.md index ecf6480396..52490b94f2 100644 --- a/plugins/azure-devops/knip-report.md +++ b/plugins/azure-devops/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,16 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/azure-sites-backend/knip-report.md b/plugins/azure-sites-backend/knip-report.md index b1d05b28ee..8e8be7f6ab 100644 --- a/plugins/azure-sites-backend/knip-report.md +++ b/plugins/azure-sites-backend/knip-report.md @@ -2,10 +2,17 @@ ## Unused dependencies (2) +<<<<<<< HEAD | Name | Location | |:-------------------------|:-------------| | node-fetch | package.json | | @backstage/catalog-model | package.json | +======= +| Name | Location | +|:-----------|:-------------| +| yn | package.json | +| node-fetch | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (2) diff --git a/plugins/azure-sites-common/knip-report.md b/plugins/azure-sites-common/knip-report.md index c61d844657..ac620b6571 100644 --- a/plugins/azure-sites-common/knip-report.md +++ b/plugins/azure-sites-common/knip-report.md @@ -1,11 +1,14 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:-------------------------|:-------------| | @backstage/catalog-model | package.json | +======= +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (1) | Name | Location | diff --git a/plugins/azure-sites/knip-report.md b/plugins/azure-sites/knip-report.md index c60bbdc1a8..f485096eff 100644 --- a/plugins/azure-sites/knip-report.md +++ b/plugins/azure-sites/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (3) | Name | Location | @@ -17,4 +18,17 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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/react | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/badges-backend/knip-report.md b/plugins/badges-backend/knip-report.md index db5d6f9746..7d85690cef 100644 --- a/plugins/badges-backend/knip-report.md +++ b/plugins/badges-backend/knip-report.md @@ -1,9 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (2) | Name | Location | |:----------|:-------------| +======= +## Unused dependencies (3) + +| Name | Location | +|:----------|:-------------| +| yn | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | cors | package.json | | supertest | package.json | diff --git a/plugins/badges/knip-report.md b/plugins/badges/knip-report.md index ce8576bebf..2cde071780 100644 --- a/plugins/badges/knip-report.md +++ b/plugins/badges/knip-report.md @@ -1,9 +1,20 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:----------------------|:-------------| | @backstage/cli | package.json | | @backstage/test-utils | package.json | +======= +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @backstage/test-utils | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/bazaar-backend/knip-report.md b/plugins/bazaar-backend/knip-report.md index 2a595acf79..860bb9bb68 100644 --- a/plugins/bazaar-backend/knip-report.md +++ b/plugins/bazaar-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (2) | Name | Location | diff --git a/plugins/bazaar/knip-report.md b/plugins/bazaar/knip-report.md index a203b667b3..9861c5bf2e 100644 --- a/plugins/bazaar/knip-report.md +++ b/plugins/bazaar/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | @@ -11,4 +12,20 @@ | Name | Location | |:---------------|:-------------| | @backstage/cli | package.json | +======= +## Unused dependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| @testing-library/jest-dom | package.json | +| @backstage/catalog-client | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/bitrise/knip-report.md b/plugins/bitrise/knip-report.md index 5ab0e57e57..6e7553516a 100644 --- a/plugins/bitrise/knip-report.md +++ b/plugins/bitrise/knip-report.md @@ -6,7 +6,11 @@ |:---------|:-------------| | recharts | package.json | +<<<<<<< HEAD ## Unused devDependencies (8) +======= +## Unused devDependencies (10) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| @@ -14,8 +18,16 @@ | @backstage/cli | package.json | | @types/recharts | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md index 2a595acf79..8856eb2032 100644 --- a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md +++ b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md @@ -1,9 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (2) +======= +## Unused devDependencies (3) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------------|:-------------| | @backstage/cli | package.json | +<<<<<<< HEAD +======= +| @backstage/backend-defaults | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/backend-test-utils | package.json | diff --git a/plugins/catalog-backend/knip-report.md b/plugins/catalog-backend/knip-report.md index bae768e781..44eee1b646 100644 --- a/plugins/catalog-backend/knip-report.md +++ b/plugins/catalog-backend/knip-report.md @@ -6,6 +6,7 @@ |:-----------|:-------------| | node-fetch | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -16,4 +17,17 @@ | @backstage/cli | package.json | | wait-for-expect | package.json | | @types/supertest | package.json | +======= +## Unused devDependencies (7) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/catalog-graph/knip-report.md b/plugins/catalog-graph/knip-report.md index 95a44323ae..971e1ab29f 100644 --- a/plugins/catalog-graph/knip-report.md +++ b/plugins/catalog-graph/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | @@ -7,13 +8,32 @@ | p-limit | package.json | ## Unused devDependencies (6) +======= +## Unused dependencies (2) + +| Name | Location | +|:--------------------------|:-------------| +| lodash | package.json | +| @backstage/catalog-client | package.json | + +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/catalog-import/knip-report.md b/plugins/catalog-import/knip-report.md index dbaf2b64d3..20219473c1 100644 --- a/plugins/catalog-import/knip-report.md +++ b/plugins/catalog-import/knip-report.md @@ -1,14 +1,26 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (7) +======= +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/catalog-react/knip-report.md b/plugins/catalog-react/knip-report.md index 03d1ee0396..44771c245f 100644 --- a/plugins/catalog-react/knip-report.md +++ b/plugins/catalog-react/knip-report.md @@ -6,15 +6,26 @@ |:---------------------------------|:-------------| | @backstage/plugin-catalog-common | package.json | +<<<<<<< HEAD ## Unused devDependencies (8) +======= +## Unused devDependencies (10) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------------------|:-------------| | @backstage/cli | package.json | | react-test-renderer | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +| @backstage/test-utils | 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 | | @backstage/plugin-catalog-common | package.json | | @backstage/plugin-scaffolder-common | package.json | diff --git a/plugins/catalog-unprocessed-entities/knip-report.md b/plugins/catalog-unprocessed-entities/knip-report.md index 9f54e7f06d..d3b295c81a 100644 --- a/plugins/catalog-unprocessed-entities/knip-report.md +++ b/plugins/catalog-unprocessed-entities/knip-report.md @@ -1,9 +1,20 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/catalog/knip-report.md b/plugins/catalog/knip-report.md index cdf24bac48..16902e6026 100644 --- a/plugins/catalog/knip-report.md +++ b/plugins/catalog/knip-report.md @@ -6,15 +6,27 @@ |:--------|:-------------| | history | package.json | +<<<<<<< HEAD ## Unused devDependencies (7) +======= +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | | @backstage/plugin-permission-common | package.json | diff --git a/plugins/circleci/knip-report.md b/plugins/circleci/knip-report.md index 24c942926b..c7085b0605 100644 --- a/plugins/circleci/knip-report.md +++ b/plugins/circleci/knip-report.md @@ -1,8 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (1) | Name | Location | |:---------------|:-------------| | @backstage/cli | package.json | +======= +## Unused devDependencies (2) + +| Name | Location | +|:---------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/cloudbuild/knip-report.md b/plugins/cloudbuild/knip-report.md index ecf6480396..52490b94f2 100644 --- a/plugins/cloudbuild/knip-report.md +++ b/plugins/cloudbuild/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,16 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/code-climate/knip-report.md b/plugins/code-climate/knip-report.md index ecf6480396..5703ec8a92 100644 --- a/plugins/code-climate/knip-report.md +++ b/plugins/code-climate/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,22 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused dependencies (1) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/code-coverage-backend/knip-report.md b/plugins/code-coverage-backend/knip-report.md index 86e3079791..9917b247d8 100644 --- a/plugins/code-coverage-backend/knip-report.md +++ b/plugins/code-coverage-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/code-coverage/knip-report.md b/plugins/code-coverage/knip-report.md index 2f33ca2948..b5d61b74d0 100644 --- a/plugins/code-coverage/knip-report.md +++ b/plugins/code-coverage/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,16 @@ | @types/highlightjs | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (6) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/codescene/knip-report.md b/plugins/codescene/knip-report.md index efbc44e5d5..b80d165f12 100644 --- a/plugins/codescene/knip-report.md +++ b/plugins/codescene/knip-report.md @@ -6,6 +6,7 @@ |:------------------|:-------------| | @backstage/config | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -16,4 +17,18 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/config-schema/knip-report.md b/plugins/config-schema/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/config-schema/knip-report.md +++ b/plugins/config-schema/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/cost-insights/knip-report.md b/plugins/cost-insights/knip-report.md index 942ccee1be..d7d5b88da3 100644 --- a/plugins/cost-insights/knip-report.md +++ b/plugins/cost-insights/knip-report.md @@ -7,15 +7,27 @@ | history | package.json | | @material-ui/styles | package.json | +<<<<<<< HEAD ## Unused devDependencies (7) +======= +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | canvas | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/devtools-backend/knip-report.md b/plugins/devtools-backend/knip-report.md index 0c78f2475f..aad93634c6 100644 --- a/plugins/devtools-backend/knip-report.md +++ b/plugins/devtools-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/devtools/knip-report.md b/plugins/devtools/knip-report.md index 9f54e7f06d..d3b295c81a 100644 --- a/plugins/devtools/knip-report.md +++ b/plugins/devtools/knip-report.md @@ -1,9 +1,20 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/dynatrace/knip-report.md b/plugins/dynatrace/knip-report.md index 3770bb993e..7d4990ba3a 100644 --- a/plugins/dynatrace/knip-report.md +++ b/plugins/dynatrace/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/entity-feedback-backend/knip-report.md b/plugins/entity-feedback-backend/knip-report.md index 3e8751a225..db3fa85de3 100644 --- a/plugins/entity-feedback-backend/knip-report.md +++ b/plugins/entity-feedback-backend/knip-report.md @@ -1,10 +1,20 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:-----------|:-------------| | node-fetch | package.json | +======= +## Unused dependencies (3) + +| Name | Location | +|:------------------|:-------------| +| yn | package.json | +| node-fetch | package.json | +| @backstage/config | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) diff --git a/plugins/entity-feedback/knip-report.md b/plugins/entity-feedback/knip-report.md index c767d8f623..636d087a8d 100644 --- a/plugins/entity-feedback/knip-report.md +++ b/plugins/entity-feedback/knip-report.md @@ -1,6 +1,10 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (7) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| @@ -9,5 +13,9 @@ | @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 | diff --git a/plugins/entity-validation/knip-report.md b/plugins/entity-validation/knip-report.md index ecf6480396..82a09bdc1c 100644 --- a/plugins/entity-validation/knip-report.md +++ b/plugins/entity-validation/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,15 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/example-todo-list-backend/knip-report.md b/plugins/example-todo-list-backend/knip-report.md index e31e20b852..4411840964 100644 --- a/plugins/example-todo-list-backend/knip-report.md +++ b/plugins/example-todo-list-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/example-todo-list/knip-report.md b/plugins/example-todo-list/knip-report.md index 9679afeb54..59a80790b1 100644 --- a/plugins/example-todo-list/knip-report.md +++ b/plugins/example-todo-list/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,14 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/explore-backend/knip-report.md b/plugins/explore-backend/knip-report.md index 899e3d7956..bc4be6f53c 100644 --- a/plugins/explore-backend/knip-report.md +++ b/plugins/explore-backend/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (2) | Name | Location | @@ -15,4 +16,21 @@ | @backstage/cli | package.json | | @types/supertest | package.json | | @backstage/backend-test-utils | package.json | +======= +## Unused dependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| yn | package.json | +| node-fetch | package.json | +| @backstage/types | package.json | + +## Unused devDependencies (3) + +| Name | Location | +|:-----------------|:-------------| +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/explore-react/knip-report.md b/plugins/explore-react/knip-report.md index 0b4e23a04e..6d23873b8e 100644 --- a/plugins/explore-react/knip-report.md +++ b/plugins/explore-react/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/explore/knip-report.md b/plugins/explore/knip-report.md index 44a5bee885..3bcb6e6cd9 100644 --- a/plugins/explore/knip-report.md +++ b/plugins/explore/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,19 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## Unused devDependencies (9) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/firehydrant/knip-report.md b/plugins/firehydrant/knip-report.md index 3770bb993e..7d4990ba3a 100644 --- a/plugins/firehydrant/knip-report.md +++ b/plugins/firehydrant/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/fossa/knip-report.md b/plugins/fossa/knip-report.md index 44a5bee885..8a969b09db 100644 --- a/plugins/fossa/knip-report.md +++ b/plugins/fossa/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,18 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gcalendar/knip-report.md b/plugins/gcalendar/knip-report.md index 58fbe96097..fd95858cd4 100644 --- a/plugins/gcalendar/knip-report.md +++ b/plugins/gcalendar/knip-report.md @@ -6,6 +6,7 @@ |:------------------------------------|:-------------| | @maxim_mazurok/gapi.client.calendar | package.json | +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -15,4 +16,17 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (7) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gcp-projects/knip-report.md b/plugins/gcp-projects/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/gcp-projects/knip-report.md +++ b/plugins/gcp-projects/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/git-release-manager/knip-report.md b/plugins/git-release-manager/knip-report.md index 7d4e715dc1..df115be6c2 100644 --- a/plugins/git-release-manager/knip-report.md +++ b/plugins/git-release-manager/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,16 @@ | @testing-library/dom | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## Unused devDependencies (6) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-actions/knip-report.md b/plugins/github-actions/knip-report.md index 3770bb993e..7d4990ba3a 100644 --- a/plugins/github-actions/knip-report.md +++ b/plugins/github-actions/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-deployments/knip-report.md b/plugins/github-deployments/knip-report.md index 44a5bee885..8a969b09db 100644 --- a/plugins/github-deployments/knip-report.md +++ b/plugins/github-deployments/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,18 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-issues/knip-report.md b/plugins/github-issues/knip-report.md index ecf6480396..52490b94f2 100644 --- a/plugins/github-issues/knip-report.md +++ b/plugins/github-issues/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,16 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-pull-requests-board/knip-report.md b/plugins/github-pull-requests-board/knip-report.md index ecf6480396..71e8e42aa8 100644 --- a/plugins/github-pull-requests-board/knip-report.md +++ b/plugins/github-pull-requests-board/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,15 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gitops-profiles/knip-report.md b/plugins/gitops-profiles/knip-report.md index 3770bb993e..7d4990ba3a 100644 --- a/plugins/gitops-profiles/knip-report.md +++ b/plugins/gitops-profiles/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gocd/knip-report.md b/plugins/gocd/knip-report.md index 2f750523b0..a9450bd91d 100644 --- a/plugins/gocd/knip-report.md +++ b/plugins/gocd/knip-report.md @@ -6,14 +6,26 @@ |:---|:-------------| | qs | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (8) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/graphiql/knip-report.md b/plugins/graphiql/knip-report.md index 0fb6911e83..b5ec3040e5 100644 --- a/plugins/graphiql/knip-report.md +++ b/plugins/graphiql/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | @@ -15,4 +16,24 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused dependencies (2) + +| Name | Location | +|:-----------|:-------------| +| graphql | package.json | +| graphql-ws | package.json | + +## Unused devDependencies (7) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/graphql-voyager/knip-report.md b/plugins/graphql-voyager/knip-report.md index ecf6480396..71e8e42aa8 100644 --- a/plugins/graphql-voyager/knip-report.md +++ b/plugins/graphql-voyager/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,15 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/home/knip-report.md b/plugins/home/knip-report.md index e9ae64e960..505309f988 100644 --- a/plugins/home/knip-report.md +++ b/plugins/home/knip-report.md @@ -1,11 +1,22 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) +======= +## Unused devDependencies (7) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @testing-library/react | package.json | +======= +| @backstage/dev-utils | 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) | @testing-library/user-event | package.json | diff --git a/plugins/ilert/knip-report.md b/plugins/ilert/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/ilert/knip-report.md +++ b/plugins/ilert/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/jenkins-backend/knip-report.md b/plugins/jenkins-backend/knip-report.md index 4e473a9f2e..216c8599b0 100644 --- a/plugins/jenkins-backend/knip-report.md +++ b/plugins/jenkins-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (2) | Name | Location | diff --git a/plugins/jenkins/knip-report.md b/plugins/jenkins/knip-report.md index ecf6480396..d0290d494a 100644 --- a/plugins/jenkins/knip-report.md +++ b/plugins/jenkins/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,17 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## 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 | +| @testing-library/jest-dom | package.json | +| @types/testing-library__jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/kafka/knip-report.md b/plugins/kafka/knip-report.md index 67f9dbc286..576cb6fa3c 100644 --- a/plugins/kafka/knip-report.md +++ b/plugins/kafka/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (7) + +| Name | Location | +|:--------------------------|:-------------| +| jest-when | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/kubernetes-backend/knip-report.md b/plugins/kubernetes-backend/knip-report.md index 29043eb8d9..fc86b91276 100644 --- a/plugins/kubernetes-backend/knip-report.md +++ b/plugins/kubernetes-backend/knip-report.md @@ -1,10 +1,22 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (3) | Name | Location | |:-------------------|:-------------| | morgan | package.json | +======= +## Unused dependencies (7) + +| Name | Location | +|:-------------------|:-------------| +| yn | package.json | +| cors | package.json | +| morgan | package.json | +| helmet | package.json | +| compression | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | stream-buffers | package.json | | @jest-mock/express | package.json | diff --git a/plugins/kubernetes-node/knip-report.md b/plugins/kubernetes-node/knip-report.md index f45a227afc..d331f6893b 100644 --- a/plugins/kubernetes-node/knip-report.md +++ b/plugins/kubernetes-node/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (7) | Name | Location | @@ -11,4 +12,11 @@ | @backstage/backend-app-api | package.json | | @backstage/backend-test-utils | package.json | | @backstage/plugin-kubernetes-backend | package.json | +======= +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/kubernetes-react/knip-report.md b/plugins/kubernetes-react/knip-report.md index 176a3af098..4bc2e2ef7d 100644 --- a/plugins/kubernetes-react/knip-report.md +++ b/plugins/kubernetes-react/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## Unused devDependencies (7) + +| Name | Location | +|:--------------------------|:-------------| +| msw | package.json | +| @backstage/cli | package.json | +| jest-websocket-mock | package.json | +| @backstage/test-utils | 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) diff --git a/plugins/kubernetes/knip-report.md b/plugins/kubernetes/knip-report.md index b164678b81..1689a79110 100644 --- a/plugins/kubernetes/knip-report.md +++ b/plugins/kubernetes/knip-report.md @@ -16,6 +16,7 @@ | @kubernetes-models/base | package.json | | @kubernetes-models/apimachinery | package.json | +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -23,4 +24,16 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/lighthouse/knip-report.md b/plugins/lighthouse/knip-report.md index 44a5bee885..8a969b09db 100644 --- a/plugins/lighthouse/knip-report.md +++ b/plugins/lighthouse/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,18 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/linguist-backend/knip-report.md b/plugins/linguist-backend/knip-report.md index 8588b69130..9cd716191b 100644 --- a/plugins/linguist-backend/knip-report.md +++ b/plugins/linguist-backend/knip-report.md @@ -1,9 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:----------------------------|:-------------| +======= +## Unused dependencies (2) + +| Name | Location | +|:----------------------------|:-------------| +| yn | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/plugin-auth-node | package.json | ## Unused devDependencies (5) diff --git a/plugins/linguist/knip-report.md b/plugins/linguist/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/linguist/knip-report.md +++ b/plugins/linguist/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/microsoft-calendar/knip-report.md b/plugins/microsoft-calendar/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/microsoft-calendar/knip-report.md +++ b/plugins/microsoft-calendar/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/newrelic-dashboard/knip-report.md b/plugins/newrelic-dashboard/knip-report.md index 24c942926b..647eb6da93 100644 --- a/plugins/newrelic-dashboard/knip-report.md +++ b/plugins/newrelic-dashboard/knip-report.md @@ -1,8 +1,19 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (1) | Name | Location | |:---------------|:-------------| | @backstage/cli | package.json | +======= +## Unused devDependencies (4) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @backstage/test-utils | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/newrelic/knip-report.md b/plugins/newrelic/knip-report.md index a7fde3968b..c8d267442a 100644 --- a/plugins/newrelic/knip-report.md +++ b/plugins/newrelic/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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/react | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/nomad-backend/knip-report.md b/plugins/nomad-backend/knip-report.md index e31e20b852..4411840964 100644 --- a/plugins/nomad-backend/knip-report.md +++ b/plugins/nomad-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/nomad/knip-report.md b/plugins/nomad/knip-report.md index 9f54e7f06d..925c0c6cac 100644 --- a/plugins/nomad/knip-report.md +++ b/plugins/nomad/knip-report.md @@ -1,9 +1,21 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| Name | Location | +|:--------------------------|:-------------| +| cross-fetch | package.json | +| @backstage/cli | package.json | +| @backstage/dev-utils | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/octopus-deploy/knip-report.md b/plugins/octopus-deploy/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/octopus-deploy/knip-report.md +++ b/plugins/octopus-deploy/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/opencost/knip-report.md b/plugins/opencost/knip-report.md index ae56051f88..39fa178f61 100644 --- a/plugins/opencost/knip-report.md +++ b/plugins/opencost/knip-report.md @@ -1,9 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (2) +======= +## Unused devDependencies (3) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:--------------------------|:-------------| | @backstage/cli | package.json | +<<<<<<< HEAD +======= +| @backstage/dev-utils | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/jest-dom | package.json | diff --git a/plugins/org-react/knip-report.md b/plugins/org-react/knip-report.md index 7b939bc6d9..bda6e6037d 100644 --- a/plugins/org-react/knip-report.md +++ b/plugins/org-react/knip-report.md @@ -6,7 +6,11 @@ |:--------------------------|:-------------| | @backstage/catalog-client | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (7) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| @@ -15,5 +19,9 @@ | @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 | diff --git a/plugins/org/knip-report.md b/plugins/org/knip-report.md index d2f6612ddc..a133f3efea 100644 --- a/plugins/org/knip-report.md +++ b/plugins/org/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,23 @@ | @testing-library/react | package.json | | @backstage/plugin-catalog | package.json | | @testing-library/user-event | package.json | +======= +## Unused devDependencies (13) + +| Name | Location | +|:------------------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/types | 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 | +| @backstage/catalog-client | package.json | +| @testing-library/user-event | package.json | +| @backstage/plugin-permission-react | package.json | +| @backstage/plugin-permission-common | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/pagerduty/knip-report.md b/plugins/pagerduty/knip-report.md index 3770bb993e..7d4990ba3a 100644 --- a/plugins/pagerduty/knip-report.md +++ b/plugins/pagerduty/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/periskop-backend/knip-report.md b/plugins/periskop-backend/knip-report.md index e31e20b852..4411840964 100644 --- a/plugins/periskop-backend/knip-report.md +++ b/plugins/periskop-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/periskop/knip-report.md b/plugins/periskop/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/periskop/knip-report.md +++ b/plugins/periskop/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/permission-react/knip-report.md b/plugins/permission-react/knip-report.md index fb60112aa2..8d546ae255 100644 --- a/plugins/permission-react/knip-report.md +++ b/plugins/permission-react/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,14 @@ | @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) diff --git a/plugins/playlist-backend/knip-report.md b/plugins/playlist-backend/knip-report.md index 3e8751a225..db3fa85de3 100644 --- a/plugins/playlist-backend/knip-report.md +++ b/plugins/playlist-backend/knip-report.md @@ -1,10 +1,20 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:-----------|:-------------| | node-fetch | package.json | +======= +## Unused dependencies (3) + +| Name | Location | +|:------------------|:-------------| +| yn | package.json | +| node-fetch | package.json | +| @backstage/config | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) diff --git a/plugins/playlist/knip-report.md b/plugins/playlist/knip-report.md index 84aa502ad9..03a50f94b3 100644 --- a/plugins/playlist/knip-report.md +++ b/plugins/playlist/knip-report.md @@ -6,6 +6,7 @@ |:------------------------------------|:-------------| | @backstage/plugin-permission-common | package.json | +<<<<<<< HEAD ## Unused devDependencies (7) | Name | Location | @@ -17,4 +18,19 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## Unused devDependencies (9) + +| Name | Location | +|:--------------------------|:-------------| +| swr | package.json | +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/proxy-backend/knip-report.md b/plugins/proxy-backend/knip-report.md index 6895986f47..873e0eacad 100644 --- a/plugins/proxy-backend/knip-report.md +++ b/plugins/proxy-backend/knip-report.md @@ -1,9 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (4) | Name | Location | |:-------|:-------------| +======= +## Unused dependencies (5) + +| Name | Location | +|:-------|:-------------| +| yn | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | yup | package.json | | yaml | package.json | | uuid | package.json | diff --git a/plugins/puppetdb/knip-report.md b/plugins/puppetdb/knip-report.md index 96247d3c96..7a3fd09f1b 100644 --- a/plugins/puppetdb/knip-report.md +++ b/plugins/puppetdb/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## Unused devDependencies (7) + +| Name | Location | +|:--------------------------|:-------------| +| msw | package.json | +| @backstage/cli | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/rollbar-backend/knip-report.md b/plugins/rollbar-backend/knip-report.md index a4bbbbb810..57ac7f8b91 100644 --- a/plugins/rollbar-backend/knip-report.md +++ b/plugins/rollbar-backend/knip-report.md @@ -1,9 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (4) | Name | Location | |:------------|:-------------| +======= +## Unused dependencies (5) + +| Name | Location | +|:------------|:-------------| +| yn | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | cors | package.json | | morgan | package.json | | fs-extra | package.json | diff --git a/plugins/rollbar/knip-report.md b/plugins/rollbar/knip-report.md index aa8f8b77be..6a8d737a7f 100644 --- a/plugins/rollbar/knip-report.md +++ b/plugins/rollbar/knip-report.md @@ -6,6 +6,7 @@ |:-------|:-------------| | lodash | package.json | +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -14,4 +15,16 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/scaffolder-backend-module-bitbucket/knip-report.md b/plugins/scaffolder-backend-module-bitbucket/knip-report.md index 97643caaa1..58541897fb 100644 --- a/plugins/scaffolder-backend-module-bitbucket/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket/knip-report.md @@ -1,10 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (2) | Name | Location | |:--------------------------|:-------------| | fs-extra | package.json | +======= +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/backend-common | package.json | ## Unused devDependencies (3) diff --git a/plugins/scaffolder-backend-module-gitlab/knip-report.md b/plugins/scaffolder-backend-module-gitlab/knip-report.md index f296802cab..0edefd3207 100644 --- a/plugins/scaffolder-backend-module-gitlab/knip-report.md +++ b/plugins/scaffolder-backend-module-gitlab/knip-report.md @@ -1,10 +1,17 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | |:------------------------------|:-------------| | jest-date-mock | package.json | +======= +## Unused devDependencies (3) + +| Name | Location | +|:------------------------------|:-------------| +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/cli | package.json | | @backstage/core-app-api | package.json | | @backstage/backend-test-utils | package.json | diff --git a/plugins/scaffolder-react/knip-report.md b/plugins/scaffolder-react/knip-report.md index ffe4b02cf2..84278dead6 100644 --- a/plugins/scaffolder-react/knip-report.md +++ b/plugins/scaffolder-react/knip-report.md @@ -11,7 +11,11 @@ | zod-to-json-schema | package.json | | @backstage/catalog-client | package.json | +<<<<<<< HEAD ## Unused devDependencies (8) +======= +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:---------------------------------|:-------------| @@ -20,6 +24,10 @@ | @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) | @backstage/plugin-catalog | package.json | | @testing-library/user-event | package.json | | @backstage/plugin-catalog-common | package.json | diff --git a/plugins/scaffolder/knip-report.md b/plugins/scaffolder/knip-report.md index d3f951fd6f..8d4c5dd8ed 100644 --- a/plugins/scaffolder/knip-report.md +++ b/plugins/scaffolder/knip-report.md @@ -1,23 +1,42 @@ # Knip report +<<<<<<< HEAD ## Unused dependencies (4) +======= +## Unused dependencies (3) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:--------------------|:-------------| | immer | package.json | | git-url-parse | package.json | +<<<<<<< HEAD | @rjsf/material-ui | package.json | | json-schema-library | package.json | ## Unused devDependencies (7) +======= +| json-schema-library | package.json | + +## Unused devDependencies (10) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/search-backend/knip-report.md b/plugins/search-backend/knip-report.md index 22d525923f..94a0c7f578 100644 --- a/plugins/search-backend/knip-report.md +++ b/plugins/search-backend/knip-report.md @@ -1,5 +1,15 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (2) + +| Name | Location | +|:----------------------------------|:-------------| +| yn | package.json | +| @backstage/plugin-permission-node | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/search-react/knip-report.md b/plugins/search-react/knip-report.md index 3ab62f70ee..5289572631 100644 --- a/plugins/search-react/knip-report.md +++ b/plugins/search-react/knip-report.md @@ -1,13 +1,30 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (7) +======= +## Unused dependencies (1) + +| Name | Location | +|:-----------------|:-------------| +| @backstage/theme | package.json | + +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +| @backstage/test-utils | 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 | | @backstage/frontend-app-api | package.json | | @backstage/frontend-test-utils | package.json | diff --git a/plugins/search/knip-report.md b/plugins/search/knip-report.md index c6b6402246..ccf8ea9579 100644 --- a/plugins/search/knip-report.md +++ b/plugins/search/knip-report.md @@ -1,13 +1,25 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | history | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/sentry/knip-report.md b/plugins/sentry/knip-report.md index 8353ecad20..3114cce9ca 100644 --- a/plugins/sentry/knip-report.md +++ b/plugins/sentry/knip-report.md @@ -6,6 +6,7 @@ |:--------------|:-------------| | @date-io/core | package.json | +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -14,4 +15,16 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/shortcuts/knip-report.md b/plugins/shortcuts/knip-report.md index ecf6480396..52490b94f2 100644 --- a/plugins/shortcuts/knip-report.md +++ b/plugins/shortcuts/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,16 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/sonarqube-backend/knip-report.md b/plugins/sonarqube-backend/knip-report.md index e03ed5c8a2..7256083a44 100644 --- a/plugins/sonarqube-backend/knip-report.md +++ b/plugins/sonarqube-backend/knip-report.md @@ -1,5 +1,14 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (1) + +| Name | Location | +|:---|:-------------| +| yn | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (5) | Name | Location | diff --git a/plugins/sonarqube/knip-report.md b/plugins/sonarqube/knip-report.md index 44a5bee885..4b00a9b664 100644 --- a/plugins/sonarqube/knip-report.md +++ b/plugins/sonarqube/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,24 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## Unused dependencies (1) + +| Name | Location | +|:-------------------------|:-------------| +| @backstage/catalog-model | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/splunk-on-call/knip-report.md b/plugins/splunk-on-call/knip-report.md index 3770bb993e..7d4990ba3a 100644 --- a/plugins/splunk-on-call/knip-report.md +++ b/plugins/splunk-on-call/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,17 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | +======= +## 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/stack-overflow/knip-report.md b/plugins/stack-overflow/knip-report.md index 5553b3a1f7..dd4e42801b 100644 --- a/plugins/stack-overflow/knip-report.md +++ b/plugins/stack-overflow/knip-report.md @@ -1,12 +1,26 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) +======= +## Unused dependencies (1) + +| Name | Location | +|:--------------------------|:-------------| +| @testing-library/jest-dom | package.json | + +## Unused devDependencies (6) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD +======= +| @backstage/test-utils | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/react | package.json | | @testing-library/user-event | package.json | diff --git a/plugins/stackstorm/knip-report.md b/plugins/stackstorm/knip-report.md index 44a5bee885..8a969b09db 100644 --- a/plugins/stackstorm/knip-report.md +++ b/plugins/stackstorm/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -10,4 +11,18 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/tech-insights-backend-module-jsonfc/knip-report.md b/plugins/tech-insights-backend-module-jsonfc/knip-report.md index bfd4d03096..14911c9dc8 100644 --- a/plugins/tech-insights-backend-module-jsonfc/knip-report.md +++ b/plugins/tech-insights-backend-module-jsonfc/knip-report.md @@ -2,6 +2,7 @@ ## Unused dependencies (2) +<<<<<<< HEAD | Name | Location | |:-----------------|:-------------| | luxon | package.json | @@ -13,4 +14,16 @@ |:------------------------------|:-------------| | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | +======= +| Name | Location | +|:--------------------------|:-------------| +| luxon | package.json | +| @backstage/backend-common | package.json | + +## Unused devDependencies (1) + +| Name | Location | +|:---------------|:-------------| +| @backstage/cli | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/tech-insights/knip-report.md b/plugins/tech-insights/knip-report.md index 9679afeb54..430f139429 100644 --- a/plugins/tech-insights/knip-report.md +++ b/plugins/tech-insights/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,15 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/tech-radar/knip-report.md b/plugins/tech-radar/knip-report.md index 8fc787027b..a20b546a7d 100644 --- a/plugins/tech-radar/knip-report.md +++ b/plugins/tech-radar/knip-report.md @@ -1,13 +1,24 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (8) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +| @backstage/dev-utils | 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) | @testing-library/user-event | package.json | | @backstage/frontend-test-utils | package.json | diff --git a/plugins/techdocs-addons-test-utils/knip-report.md b/plugins/techdocs-addons-test-utils/knip-report.md index 79290793ca..1a6cd8f949 100644 --- a/plugins/techdocs-addons-test-utils/knip-report.md +++ b/plugins/techdocs-addons-test-utils/knip-report.md @@ -6,10 +6,20 @@ |:--------------------------|:-------------| | @backstage/plugin-catalog | package.json | +<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:---------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +======= +## Unused devDependencies (3) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @testing-library/dom | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/techdocs-module-addons-contrib/knip-report.md b/plugins/techdocs-module-addons-contrib/knip-report.md index 88c7858e93..9265bf4119 100644 --- a/plugins/techdocs-module-addons-contrib/knip-report.md +++ b/plugins/techdocs-module-addons-contrib/knip-report.md @@ -1,6 +1,10 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) +======= +## Unused devDependencies (6) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:---------------------------------------------|:-------------| @@ -8,5 +12,9 @@ | @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) | @backstage/plugin-techdocs-addons-test-utils | package.json | diff --git a/plugins/techdocs-react/knip-report.md b/plugins/techdocs-react/knip-report.md index 912e0d57b9..0e587d8fd1 100644 --- a/plugins/techdocs-react/knip-report.md +++ b/plugins/techdocs-react/knip-report.md @@ -7,6 +7,7 @@ | react-helmet | package.json | | @material-ui/core | package.json | +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -15,4 +16,15 @@ | @backstage/theme | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +## Unused devDependencies (5) + +| Name | Location | +|:--------------------------|:-------------| +| @backstage/cli | package.json | +| @backstage/theme | 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) diff --git a/plugins/techdocs/knip-report.md b/plugins/techdocs/knip-report.md index 0aa86b7492..d243314766 100644 --- a/plugins/techdocs/knip-report.md +++ b/plugins/techdocs/knip-report.md @@ -7,16 +7,28 @@ | jss | package.json | | @backstage/theme | package.json | +<<<<<<< HEAD ## Unused devDependencies (8) +======= +## Unused devDependencies (10) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------------------------|:-------------| | canvas | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | | @backstage/plugin-techdocs-module-addons-contrib | package.json | diff --git a/plugins/todo/knip-report.md b/plugins/todo/knip-report.md index 9679afeb54..793e35c1c3 100644 --- a/plugins/todo/knip-report.md +++ b/plugins/todo/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -7,4 +8,22 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | +======= +## Unused dependencies (1) + +| Name | Location | +|:-------------------|:-------------| +| @material-ui/icons | 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 | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/user-settings-backend/knip-report.md b/plugins/user-settings-backend/knip-report.md index 22d525923f..3535d9c044 100644 --- a/plugins/user-settings-backend/knip-report.md +++ b/plugins/user-settings-backend/knip-report.md @@ -1,5 +1,16 @@ # Knip report +<<<<<<< HEAD +======= +## Unused dependencies (3) + +| Name | Location | +|:------------------|:-------------| +| yn | package.json | +| winston | package.json | +| @backstage/config | package.json | + +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/user-settings/knip-report.md b/plugins/user-settings/knip-report.md index 53337fea0b..d1157e2d45 100644 --- a/plugins/user-settings/knip-report.md +++ b/plugins/user-settings/knip-report.md @@ -6,14 +6,26 @@ |:-----------------|:-------------| | @backstage/theme | package.json | +<<<<<<< HEAD ## Unused devDependencies (6) +======= +## Unused devDependencies (9) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +| @backstage/dev-utils | package.json | +| @backstage/test-utils | package.json | +| @testing-library/react | package.json | +| @testing-library/jest-dom | package.json | +| @backstage/plugin-catalog | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/vault-backend/knip-report.md b/plugins/vault-backend/knip-report.md index 9597d52c23..1190d55f88 100644 --- a/plugins/vault-backend/knip-report.md +++ b/plugins/vault-backend/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -8,4 +9,25 @@ | supertest | package.json | | @backstage/cli | package.json | | @types/supertest | package.json | +======= +## Unused dependencies (4) + +| Name | Location | +|:------------|:-------------| +| yn | package.json | +| cors | package.json | +| helmet | package.json | +| compression | package.json | + +## Unused devDependencies (6) + +| Name | Location | +|:------------------------------|:-------------| +| msw | package.json | +| supertest | package.json | +| @backstage/cli | package.json | +| @types/supertest | package.json | +| @types/compression | package.json | +| @backstage/backend-test-utils | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/vault/knip-report.md b/plugins/vault/knip-report.md index a469608db4..885e9d6743 100644 --- a/plugins/vault/knip-report.md +++ b/plugins/vault/knip-report.md @@ -1,5 +1,6 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -9,4 +10,18 @@ | @testing-library/dom | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | +| @testing-library/jest-dom | package.json | +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/xcmetrics/knip-report.md b/plugins/xcmetrics/knip-report.md index d0ad73b69c..3abc5a9ff3 100644 --- a/plugins/xcmetrics/knip-report.md +++ b/plugins/xcmetrics/knip-report.md @@ -1,12 +1,23 @@ # Knip report +<<<<<<< HEAD ## Unused devDependencies (5) +======= +## Unused devDependencies (7) +>>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | +<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | +======= +| @backstage/dev-utils | 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) | @testing-library/user-event | package.json | diff --git a/yarn.lock b/yarn.lock index 80827873f3..24edaed74c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,6 +1,3 @@ -# This file is generated by running "yarn install" inside your project. -# Manual changes might be lost - proceed with caution! - __metadata: version: 6 cacheKey: 8 @@ -14817,7 +14814,7 @@ __metadata: languageName: node linkType: hard -"@pkgjs/parseargs@npm:^0.11.0": +"@pkgjs/parseargs@npm:0.11.0, @pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f @@ -14941,6 +14938,37 @@ __metadata: languageName: node linkType: hard +"@pnpm/npm-resolver@npm:18.0.2": + version: 18.0.2 + resolution: "@pnpm/npm-resolver@npm:18.0.2" + dependencies: + "@pnpm/core-loggers": 9.0.6 + "@pnpm/error": 5.0.2 + "@pnpm/fetching-types": 5.0.0 + "@pnpm/graceful-fs": 3.2.0 + "@pnpm/resolve-workspace-range": 5.0.1 + "@pnpm/resolver-base": 11.0.2 + "@pnpm/types": 9.4.2 + "@zkochan/retry": ^0.2.0 + encode-registry: ^3.0.1 + load-json-file: ^6.2.0 + lru-cache: ^10.0.2 + normalize-path: ^3.0.0 + p-limit: ^3.1.0 + p-memoize: 4.0.1 + parse-npm-tarball-url: ^3.0.0 + path-temp: ^2.1.0 + ramda: "npm:@pnpm/ramda@0.28.1" + rename-overwrite: ^5.0.0 + semver: ^7.5.4 + ssri: 10.0.5 + version-selector-type: ^3.0.0 + peerDependencies: + "@pnpm/logger": ^5.0.0 + checksum: 49f07d4939cb8589f4133e0d47fb525d6d04dbe2dfa28057ca8a8f143b4676fb339a96299852119c28c46cabf68b5f66be5385dbcba59a1bddeab65d7a5d189e + languageName: node + linkType: hard + "@pnpm/npm-resolver@npm:18.1.0": version: 18.1.0 resolution: "@pnpm/npm-resolver@npm:18.1.0" @@ -14981,6 +15009,15 @@ __metadata: languageName: node linkType: hard +"@pnpm/resolver-base@npm:11.0.2": + version: 11.0.2 + resolution: "@pnpm/resolver-base@npm:11.0.2" + dependencies: + "@pnpm/types": 9.4.2 + checksum: 346abcdfcae881601f374b8323bf17bcc6f35282e28e073eff8e2f3c388c4ff897da6a2c615bc5165383bb825fe24985e8b987ae8221ca876a2f24aaf9b40656 + languageName: node + linkType: hard + "@pnpm/resolver-base@npm:11.1.0": version: 11.1.0 resolution: "@pnpm/resolver-base@npm:11.1.0" @@ -14997,6 +15034,18 @@ __metadata: languageName: node linkType: hard +"@pnpm/workspace.pkgs-graph@npm:^2.0.13": + version: 2.0.13 + resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.13" + dependencies: + "@pnpm/npm-package-arg": ^1.0.0 + "@pnpm/npm-resolver": 18.0.2 + "@pnpm/resolve-workspace-range": 5.0.1 + ramda: "npm:@pnpm/ramda@0.28.1" + checksum: 3a39f39b5c86a2a273106a68d0060ca09e2dfd8ac646d11ac0471d4848f6db23b9d8719cbf9e36285ef13ad78527b41824b2e04fdbf533ce275bfe081012dfb8 + languageName: node + linkType: hard + "@pnpm/workspace.pkgs-graph@npm:^2.0.14": version: 2.0.14 resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.14" @@ -16177,6 +16226,13 @@ __metadata: languageName: node linkType: hard +"@sindresorhus/merge-streams@npm:^1.0.0": + version: 1.0.0 + resolution: "@sindresorhus/merge-streams@npm:1.0.0" + checksum: 453c2a28164113a5ec4fd23ba636e291a4112f6ee9e91cd5476b9a96e0fc9ee5ff40d405fe81bbf284c9773b7ed718a3a0f31df7895a0efd413b1f9775d154fe + languageName: node + linkType: hard + "@sinonjs/commons@npm:^2.0.0": version: 2.0.0 resolution: "@sinonjs/commons@npm:2.0.0" @@ -29442,6 +29498,20 @@ __metadata: languageName: node linkType: hard +"globby@npm:^14.0.0": + version: 14.0.0 + resolution: "globby@npm:14.0.0" + dependencies: + "@sindresorhus/merge-streams": ^1.0.0 + fast-glob: ^3.3.2 + ignore: ^5.2.4 + path-type: ^5.0.0 + slash: ^5.1.0 + unicorn-magic: ^0.1.0 + checksum: f331b42993e420c8f2b61a6ca062276977ea6d95f181640ff018f00200f4fe5b50f1fae7540903483e6570ca626fe16234ab88e848d43381a2529220548a9d39 + languageName: node + linkType: hard + "good-listener@npm:^1.2.2": version: 1.2.2 resolution: "good-listener@npm:1.2.2" @@ -29573,6 +29643,13 @@ __metadata: languageName: node linkType: hard +"graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.2.11": + version: 4.2.11 + resolution: "graceful-fs@npm:4.2.11" + checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 + languageName: node + linkType: hard + "grapheme-splitter@npm:^1.0.4": version: 1.0.4 resolution: "grapheme-splitter@npm:1.0.4" @@ -30578,6 +30655,13 @@ __metadata: languageName: node linkType: hard +"ignore@npm:^5.1.8": + version: 5.3.0 + resolution: "ignore@npm:5.3.0" + checksum: 2736da6621f14ced652785cb05d86301a66d70248597537176612bd0c8630893564bd5f6421f8806b09e8472e75c591ef01672ab8059c07c6eb2c09cefe04bf9 + languageName: node + linkType: hard + "immediate@npm:~3.0.5": version: 3.0.6 resolution: "immediate@npm:3.0.6" @@ -33408,6 +33492,39 @@ __metadata: languageName: node linkType: hard +"knip@npm:^3.12.0": + version: 3.13.2 + resolution: "knip@npm:3.13.2" + dependencies: + "@ericcornelissen/bash-parser": 0.5.2 + "@npmcli/map-workspaces": 3.0.4 + "@npmcli/package-json": 5.0.0 + "@pkgjs/parseargs": 0.11.0 + "@pnpm/logger": 5.0.0 + "@pnpm/workspace.pkgs-graph": ^2.0.13 + "@snyk/github-codeowners": 1.1.0 + easy-table: 1.2.0 + fast-glob: 3.3.2 + globby: ^14.0.0 + jiti: 1.21.0 + js-yaml: 4.1.0 + micromatch: 4.0.5 + minimist: 1.2.8 + picocolors: 1.0.0 + pretty-ms: 8.0.0 + strip-json-comments: 5.0.1 + summary: 2.1.0 + zod: 3.22.4 + zod-validation-error: 2.1.0 + peerDependencies: + "@types/node": ">=18" + typescript: ">=5.0.4" + bin: + knip: bin/knip.js + checksum: b70fbfed3a3ee340bae3b0ec2d5bd4e598fde3d99923a4d26c0a0b86317d26073f024d8710ac2c8275990bea20529a36d4183eb4549e916d0a40b375b64d6b6d + languageName: node + linkType: hard + "knip@npm:^4.3.1": version: 4.3.1 resolution: "knip@npm:4.3.1" @@ -37513,6 +37630,13 @@ __metadata: languageName: node linkType: hard +"parse-ms@npm:^3.0.0": + version: 3.0.0 + resolution: "parse-ms@npm:3.0.0" + checksum: fc602bba093835562321a67a9d6c8c9687ca4f26a09459a77e07ebd7efddd1a5766725ec60eb0c83a2abe67f7a23808f7deb1c1226727776eaf7f9607ae09db2 + languageName: node + linkType: hard + "parse-ms@npm:^4.0.0": version: 4.0.0 resolution: "parse-ms@npm:4.0.0" @@ -37906,6 +38030,13 @@ __metadata: languageName: node linkType: hard +"path-type@npm:^5.0.0": + version: 5.0.0 + resolution: "path-type@npm:5.0.0" + checksum: 15ec24050e8932c2c98d085b72cfa0d6b4eeb4cbde151a0a05726d8afae85784fc5544f733d8dfc68536587d5143d29c0bd793623fad03d7e61cc00067291cd5 + languageName: node + linkType: hard + "pathe@npm:^0.2.0": version: 0.2.0 resolution: "pathe@npm:0.2.0" @@ -38966,6 +39097,15 @@ __metadata: languageName: node linkType: hard +"pretty-ms@npm:8.0.0": + version: 8.0.0 + resolution: "pretty-ms@npm:8.0.0" + dependencies: + parse-ms: ^3.0.0 + checksum: b7d2a8182887af0e5ab93f9df331f10db9b8eda86855e2de115eb01a6c501bde5631a8813b1b0abdd7d045e79b08ae875369a8fd279a3dacd6d9e572bdd3bfa6 + languageName: node + linkType: hard + "pretty-ms@npm:9.0.0": version: 9.0.0 resolution: "pretty-ms@npm:9.0.0" @@ -41335,8 +41475,8 @@ __metadata: eslint-plugin-react: ^7.28.0 eslint-plugin-testing-library: ^6.0.0 fs-extra: 10.1.0 - husky: ^8.0.0 - knip: ^4.3.1 + husky: ^9.0.0 + knip: ^3.12.0 lint-staged: ^15.0.0 minimist: ^1.2.5 node-gyp: ^10.0.0 @@ -42116,6 +42256,13 @@ __metadata: languageName: node linkType: hard +"slash@npm:^5.1.0": + version: 5.1.0 + resolution: "slash@npm:5.1.0" + checksum: 70434b34c50eb21b741d37d455110258c42d2cf18c01e6518aeb7299f3c6e626330c889c0c552b5ca2ef54a8f5a74213ab48895f0640717cacefeef6830a1ba4 + languageName: node + linkType: hard + "slice-ansi@npm:^4.0.0": version: 4.0.0 resolution: "slice-ansi@npm:4.0.0" @@ -42542,6 +42689,15 @@ __metadata: languageName: node linkType: hard +"ssri@npm:10.0.5": + version: 10.0.5 + resolution: "ssri@npm:10.0.5" + dependencies: + minipass: ^7.0.3 + checksum: 0a31b65f21872dea1ed3f7c200d7bc1c1b91c15e419deca14f282508ba917cbb342c08a6814c7f68ca4ca4116dd1a85da2bbf39227480e50125a1ceffeecb750 + languageName: node + linkType: hard + "ssri@npm:10.0.5, ssri@npm:^10.0.0": version: 10.0.5 resolution: "ssri@npm:10.0.5" @@ -42551,6 +42707,15 @@ __metadata: languageName: node linkType: hard +"ssri@npm:^10.0.0": + version: 10.0.4 + resolution: "ssri@npm:10.0.4" + dependencies: + minipass: ^7.0.3 + checksum: 0a31b65f21872dea1ed3f7c200d7bc1c1b91c15e419deca14f282508ba917cbb342c08a6814c7f68ca4ca4116dd1a85da2bbf39227480e50125a1ceffeecb750 + languageName: node + linkType: hard + "ssri@npm:^8.0.0, ssri@npm:^8.0.1": version: 8.0.1 resolution: "ssri@npm:8.0.1" @@ -44667,6 +44832,13 @@ __metadata: languageName: node linkType: hard +"unicorn-magic@npm:^0.1.0": + version: 0.1.0 + resolution: "unicorn-magic@npm:0.1.0" + checksum: 48c5882ca3378f380318c0b4eb1d73b7e3c5b728859b060276e0a490051d4180966beeb48962d850fd0c6816543bcdfc28629dcd030bb62a286a2ae2acb5acb6 + languageName: node + linkType: hard + "unified@npm:^10.0.0": version: 10.1.0 resolution: "unified@npm:10.1.0" @@ -46710,6 +46882,15 @@ __metadata: languageName: node linkType: hard +"zod-validation-error@npm:2.1.0": + version: 2.1.0 + resolution: "zod-validation-error@npm:2.1.0" + peerDependencies: + zod: ^3.18.0 + checksum: 2331cc8d876c2df0b720b648249447b65d6b85ad0b6e60dd6515170570e6ffbe7a9adb844d44035c07d59c871048d9c45a8c429849bedeb8cbcdfa5f90101402 + languageName: node + linkType: hard + "zod-validation-error@npm:3.0.0": version: 3.0.0 resolution: "zod-validation-error@npm:3.0.0" From 749c17d3a84180a917b2754a2183ab0b320c6736 Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Thu, 8 Feb 2024 07:44:43 +0200 Subject: [PATCH 76/82] fix: wrong husky version Signed-off-by: Heikki Hellgren --- yarn.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/yarn.lock b/yarn.lock index 24edaed74c..41a0c2d7ad 100644 --- a/yarn.lock +++ b/yarn.lock @@ -30541,12 +30541,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^8.0.0": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:^9.0.0": + version: 9.0.10 + resolution: "husky@npm:9.0.10" bin: - husky: lib/bin.js - checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0 + husky: bin.mjs + checksum: 55f4b6db6706ff0bc181607d6a64f55310cbb18b4d7db2a5b85608c87a80abafc14ac3a8c4d0b44d6272f4a62d4c2d3d5491d6a13e2cc7ac4895309e5e5f0ec2 languageName: node linkType: hard @@ -41476,7 +41476,7 @@ __metadata: eslint-plugin-testing-library: ^6.0.0 fs-extra: 10.1.0 husky: ^9.0.0 - knip: ^3.12.0 + knip: ^4.3.1 lint-staged: ^15.0.0 minimist: ^1.2.5 node-gyp: ^10.0.0 From 563e7e4008a951be94f9add36bdb77185ef1d466 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 8 Feb 2024 06:39:10 +0000 Subject: [PATCH 77/82] chore(deps): update ruby:3.3 docker digest to 6936c28 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- plugins/scaffolder-backend-module-rails/Rails.dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scaffolder-backend-module-rails/Rails.dockerfile b/plugins/scaffolder-backend-module-rails/Rails.dockerfile index 1eddd66f76..6c973c21b4 100644 --- a/plugins/scaffolder-backend-module-rails/Rails.dockerfile +++ b/plugins/scaffolder-backend-module-rails/Rails.dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.3@sha256:edc0719e887ae8a34c9edfe0178333117cb6fbfd6f49502dbccc8ae22d26a63e +FROM ruby:3.3@sha256:6936c28e1221d653c0d9af9d2b6a9e27ba0350cd10c9cc57464c62743d723b76 RUN apt-get update -qq && \ apt-get install -y nodejs postgresql-client git && \ From c9d39120b2bfa98e76f57ea0e185dee9879ee0d3 Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Thu, 8 Feb 2024 07:52:01 +0200 Subject: [PATCH 78/82] chore: update knip reports Signed-off-by: Heikki Hellgren --- .changeset/friendly-terms-love.md | 255 ------------------ .changeset/tasty-oranges-rescue.md | 7 - packages/app-defaults/knip-report.md | 11 - packages/app-next/knip-report.md | 15 -- packages/app/knip-report.md | 14 - packages/backend-tasks/knip-report.md | 10 - packages/backend/knip-report.md | 4 - packages/cli/knip-report.md | 31 --- packages/core-app-api/knip-report.md | 8 - packages/core-compat-api/knip-report.md | 6 - packages/core-components/knip-report.md | 12 - packages/core-plugin-api/knip-report.md | 8 - packages/create-app/knip-report.md | 7 - packages/dev-utils/knip-report.md | 8 - packages/eslint-plugin/knip-report.md | 10 - packages/frontend-app-api/knip-report.md | 11 - packages/frontend-plugin-api/knip-report.md | 8 - packages/frontend-test-utils/knip-report.md | 9 - packages/integration-react/knip-report.md | 20 -- .../src/commands/api-reports/api-reports.ts | 12 - packages/test-utils/knip-report.md | 10 - packages/theme/knip-report.md | 11 - packages/version-bridge/knip-report.md | 10 - plugins/adr/knip-report.md | 11 - plugins/airbrake-backend/knip-report.md | 9 - plugins/airbrake/knip-report.md | 23 -- plugins/allure/knip-report.md | 14 - plugins/analytics-module-ga/knip-report.md | 19 -- plugins/analytics-module-ga4/knip-report.md | 20 -- .../knip-report.md | 17 -- plugins/apache-airflow/knip-report.md | 15 -- .../knip-report.md | 9 - plugins/api-docs/knip-report.md | 12 - plugins/apollo-explorer/knip-report.md | 12 - .../knip-report.md | 12 - .../knip-report.md | 12 - .../knip-report.md | 12 - .../knip-report.md | 14 - .../knip-report.md | 12 - .../knip-report.md | 12 - .../knip-report.md | 18 -- .../knip-report.md | 15 -- plugins/auth-backend/knip-report.md | 20 +- plugins/azure-devops-backend/knip-report.md | 9 - plugins/azure-devops/knip-report.md | 13 - plugins/azure-sites-backend/knip-report.md | 7 - plugins/azure-sites-common/knip-report.md | 3 - plugins/azure-sites/knip-report.md | 14 - plugins/badges-backend/knip-report.md | 8 - plugins/badges/knip-report.md | 11 - plugins/bazaar-backend/knip-report.md | 9 - plugins/bazaar/knip-report.md | 17 -- plugins/bitrise/knip-report.md | 12 - .../knip-report.md | 8 - plugins/catalog-backend/knip-report.md | 23 +- plugins/catalog-graph/knip-report.md | 20 -- plugins/catalog-import/knip-report.md | 12 - plugins/catalog-react/knip-report.md | 11 - .../knip-report.md | 11 - plugins/catalog/knip-report.md | 12 - plugins/circleci/knip-report.md | 9 - plugins/cloudbuild/knip-report.md | 13 - plugins/code-climate/knip-report.md | 19 -- plugins/code-coverage-backend/knip-report.md | 9 - plugins/code-coverage/knip-report.md | 13 - plugins/codescene/knip-report.md | 15 -- plugins/config-schema/knip-report.md | 12 - plugins/cost-insights/knip-report.md | 12 - plugins/devtools-backend/knip-report.md | 9 - plugins/devtools/knip-report.md | 11 - plugins/dynatrace/knip-report.md | 14 - .../entity-feedback-backend/knip-report.md | 10 - plugins/entity-feedback/knip-report.md | 8 - plugins/entity-validation/knip-report.md | 12 - .../example-todo-list-backend/knip-report.md | 9 - plugins/example-todo-list/knip-report.md | 11 - plugins/explore-backend/knip-report.md | 18 -- plugins/explore-react/knip-report.md | 12 - plugins/explore/knip-report.md | 16 -- plugins/firehydrant/knip-report.md | 14 - plugins/fossa/knip-report.md | 15 -- plugins/gcalendar/knip-report.md | 14 - plugins/gcp-projects/knip-report.md | 12 - plugins/git-release-manager/knip-report.md | 13 - plugins/github-actions/knip-report.md | 14 - plugins/github-deployments/knip-report.md | 15 -- plugins/github-issues/knip-report.md | 13 - .../github-pull-requests-board/knip-report.md | 12 - plugins/gitops-profiles/knip-report.md | 14 - plugins/gocd/knip-report.md | 12 - plugins/graphiql/knip-report.md | 21 -- plugins/graphql-voyager/knip-report.md | 12 - plugins/home/knip-report.md | 11 - plugins/ilert/knip-report.md | 12 - plugins/jenkins-backend/knip-report.md | 9 - plugins/jenkins/knip-report.md | 14 - plugins/kafka/knip-report.md | 14 - plugins/kubernetes-backend/knip-report.md | 12 - plugins/kubernetes-node/knip-report.md | 8 - plugins/kubernetes-react/knip-report.md | 14 - plugins/kubernetes/knip-report.md | 13 - plugins/lighthouse/knip-report.md | 15 -- plugins/linguist-backend/knip-report.md | 8 - plugins/linguist/knip-report.md | 12 - plugins/microsoft-calendar/knip-report.md | 12 - plugins/newrelic-dashboard/knip-report.md | 11 - plugins/newrelic/knip-report.md | 14 - plugins/nomad-backend/knip-report.md | 9 - plugins/nomad/knip-report.md | 12 - plugins/octopus-deploy/knip-report.md | 12 - plugins/opencost/knip-report.md | 8 - plugins/org-react/knip-report.md | 8 - plugins/org/knip-report.md | 20 -- plugins/pagerduty/knip-report.md | 14 - plugins/periskop-backend/knip-report.md | 9 - plugins/periskop/knip-report.md | 12 - plugins/permission-react/knip-report.md | 11 - plugins/playlist-backend/knip-report.md | 10 - plugins/playlist/knip-report.md | 16 -- plugins/proxy-backend/knip-report.md | 8 - plugins/puppetdb/knip-report.md | 14 - plugins/rollbar-backend/knip-report.md | 8 - plugins/rollbar/knip-report.md | 13 - .../knip-report.md | 7 - .../knip-report.md | 7 - plugins/scaffolder-react/knip-report.md | 8 - plugins/scaffolder/knip-report.md | 19 -- plugins/search-backend/knip-report.md | 10 - plugins/search-react/knip-report.md | 17 -- plugins/search/knip-report.md | 12 - plugins/sentry/knip-report.md | 13 - plugins/shortcuts/knip-report.md | 13 - plugins/sonarqube-backend/knip-report.md | 9 - plugins/sonarqube/knip-report.md | 21 -- plugins/splunk-on-call/knip-report.md | 14 - plugins/stack-overflow/knip-report.md | 14 - plugins/stackstorm/knip-report.md | 15 -- .../knip-report.md | 13 - plugins/tech-insights/knip-report.md | 12 - plugins/tech-radar/knip-report.md | 11 - .../techdocs-addons-test-utils/knip-report.md | 10 - .../knip-report.md | 8 - plugins/techdocs-react/knip-report.md | 12 - plugins/techdocs/knip-report.md | 12 - plugins/todo-backend/knip-report.md | 9 +- plugins/todo/knip-report.md | 19 -- plugins/user-settings-backend/knip-report.md | 11 - plugins/user-settings/knip-report.md | 12 - plugins/vault-backend/knip-report.md | 22 -- plugins/vault/knip-report.md | 15 -- plugins/xcmetrics/knip-report.md | 11 - yarn.lock | 223 ++------------- 152 files changed, 32 insertions(+), 2308 deletions(-) diff --git a/.changeset/friendly-terms-love.md b/.changeset/friendly-terms-love.md index 8cb9618f08..18fc399740 100644 --- a/.changeset/friendly-terms-love.md +++ b/.changeset/friendly-terms-love.md @@ -1,260 +1,5 @@ --- -<<<<<<< HEAD '@backstage/repo-tools': patch --- Introduced `knip` to the `knip-reports` command, which generates a `knip-report.md` file for your packages with dependency warnings, if any. -======= -'@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. ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/.changeset/tasty-oranges-rescue.md b/.changeset/tasty-oranges-rescue.md index 891b5b3b07..b146c2e143 100644 --- a/.changeset/tasty-oranges-rescue.md +++ b/.changeset/tasty-oranges-rescue.md @@ -1,5 +1,4 @@ --- -<<<<<<< HEAD '@backstage/plugin-auth-backend': minor --- @@ -10,9 +9,3 @@ This comes with breaking changes to config options: - `audience` is now mandatory - `wantAuthnResponseSigned` is now exposed and defaults to `true` - `wantAssertionsSigned` is now exposed and defaults to `true` -======= -'@backstage/plugin-auth-backend': patch ---- - -migrate from 'passport-saml' to '@node-saml/passport-saml' ->>>>>>> 653fd33301e (chore(plugins/auth-backend): migrate from passport-saml package to @node-saml/passport-saml) diff --git a/packages/app-defaults/knip-report.md b/packages/app-defaults/knip-report.md index 8d546ae255..fb60112aa2 100644 --- a/packages/app-defaults/knip-report.md +++ b/packages/app-defaults/knip-report.md @@ -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) diff --git a/packages/app-next/knip-report.md b/packages/app-next/knip-report.md index b96d412224..7787f9c8fc 100644 --- a/packages/app-next/knip-report.md +++ b/packages/app-next/knip-report.md @@ -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 | diff --git a/packages/app/knip-report.md b/packages/app/knip-report.md index f116708f3d..f22347da9f 100644 --- a/packages/app/knip-report.md +++ b/packages/app/knip-report.md @@ -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) diff --git a/packages/backend-tasks/knip-report.md b/packages/backend-tasks/knip-report.md index f17fdee4f5..b4595609b6 100644 --- a/packages/backend-tasks/knip-report.md +++ b/packages/backend-tasks/knip-report.md @@ -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) diff --git a/packages/backend/knip-report.md b/packages/backend/knip-report.md index 37cab7b78b..dbd46f1746 100644 --- a/packages/backend/knip-report.md +++ b/packages/backend/knip-report.md @@ -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) diff --git a/packages/cli/knip-report.md b/packages/cli/knip-report.md index 6b82908882..8caf86f5ec 100644 --- a/packages/cli/knip-report.md +++ b/packages/cli/knip-report.md @@ -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) diff --git a/packages/core-app-api/knip-report.md b/packages/core-app-api/knip-report.md index f4288e2651..905368dd3f 100644 --- a/packages/core-app-api/knip-report.md +++ b/packages/core-app-api/knip-report.md @@ -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 | diff --git a/packages/core-compat-api/knip-report.md b/packages/core-compat-api/knip-report.md index 2832fd0400..25c65be193 100644 --- a/packages/core-compat-api/knip-report.md +++ b/packages/core-compat-api/knip-report.md @@ -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 | diff --git a/packages/core-components/knip-report.md b/packages/core-components/knip-report.md index f05ab12708..f457b7bb78 100644 --- a/packages/core-components/knip-report.md +++ b/packages/core-components/knip-report.md @@ -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) diff --git a/packages/core-plugin-api/knip-report.md b/packages/core-plugin-api/knip-report.md index 05d6074288..b222f9399d 100644 --- a/packages/core-plugin-api/knip-report.md +++ b/packages/core-plugin-api/knip-report.md @@ -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 | diff --git a/packages/create-app/knip-report.md b/packages/create-app/knip-report.md index d0fb85b8bf..3e3ca1b1a7 100644 --- a/packages/create-app/knip-report.md +++ b/packages/create-app/knip-report.md @@ -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 | diff --git a/packages/dev-utils/knip-report.md b/packages/dev-utils/knip-report.md index e3a66ca3ec..c4383e6fce 100644 --- a/packages/dev-utils/knip-report.md +++ b/packages/dev-utils/knip-report.md @@ -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 | diff --git a/packages/eslint-plugin/knip-report.md b/packages/eslint-plugin/knip-report.md index 571007d06b..77fca799d7 100644 --- a/packages/eslint-plugin/knip-report.md +++ b/packages/eslint-plugin/knip-report.md @@ -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) diff --git a/packages/frontend-app-api/knip-report.md b/packages/frontend-app-api/knip-report.md index 8d546ae255..fb60112aa2 100644 --- a/packages/frontend-app-api/knip-report.md +++ b/packages/frontend-app-api/knip-report.md @@ -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) diff --git a/packages/frontend-plugin-api/knip-report.md b/packages/frontend-plugin-api/knip-report.md index 2b86fc1ff2..a6c1e939c7 100644 --- a/packages/frontend-plugin-api/knip-report.md +++ b/packages/frontend-plugin-api/knip-report.md @@ -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 | diff --git a/packages/frontend-test-utils/knip-report.md b/packages/frontend-test-utils/knip-report.md index 456761f652..24c942926b 100644 --- a/packages/frontend-test-utils/knip-report.md +++ b/packages/frontend-test-utils/knip-report.md @@ -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) diff --git a/packages/integration-react/knip-report.md b/packages/integration-react/knip-report.md index a4e32b9680..1ffbed64e8 100644 --- a/packages/integration-react/knip-report.md +++ b/packages/integration-react/knip-report.md @@ -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) diff --git a/packages/repo-tools/src/commands/api-reports/api-reports.ts b/packages/repo-tools/src/commands/api-reports/api-reports.ts index 65c5cbc9bd..637cd86671 100644 --- a/packages/repo-tools/src/commands/api-reports/api-reports.ts +++ b/packages/repo-tools/src/commands/api-reports/api-reports.ts @@ -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({ diff --git a/packages/test-utils/knip-report.md b/packages/test-utils/knip-report.md index 08c9b73139..4c8222eecd 100644 --- a/packages/test-utils/knip-report.md +++ b/packages/test-utils/knip-report.md @@ -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) diff --git a/packages/theme/knip-report.md b/packages/theme/knip-report.md index 62506ab978..71141a3bba 100644 --- a/packages/theme/knip-report.md +++ b/packages/theme/knip-report.md @@ -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) diff --git a/packages/version-bridge/knip-report.md b/packages/version-bridge/knip-report.md index 415c462d04..9f54e7f06d 100644 --- a/packages/version-bridge/knip-report.md +++ b/packages/version-bridge/knip-report.md @@ -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) diff --git a/plugins/adr/knip-report.md b/plugins/adr/knip-report.md index 2480ea795e..881216583e 100644 --- a/plugins/adr/knip-report.md +++ b/plugins/adr/knip-report.md @@ -7,7 +7,6 @@ | remark-gfm | package.json | | react-markdown | package.json | -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -15,14 +14,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (4) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/airbrake-backend/knip-report.md b/plugins/airbrake-backend/knip-report.md index 4411840964..e31e20b852 100644 --- a/plugins/airbrake-backend/knip-report.md +++ b/plugins/airbrake-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/airbrake/knip-report.md b/plugins/airbrake/knip-report.md index e4eb03417a..9364473c4f 100644 --- a/plugins/airbrake/knip-report.md +++ b/plugins/airbrake/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,26 +9,4 @@ | @testing-library/dom | package.json | | @testing-library/react | package.json | | @backstage/app-defaults | package.json | -======= -## Unused dependencies (3) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/allure/knip-report.md b/plugins/allure/knip-report.md index c8d267442a..a7fde3968b 100644 --- a/plugins/allure/knip-report.md +++ b/plugins/allure/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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/react | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/analytics-module-ga/knip-report.md b/plugins/analytics-module-ga/knip-report.md index e7b0f58096..9679afeb54 100644 --- a/plugins/analytics-module-ga/knip-report.md +++ b/plugins/analytics-module-ga/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,22 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused dependencies (1) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/analytics-module-ga4/knip-report.md b/plugins/analytics-module-ga4/knip-report.md index 904a942e91..544b473dd0 100644 --- a/plugins/analytics-module-ga4/knip-report.md +++ b/plugins/analytics-module-ga4/knip-report.md @@ -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 | | @testing-library/react | package.json | -======= -## Unused dependencies (1) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/analytics-module-newrelic-browser/knip-report.md b/plugins/analytics-module-newrelic-browser/knip-report.md index cdefb51a57..9f54e7f06d 100644 --- a/plugins/analytics-module-newrelic-browser/knip-report.md +++ b/plugins/analytics-module-newrelic-browser/knip-report.md @@ -1,26 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | package.json | -======= -## Unused dependencies (1) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/apache-airflow/knip-report.md b/plugins/apache-airflow/knip-report.md index 8a969b09db..44a5bee885 100644 --- a/plugins/apache-airflow/knip-report.md +++ b/plugins/apache-airflow/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,18 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/api-docs-module-protoc-gen-doc/knip-report.md b/plugins/api-docs-module-protoc-gen-doc/knip-report.md index 456761f652..24c942926b 100644 --- a/plugins/api-docs-module-protoc-gen-doc/knip-report.md +++ b/plugins/api-docs-module-protoc-gen-doc/knip-report.md @@ -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) diff --git a/plugins/api-docs/knip-report.md b/plugins/api-docs/knip-report.md index aa86bb7764..7ecee7de26 100644 --- a/plugins/api-docs/knip-report.md +++ b/plugins/api-docs/knip-report.md @@ -8,26 +8,14 @@ | graphql-config | package.json | | isomorphic-form-data | package.json | -<<<<<<< HEAD ## Unused devDependencies (6) -======= -## Unused devDependencies (8) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/apollo-explorer/knip-report.md b/plugins/apollo-explorer/knip-report.md index 6cf66ba93c..25d92625f5 100644 --- a/plugins/apollo-explorer/knip-report.md +++ b/plugins/apollo-explorer/knip-report.md @@ -6,7 +6,6 @@ |:------------------------|:-------------| | use-deep-compare-effect | package.json | -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -14,15 +13,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-atlassian-provider/knip-report.md b/plugins/auth-backend-module-atlassian-provider/knip-report.md index 1cb1149b2e..fe0782ee45 100644 --- a/plugins/auth-backend-module-atlassian-provider/knip-report.md +++ b/plugins/auth-backend-module-atlassian-provider/knip-report.md @@ -7,7 +7,6 @@ | express | package.json | | passport | package.json | -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -15,15 +14,4 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-github-provider/knip-report.md b/plugins/auth-backend-module-github-provider/knip-report.md index 158060407d..8d7bd5cd41 100644 --- a/plugins/auth-backend-module-github-provider/knip-report.md +++ b/plugins/auth-backend-module-github-provider/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-gitlab-provider/knip-report.md b/plugins/auth-backend-module-gitlab-provider/knip-report.md index 1cb1149b2e..fe0782ee45 100644 --- a/plugins/auth-backend-module-gitlab-provider/knip-report.md +++ b/plugins/auth-backend-module-gitlab-provider/knip-report.md @@ -7,7 +7,6 @@ | express | package.json | | passport | package.json | -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -15,15 +14,4 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-microsoft-provider/knip-report.md b/plugins/auth-backend-module-microsoft-provider/knip-report.md index 08382b3027..d51b79899b 100644 --- a/plugins/auth-backend-module-microsoft-provider/knip-report.md +++ b/plugins/auth-backend-module-microsoft-provider/knip-report.md @@ -7,7 +7,6 @@ | express | package.json | | passport | package.json | -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -17,17 +16,4 @@ | @backstage/cli | package.json | | @backstage/config | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (7) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-oauth2-provider/knip-report.md b/plugins/auth-backend-module-oauth2-provider/knip-report.md index 1fefb17432..3db18e15f0 100644 --- a/plugins/auth-backend-module-oauth2-provider/knip-report.md +++ b/plugins/auth-backend-module-oauth2-provider/knip-report.md @@ -6,7 +6,6 @@ |:---------|:-------------| | passport | package.json | -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -14,15 +13,4 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-okta-provider/knip-report.md b/plugins/auth-backend-module-okta-provider/knip-report.md index 1cb1149b2e..fe0782ee45 100644 --- a/plugins/auth-backend-module-okta-provider/knip-report.md +++ b/plugins/auth-backend-module-okta-provider/knip-report.md @@ -7,7 +7,6 @@ | express | package.json | | passport | package.json | -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -15,15 +14,4 @@ | supertest | package.json | | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-pinniped-provider/knip-report.md b/plugins/auth-backend-module-pinniped-provider/knip-report.md index 4601c096f8..c3dbae1569 100644 --- a/plugins/auth-backend-module-pinniped-provider/knip-report.md +++ b/plugins/auth-backend-module-pinniped-provider/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (9) | Name | Location | @@ -14,21 +13,4 @@ | @backstage/cli | package.json | | express-session | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (11) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md index 5498ec587c..c5d1ec2ac8 100644 --- a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md +++ b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,18 +10,4 @@ | @backstage/errors | package.json | | @backstage/config | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused devDependencies (8) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/auth-backend/knip-report.md b/plugins/auth-backend/knip-report.md index 40bedf09df..846531dab7 100644 --- a/plugins/auth-backend/knip-report.md +++ b/plugins/auth-backend/knip-report.md @@ -1,10 +1,6 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (12) -======= -## Unused dependencies (10) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------|:-------------| @@ -13,7 +9,6 @@ | morgan | package.json | | winston | package.json | | fs-extra | package.json | -<<<<<<< HEAD | node-cache | package.json | | compression | package.json | | openid-client | package.json | @@ -22,16 +17,7 @@ | google-auth-library | package.json | | passport-google-oauth20 | package.json | -## Unused devDependencies (9) -======= -| compression | package.json | -| passport-gitlab2 | package.json | -| passport-github2 | package.json | -| google-auth-library | package.json | -| passport-google-oauth20 | package.json | - ## Unused devDependencies (10) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------|:-------------| @@ -40,13 +26,9 @@ | @types/xml2js | package.json | | @backstage/cli | package.json | | @types/body-parser | package.json | +| @types/passport-saml | package.json | | @types/passport-github2 | package.json | | @types/passport-strategy | package.json | -<<<<<<< HEAD | @types/passport-microsoft | package.json | -======= -| @backstage/backend-defaults | package.json | -| @backstage/backend-test-utils | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @types/passport-google-oauth20 | package.json | diff --git a/plugins/azure-devops-backend/knip-report.md b/plugins/azure-devops-backend/knip-report.md index 4411840964..e31e20b852 100644 --- a/plugins/azure-devops-backend/knip-report.md +++ b/plugins/azure-devops-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/azure-devops/knip-report.md b/plugins/azure-devops/knip-report.md index 52490b94f2..ecf6480396 100644 --- a/plugins/azure-devops/knip-report.md +++ b/plugins/azure-devops/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,16 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/azure-sites-backend/knip-report.md b/plugins/azure-sites-backend/knip-report.md index 8e8be7f6ab..b1d05b28ee 100644 --- a/plugins/azure-sites-backend/knip-report.md +++ b/plugins/azure-sites-backend/knip-report.md @@ -2,17 +2,10 @@ ## Unused dependencies (2) -<<<<<<< HEAD | Name | Location | |:-------------------------|:-------------| | node-fetch | package.json | | @backstage/catalog-model | package.json | -======= -| Name | Location | -|:-----------|:-------------| -| yn | package.json | -| node-fetch | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (2) diff --git a/plugins/azure-sites-common/knip-report.md b/plugins/azure-sites-common/knip-report.md index ac620b6571..c61d844657 100644 --- a/plugins/azure-sites-common/knip-report.md +++ b/plugins/azure-sites-common/knip-report.md @@ -1,14 +1,11 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:-------------------------|:-------------| | @backstage/catalog-model | package.json | -======= ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (1) | Name | Location | diff --git a/plugins/azure-sites/knip-report.md b/plugins/azure-sites/knip-report.md index f485096eff..c60bbdc1a8 100644 --- a/plugins/azure-sites/knip-report.md +++ b/plugins/azure-sites/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (3) | Name | Location | @@ -18,17 +17,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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/react | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/badges-backend/knip-report.md b/plugins/badges-backend/knip-report.md index 7d85690cef..db5d6f9746 100644 --- a/plugins/badges-backend/knip-report.md +++ b/plugins/badges-backend/knip-report.md @@ -1,17 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (2) | Name | Location | |:----------|:-------------| -======= -## Unused dependencies (3) - -| Name | Location | -|:----------|:-------------| -| yn | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | cors | package.json | | supertest | package.json | diff --git a/plugins/badges/knip-report.md b/plugins/badges/knip-report.md index 2cde071780..ce8576bebf 100644 --- a/plugins/badges/knip-report.md +++ b/plugins/badges/knip-report.md @@ -1,20 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:----------------------|:-------------| | @backstage/cli | package.json | | @backstage/test-utils | package.json | -======= -## Unused devDependencies (4) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/dev-utils | package.json | -| @backstage/test-utils | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/bazaar-backend/knip-report.md b/plugins/bazaar-backend/knip-report.md index 860bb9bb68..2a595acf79 100644 --- a/plugins/bazaar-backend/knip-report.md +++ b/plugins/bazaar-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (2) | Name | Location | diff --git a/plugins/bazaar/knip-report.md b/plugins/bazaar/knip-report.md index 9861c5bf2e..a203b667b3 100644 --- a/plugins/bazaar/knip-report.md +++ b/plugins/bazaar/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | @@ -12,20 +11,4 @@ | Name | Location | |:---------------|:-------------| | @backstage/cli | package.json | -======= -## Unused dependencies (2) - -| Name | Location | -|:--------------------------|:-------------| -| @testing-library/jest-dom | package.json | -| @backstage/catalog-client | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/dev-utils | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/bitrise/knip-report.md b/plugins/bitrise/knip-report.md index 6e7553516a..5ab0e57e57 100644 --- a/plugins/bitrise/knip-report.md +++ b/plugins/bitrise/knip-report.md @@ -6,11 +6,7 @@ |:---------|:-------------| | recharts | package.json | -<<<<<<< HEAD ## Unused devDependencies (8) -======= -## Unused devDependencies (10) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| @@ -18,16 +14,8 @@ | @backstage/cli | package.json | | @types/recharts | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md index 8856eb2032..2a595acf79 100644 --- a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md +++ b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md @@ -1,17 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (2) -======= -## Unused devDependencies (3) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------------|:-------------| | @backstage/cli | package.json | -<<<<<<< HEAD -======= -| @backstage/backend-defaults | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/backend-test-utils | package.json | diff --git a/plugins/catalog-backend/knip-report.md b/plugins/catalog-backend/knip-report.md index 44eee1b646..4e798fba61 100644 --- a/plugins/catalog-backend/knip-report.md +++ b/plugins/catalog-backend/knip-report.md @@ -1,12 +1,12 @@ # Knip report -## Unused dependencies (1) +## Unused dependencies (2) -| Name | Location | -|:-----------|:-------------| -| node-fetch | package.json | +| Name | Location | +|:----------------------|:-------------| +| node-fetch | package.json | +| @backstage/repo-tools | package.json | -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -17,17 +17,4 @@ | @backstage/cli | package.json | | wait-for-expect | package.json | | @types/supertest | package.json | -======= -## Unused devDependencies (7) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/catalog-graph/knip-report.md b/plugins/catalog-graph/knip-report.md index 971e1ab29f..95a44323ae 100644 --- a/plugins/catalog-graph/knip-report.md +++ b/plugins/catalog-graph/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | @@ -8,32 +7,13 @@ | p-limit | package.json | ## Unused devDependencies (6) -======= -## Unused dependencies (2) - -| Name | Location | -|:--------------------------|:-------------| -| lodash | package.json | -| @backstage/catalog-client | package.json | - -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/catalog-import/knip-report.md b/plugins/catalog-import/knip-report.md index 20219473c1..dbaf2b64d3 100644 --- a/plugins/catalog-import/knip-report.md +++ b/plugins/catalog-import/knip-report.md @@ -1,26 +1,14 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (7) -======= -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/catalog-react/knip-report.md b/plugins/catalog-react/knip-report.md index 44771c245f..03d1ee0396 100644 --- a/plugins/catalog-react/knip-report.md +++ b/plugins/catalog-react/knip-report.md @@ -6,26 +6,15 @@ |:---------------------------------|:-------------| | @backstage/plugin-catalog-common | package.json | -<<<<<<< HEAD ## Unused devDependencies (8) -======= -## Unused devDependencies (10) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------------------|:-------------| | @backstage/cli | package.json | | react-test-renderer | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -| @backstage/test-utils | 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 | | @backstage/plugin-catalog-common | package.json | | @backstage/plugin-scaffolder-common | package.json | diff --git a/plugins/catalog-unprocessed-entities/knip-report.md b/plugins/catalog-unprocessed-entities/knip-report.md index d3b295c81a..9f54e7f06d 100644 --- a/plugins/catalog-unprocessed-entities/knip-report.md +++ b/plugins/catalog-unprocessed-entities/knip-report.md @@ -1,20 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/catalog/knip-report.md b/plugins/catalog/knip-report.md index 16902e6026..cdf24bac48 100644 --- a/plugins/catalog/knip-report.md +++ b/plugins/catalog/knip-report.md @@ -6,27 +6,15 @@ |:--------|:-------------| | history | package.json | -<<<<<<< HEAD ## Unused devDependencies (7) -======= -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:------------------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | | @backstage/plugin-permission-common | package.json | diff --git a/plugins/circleci/knip-report.md b/plugins/circleci/knip-report.md index c7085b0605..24c942926b 100644 --- a/plugins/circleci/knip-report.md +++ b/plugins/circleci/knip-report.md @@ -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 | -| @backstage/dev-utils | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/cloudbuild/knip-report.md b/plugins/cloudbuild/knip-report.md index 52490b94f2..ecf6480396 100644 --- a/plugins/cloudbuild/knip-report.md +++ b/plugins/cloudbuild/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,16 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/code-climate/knip-report.md b/plugins/code-climate/knip-report.md index 5703ec8a92..ecf6480396 100644 --- a/plugins/code-climate/knip-report.md +++ b/plugins/code-climate/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,22 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused dependencies (1) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/code-coverage-backend/knip-report.md b/plugins/code-coverage-backend/knip-report.md index 9917b247d8..86e3079791 100644 --- a/plugins/code-coverage-backend/knip-report.md +++ b/plugins/code-coverage-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/code-coverage/knip-report.md b/plugins/code-coverage/knip-report.md index b5d61b74d0..2f33ca2948 100644 --- a/plugins/code-coverage/knip-report.md +++ b/plugins/code-coverage/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,16 +8,4 @@ | @types/highlightjs | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (6) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/codescene/knip-report.md b/plugins/codescene/knip-report.md index b80d165f12..efbc44e5d5 100644 --- a/plugins/codescene/knip-report.md +++ b/plugins/codescene/knip-report.md @@ -6,7 +6,6 @@ |:------------------|:-------------| | @backstage/config | package.json | -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -17,18 +16,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/config-schema/knip-report.md b/plugins/config-schema/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/config-schema/knip-report.md +++ b/plugins/config-schema/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/cost-insights/knip-report.md b/plugins/cost-insights/knip-report.md index d7d5b88da3..942ccee1be 100644 --- a/plugins/cost-insights/knip-report.md +++ b/plugins/cost-insights/knip-report.md @@ -7,27 +7,15 @@ | history | package.json | | @material-ui/styles | package.json | -<<<<<<< HEAD ## Unused devDependencies (7) -======= -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | canvas | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/devtools-backend/knip-report.md b/plugins/devtools-backend/knip-report.md index aad93634c6..0c78f2475f 100644 --- a/plugins/devtools-backend/knip-report.md +++ b/plugins/devtools-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/devtools/knip-report.md b/plugins/devtools/knip-report.md index d3b295c81a..9f54e7f06d 100644 --- a/plugins/devtools/knip-report.md +++ b/plugins/devtools/knip-report.md @@ -1,20 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/dynatrace/knip-report.md b/plugins/dynatrace/knip-report.md index 7d4990ba3a..3770bb993e 100644 --- a/plugins/dynatrace/knip-report.md +++ b/plugins/dynatrace/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/entity-feedback-backend/knip-report.md b/plugins/entity-feedback-backend/knip-report.md index db3fa85de3..3e8751a225 100644 --- a/plugins/entity-feedback-backend/knip-report.md +++ b/plugins/entity-feedback-backend/knip-report.md @@ -1,20 +1,10 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:-----------|:-------------| | node-fetch | package.json | -======= -## Unused dependencies (3) - -| Name | Location | -|:------------------|:-------------| -| yn | package.json | -| node-fetch | package.json | -| @backstage/config | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) diff --git a/plugins/entity-feedback/knip-report.md b/plugins/entity-feedback/knip-report.md index 636d087a8d..c767d8f623 100644 --- a/plugins/entity-feedback/knip-report.md +++ b/plugins/entity-feedback/knip-report.md @@ -1,10 +1,6 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) -======= -## Unused devDependencies (7) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| @@ -13,9 +9,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 | diff --git a/plugins/entity-validation/knip-report.md b/plugins/entity-validation/knip-report.md index 82a09bdc1c..ecf6480396 100644 --- a/plugins/entity-validation/knip-report.md +++ b/plugins/entity-validation/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,15 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/example-todo-list-backend/knip-report.md b/plugins/example-todo-list-backend/knip-report.md index 4411840964..e31e20b852 100644 --- a/plugins/example-todo-list-backend/knip-report.md +++ b/plugins/example-todo-list-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/example-todo-list/knip-report.md b/plugins/example-todo-list/knip-report.md index 59a80790b1..9679afeb54 100644 --- a/plugins/example-todo-list/knip-report.md +++ b/plugins/example-todo-list/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,14 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (4) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/explore-backend/knip-report.md b/plugins/explore-backend/knip-report.md index bc4be6f53c..899e3d7956 100644 --- a/plugins/explore-backend/knip-report.md +++ b/plugins/explore-backend/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (2) | Name | Location | @@ -16,21 +15,4 @@ | @backstage/cli | package.json | | @types/supertest | package.json | | @backstage/backend-test-utils | package.json | -======= -## Unused dependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| yn | package.json | -| node-fetch | package.json | -| @backstage/types | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/explore-react/knip-report.md b/plugins/explore-react/knip-report.md index 6d23873b8e..0b4e23a04e 100644 --- a/plugins/explore-react/knip-report.md +++ b/plugins/explore-react/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,15 +8,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/explore/knip-report.md b/plugins/explore/knip-report.md index 3bcb6e6cd9..44a5bee885 100644 --- a/plugins/explore/knip-report.md +++ b/plugins/explore/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,19 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## Unused devDependencies (9) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/firehydrant/knip-report.md b/plugins/firehydrant/knip-report.md index 7d4990ba3a..3770bb993e 100644 --- a/plugins/firehydrant/knip-report.md +++ b/plugins/firehydrant/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/fossa/knip-report.md b/plugins/fossa/knip-report.md index 8a969b09db..44a5bee885 100644 --- a/plugins/fossa/knip-report.md +++ b/plugins/fossa/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,18 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gcalendar/knip-report.md b/plugins/gcalendar/knip-report.md index fd95858cd4..58fbe96097 100644 --- a/plugins/gcalendar/knip-report.md +++ b/plugins/gcalendar/knip-report.md @@ -6,7 +6,6 @@ |:------------------------------------|:-------------| | @maxim_mazurok/gapi.client.calendar | package.json | -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -16,17 +15,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (7) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gcp-projects/knip-report.md b/plugins/gcp-projects/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/gcp-projects/knip-report.md +++ b/plugins/gcp-projects/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/git-release-manager/knip-report.md b/plugins/git-release-manager/knip-report.md index df115be6c2..7d4e715dc1 100644 --- a/plugins/git-release-manager/knip-report.md +++ b/plugins/git-release-manager/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,16 +8,4 @@ | @testing-library/dom | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## Unused devDependencies (6) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-actions/knip-report.md b/plugins/github-actions/knip-report.md index 7d4990ba3a..3770bb993e 100644 --- a/plugins/github-actions/knip-report.md +++ b/plugins/github-actions/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-deployments/knip-report.md b/plugins/github-deployments/knip-report.md index 8a969b09db..44a5bee885 100644 --- a/plugins/github-deployments/knip-report.md +++ b/plugins/github-deployments/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,18 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-issues/knip-report.md b/plugins/github-issues/knip-report.md index 52490b94f2..ecf6480396 100644 --- a/plugins/github-issues/knip-report.md +++ b/plugins/github-issues/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,16 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/github-pull-requests-board/knip-report.md b/plugins/github-pull-requests-board/knip-report.md index 71e8e42aa8..ecf6480396 100644 --- a/plugins/github-pull-requests-board/knip-report.md +++ b/plugins/github-pull-requests-board/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,15 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gitops-profiles/knip-report.md b/plugins/gitops-profiles/knip-report.md index 7d4990ba3a..3770bb993e 100644 --- a/plugins/gitops-profiles/knip-report.md +++ b/plugins/gitops-profiles/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/gocd/knip-report.md b/plugins/gocd/knip-report.md index a9450bd91d..2f750523b0 100644 --- a/plugins/gocd/knip-report.md +++ b/plugins/gocd/knip-report.md @@ -6,26 +6,14 @@ |:---|:-------------| | qs | package.json | -<<<<<<< HEAD ## Unused devDependencies (6) -======= -## Unused devDependencies (8) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/graphiql/knip-report.md b/plugins/graphiql/knip-report.md index b5ec3040e5..0fb6911e83 100644 --- a/plugins/graphiql/knip-report.md +++ b/plugins/graphiql/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | @@ -16,24 +15,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused dependencies (2) - -| Name | Location | -|:-----------|:-------------| -| graphql | package.json | -| graphql-ws | package.json | - -## Unused devDependencies (7) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/graphql-voyager/knip-report.md b/plugins/graphql-voyager/knip-report.md index 71e8e42aa8..ecf6480396 100644 --- a/plugins/graphql-voyager/knip-report.md +++ b/plugins/graphql-voyager/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,15 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/home/knip-report.md b/plugins/home/knip-report.md index 505309f988..e9ae64e960 100644 --- a/plugins/home/knip-report.md +++ b/plugins/home/knip-report.md @@ -1,22 +1,11 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) -======= -## Unused devDependencies (7) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @testing-library/react | package.json | -======= -| @backstage/dev-utils | 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) | @testing-library/user-event | package.json | diff --git a/plugins/ilert/knip-report.md b/plugins/ilert/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/ilert/knip-report.md +++ b/plugins/ilert/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/jenkins-backend/knip-report.md b/plugins/jenkins-backend/knip-report.md index 216c8599b0..4e473a9f2e 100644 --- a/plugins/jenkins-backend/knip-report.md +++ b/plugins/jenkins-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (2) | Name | Location | diff --git a/plugins/jenkins/knip-report.md b/plugins/jenkins/knip-report.md index d0290d494a..ecf6480396 100644 --- a/plugins/jenkins/knip-report.md +++ b/plugins/jenkins/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,17 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## 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 | -| @testing-library/jest-dom | package.json | -| @types/testing-library__jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/kafka/knip-report.md b/plugins/kafka/knip-report.md index 576cb6fa3c..67f9dbc286 100644 --- a/plugins/kafka/knip-report.md +++ b/plugins/kafka/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (7) - -| Name | Location | -|:--------------------------|:-------------| -| jest-when | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/kubernetes-backend/knip-report.md b/plugins/kubernetes-backend/knip-report.md index fc86b91276..29043eb8d9 100644 --- a/plugins/kubernetes-backend/knip-report.md +++ b/plugins/kubernetes-backend/knip-report.md @@ -1,22 +1,10 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (3) | Name | Location | |:-------------------|:-------------| | morgan | package.json | -======= -## Unused dependencies (7) - -| Name | Location | -|:-------------------|:-------------| -| yn | package.json | -| cors | package.json | -| morgan | package.json | -| helmet | package.json | -| compression | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | stream-buffers | package.json | | @jest-mock/express | package.json | diff --git a/plugins/kubernetes-node/knip-report.md b/plugins/kubernetes-node/knip-report.md index d331f6893b..f45a227afc 100644 --- a/plugins/kubernetes-node/knip-report.md +++ b/plugins/kubernetes-node/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (7) | Name | Location | @@ -12,11 +11,4 @@ | @backstage/backend-app-api | package.json | | @backstage/backend-test-utils | package.json | | @backstage/plugin-kubernetes-backend | package.json | -======= -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/kubernetes-react/knip-report.md b/plugins/kubernetes-react/knip-report.md index 4bc2e2ef7d..176a3af098 100644 --- a/plugins/kubernetes-react/knip-report.md +++ b/plugins/kubernetes-react/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,17 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## Unused devDependencies (7) - -| Name | Location | -|:--------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| jest-websocket-mock | package.json | -| @backstage/test-utils | 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) diff --git a/plugins/kubernetes/knip-report.md b/plugins/kubernetes/knip-report.md index 1689a79110..b164678b81 100644 --- a/plugins/kubernetes/knip-report.md +++ b/plugins/kubernetes/knip-report.md @@ -16,7 +16,6 @@ | @kubernetes-models/base | package.json | | @kubernetes-models/apimachinery | package.json | -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -24,16 +23,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/lighthouse/knip-report.md b/plugins/lighthouse/knip-report.md index 8a969b09db..44a5bee885 100644 --- a/plugins/lighthouse/knip-report.md +++ b/plugins/lighthouse/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,18 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/linguist-backend/knip-report.md b/plugins/linguist-backend/knip-report.md index 9cd716191b..8588b69130 100644 --- a/plugins/linguist-backend/knip-report.md +++ b/plugins/linguist-backend/knip-report.md @@ -1,17 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:----------------------------|:-------------| -======= -## Unused dependencies (2) - -| Name | Location | -|:----------------------------|:-------------| -| yn | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/plugin-auth-node | package.json | ## Unused devDependencies (5) diff --git a/plugins/linguist/knip-report.md b/plugins/linguist/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/linguist/knip-report.md +++ b/plugins/linguist/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/microsoft-calendar/knip-report.md b/plugins/microsoft-calendar/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/microsoft-calendar/knip-report.md +++ b/plugins/microsoft-calendar/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/newrelic-dashboard/knip-report.md b/plugins/newrelic-dashboard/knip-report.md index 647eb6da93..24c942926b 100644 --- a/plugins/newrelic-dashboard/knip-report.md +++ b/plugins/newrelic-dashboard/knip-report.md @@ -1,19 +1,8 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (1) | Name | Location | |:---------------|:-------------| | @backstage/cli | package.json | -======= -## Unused devDependencies (4) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/dev-utils | package.json | -| @backstage/test-utils | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/newrelic/knip-report.md b/plugins/newrelic/knip-report.md index c8d267442a..a7fde3968b 100644 --- a/plugins/newrelic/knip-report.md +++ b/plugins/newrelic/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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/react | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/nomad-backend/knip-report.md b/plugins/nomad-backend/knip-report.md index 4411840964..e31e20b852 100644 --- a/plugins/nomad-backend/knip-report.md +++ b/plugins/nomad-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/nomad/knip-report.md b/plugins/nomad/knip-report.md index 925c0c6cac..9f54e7f06d 100644 --- a/plugins/nomad/knip-report.md +++ b/plugins/nomad/knip-report.md @@ -1,21 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| | @backstage/cli | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| Name | Location | -|:--------------------------|:-------------| -| cross-fetch | package.json | -| @backstage/cli | package.json | -| @backstage/dev-utils | package.json | -| @testing-library/react | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/octopus-deploy/knip-report.md b/plugins/octopus-deploy/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/octopus-deploy/knip-report.md +++ b/plugins/octopus-deploy/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/opencost/knip-report.md b/plugins/opencost/knip-report.md index 39fa178f61..ae56051f88 100644 --- a/plugins/opencost/knip-report.md +++ b/plugins/opencost/knip-report.md @@ -1,17 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (2) -======= -## Unused devDependencies (3) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:--------------------------|:-------------| | @backstage/cli | package.json | -<<<<<<< HEAD -======= -| @backstage/dev-utils | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/jest-dom | package.json | diff --git a/plugins/org-react/knip-report.md b/plugins/org-react/knip-report.md index bda6e6037d..7b939bc6d9 100644 --- a/plugins/org-react/knip-report.md +++ b/plugins/org-react/knip-report.md @@ -6,11 +6,7 @@ |:--------------------------|:-------------| | @backstage/catalog-client | 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 | diff --git a/plugins/org/knip-report.md b/plugins/org/knip-report.md index a133f3efea..d2f6612ddc 100644 --- a/plugins/org/knip-report.md +++ b/plugins/org/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,23 +10,4 @@ | @testing-library/react | package.json | | @backstage/plugin-catalog | package.json | | @testing-library/user-event | package.json | -======= -## Unused devDependencies (13) - -| Name | Location | -|:------------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/types | 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 | -| @backstage/catalog-client | package.json | -| @testing-library/user-event | package.json | -| @backstage/plugin-permission-react | package.json | -| @backstage/plugin-permission-common | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/pagerduty/knip-report.md b/plugins/pagerduty/knip-report.md index 7d4990ba3a..3770bb993e 100644 --- a/plugins/pagerduty/knip-report.md +++ b/plugins/pagerduty/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/periskop-backend/knip-report.md b/plugins/periskop-backend/knip-report.md index 4411840964..e31e20b852 100644 --- a/plugins/periskop-backend/knip-report.md +++ b/plugins/periskop-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (3) | Name | Location | diff --git a/plugins/periskop/knip-report.md b/plugins/periskop/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/periskop/knip-report.md +++ b/plugins/periskop/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/permission-react/knip-report.md b/plugins/permission-react/knip-report.md index 8d546ae255..fb60112aa2 100644 --- a/plugins/permission-react/knip-report.md +++ b/plugins/permission-react/knip-report.md @@ -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) diff --git a/plugins/playlist-backend/knip-report.md b/plugins/playlist-backend/knip-report.md index db3fa85de3..3e8751a225 100644 --- a/plugins/playlist-backend/knip-report.md +++ b/plugins/playlist-backend/knip-report.md @@ -1,20 +1,10 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (1) | Name | Location | |:-----------|:-------------| | node-fetch | package.json | -======= -## Unused dependencies (3) - -| Name | Location | -|:------------------|:-------------| -| yn | package.json | -| node-fetch | package.json | -| @backstage/config | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) diff --git a/plugins/playlist/knip-report.md b/plugins/playlist/knip-report.md index 03a50f94b3..84aa502ad9 100644 --- a/plugins/playlist/knip-report.md +++ b/plugins/playlist/knip-report.md @@ -6,7 +6,6 @@ |:------------------------------------|:-------------| | @backstage/plugin-permission-common | package.json | -<<<<<<< HEAD ## Unused devDependencies (7) | Name | Location | @@ -18,19 +17,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## Unused devDependencies (9) - -| Name | Location | -|:--------------------------|:-------------| -| swr | package.json | -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/proxy-backend/knip-report.md b/plugins/proxy-backend/knip-report.md index 873e0eacad..6895986f47 100644 --- a/plugins/proxy-backend/knip-report.md +++ b/plugins/proxy-backend/knip-report.md @@ -1,17 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (4) | Name | Location | |:-------|:-------------| -======= -## Unused dependencies (5) - -| Name | Location | -|:-------|:-------------| -| yn | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | yup | package.json | | yaml | package.json | | uuid | package.json | diff --git a/plugins/puppetdb/knip-report.md b/plugins/puppetdb/knip-report.md index 7a3fd09f1b..96247d3c96 100644 --- a/plugins/puppetdb/knip-report.md +++ b/plugins/puppetdb/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## Unused devDependencies (7) - -| Name | Location | -|:--------------------------|:-------------| -| msw | package.json | -| @backstage/cli | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/rollbar-backend/knip-report.md b/plugins/rollbar-backend/knip-report.md index 57ac7f8b91..a4bbbbb810 100644 --- a/plugins/rollbar-backend/knip-report.md +++ b/plugins/rollbar-backend/knip-report.md @@ -1,17 +1,9 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (4) | Name | Location | |:------------|:-------------| -======= -## Unused dependencies (5) - -| Name | Location | -|:------------|:-------------| -| yn | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | cors | package.json | | morgan | package.json | | fs-extra | package.json | diff --git a/plugins/rollbar/knip-report.md b/plugins/rollbar/knip-report.md index 6a8d737a7f..aa8f8b77be 100644 --- a/plugins/rollbar/knip-report.md +++ b/plugins/rollbar/knip-report.md @@ -6,7 +6,6 @@ |:-------|:-------------| | lodash | package.json | -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -15,16 +14,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/scaffolder-backend-module-bitbucket/knip-report.md b/plugins/scaffolder-backend-module-bitbucket/knip-report.md index 58541897fb..97643caaa1 100644 --- a/plugins/scaffolder-backend-module-bitbucket/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket/knip-report.md @@ -1,17 +1,10 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (2) | Name | Location | |:--------------------------|:-------------| | fs-extra | package.json | -======= -## Unused dependencies (1) - -| Name | Location | -|:--------------------------|:-------------| ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/backend-common | package.json | ## Unused devDependencies (3) diff --git a/plugins/scaffolder-backend-module-gitlab/knip-report.md b/plugins/scaffolder-backend-module-gitlab/knip-report.md index 0edefd3207..f296802cab 100644 --- a/plugins/scaffolder-backend-module-gitlab/knip-report.md +++ b/plugins/scaffolder-backend-module-gitlab/knip-report.md @@ -1,17 +1,10 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | |:------------------------------|:-------------| | jest-date-mock | package.json | -======= -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @backstage/cli | package.json | | @backstage/core-app-api | package.json | | @backstage/backend-test-utils | package.json | diff --git a/plugins/scaffolder-react/knip-report.md b/plugins/scaffolder-react/knip-report.md index 84278dead6..ffe4b02cf2 100644 --- a/plugins/scaffolder-react/knip-report.md +++ b/plugins/scaffolder-react/knip-report.md @@ -11,11 +11,7 @@ | zod-to-json-schema | package.json | | @backstage/catalog-client | package.json | -<<<<<<< HEAD ## Unused devDependencies (8) -======= -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:---------------------------------|:-------------| @@ -24,10 +20,6 @@ | @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) | @backstage/plugin-catalog | package.json | | @testing-library/user-event | package.json | | @backstage/plugin-catalog-common | package.json | diff --git a/plugins/scaffolder/knip-report.md b/plugins/scaffolder/knip-report.md index 8d4c5dd8ed..d3f951fd6f 100644 --- a/plugins/scaffolder/knip-report.md +++ b/plugins/scaffolder/knip-report.md @@ -1,42 +1,23 @@ # Knip report -<<<<<<< HEAD ## Unused dependencies (4) -======= -## Unused dependencies (3) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:--------------------|:-------------| | immer | package.json | | git-url-parse | package.json | -<<<<<<< HEAD | @rjsf/material-ui | package.json | | json-schema-library | package.json | ## Unused devDependencies (7) -======= -| json-schema-library | package.json | - -## Unused devDependencies (10) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/search-backend/knip-report.md b/plugins/search-backend/knip-report.md index 94a0c7f578..22d525923f 100644 --- a/plugins/search-backend/knip-report.md +++ b/plugins/search-backend/knip-report.md @@ -1,15 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (2) - -| Name | Location | -|:----------------------------------|:-------------| -| yn | package.json | -| @backstage/plugin-permission-node | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/search-react/knip-report.md b/plugins/search-react/knip-report.md index 5289572631..3ab62f70ee 100644 --- a/plugins/search-react/knip-report.md +++ b/plugins/search-react/knip-report.md @@ -1,30 +1,13 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (7) -======= -## Unused dependencies (1) - -| Name | Location | -|:-----------------|:-------------| -| @backstage/theme | package.json | - -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -| @backstage/test-utils | 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 | | @backstage/frontend-app-api | package.json | | @backstage/frontend-test-utils | package.json | diff --git a/plugins/search/knip-report.md b/plugins/search/knip-report.md index ccf8ea9579..c6b6402246 100644 --- a/plugins/search/knip-report.md +++ b/plugins/search/knip-report.md @@ -1,25 +1,13 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) -======= -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | history | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/sentry/knip-report.md b/plugins/sentry/knip-report.md index 3114cce9ca..8353ecad20 100644 --- a/plugins/sentry/knip-report.md +++ b/plugins/sentry/knip-report.md @@ -6,7 +6,6 @@ |:--------------|:-------------| | @date-io/core | package.json | -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -15,16 +14,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/shortcuts/knip-report.md b/plugins/shortcuts/knip-report.md index 52490b94f2..ecf6480396 100644 --- a/plugins/shortcuts/knip-report.md +++ b/plugins/shortcuts/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,16 +8,4 @@ | @testing-library/dom | package.json | | @backstage/test-utils | package.json | | @testing-library/react | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/sonarqube-backend/knip-report.md b/plugins/sonarqube-backend/knip-report.md index 7256083a44..e03ed5c8a2 100644 --- a/plugins/sonarqube-backend/knip-report.md +++ b/plugins/sonarqube-backend/knip-report.md @@ -1,14 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (1) - -| Name | Location | -|:---|:-------------| -| yn | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (5) | Name | Location | diff --git a/plugins/sonarqube/knip-report.md b/plugins/sonarqube/knip-report.md index 4b00a9b664..44a5bee885 100644 --- a/plugins/sonarqube/knip-report.md +++ b/plugins/sonarqube/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,24 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## Unused dependencies (1) - -| Name | Location | -|:-------------------------|:-------------| -| @backstage/catalog-model | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/splunk-on-call/knip-report.md b/plugins/splunk-on-call/knip-report.md index 7d4990ba3a..3770bb993e 100644 --- a/plugins/splunk-on-call/knip-report.md +++ b/plugins/splunk-on-call/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,17 +9,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | -======= -## 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/stack-overflow/knip-report.md b/plugins/stack-overflow/knip-report.md index dd4e42801b..5553b3a1f7 100644 --- a/plugins/stack-overflow/knip-report.md +++ b/plugins/stack-overflow/knip-report.md @@ -1,26 +1,12 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) -======= -## Unused dependencies (1) - -| Name | Location | -|:--------------------------|:-------------| -| @testing-library/jest-dom | package.json | - -## Unused devDependencies (6) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD -======= -| @backstage/test-utils | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/react | package.json | | @testing-library/user-event | package.json | diff --git a/plugins/stackstorm/knip-report.md b/plugins/stackstorm/knip-report.md index 8a969b09db..44a5bee885 100644 --- a/plugins/stackstorm/knip-report.md +++ b/plugins/stackstorm/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) | Name | Location | @@ -11,18 +10,4 @@ | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/tech-insights-backend-module-jsonfc/knip-report.md b/plugins/tech-insights-backend-module-jsonfc/knip-report.md index 14911c9dc8..bfd4d03096 100644 --- a/plugins/tech-insights-backend-module-jsonfc/knip-report.md +++ b/plugins/tech-insights-backend-module-jsonfc/knip-report.md @@ -2,7 +2,6 @@ ## Unused dependencies (2) -<<<<<<< HEAD | Name | Location | |:-----------------|:-------------| | luxon | package.json | @@ -14,16 +13,4 @@ |:------------------------------|:-------------| | @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | -======= -| Name | Location | -|:--------------------------|:-------------| -| luxon | package.json | -| @backstage/backend-common | package.json | - -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/tech-insights/knip-report.md b/plugins/tech-insights/knip-report.md index 430f139429..9679afeb54 100644 --- a/plugins/tech-insights/knip-report.md +++ b/plugins/tech-insights/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,15 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/tech-radar/knip-report.md b/plugins/tech-radar/knip-report.md index a20b546a7d..8fc787027b 100644 --- a/plugins/tech-radar/knip-report.md +++ b/plugins/tech-radar/knip-report.md @@ -1,24 +1,13 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (6) -======= -## Unused devDependencies (8) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -| @backstage/dev-utils | 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) | @testing-library/user-event | package.json | | @backstage/frontend-test-utils | package.json | diff --git a/plugins/techdocs-addons-test-utils/knip-report.md b/plugins/techdocs-addons-test-utils/knip-report.md index 1a6cd8f949..79290793ca 100644 --- a/plugins/techdocs-addons-test-utils/knip-report.md +++ b/plugins/techdocs-addons-test-utils/knip-report.md @@ -6,20 +6,10 @@ |:--------------------------|:-------------| | @backstage/plugin-catalog | package.json | -<<<<<<< HEAD ## Unused devDependencies (2) | Name | Location | |:---------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -======= -## Unused devDependencies (3) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/techdocs-module-addons-contrib/knip-report.md b/plugins/techdocs-module-addons-contrib/knip-report.md index 9265bf4119..88c7858e93 100644 --- a/plugins/techdocs-module-addons-contrib/knip-report.md +++ b/plugins/techdocs-module-addons-contrib/knip-report.md @@ -1,10 +1,6 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) -======= -## Unused devDependencies (6) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:---------------------------------------------|:-------------| @@ -12,9 +8,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) | @backstage/plugin-techdocs-addons-test-utils | package.json | diff --git a/plugins/techdocs-react/knip-report.md b/plugins/techdocs-react/knip-report.md index 0e587d8fd1..912e0d57b9 100644 --- a/plugins/techdocs-react/knip-report.md +++ b/plugins/techdocs-react/knip-report.md @@ -7,7 +7,6 @@ | react-helmet | package.json | | @material-ui/core | package.json | -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -16,15 +15,4 @@ | @backstage/theme | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -## Unused devDependencies (5) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/theme | 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) diff --git a/plugins/techdocs/knip-report.md b/plugins/techdocs/knip-report.md index d243314766..0aa86b7492 100644 --- a/plugins/techdocs/knip-report.md +++ b/plugins/techdocs/knip-report.md @@ -7,28 +7,16 @@ | jss | package.json | | @backstage/theme | package.json | -<<<<<<< HEAD ## Unused devDependencies (8) -======= -## Unused devDependencies (10) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:-------------------------------------------------|:-------------| | canvas | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | | @backstage/plugin-techdocs-module-addons-contrib | package.json | diff --git a/plugins/todo-backend/knip-report.md b/plugins/todo-backend/knip-report.md index 8c164ce0a4..42fe56bac7 100644 --- a/plugins/todo-backend/knip-report.md +++ b/plugins/todo-backend/knip-report.md @@ -1,10 +1,11 @@ # Knip report -## Unused dependencies (1) +## Unused dependencies (2) -| Name | Location | -|:---|:-------------| -| yn | package.json | +| Name | Location | +|:----------------------|:-------------| +| yn | package.json | +| @backstage/repo-tools | package.json | ## Unused devDependencies (3) diff --git a/plugins/todo/knip-report.md b/plugins/todo/knip-report.md index 793e35c1c3..9679afeb54 100644 --- a/plugins/todo/knip-report.md +++ b/plugins/todo/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (3) | Name | Location | @@ -8,22 +7,4 @@ | @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | -======= -## Unused dependencies (1) - -| Name | Location | -|:-------------------|:-------------| -| @material-ui/icons | 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 | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/user-settings-backend/knip-report.md b/plugins/user-settings-backend/knip-report.md index 3535d9c044..22d525923f 100644 --- a/plugins/user-settings-backend/knip-report.md +++ b/plugins/user-settings-backend/knip-report.md @@ -1,16 +1,5 @@ # Knip report -<<<<<<< HEAD -======= -## Unused dependencies (3) - -| Name | Location | -|:------------------|:-------------| -| yn | package.json | -| winston | package.json | -| @backstage/config | package.json | - ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) ## Unused devDependencies (4) | Name | Location | diff --git a/plugins/user-settings/knip-report.md b/plugins/user-settings/knip-report.md index d1157e2d45..53337fea0b 100644 --- a/plugins/user-settings/knip-report.md +++ b/plugins/user-settings/knip-report.md @@ -6,26 +6,14 @@ |:-----------------|:-------------| | @backstage/theme | package.json | -<<<<<<< HEAD ## Unused devDependencies (6) -======= -## Unused devDependencies (9) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | msw | package.json | | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -| @backstage/dev-utils | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @testing-library/jest-dom | package.json | -| @backstage/plugin-catalog | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | @testing-library/user-event | package.json | diff --git a/plugins/vault-backend/knip-report.md b/plugins/vault-backend/knip-report.md index 1190d55f88..9597d52c23 100644 --- a/plugins/vault-backend/knip-report.md +++ b/plugins/vault-backend/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (4) | Name | Location | @@ -9,25 +8,4 @@ | supertest | package.json | | @backstage/cli | package.json | | @types/supertest | package.json | -======= -## Unused dependencies (4) - -| Name | Location | -|:------------|:-------------| -| yn | package.json | -| cors | package.json | -| helmet | package.json | -| compression | package.json | - -## Unused devDependencies (6) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @types/compression | package.json | -| @backstage/backend-test-utils | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/vault/knip-report.md b/plugins/vault/knip-report.md index 885e9d6743..a469608db4 100644 --- a/plugins/vault/knip-report.md +++ b/plugins/vault/knip-report.md @@ -1,6 +1,5 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) | Name | Location | @@ -10,18 +9,4 @@ | @testing-library/dom | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | 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/core-app-api | package.json | -| @testing-library/jest-dom | package.json | ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) diff --git a/plugins/xcmetrics/knip-report.md b/plugins/xcmetrics/knip-report.md index 3abc5a9ff3..d0ad73b69c 100644 --- a/plugins/xcmetrics/knip-report.md +++ b/plugins/xcmetrics/knip-report.md @@ -1,23 +1,12 @@ # Knip report -<<<<<<< HEAD ## Unused devDependencies (5) -======= -## Unused devDependencies (7) ->>>>>>> a99592ad081 (ci: introduce knip for checking unused packages) | Name | Location | |:----------------------------|:-------------| | @backstage/cli | package.json | | @testing-library/dom | package.json | -<<<<<<< HEAD | @backstage/test-utils | package.json | | @testing-library/react | package.json | -======= -| @backstage/dev-utils | 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) | @testing-library/user-event | package.json | diff --git a/yarn.lock b/yarn.lock index 41a0c2d7ad..e9adc4158b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1,3 +1,6 @@ +# This file is generated by running "yarn install" inside your project. +# Manual changes might be lost - proceed with caution! + __metadata: version: 6 cacheKey: 8 @@ -14814,7 +14817,7 @@ __metadata: languageName: node linkType: hard -"@pkgjs/parseargs@npm:0.11.0, @pkgjs/parseargs@npm:^0.11.0": +"@pkgjs/parseargs@npm:^0.11.0": version: 0.11.0 resolution: "@pkgjs/parseargs@npm:0.11.0" checksum: 6ad6a00fc4f2f2cfc6bff76fb1d88b8ee20bc0601e18ebb01b6d4be583733a860239a521a7fbca73b612e66705078809483549d2b18f370eb346c5155c8e4a0f @@ -14938,37 +14941,6 @@ __metadata: languageName: node linkType: hard -"@pnpm/npm-resolver@npm:18.0.2": - version: 18.0.2 - resolution: "@pnpm/npm-resolver@npm:18.0.2" - dependencies: - "@pnpm/core-loggers": 9.0.6 - "@pnpm/error": 5.0.2 - "@pnpm/fetching-types": 5.0.0 - "@pnpm/graceful-fs": 3.2.0 - "@pnpm/resolve-workspace-range": 5.0.1 - "@pnpm/resolver-base": 11.0.2 - "@pnpm/types": 9.4.2 - "@zkochan/retry": ^0.2.0 - encode-registry: ^3.0.1 - load-json-file: ^6.2.0 - lru-cache: ^10.0.2 - normalize-path: ^3.0.0 - p-limit: ^3.1.0 - p-memoize: 4.0.1 - parse-npm-tarball-url: ^3.0.0 - path-temp: ^2.1.0 - ramda: "npm:@pnpm/ramda@0.28.1" - rename-overwrite: ^5.0.0 - semver: ^7.5.4 - ssri: 10.0.5 - version-selector-type: ^3.0.0 - peerDependencies: - "@pnpm/logger": ^5.0.0 - checksum: 49f07d4939cb8589f4133e0d47fb525d6d04dbe2dfa28057ca8a8f143b4676fb339a96299852119c28c46cabf68b5f66be5385dbcba59a1bddeab65d7a5d189e - languageName: node - linkType: hard - "@pnpm/npm-resolver@npm:18.1.0": version: 18.1.0 resolution: "@pnpm/npm-resolver@npm:18.1.0" @@ -15009,15 +14981,6 @@ __metadata: languageName: node linkType: hard -"@pnpm/resolver-base@npm:11.0.2": - version: 11.0.2 - resolution: "@pnpm/resolver-base@npm:11.0.2" - dependencies: - "@pnpm/types": 9.4.2 - checksum: 346abcdfcae881601f374b8323bf17bcc6f35282e28e073eff8e2f3c388c4ff897da6a2c615bc5165383bb825fe24985e8b987ae8221ca876a2f24aaf9b40656 - languageName: node - linkType: hard - "@pnpm/resolver-base@npm:11.1.0": version: 11.1.0 resolution: "@pnpm/resolver-base@npm:11.1.0" @@ -15034,18 +14997,6 @@ __metadata: languageName: node linkType: hard -"@pnpm/workspace.pkgs-graph@npm:^2.0.13": - version: 2.0.13 - resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.13" - dependencies: - "@pnpm/npm-package-arg": ^1.0.0 - "@pnpm/npm-resolver": 18.0.2 - "@pnpm/resolve-workspace-range": 5.0.1 - ramda: "npm:@pnpm/ramda@0.28.1" - checksum: 3a39f39b5c86a2a273106a68d0060ca09e2dfd8ac646d11ac0471d4848f6db23b9d8719cbf9e36285ef13ad78527b41824b2e04fdbf533ce275bfe081012dfb8 - languageName: node - linkType: hard - "@pnpm/workspace.pkgs-graph@npm:^2.0.14": version: 2.0.14 resolution: "@pnpm/workspace.pkgs-graph@npm:2.0.14" @@ -16226,13 +16177,6 @@ __metadata: languageName: node linkType: hard -"@sindresorhus/merge-streams@npm:^1.0.0": - version: 1.0.0 - resolution: "@sindresorhus/merge-streams@npm:1.0.0" - checksum: 453c2a28164113a5ec4fd23ba636e291a4112f6ee9e91cd5476b9a96e0fc9ee5ff40d405fe81bbf284c9773b7ed718a3a0f31df7895a0efd413b1f9775d154fe - languageName: node - linkType: hard - "@sinonjs/commons@npm:^2.0.0": version: 2.0.0 resolution: "@sinonjs/commons@npm:2.0.0" @@ -22491,12 +22435,12 @@ __metadata: linkType: hard "bole@npm:^5.0.0": - version: 5.0.10 - resolution: "bole@npm:5.0.10" + version: 5.0.11 + resolution: "bole@npm:5.0.11" dependencies: fast-safe-stringify: ^2.0.7 individual: ^3.0.0 - checksum: 029aa4cbef6ddf01e24e585f3d0836ad696f0062d62db11bc0d486c9b2337691e5e60911b704a768e3ad76f5df231789c00c52ea92d61b3a61717b32363feff8 + checksum: de8d478613d032db781652942055b29e9daeb57be1df06067e2e840d5ce4f3d2cbabfbc01b6f8698f3e054564569f2910b8f5b1161387f031517d4b064d2ea01 languageName: node linkType: hard @@ -28281,11 +28225,11 @@ __metadata: linkType: hard "fastq@npm:^1.15.0, fastq@npm:^1.6.0": - version: 1.17.0 - resolution: "fastq@npm:1.17.0" + version: 1.17.1 + resolution: "fastq@npm:1.17.1" dependencies: reusify: ^1.0.4 - checksum: a1c88c357a220bdc666c2df5ec6071d49bdf79ea827d92f9a9559da3ff1b4288eecca3ecbb7b6ddf0ba016eb0a4bf756bf17c411a6d10c814aecd26e939cbd06 + checksum: a8c5b26788d5a1763f88bae56a8ddeee579f935a831c5fe7a8268cea5b0a91fbfe705f612209e02d639b881d7b48e461a50da4a10cfaa40da5ca7cc9da098d88 languageName: node linkType: hard @@ -29498,20 +29442,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^14.0.0": - version: 14.0.0 - resolution: "globby@npm:14.0.0" - dependencies: - "@sindresorhus/merge-streams": ^1.0.0 - fast-glob: ^3.3.2 - ignore: ^5.2.4 - path-type: ^5.0.0 - slash: ^5.1.0 - unicorn-magic: ^0.1.0 - checksum: f331b42993e420c8f2b61a6ca062276977ea6d95f181640ff018f00200f4fe5b50f1fae7540903483e6570ca626fe16234ab88e848d43381a2529220548a9d39 - languageName: node - linkType: hard - "good-listener@npm:^1.2.2": version: 1.2.2 resolution: "good-listener@npm:1.2.2" @@ -29643,13 +29573,6 @@ __metadata: languageName: node linkType: hard -"graceful-fs@npm:^4.1.15, graceful-fs@npm:^4.2.11": - version: 4.2.11 - resolution: "graceful-fs@npm:4.2.11" - checksum: ac85f94da92d8eb6b7f5a8b20ce65e43d66761c55ce85ac96df6865308390da45a8d3f0296dd3a663de65d30ba497bd46c696cc1e248c72b13d6d567138a4fc7 - languageName: node - linkType: hard - "grapheme-splitter@npm:^1.0.4": version: 1.0.4 resolution: "grapheme-splitter@npm:1.0.4" @@ -30649,16 +30572,9 @@ __metadata: linkType: hard "ignore@npm:^5.1.4, ignore@npm:^5.1.8, ignore@npm:^5.2.0, ignore@npm:^5.2.4": - version: 5.3.0 - resolution: "ignore@npm:5.3.0" - checksum: 2736da6621f14ced652785cb05d86301a66d70248597537176612bd0c8630893564bd5f6421f8806b09e8472e75c591ef01672ab8059c07c6eb2c09cefe04bf9 - languageName: node - linkType: hard - -"ignore@npm:^5.1.8": - version: 5.3.0 - resolution: "ignore@npm:5.3.0" - checksum: 2736da6621f14ced652785cb05d86301a66d70248597537176612bd0c8630893564bd5f6421f8806b09e8472e75c591ef01672ab8059c07c6eb2c09cefe04bf9 + version: 5.3.1 + resolution: "ignore@npm:5.3.1" + checksum: 71d7bb4c1dbe020f915fd881108cbe85a0db3d636a0ea3ba911393c53946711d13a9b1143c7e70db06d571a5822c0a324a6bcde5c9904e7ca5047f01f1bf8cd3 languageName: node linkType: hard @@ -33492,42 +33408,9 @@ __metadata: languageName: node linkType: hard -"knip@npm:^3.12.0": - version: 3.13.2 - resolution: "knip@npm:3.13.2" - dependencies: - "@ericcornelissen/bash-parser": 0.5.2 - "@npmcli/map-workspaces": 3.0.4 - "@npmcli/package-json": 5.0.0 - "@pkgjs/parseargs": 0.11.0 - "@pnpm/logger": 5.0.0 - "@pnpm/workspace.pkgs-graph": ^2.0.13 - "@snyk/github-codeowners": 1.1.0 - easy-table: 1.2.0 - fast-glob: 3.3.2 - globby: ^14.0.0 - jiti: 1.21.0 - js-yaml: 4.1.0 - micromatch: 4.0.5 - minimist: 1.2.8 - picocolors: 1.0.0 - pretty-ms: 8.0.0 - strip-json-comments: 5.0.1 - summary: 2.1.0 - zod: 3.22.4 - zod-validation-error: 2.1.0 - peerDependencies: - "@types/node": ">=18" - typescript: ">=5.0.4" - bin: - knip: bin/knip.js - checksum: b70fbfed3a3ee340bae3b0ec2d5bd4e598fde3d99923a4d26c0a0b86317d26073f024d8710ac2c8275990bea20529a36d4183eb4549e916d0a40b375b64d6b6d - languageName: node - linkType: hard - "knip@npm:^4.3.1": - version: 4.3.1 - resolution: "knip@npm:4.3.1" + version: 4.4.0 + resolution: "knip@npm:4.4.0" dependencies: "@ericcornelissen/bash-parser": 0.5.2 "@nodelib/fs.walk": 2.0.0 @@ -33556,7 +33439,7 @@ __metadata: typescript: ">=5.0.4" bin: knip: bin/knip.js - checksum: bfee70d98b484e21be4d47e1fb3c747bb4c6ec7a01deba7af9597203c9b49510a2ccb979239d04f972c1cbf5aac2c80d0b33d4fddf9a58f24b3fcb6878ba8548 + checksum: 02ce0c03f732eeee73c76028569baf8105355ad58702af485201eb3d2e65e0cafbeb65c8d40be4e43b2abc29f4d8cf46d10ed6da8660103f1acd0e7beb2707eb languageName: node linkType: hard @@ -34326,9 +34209,9 @@ __metadata: linkType: hard "lru-cache@npm:^10.0.0, lru-cache@npm:^10.0.1, lru-cache@npm:^10.0.2, lru-cache@npm:^9.1.1 || ^10.0.0": - version: 10.1.0 - resolution: "lru-cache@npm:10.1.0" - checksum: 58056d33e2500fbedce92f8c542e7c11b50d7d086578f14b7074d8c241422004af0718e08a6eaae8705cee09c77e39a61c1c79e9370ba689b7010c152e6a76ab + version: 10.2.0 + resolution: "lru-cache@npm:10.2.0" + checksum: eee7ddda4a7475deac51ac81d7dd78709095c6fa46e8350dc2d22462559a1faa3b81ed931d5464b13d48cbd7e08b46100b6f768c76833912bc444b99c37e25db languageName: node linkType: hard @@ -37630,13 +37513,6 @@ __metadata: languageName: node linkType: hard -"parse-ms@npm:^3.0.0": - version: 3.0.0 - resolution: "parse-ms@npm:3.0.0" - checksum: fc602bba093835562321a67a9d6c8c9687ca4f26a09459a77e07ebd7efddd1a5766725ec60eb0c83a2abe67f7a23808f7deb1c1226727776eaf7f9607ae09db2 - languageName: node - linkType: hard - "parse-ms@npm:^4.0.0": version: 4.0.0 resolution: "parse-ms@npm:4.0.0" @@ -38030,13 +37906,6 @@ __metadata: languageName: node linkType: hard -"path-type@npm:^5.0.0": - version: 5.0.0 - resolution: "path-type@npm:5.0.0" - checksum: 15ec24050e8932c2c98d085b72cfa0d6b4eeb4cbde151a0a05726d8afae85784fc5544f733d8dfc68536587d5143d29c0bd793623fad03d7e61cc00067291cd5 - languageName: node - linkType: hard - "pathe@npm:^0.2.0": version: 0.2.0 resolution: "pathe@npm:0.2.0" @@ -39097,15 +38966,6 @@ __metadata: languageName: node linkType: hard -"pretty-ms@npm:8.0.0": - version: 8.0.0 - resolution: "pretty-ms@npm:8.0.0" - dependencies: - parse-ms: ^3.0.0 - checksum: b7d2a8182887af0e5ab93f9df331f10db9b8eda86855e2de115eb01a6c501bde5631a8813b1b0abdd7d045e79b08ae875369a8fd279a3dacd6d9e572bdd3bfa6 - languageName: node - linkType: hard - "pretty-ms@npm:9.0.0": version: 9.0.0 resolution: "pretty-ms@npm:9.0.0" @@ -41820,7 +41680,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:7.5.4, semver@npm:^7.0.0, semver@npm:^7.4.0, semver@npm:~7.5.4": +"semver@npm:7.5.4, semver@npm:~7.5.4": version: 7.5.4 resolution: "semver@npm:7.5.4" dependencies: @@ -41840,7 +41700,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.5.3, semver@npm:^7.5.4": +"semver@npm:^7.0.0, semver@npm:^7.1.1, semver@npm:^7.1.3, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.3.8, semver@npm:^7.4.0, semver@npm:^7.5.3, semver@npm:^7.5.4": version: 7.6.0 resolution: "semver@npm:7.6.0" dependencies: @@ -42256,13 +42116,6 @@ __metadata: languageName: node linkType: hard -"slash@npm:^5.1.0": - version: 5.1.0 - resolution: "slash@npm:5.1.0" - checksum: 70434b34c50eb21b741d37d455110258c42d2cf18c01e6518aeb7299f3c6e626330c889c0c552b5ca2ef54a8f5a74213ab48895f0640717cacefeef6830a1ba4 - languageName: node - linkType: hard - "slice-ansi@npm:^4.0.0": version: 4.0.0 resolution: "slice-ansi@npm:4.0.0" @@ -42689,15 +42542,6 @@ __metadata: languageName: node linkType: hard -"ssri@npm:10.0.5": - version: 10.0.5 - resolution: "ssri@npm:10.0.5" - dependencies: - minipass: ^7.0.3 - checksum: 0a31b65f21872dea1ed3f7c200d7bc1c1b91c15e419deca14f282508ba917cbb342c08a6814c7f68ca4ca4116dd1a85da2bbf39227480e50125a1ceffeecb750 - languageName: node - linkType: hard - "ssri@npm:10.0.5, ssri@npm:^10.0.0": version: 10.0.5 resolution: "ssri@npm:10.0.5" @@ -42707,15 +42551,6 @@ __metadata: languageName: node linkType: hard -"ssri@npm:^10.0.0": - version: 10.0.4 - resolution: "ssri@npm:10.0.4" - dependencies: - minipass: ^7.0.3 - checksum: 0a31b65f21872dea1ed3f7c200d7bc1c1b91c15e419deca14f282508ba917cbb342c08a6814c7f68ca4ca4116dd1a85da2bbf39227480e50125a1ceffeecb750 - languageName: node - linkType: hard - "ssri@npm:^8.0.0, ssri@npm:^8.0.1": version: 8.0.1 resolution: "ssri@npm:8.0.1" @@ -44832,13 +44667,6 @@ __metadata: languageName: node linkType: hard -"unicorn-magic@npm:^0.1.0": - version: 0.1.0 - resolution: "unicorn-magic@npm:0.1.0" - checksum: 48c5882ca3378f380318c0b4eb1d73b7e3c5b728859b060276e0a490051d4180966beeb48962d850fd0c6816543bcdfc28629dcd030bb62a286a2ae2acb5acb6 - languageName: node - linkType: hard - "unified@npm:^10.0.0": version: 10.1.0 resolution: "unified@npm:10.1.0" @@ -46882,15 +46710,6 @@ __metadata: languageName: node linkType: hard -"zod-validation-error@npm:2.1.0": - version: 2.1.0 - resolution: "zod-validation-error@npm:2.1.0" - peerDependencies: - zod: ^3.18.0 - checksum: 2331cc8d876c2df0b720b648249447b65d6b85ad0b6e60dd6515170570e6ffbe7a9adb844d44035c07d59c871048d9c45a8c429849bedeb8cbcdfa5f90101402 - languageName: node - linkType: hard - "zod-validation-error@npm:3.0.0": version: 3.0.0 resolution: "zod-validation-error@npm:3.0.0" From e97cc0b0a35ae03618f34cc9e565e8f074b96336 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Thu, 8 Feb 2024 09:40:51 +0100 Subject: [PATCH 79/82] updated the knip rules a bit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- packages/app-defaults/knip-report.md | 8 ---- .../app-next-example-plugin/knip-report.md | 11 +++-- packages/app-next/knip-report.md | 3 +- packages/backend-app-api/knip-report.md | 10 ----- packages/backend-common/knip-report.md | 21 +++------- packages/backend-defaults/knip-report.md | 9 +--- packages/backend-defaults/package.json | 4 +- packages/backend-dev-utils/knip-report.md | 6 --- .../knip-report.md | 13 +----- packages/backend-next/knip-report.md | 6 --- packages/backend-openapi-utils/knip-report.md | 7 ---- packages/backend-plugin-api/knip-report.md | 6 --- packages/backend-tasks/knip-report.md | 7 ---- packages/backend-test-utils/knip-report.md | 8 ---- packages/backend/knip-report.md | 3 +- packages/catalog-client/knip-report.md | 7 ---- packages/catalog-model/knip-report.md | 4 +- packages/cli-common/knip-report.md | 6 --- packages/cli-node/knip-report.md | 7 ---- packages/cli/knip-report.md | 7 +--- packages/codemods/knip-report.md | 17 ++------ packages/config-loader/knip-report.md | 9 ---- packages/config/knip-report.md | 7 ---- packages/core-app-api/knip-report.md | 6 +-- packages/core-compat-api/knip-report.md | 19 --------- packages/core-components/knip-report.md | 41 ++++++++----------- packages/core-plugin-api/knip-report.md | 12 +----- packages/create-app/knip-report.md | 15 +++---- packages/dev-utils/knip-report.md | 13 ++---- packages/e2e-test-utils/knip-report.md | 6 --- packages/e2e-test/knip-report.md | 3 +- packages/errors/knip-report.md | 6 --- packages/frontend-app-api/knip-report.md | 8 ---- packages/frontend-plugin-api/knip-report.md | 11 ----- packages/frontend-test-utils/knip-report.md | 6 --- packages/integration-aws-node/knip-report.md | 5 +-- packages/integration-react/knip-report.md | 12 +++--- packages/integration/knip-report.md | 8 ---- packages/release-manifests/knip-report.md | 8 ---- packages/repo-tools/knip-report.md | 9 ++-- .../commands/knip-reports/knip-extractor.ts | 8 +++- packages/techdocs-cli/knip-report.md | 4 +- packages/test-utils/knip-report.md | 7 ---- packages/theme/knip-report.md | 8 ---- packages/types/knip-report.md | 9 ---- packages/version-bridge/knip-report.md | 7 ---- plugins/adr-backend/knip-report.md | 8 ---- plugins/adr-common/knip-report.md | 6 --- plugins/adr/knip-report.md | 3 +- plugins/airbrake-backend/knip-report.md | 8 ---- plugins/airbrake/knip-report.md | 4 +- plugins/allure/knip-report.md | 5 +-- plugins/analytics-module-ga/knip-report.md | 3 +- plugins/analytics-module-ga4/knip-report.md | 3 +- .../knip-report.md | 3 +- plugins/apache-airflow/knip-report.md | 13 ++---- .../knip-report.md | 6 --- plugins/api-docs/knip-report.md | 13 ++---- plugins/apollo-explorer/knip-report.md | 3 +- plugins/app-backend/knip-report.md | 13 ++---- plugins/app-node/knip-report.md | 6 --- plugins/app-visualizer/knip-report.md | 6 --- .../knip-report.md | 8 ---- .../knip-report.md | 10 ----- .../knip-report.md | 8 ---- .../knip-report.md | 8 ---- .../knip-report.md | 8 ---- .../knip-report.md | 9 ---- .../knip-report.md | 13 +----- .../knip-report.md | 8 ---- .../knip-report.md | 3 +- .../knip-report.md | 21 ++++------ .../knip-report.md | 8 ---- .../knip-report.md | 18 +++----- .../knip-report.md | 11 ----- plugins/auth-backend/knip-report.md | 5 +-- plugins/auth-node/knip-report.md | 12 ------ plugins/azure-devops-backend/knip-report.md | 8 ---- plugins/azure-devops-common/knip-report.md | 6 --- plugins/azure-devops/knip-report.md | 11 ++--- plugins/azure-sites-backend/knip-report.md | 3 +- plugins/azure-sites-common/knip-report.md | 6 --- plugins/azure-sites/knip-report.md | 15 +++---- plugins/badges-backend/knip-report.md | 16 ++------ plugins/badges/knip-report.md | 7 ---- plugins/bazaar-backend/knip-report.md | 7 ---- plugins/bazaar/knip-report.md | 6 --- plugins/bitbucket-cloud-common/knip-report.md | 4 +- plugins/bitrise/knip-report.md | 16 +++----- .../catalog-backend-module-aws/knip-report.md | 12 ------ .../knip-report.md | 9 ---- .../knip-report.md | 3 +- .../knip-report.md | 9 ---- .../knip-report.md | 9 ---- .../catalog-backend-module-gcp/knip-report.md | 3 +- .../knip-report.md | 16 -------- .../knip-report.md | 8 ---- .../knip-report.md | 12 +----- .../knip-report.md | 9 ---- .../knip-report.md | 7 ---- .../knip-report.md | 6 --- .../knip-report.md | 9 ---- .../knip-report.md | 10 ++--- .../knip-report.md | 14 ------- .../knip-report.md | 7 ---- .../knip-report.md | 6 --- plugins/catalog-backend/knip-report.md | 13 ++---- plugins/catalog-common/knip-report.md | 6 --- plugins/catalog-graph/knip-report.md | 13 ++---- plugins/catalog-import/knip-report.md | 14 ++----- plugins/catalog-node/knip-report.md | 7 ---- plugins/catalog-react/knip-report.md | 22 +++------- .../knip-report.md | 3 +- plugins/catalog/knip-report.md | 14 ++----- .../knip-report.md | 9 ++-- plugins/cicd-statistics/knip-report.md | 6 --- plugins/circleci/knip-report.md | 6 --- plugins/cloudbuild/knip-report.md | 4 +- plugins/code-climate/knip-report.md | 4 +- plugins/code-coverage-backend/knip-report.md | 9 ---- plugins/code-coverage/knip-report.md | 3 +- plugins/codescene/knip-report.md | 20 +++------ plugins/config-schema/knip-report.md | 10 ++--- plugins/cost-insights-common/knip-report.md | 6 --- plugins/cost-insights/knip-report.md | 15 +++---- plugins/devtools-backend/knip-report.md | 11 ++--- plugins/devtools-common/knip-report.md | 6 --- plugins/devtools/knip-report.md | 3 +- plugins/dynatrace/knip-report.md | 13 +++--- .../entity-feedback-backend/knip-report.md | 9 ---- plugins/entity-feedback-common/knip-report.md | 6 --- plugins/entity-feedback/knip-report.md | 13 ++---- plugins/entity-validation/knip-report.md | 4 +- .../knip-report.md | 12 ++---- .../knip-report.md | 8 ---- .../knip-report.md | 8 ---- .../knip-report.md | 8 ---- .../knip-report.md | 8 ---- .../knip-report.md | 8 ---- .../events-backend-test-utils/knip-report.md | 6 --- plugins/events-backend/knip-report.md | 9 ---- plugins/events-node/knip-report.md | 6 --- .../example-todo-list-backend/knip-report.md | 8 ---- .../example-todo-list-common/knip-report.md | 6 --- plugins/example-todo-list/knip-report.md | 3 +- plugins/explore-backend/knip-report.md | 18 ++------ plugins/explore-common/knip-report.md | 6 --- plugins/explore-react/knip-report.md | 3 +- plugins/explore/knip-report.md | 13 ++---- plugins/firehydrant/knip-report.md | 12 ++---- plugins/fossa/knip-report.md | 14 +++---- plugins/gcalendar/knip-report.md | 13 +++--- plugins/gcp-projects/knip-report.md | 3 +- plugins/git-release-manager/knip-report.md | 11 ++--- plugins/github-actions/knip-report.md | 12 ++---- plugins/github-deployments/knip-report.md | 13 ++---- plugins/github-issues/knip-report.md | 4 +- .../github-pull-requests-board/knip-report.md | 11 ++--- plugins/gitops-profiles/knip-report.md | 13 +++--- plugins/gocd/knip-report.md | 13 ++---- plugins/graphiql/knip-report.md | 13 +++--- plugins/graphql-voyager/knip-report.md | 4 +- plugins/home-react/knip-report.md | 3 +- plugins/home/knip-report.md | 11 ++--- plugins/ilert/knip-report.md | 3 +- plugins/jenkins-backend/knip-report.md | 3 +- plugins/jenkins-common/knip-report.md | 6 --- plugins/jenkins/knip-report.md | 4 +- plugins/kafka-backend/knip-report.md | 9 ---- plugins/kafka/knip-report.md | 12 ++---- plugins/kubernetes-backend/knip-report.md | 27 ++++-------- plugins/kubernetes-cluster/knip-report.md | 13 +++--- plugins/kubernetes-common/knip-report.md | 6 --- plugins/kubernetes-node/knip-report.md | 12 ------ plugins/kubernetes-react/knip-report.md | 11 ----- plugins/kubernetes/knip-report.md | 10 ++--- plugins/lighthouse-backend/knip-report.md | 6 --- plugins/lighthouse-common/knip-report.md | 6 --- plugins/lighthouse/knip-report.md | 13 ++---- plugins/linguist-backend/knip-report.md | 10 ----- plugins/linguist-common/knip-report.md | 6 --- plugins/linguist/knip-report.md | 3 +- plugins/microsoft-calendar/knip-report.md | 3 +- plugins/newrelic-dashboard/knip-report.md | 6 --- plugins/newrelic/knip-report.md | 5 +-- plugins/nomad-backend/knip-report.md | 8 ---- plugins/nomad/knip-report.md | 3 +- plugins/notifications-backend/knip-report.md | 21 ++++------ plugins/notifications-common/knip-report.md | 6 --- plugins/notifications-node/knip-report.md | 8 ---- plugins/notifications/knip-report.md | 5 +-- plugins/octopus-deploy/knip-report.md | 3 +- plugins/opencost/knip-report.md | 3 +- plugins/org-react/knip-report.md | 19 ++------- plugins/org/knip-report.md | 13 ++---- plugins/pagerduty/knip-report.md | 12 ++---- plugins/periskop-backend/knip-report.md | 8 ---- plugins/periskop/knip-report.md | 3 +- .../knip-report.md | 3 +- plugins/permission-backend/knip-report.md | 9 ---- plugins/permission-common/knip-report.md | 7 ---- plugins/permission-node/knip-report.md | 10 ----- plugins/permission-react/knip-report.md | 8 ---- plugins/playlist-backend/knip-report.md | 9 ---- plugins/playlist-common/knip-report.md | 6 --- plugins/playlist/knip-report.md | 20 ++------- plugins/proxy-backend/knip-report.md | 16 +++----- plugins/puppetdb/knip-report.md | 12 ++---- plugins/rollbar-backend/knip-report.md | 10 ----- plugins/rollbar/knip-report.md | 11 ++--- .../knip-report.md | 12 ------ .../knip-report.md | 17 ++------ .../knip-report.md | 17 ++------ .../knip-report.md | 17 ++------ .../knip-report.md | 8 ---- .../knip-report.md | 18 +++----- .../knip-report.md | 9 ---- .../knip-report.md | 10 ----- .../knip-report.md | 9 ---- .../knip-report.md | 16 ++------ .../knip-report.md | 9 ---- .../knip-report.md | 7 ---- plugins/scaffolder-backend/knip-report.md | 11 ----- plugins/scaffolder-common/knip-report.md | 6 --- plugins/scaffolder-node/knip-report.md | 8 ---- plugins/scaffolder-react/knip-report.md | 12 +----- plugins/scaffolder/knip-report.md | 14 ++----- .../knip-report.md | 8 ---- .../knip-report.md | 15 ------- .../knip-report.md | 8 ---- .../search-backend-module-pg/knip-report.md | 13 ------ .../knip-report.md | 8 ---- .../knip-report.md | 8 ---- plugins/search-backend-node/knip-report.md | 12 ------ plugins/search-backend/knip-report.md | 9 ---- plugins/search-common/knip-report.md | 6 --- plugins/search-react/knip-report.md | 15 +++---- plugins/search/knip-report.md | 13 ++---- plugins/sentry/knip-report.md | 4 +- plugins/shortcuts/knip-report.md | 11 ++--- plugins/signals-backend/knip-report.md | 11 ++--- plugins/signals-node/knip-report.md | 3 +- plugins/signals-react/knip-report.md | 3 +- plugins/signals/knip-report.md | 4 +- plugins/sonarqube-backend/knip-report.md | 10 ----- plugins/sonarqube-react/knip-report.md | 9 ++-- plugins/sonarqube/knip-report.md | 14 +++---- plugins/splunk-on-call/knip-report.md | 12 ++---- plugins/stack-overflow-backend/knip-report.md | 3 +- plugins/stack-overflow/knip-report.md | 12 ++---- plugins/stackstorm/knip-report.md | 13 ++---- .../knip-report.md | 7 ---- plugins/tech-insights-backend/knip-report.md | 12 ++---- plugins/tech-insights-common/knip-report.md | 6 --- plugins/tech-insights-node/knip-report.md | 6 --- plugins/tech-insights/knip-report.md | 3 +- plugins/tech-radar/knip-report.md | 13 ++---- .../techdocs-addons-test-utils/knip-report.md | 3 +- plugins/techdocs-backend/knip-report.md | 9 ---- .../knip-report.md | 12 ++---- plugins/techdocs-node/knip-report.md | 10 ----- plugins/techdocs-react/knip-report.md | 18 ++------ plugins/techdocs/knip-report.md | 25 ++++------- plugins/todo-backend/knip-report.md | 8 ---- plugins/todo/knip-report.md | 3 +- plugins/user-settings-backend/knip-report.md | 9 ---- plugins/user-settings/knip-report.md | 19 ++------- plugins/vault-backend/knip-report.md | 9 ---- plugins/vault-node/knip-report.md | 6 --- plugins/vault/knip-report.md | 12 ++---- plugins/xcmetrics/knip-report.md | 12 ++---- scripts/check-docs-quality.js | 11 +++-- 272 files changed, 451 insertions(+), 2046 deletions(-) diff --git a/packages/app-defaults/knip-report.md b/packages/app-defaults/knip-report.md index fb60112aa2..2661c35327 100644 --- a/packages/app-defaults/knip-report.md +++ b/packages/app-defaults/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | - diff --git a/packages/app-next-example-plugin/knip-report.md b/packages/app-next-example-plugin/knip-report.md index 9bc5da7334..d6aa71307d 100644 --- a/packages/app-next-example-plugin/knip-report.md +++ b/packages/app-next-example-plugin/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) -| Name | Location | -|:---------------|:-------------| -| msw | package.json | -| cross-fetch | package.json | -| @backstage/cli | package.json | +| Name | Location | +|:------------|:-------------| +| msw | package.json | +| cross-fetch | package.json | diff --git a/packages/app-next/knip-report.md b/packages/app-next/knip-report.md index 7787f9c8fc..65927e1a55 100644 --- a/packages/app-next/knip-report.md +++ b/packages/app-next/knip-report.md @@ -69,7 +69,7 @@ | @roadiehq/backstage-plugin-github-pull-requests | package.json | | @backstage/plugin-techdocs-module-addons-contrib | package.json | -## Unused devDependencies (7) +## Unused devDependencies (6) | Name | Location | |:----------------------------|:-------------| @@ -77,7 +77,6 @@ | @types/jquery | package.json | | @testing-library/dom | package.json | | @types/zen-observable | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | | @testing-library/user-event | package.json | diff --git a/packages/backend-app-api/knip-report.md b/packages/backend-app-api/knip-report.md index 6b0b884653..355dd47ada 100644 --- a/packages/backend-app-api/knip-report.md +++ b/packages/backend-app-api/knip-report.md @@ -6,13 +6,3 @@ |:------------------|:-------------| | winston-transport | package.json | -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| http-errors | package.json | -| @backstage/cli | package.json | -| @types/http-errors | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/packages/backend-common/knip-report.md b/packages/backend-common/knip-report.md index a5bb065337..4ee6339bb6 100644 --- a/packages/backend-common/knip-report.md +++ b/packages/backend-common/knip-report.md @@ -8,22 +8,13 @@ | @types/webpack-env | package.json | | @manypkg/get-packages | package.json | -## Unused devDependencies (12) +## Unused devDependencies (3) -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| mysql2 | package.json | -| supertest | package.json | -| http-errors | package.json | -| better-sqlite3 | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @types/webpack-env | package.json | -| @types/http-errors | package.json | -| aws-sdk-client-mock | package.json | -| @aws-sdk/util-stream-node | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:-------------------|:-------------| +| mysql2 | package.json | +| better-sqlite3 | package.json | +| @types/webpack-env | package.json | ## Referenced optional peerDependencies (1) diff --git a/packages/backend-defaults/knip-report.md b/packages/backend-defaults/knip-report.md index f667b944dd..4c06faddc0 100644 --- a/packages/backend-defaults/knip-report.md +++ b/packages/backend-defaults/knip-report.md @@ -1,15 +1,8 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (1) | Name | Location | |:------------------------------|:-------------| -| @backstage/backend-plugin-api | package.json | - -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | diff --git a/packages/backend-defaults/package.json b/packages/backend-defaults/package.json index 5cb374a872..6959c0f67b 100644 --- a/packages/backend-defaults/package.json +++ b/packages/backend-defaults/package.json @@ -33,10 +33,10 @@ }, "dependencies": { "@backstage/backend-app-api": "workspace:^", - "@backstage/backend-common": "workspace:^", - "@backstage/backend-plugin-api": "workspace:^" + "@backstage/backend-common": "workspace:^" }, "devDependencies": { + "@backstage/backend-plugin-api": "workspace:^", "@backstage/backend-test-utils": "workspace:^", "@backstage/cli": "workspace:^" }, diff --git a/packages/backend-dev-utils/knip-report.md b/packages/backend-dev-utils/knip-report.md index 24c942926b..2661c35327 100644 --- a/packages/backend-dev-utils/knip-report.md +++ b/packages/backend-dev-utils/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/packages/backend-dynamic-feature-service/knip-report.md b/packages/backend-dynamic-feature-service/knip-report.md index 72049f8827..23abb2f791 100644 --- a/packages/backend-dynamic-feature-service/knip-report.md +++ b/packages/backend-dynamic-feature-service/knip-report.md @@ -1,20 +1,9 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (2) | Name | Location | |:--------------------------------|:-------------| -| @backstage/types | package.json | | @backstage/errors | package.json | | @backstage/plugin-search-common | package.json | -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| wait-for-expect | package.json | -| @backstage/config-loader | package.json | -| @backstage/backend-app-api | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/packages/backend-next/knip-report.md b/packages/backend-next/knip-report.md index 07ea59cd66..7f0063fa72 100644 --- a/packages/backend-next/knip-report.md +++ b/packages/backend-next/knip-report.md @@ -12,9 +12,3 @@ | @backstage/plugin-search-backend-node | package.json | | @backstage/plugin-catalog-backend-module-openapi | package.json | -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/packages/backend-openapi-utils/knip-report.md b/packages/backend-openapi-utils/knip-report.md index 1f28b4cd29..a8d532ade5 100644 --- a/packages/backend-openapi-utils/knip-report.md +++ b/packages/backend-openapi-utils/knip-report.md @@ -7,10 +7,3 @@ | lodash | package.json | | @backstage/backend-plugin-api | package.json | -## Unused devDependencies (2) - -| Name | Location | -|:---------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | - diff --git a/packages/backend-plugin-api/knip-report.md b/packages/backend-plugin-api/knip-report.md index 24c942926b..2661c35327 100644 --- a/packages/backend-plugin-api/knip-report.md +++ b/packages/backend-plugin-api/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/packages/backend-tasks/knip-report.md b/packages/backend-tasks/knip-report.md index b4595609b6..2661c35327 100644 --- a/packages/backend-tasks/knip-report.md +++ b/packages/backend-tasks/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:----------------|:-------------| -| @backstage/cli | package.json | -| wait-for-expect | package.json | - diff --git a/packages/backend-test-utils/knip-report.md b/packages/backend-test-utils/knip-report.md index c6974ee723..21168511a0 100644 --- a/packages/backend-test-utils/knip-report.md +++ b/packages/backend-test-utils/knip-report.md @@ -10,11 +10,3 @@ | better-sqlite3 | package.json | | @backstage/errors | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/packages/backend/knip-report.md b/packages/backend/knip-report.md index dbd46f1746..e86fa28ba7 100644 --- a/packages/backend/knip-report.md +++ b/packages/backend/knip-report.md @@ -17,11 +17,10 @@ | @backstage/plugin-azure-sites-common | package.json | | @backstage/plugin-scaffolder-backend-module-rails | package.json | -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:---------------------------------|:-------------| | @types/luxon | package.json | -| @backstage/cli | package.json | | @types/express-serve-static-core | package.json | diff --git a/packages/catalog-client/knip-report.md b/packages/catalog-client/knip-report.md index 23d85dc9a4..2661c35327 100644 --- a/packages/catalog-client/knip-report.md +++ b/packages/catalog-client/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:---------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | - diff --git a/packages/catalog-model/knip-report.md b/packages/catalog-model/knip-report.md index 7b964d1d0f..50ad53c764 100644 --- a/packages/catalog-model/knip-report.md +++ b/packages/catalog-model/knip-report.md @@ -1,10 +1,8 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (1) | Name | Location | |:-------------------|:-------------| -| yaml | package.json | -| @backstage/cli | package.json | | @types/json-schema | package.json | diff --git a/packages/cli-common/knip-report.md b/packages/cli-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/packages/cli-common/knip-report.md +++ b/packages/cli-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/packages/cli-node/knip-report.md b/packages/cli-node/knip-report.md index fc3e84abaf..3f331a31e4 100644 --- a/packages/cli-node/knip-report.md +++ b/packages/cli-node/knip-report.md @@ -6,10 +6,3 @@ |:-------|:-------------| | semver | package.json | -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/packages/cli/knip-report.md b/packages/cli/knip-report.md index 8caf86f5ec..788465700c 100644 --- a/packages/cli/knip-report.md +++ b/packages/cli/knip-report.md @@ -33,11 +33,10 @@ | @spotify/eslint-config-react | package.json | | @typescript-eslint/eslint-plugin | package.json | -## Unused devDependencies (18) +## Unused devDependencies (13) | Name | Location | |:----------------------------------------|:-------------| -| msw | package.json | | del | package.json | | ts-node | package.json | | nodemon | package.json | @@ -46,13 +45,9 @@ | @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 | diff --git a/packages/codemods/knip-report.md b/packages/codemods/knip-report.md index 2d38eafb88..4f3830137e 100644 --- a/packages/codemods/knip-report.md +++ b/packages/codemods/knip-report.md @@ -1,17 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused devDependencies (1) -| Name | Location | -|:------------------------|:-------------| -| jscodeshift | package.json | -| jscodeshift-add-imports | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:-------------------|:-------------| -| ts-node | package.json | -| @backstage/cli | package.json | -| @types/jscodeshift | package.json | +| Name | Location | +|:--------|:-------------| +| ts-node | package.json | diff --git a/packages/config-loader/knip-report.md b/packages/config-loader/knip-report.md index ff197bea3a..2661c35327 100644 --- a/packages/config-loader/knip-report.md +++ b/packages/config-loader/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| zen-observable | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/packages/config/knip-report.md b/packages/config/knip-report.md index ce8576bebf..2661c35327 100644 --- a/packages/config/knip-report.md +++ b/packages/config/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:----------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | - diff --git a/packages/core-app-api/knip-report.md b/packages/core-app-api/knip-report.md index 905368dd3f..41d0a1038b 100644 --- a/packages/core-app-api/knip-report.md +++ b/packages/core-app-api/knip-report.md @@ -6,18 +6,14 @@ |:--------|:-------------| | history | package.json | -## Unused devDependencies (11) +## Unused devDependencies (7) | Name | Location | |:-----------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | | react-router-beta | package.json | | react-router-stable | package.json | | @testing-library/dom | package.json | | react-router-dom-beta | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | | react-router-dom-stable | package.json | | @testing-library/user-event | package.json | | @testing-library/react-hooks | package.json | diff --git a/packages/core-compat-api/knip-report.md b/packages/core-compat-api/knip-report.md index 25c65be193..2661c35327 100644 --- a/packages/core-compat-api/knip-report.md +++ b/packages/core-compat-api/knip-report.md @@ -1,21 +1,2 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:------------------------|:-------------| -| @backstage/core-app-api | package.json | - -## Unused devDependencies (8) - -| Name | Location | -|:--------------------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/react | package.json | -| @backstage/plugin-catalog | package.json | -| @backstage/plugin-puppetdb | package.json | -| @backstage/frontend-app-api | package.json | -| @backstage/plugin-stackstorm | package.json | -| @backstage/frontend-test-utils | package.json | -| @oriflame/backstage-plugin-score-card | package.json | - diff --git a/packages/core-components/knip-report.md b/packages/core-components/knip-report.md index f457b7bb78..5045df6d01 100644 --- a/packages/core-components/knip-report.md +++ b/packages/core-components/knip-report.md @@ -1,31 +1,26 @@ # Knip report -## Unused dependencies (4) +## Unused dependencies (2) -| Name | Location | -|:------------------|:-------------| -| linkifyjs | package.json | -| @date-io/core | package.json | -| zen-observable | package.json | -| @backstage/config | package.json | +| Name | Location | +|:--------------|:-------------| +| linkifyjs | package.json | +| @date-io/core | package.json | -## Unused devDependencies (9) +## Unused devDependencies (4) -| Name | Location | -|:----------------------------|:-------------| -| msw | package.json | -| cross-fetch | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @types/zen-observable | package.json | -| @types/google-protobuf | package.json | -| @testing-library/react | package.json | -| @backstage/app-defaults | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:------------------------|:-------------| +| cross-fetch | package.json | +| @testing-library/dom | package.json | +| @types/google-protobuf | package.json | +| @backstage/app-defaults | package.json | -## Unlisted dependencies (1) +## Unlisted dependencies (3) -| Name | Location | -|:--------|:---------------------------------------| -| csstype | src/components/Lifecycle/Lifecycle.tsx | +| Name | Location | +|:------------------|:--------------------------------------------------------| +| csstype | src/components/Lifecycle/Lifecycle.tsx | +| copy-to-clipboard | src/components/LogViewer/RealLogViewer.test.tsx | +| copy-to-clipboard | src/components/LogViewer/useLogViewerSelection.test.tsx | diff --git a/packages/core-plugin-api/knip-report.md b/packages/core-plugin-api/knip-report.md index b222f9399d..093d207cef 100644 --- a/packages/core-plugin-api/knip-report.md +++ b/packages/core-plugin-api/knip-report.md @@ -1,19 +1,9 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:--------|:-------------| -| history | package.json | - -## Unused devDependencies (6) +## Unused devDependencies (2) | 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 | | @testing-library/user-event | package.json | diff --git a/packages/create-app/knip-report.md b/packages/create-app/knip-report.md index 3e3ca1b1a7..aaa19415f5 100644 --- a/packages/create-app/knip-report.md +++ b/packages/create-app/knip-report.md @@ -1,13 +1,10 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (3) -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| ts-node | package.json | -| nodemon | package.json | -| @backstage/cli | package.json | -| @types/command-exists | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:----------------------|:-------------| +| ts-node | package.json | +| nodemon | package.json | +| @types/command-exists | package.json | diff --git a/packages/dev-utils/knip-report.md b/packages/dev-utils/knip-report.md index c4383e6fce..9296c042d9 100644 --- a/packages/dev-utils/knip-report.md +++ b/packages/dev-utils/knip-report.md @@ -6,14 +6,9 @@ |:-----------------|:-------------| | @backstage/theme | package.json | -## Unused devDependencies (6) +## Unused devDependencies (1) -| Name | Location | -|:----------------------------|:-------------| -| zen-observable | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/packages/e2e-test-utils/knip-report.md b/packages/e2e-test-utils/knip-report.md index a41c8d5233..32dd4fa877 100644 --- a/packages/e2e-test-utils/knip-report.md +++ b/packages/e2e-test-utils/knip-report.md @@ -1,11 +1,5 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - ## Referenced optional peerDependencies (1) | Name | Location | diff --git a/packages/e2e-test/knip-report.md b/packages/e2e-test/knip-report.md index fbc04bfa55..2b616ced03 100644 --- a/packages/e2e-test/knip-report.md +++ b/packages/e2e-test/knip-report.md @@ -1,11 +1,10 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (3) | Name | Location | |:-----------------|:-------------| | ts-node | package.json | | nodemon | package.json | -| @backstage/cli | package.json | | @types/puppeteer | package.json | diff --git a/packages/errors/knip-report.md b/packages/errors/knip-report.md index 24c942926b..2661c35327 100644 --- a/packages/errors/knip-report.md +++ b/packages/errors/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/packages/frontend-app-api/knip-report.md b/packages/frontend-app-api/knip-report.md index fb60112aa2..2661c35327 100644 --- a/packages/frontend-app-api/knip-report.md +++ b/packages/frontend-app-api/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | - diff --git a/packages/frontend-plugin-api/knip-report.md b/packages/frontend-plugin-api/knip-report.md index a6c1e939c7..d99a671601 100644 --- a/packages/frontend-plugin-api/knip-report.md +++ b/packages/frontend-plugin-api/knip-report.md @@ -8,14 +8,3 @@ | @material-ui/core | package.json | | @backstage/core-components | package.json | -## Unused devDependencies (6) - -| Name | Location | -|:-------------------------------|:-------------| -| history | package.json | -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @backstage/frontend-app-api | package.json | -| @backstage/frontend-test-utils | package.json | - diff --git a/packages/frontend-test-utils/knip-report.md b/packages/frontend-test-utils/knip-report.md index 24c942926b..2661c35327 100644 --- a/packages/frontend-test-utils/knip-report.md +++ b/packages/frontend-test-utils/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/packages/integration-aws-node/knip-report.md b/packages/integration-aws-node/knip-report.md index a8a1f8c820..761161eaab 100644 --- a/packages/integration-aws-node/knip-report.md +++ b/packages/integration-aws-node/knip-report.md @@ -7,13 +7,10 @@ | @backstage/errors | package.json | | @aws-sdk/credential-provider-node | package.json | -## Unused devDependencies (5) +## Unused devDependencies (2) | Name | Location | |:-------------------------|:-------------| -| @backstage/cli | package.json | -| aws-sdk-client-mock | package.json | | @backstage/test-utils | package.json | -| aws-sdk-client-mock-jest | package.json | | @backstage/config-loader | package.json | diff --git a/packages/integration-react/knip-report.md b/packages/integration-react/knip-report.md index 1ffbed64e8..bce307acdd 100644 --- a/packages/integration-react/knip-report.md +++ b/packages/integration-react/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) -| Name | Location | -|:----------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | +| Name | Location | +|:---------------------|:-------------| +| msw | package.json | +| @testing-library/dom | package.json | diff --git a/packages/integration/knip-report.md b/packages/integration/knip-report.md index 995a52d5a7..2661c35327 100644 --- a/packages/integration/knip-report.md +++ b/packages/integration/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/config-loader | package.json | - diff --git a/packages/release-manifests/knip-report.md b/packages/release-manifests/knip-report.md index bac0bb3f80..2661c35327 100644 --- a/packages/release-manifests/knip-report.md +++ b/packages/release-manifests/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:----------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | - diff --git a/packages/repo-tools/knip-report.md b/packages/repo-tools/knip-report.md index 5c60462783..a33ff31924 100644 --- a/packages/repo-tools/knip-report.md +++ b/packages/repo-tools/knip-report.md @@ -11,12 +11,11 @@ | @stoplight/spectral-functions | package.json | | @openapitools/openapi-generator-cli | package.json | -## Unused devDependencies (2) +## Unused devDependencies (1) -| Name | Location | -|:------------------------------|:-------------| -| @types/is-glob | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:---------------|:-------------| +| @types/is-glob | package.json | ## Referenced optional peerDependencies (1) diff --git a/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts b/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts index 8273ab2533..c170ea1409 100644 --- a/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts +++ b/packages/repo-tools/src/commands/knip-reports/knip-extractor.ts @@ -60,10 +60,13 @@ async function generateKnipConfig({ packageDir }: KnipConfigOptions) { entry: [ 'dev/index.{ts,tsx}', 'src/index.{ts,tsx}', + 'src/alpha.{ts,tsx}', 'src/routes.ts', 'src/run.ts', ], - jest: { entry: 'src/setupTests.ts' }, + jest: { + entry: ['src/setupTests.ts', '**/*.test.{ts,tsx}'], + }, storybook: { entry: 'src/components/**/*.stories.tsx' }, ignore: [ '.eslintrc.js', @@ -73,6 +76,9 @@ async function generateKnipConfig({ packageDir }: KnipConfigOptions) { 'dist/**', '{fixtures,migrations,templates}/**', ], + ignoreDependencies: [ + '@backstage/cli', // everything depends on this for its package.json commands + ], }; await fs.writeFile( `${packageDir}/knip.json`, diff --git a/packages/techdocs-cli/knip-report.md b/packages/techdocs-cli/knip-report.md index 818eb3953a..411c1f0251 100644 --- a/packages/techdocs-cli/knip-report.md +++ b/packages/techdocs-cli/knip-report.md @@ -6,13 +6,11 @@ |:-------------|:-------------| | global-agent | package.json | -## Unused devDependencies (5) +## Unused devDependencies (3) | Name | Location | |:-------------------|:-------------| | ts-node | package.json | | nodemon | package.json | -| find-process | package.json | -| @backstage/cli | package.json | | @types/webpack-env | package.json | diff --git a/packages/test-utils/knip-report.md b/packages/test-utils/knip-report.md index 4c8222eecd..2ccb1eab4f 100644 --- a/packages/test-utils/knip-report.md +++ b/packages/test-utils/knip-report.md @@ -6,10 +6,3 @@ |:------------------|:-------------| | @material-ui/core | package.json | -## Unused devDependencies (2) - -| Name | Location | -|:---------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | - diff --git a/packages/theme/knip-report.md b/packages/theme/knip-report.md index 71141a3bba..dfa0fbe480 100644 --- a/packages/theme/knip-report.md +++ b/packages/theme/knip-report.md @@ -7,11 +7,3 @@ | @emotion/react | package.json | | @emotion/styled | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:-----------------------|:-------------| -| @mui/styles | package.json | -| @backstage/cli | package.json | -| @testing-library/react | package.json | - diff --git a/packages/types/knip-report.md b/packages/types/knip-report.md index 9a1bf2ebe7..2661c35327 100644 --- a/packages/types/knip-report.md +++ b/packages/types/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:----------------------|:-------------| -| luxon | package.json | -| zen-observable | package.json | -| @backstage/cli | package.json | -| @types/zen-observable | package.json | - diff --git a/packages/version-bridge/knip-report.md b/packages/version-bridge/knip-report.md index 9f54e7f06d..2661c35327 100644 --- a/packages/version-bridge/knip-report.md +++ b/packages/version-bridge/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/react | package.json | - diff --git a/plugins/adr-backend/knip-report.md b/plugins/adr-backend/knip-report.md index 46434ad5e6..b3b12df69b 100644 --- a/plugins/adr-backend/knip-report.md +++ b/plugins/adr-backend/knip-report.md @@ -7,11 +7,3 @@ | yn | package.json | | node-fetch | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/adr-common/knip-report.md b/plugins/adr-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/adr-common/knip-report.md +++ b/plugins/adr-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/adr/knip-report.md b/plugins/adr/knip-report.md index 881216583e..e7a618ab50 100644 --- a/plugins/adr/knip-report.md +++ b/plugins/adr/knip-report.md @@ -7,11 +7,10 @@ | remark-gfm | package.json | | react-markdown | package.json | -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/airbrake-backend/knip-report.md b/plugins/airbrake-backend/knip-report.md index e31e20b852..2661c35327 100644 --- a/plugins/airbrake-backend/knip-report.md +++ b/plugins/airbrake-backend/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/airbrake/knip-report.md b/plugins/airbrake/knip-report.md index 9364473c4f..b2bb63e01e 100644 --- a/plugins/airbrake/knip-report.md +++ b/plugins/airbrake/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (3) | Name | Location | |:------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | | @backstage/app-defaults | package.json | diff --git a/plugins/allure/knip-report.md b/plugins/allure/knip-report.md index a7fde3968b..b58bbb7d88 100644 --- a/plugins/allure/knip-report.md +++ b/plugins/allure/knip-report.md @@ -1,12 +1,9 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/analytics-module-ga/knip-report.md b/plugins/analytics-module-ga/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/analytics-module-ga/knip-report.md +++ b/plugins/analytics-module-ga/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/analytics-module-ga4/knip-report.md b/plugins/analytics-module-ga4/knip-report.md index 544b473dd0..38df6e0841 100644 --- a/plugins/analytics-module-ga4/knip-report.md +++ b/plugins/analytics-module-ga4/knip-report.md @@ -1,11 +1,10 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (3) | Name | Location | |:-----------------------|:-------------| | @types/jest | package.json | -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/analytics-module-newrelic-browser/knip-report.md b/plugins/analytics-module-newrelic-browser/knip-report.md index 9f54e7f06d..56419ede4c 100644 --- a/plugins/analytics-module-newrelic-browser/knip-report.md +++ b/plugins/analytics-module-newrelic-browser/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/react | package.json | diff --git a/plugins/apache-airflow/knip-report.md b/plugins/apache-airflow/knip-report.md index 44a5bee885..3620b3a323 100644 --- a/plugins/apache-airflow/knip-report.md +++ b/plugins/apache-airflow/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/api-docs-module-protoc-gen-doc/knip-report.md b/plugins/api-docs-module-protoc-gen-doc/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/api-docs-module-protoc-gen-doc/knip-report.md +++ b/plugins/api-docs-module-protoc-gen-doc/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/api-docs/knip-report.md b/plugins/api-docs/knip-report.md index 7ecee7de26..7e74e1ff78 100644 --- a/plugins/api-docs/knip-report.md +++ b/plugins/api-docs/knip-report.md @@ -8,14 +8,9 @@ | graphql-config | package.json | | isomorphic-form-data | package.json | -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/apollo-explorer/knip-report.md b/plugins/apollo-explorer/knip-report.md index 25d92625f5..be911cb4ea 100644 --- a/plugins/apollo-explorer/knip-report.md +++ b/plugins/apollo-explorer/knip-report.md @@ -6,11 +6,10 @@ |:------------------------|:-------------| | use-deep-compare-effect | package.json | -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/app-backend/knip-report.md b/plugins/app-backend/knip-report.md index d9b5d085f3..461d60ec91 100644 --- a/plugins/app-backend/knip-report.md +++ b/plugins/app-backend/knip-report.md @@ -6,14 +6,9 @@ |:---|:-------------| | yn | package.json | -## Unused devDependencies (6) +## Unused devDependencies (1) -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| node-fetch | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-app-api | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:---------------------------|:-------------| +| @backstage/backend-app-api | package.json | diff --git a/plugins/app-node/knip-report.md b/plugins/app-node/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/app-node/knip-report.md +++ b/plugins/app-node/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/app-visualizer/knip-report.md b/plugins/app-visualizer/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/app-visualizer/knip-report.md +++ b/plugins/app-visualizer/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/auth-backend-module-atlassian-provider/knip-report.md b/plugins/auth-backend-module-atlassian-provider/knip-report.md index fe0782ee45..6d3d030a17 100644 --- a/plugins/auth-backend-module-atlassian-provider/knip-report.md +++ b/plugins/auth-backend-module-atlassian-provider/knip-report.md @@ -7,11 +7,3 @@ | express | package.json | | passport | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-aws-alb-provider/knip-report.md b/plugins/auth-backend-module-aws-alb-provider/knip-report.md index 3f2a3a7c13..ddc7848450 100644 --- a/plugins/auth-backend-module-aws-alb-provider/knip-report.md +++ b/plugins/auth-backend-module-aws-alb-provider/knip-report.md @@ -7,13 +7,3 @@ | @backstage/backend-common | package.json | | @backstage/plugin-auth-backend | package.json | -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| express | package.json | -| @backstage/cli | package.json | -| @backstage/config | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-gcp-iap-provider/knip-report.md b/plugins/auth-backend-module-gcp-iap-provider/knip-report.md index b0c3c1d32f..2661c35327 100644 --- a/plugins/auth-backend-module-gcp-iap-provider/knip-report.md +++ b/plugins/auth-backend-module-gcp-iap-provider/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| express | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-github-provider/knip-report.md b/plugins/auth-backend-module-github-provider/knip-report.md index 8d7bd5cd41..2661c35327 100644 --- a/plugins/auth-backend-module-github-provider/knip-report.md +++ b/plugins/auth-backend-module-github-provider/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-gitlab-provider/knip-report.md b/plugins/auth-backend-module-gitlab-provider/knip-report.md index fe0782ee45..6d3d030a17 100644 --- a/plugins/auth-backend-module-gitlab-provider/knip-report.md +++ b/plugins/auth-backend-module-gitlab-provider/knip-report.md @@ -7,11 +7,3 @@ | express | package.json | | passport | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-google-provider/knip-report.md b/plugins/auth-backend-module-google-provider/knip-report.md index 6e4b0f2a59..2661c35327 100644 --- a/plugins/auth-backend-module-google-provider/knip-report.md +++ b/plugins/auth-backend-module-google-provider/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:-------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-auth-backend | package.json | - diff --git a/plugins/auth-backend-module-microsoft-provider/knip-report.md b/plugins/auth-backend-module-microsoft-provider/knip-report.md index d51b79899b..5eebe74ce2 100644 --- a/plugins/auth-backend-module-microsoft-provider/knip-report.md +++ b/plugins/auth-backend-module-microsoft-provider/knip-report.md @@ -1,19 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) | Name | Location | |:---------|:-------------| -| express | package.json | | passport | package.json | -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/config | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-oauth2-provider/knip-report.md b/plugins/auth-backend-module-oauth2-provider/knip-report.md index 3db18e15f0..5eebe74ce2 100644 --- a/plugins/auth-backend-module-oauth2-provider/knip-report.md +++ b/plugins/auth-backend-module-oauth2-provider/knip-report.md @@ -6,11 +6,3 @@ |:---------|:-------------| | passport | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md b/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md index 2a595acf79..4c06faddc0 100644 --- a/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md +++ b/plugins/auth-backend-module-oauth2-proxy-provider/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:------------------------------|:-------------| -| @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | diff --git a/plugins/auth-backend-module-oidc-provider/knip-report.md b/plugins/auth-backend-module-oidc-provider/knip-report.md index 8cb9f67afb..6fd89606e4 100644 --- a/plugins/auth-backend-module-oidc-provider/knip-report.md +++ b/plugins/auth-backend-module-oidc-provider/knip-report.md @@ -1,24 +1,17 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (2) | Name | Location | |:--------------------------|:-------------| -| express | package.json | | passport | package.json | | @backstage/backend-common | package.json | -## Unused devDependencies (9) +## Unused devDependencies (3) -| 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 | +| Name | Location | +|:-----------------------|:-------------| +| cookie-parser | package.json | +| express-session | package.json | +| express-promise-router | package.json | diff --git a/plugins/auth-backend-module-okta-provider/knip-report.md b/plugins/auth-backend-module-okta-provider/knip-report.md index fe0782ee45..6d3d030a17 100644 --- a/plugins/auth-backend-module-okta-provider/knip-report.md +++ b/plugins/auth-backend-module-okta-provider/knip-report.md @@ -7,11 +7,3 @@ | express | package.json | | passport | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/auth-backend-module-pinniped-provider/knip-report.md b/plugins/auth-backend-module-pinniped-provider/knip-report.md index c3dbae1569..73b1371fa5 100644 --- a/plugins/auth-backend-module-pinniped-provider/knip-report.md +++ b/plugins/auth-backend-module-pinniped-provider/knip-report.md @@ -1,16 +1,10 @@ # Knip report -## Unused devDependencies (9) +## Unused devDependencies (3) -| 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 | +| Name | Location | +|:----------------|:-------------| +| passport | package.json | +| cookie-parser | package.json | +| express-session | package.json | diff --git a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md index c5d1ec2ac8..2661c35327 100644 --- a/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md +++ b/plugins/auth-backend-module-vmware-cloud-provider/knip-report.md @@ -1,13 +1,2 @@ # Knip report -## 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-test-utils | package.json | - diff --git a/plugins/auth-backend/knip-report.md b/plugins/auth-backend/knip-report.md index 846531dab7..ee02bfba0a 100644 --- a/plugins/auth-backend/knip-report.md +++ b/plugins/auth-backend/knip-report.md @@ -17,14 +17,11 @@ | google-auth-library | package.json | | passport-google-oauth20 | package.json | -## Unused devDependencies (10) +## Unused devDependencies (7) | Name | Location | |:-------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | | @types/xml2js | package.json | -| @backstage/cli | package.json | | @types/body-parser | package.json | | @types/passport-saml | package.json | | @types/passport-github2 | package.json | diff --git a/plugins/auth-node/knip-report.md b/plugins/auth-node/knip-report.md index 3d3a7684bb..aa2e6b58d5 100644 --- a/plugins/auth-node/knip-report.md +++ b/plugins/auth-node/knip-report.md @@ -7,15 +7,3 @@ | winston | package.json | | node-fetch | package.json | -## Unused devDependencies (7) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| uuid | package.json | -| supertest | package.json | -| cookie-parser | package.json | -| @backstage/cli | package.json | -| express-promise-router | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/azure-devops-backend/knip-report.md b/plugins/azure-devops-backend/knip-report.md index e31e20b852..2661c35327 100644 --- a/plugins/azure-devops-backend/knip-report.md +++ b/plugins/azure-devops-backend/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/azure-devops-common/knip-report.md b/plugins/azure-devops-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/azure-devops-common/knip-report.md +++ b/plugins/azure-devops-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/azure-devops/knip-report.md b/plugins/azure-devops/knip-report.md index ecf6480396..3620b3a323 100644 --- a/plugins/azure-devops/knip-report.md +++ b/plugins/azure-devops/knip-report.md @@ -1,11 +1,8 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/azure-sites-backend/knip-report.md b/plugins/azure-sites-backend/knip-report.md index b1d05b28ee..ad2b8c7f46 100644 --- a/plugins/azure-sites-backend/knip-report.md +++ b/plugins/azure-sites-backend/knip-report.md @@ -7,10 +7,9 @@ | node-fetch | package.json | | @backstage/catalog-model | package.json | -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:-----------------|:-------------| -| @backstage/cli | package.json | | @types/supertest | package.json | diff --git a/plugins/azure-sites-common/knip-report.md b/plugins/azure-sites-common/knip-report.md index c61d844657..b5306f357f 100644 --- a/plugins/azure-sites-common/knip-report.md +++ b/plugins/azure-sites-common/knip-report.md @@ -6,9 +6,3 @@ |:-------------------------|:-------------| | @backstage/catalog-model | package.json | -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/azure-sites/knip-report.md b/plugins/azure-sites/knip-report.md index c60bbdc1a8..bb814fc76c 100644 --- a/plugins/azure-sites/knip-report.md +++ b/plugins/azure-sites/knip-report.md @@ -1,20 +1,15 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (1) -| Name | Location | -|:------------------------------------|:-------------| -| @backstage/theme | package.json | -| @backstage/plugin-permission-react | package.json | -| @backstage/plugin-permission-common | package.json | +| Name | Location | +|:-----------------|:-------------| +| @backstage/theme | package.json | -## Unused devDependencies (5) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/badges-backend/knip-report.md b/plugins/badges-backend/knip-report.md index db5d6f9746..eee4105ef0 100644 --- a/plugins/badges-backend/knip-report.md +++ b/plugins/badges-backend/knip-report.md @@ -1,16 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:----------|:-------------| -| cors | package.json | -| supertest | package.json | - -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:-----|:-------------| +| cors | package.json | diff --git a/plugins/badges/knip-report.md b/plugins/badges/knip-report.md index ce8576bebf..2661c35327 100644 --- a/plugins/badges/knip-report.md +++ b/plugins/badges/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:----------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | - diff --git a/plugins/bazaar-backend/knip-report.md b/plugins/bazaar-backend/knip-report.md index 2a595acf79..2661c35327 100644 --- a/plugins/bazaar-backend/knip-report.md +++ b/plugins/bazaar-backend/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/bazaar/knip-report.md b/plugins/bazaar/knip-report.md index a203b667b3..cd275e5030 100644 --- a/plugins/bazaar/knip-report.md +++ b/plugins/bazaar/knip-report.md @@ -6,9 +6,3 @@ |:--------------------------|:-------------| | @backstage/catalog-client | package.json | -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/bitbucket-cloud-common/knip-report.md b/plugins/bitbucket-cloud-common/knip-report.md index 63682826ff..ab7c99b1af 100644 --- a/plugins/bitbucket-cloud-common/knip-report.md +++ b/plugins/bitbucket-cloud-common/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:------------------------------------|:-------------| -| msw | package.json | | ts-morph | package.json | -| @backstage/cli | package.json | | @openapitools/openapi-generator-cli | package.json | diff --git a/plugins/bitrise/knip-report.md b/plugins/bitrise/knip-report.md index 5ab0e57e57..afc7ef165d 100644 --- a/plugins/bitrise/knip-report.md +++ b/plugins/bitrise/knip-report.md @@ -6,16 +6,10 @@ |:---------|:-------------| | recharts | package.json | -## Unused devDependencies (8) +## Unused devDependencies (2) -| Name | Location | -|:----------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @types/recharts | 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/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @types/recharts | package.json | +| @testing-library/dom | package.json | diff --git a/plugins/catalog-backend-module-aws/knip-report.md b/plugins/catalog-backend-module-aws/knip-report.md index cb210f6032..0d78efc55e 100644 --- a/plugins/catalog-backend-module-aws/knip-report.md +++ b/plugins/catalog-backend-module-aws/knip-report.md @@ -6,15 +6,3 @@ |:------------------------------|:-------------| | @aws-sdk/credential-providers | package.json | -## Unused devDependencies (7) - -| Name | Location | -|:------------------------------|:-------------| -| yaml | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| aws-sdk-client-mock | package.json | -| aws-sdk-client-mock-jest | package.json | -| @aws-sdk/util-stream-node | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-azure/knip-report.md b/plugins/catalog-backend-module-azure/knip-report.md index 195f060dc1..2661c35327 100644 --- a/plugins/catalog-backend-module-azure/knip-report.md +++ b/plugins/catalog-backend-module-azure/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-backstage-openapi/knip-report.md b/plugins/catalog-backend-module-backstage-openapi/knip-report.md index 1a11be1d96..d61ab715a1 100644 --- a/plugins/catalog-backend-module-backstage-openapi/knip-report.md +++ b/plugins/catalog-backend-module-backstage-openapi/knip-report.md @@ -7,11 +7,10 @@ | yn | package.json | | lodash | package.json | -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------|:-------------| | @types/express | package.json | -| @backstage/cli | package.json | | @types/supertest | package.json | diff --git a/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md b/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md index 195f060dc1..2661c35327 100644 --- a/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md +++ b/plugins/catalog-backend-module-bitbucket-cloud/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-bitbucket-server/knip-report.md b/plugins/catalog-backend-module-bitbucket-server/knip-report.md index 195f060dc1..2661c35327 100644 --- a/plugins/catalog-backend-module-bitbucket-server/knip-report.md +++ b/plugins/catalog-backend-module-bitbucket-server/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-gcp/knip-report.md b/plugins/catalog-backend-module-gcp/knip-report.md index 2a595acf79..4c06faddc0 100644 --- a/plugins/catalog-backend-module-gcp/knip-report.md +++ b/plugins/catalog-backend-module-gcp/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:------------------------------|:-------------| -| @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | diff --git a/plugins/catalog-backend-module-gerrit/knip-report.md b/plugins/catalog-backend-module-gerrit/knip-report.md index 9a01b39c31..2661c35327 100644 --- a/plugins/catalog-backend-module-gerrit/knip-report.md +++ b/plugins/catalog-backend-module-gerrit/knip-report.md @@ -1,18 +1,2 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:---------|:-------------| -| fs-extra | package.json | - -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| @types/fs-extra | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-github-org/knip-report.md b/plugins/catalog-backend-module-github-org/knip-report.md index 7165b5aa7f..2661c35327 100644 --- a/plugins/catalog-backend-module-github-org/knip-report.md +++ b/plugins/catalog-backend-module-github-org/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| luxon | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-github/knip-report.md b/plugins/catalog-backend-module-github/knip-report.md index 6654a9469f..9da10acac4 100644 --- a/plugins/catalog-backend-module-github/knip-report.md +++ b/plugins/catalog-backend-module-github/knip-report.md @@ -1,21 +1,11 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) | Name | Location | |:----------------------------------|:-------------| -| node-fetch | package.json | | @backstage/plugin-catalog-backend | package.json | -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - ## Unlisted dependencies (3) | Name | Location | diff --git a/plugins/catalog-backend-module-gitlab/knip-report.md b/plugins/catalog-backend-module-gitlab/knip-report.md index 195f060dc1..2661c35327 100644 --- a/plugins/catalog-backend-module-gitlab/knip-report.md +++ b/plugins/catalog-backend-module-gitlab/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md index 2a595acf79..2661c35327 100644 --- a/plugins/catalog-backend-module-incremental-ingestion/knip-report.md +++ b/plugins/catalog-backend-module-incremental-ingestion/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-ldap/knip-report.md b/plugins/catalog-backend-module-ldap/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/catalog-backend-module-ldap/knip-report.md +++ b/plugins/catalog-backend-module-ldap/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/catalog-backend-module-msgraph/knip-report.md b/plugins/catalog-backend-module-msgraph/knip-report.md index 195f060dc1..2661c35327 100644 --- a/plugins/catalog-backend-module-msgraph/knip-report.md +++ b/plugins/catalog-backend-module-msgraph/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| luxon | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-openapi/knip-report.md b/plugins/catalog-backend-module-openapi/knip-report.md index 76c554b1db..4e8c8afdcf 100644 --- a/plugins/catalog-backend-module-openapi/knip-report.md +++ b/plugins/catalog-backend-module-openapi/knip-report.md @@ -1,10 +1,8 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (1) -| Name | Location | -|:------------------------------|:-------------| -| openapi-types | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:--------------|:-------------| +| openapi-types | package.json | diff --git a/plugins/catalog-backend-module-puppetdb/knip-report.md b/plugins/catalog-backend-module-puppetdb/knip-report.md index eaad6fecaa..2661c35327 100644 --- a/plugins/catalog-backend-module-puppetdb/knip-report.md +++ b/plugins/catalog-backend-module-puppetdb/knip-report.md @@ -1,16 +1,2 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:------|:-------------| -| luxon | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md b/plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md index 2a595acf79..2661c35327 100644 --- a/plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md +++ b/plugins/catalog-backend-module-scaffolder-entity-model/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-backend-module-unprocessed/knip-report.md b/plugins/catalog-backend-module-unprocessed/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/catalog-backend-module-unprocessed/knip-report.md +++ b/plugins/catalog-backend-module-unprocessed/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/catalog-backend/knip-report.md b/plugins/catalog-backend/knip-report.md index 4e798fba61..3dffc866b2 100644 --- a/plugins/catalog-backend/knip-report.md +++ b/plugins/catalog-backend/knip-report.md @@ -7,14 +7,9 @@ | node-fetch | package.json | | @backstage/repo-tools | package.json | -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------|:-------------| +| better-sqlite3 | package.json | diff --git a/plugins/catalog-common/knip-report.md b/plugins/catalog-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/catalog-common/knip-report.md +++ b/plugins/catalog-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/catalog-graph/knip-report.md b/plugins/catalog-graph/knip-report.md index 95a44323ae..479bb3d3ad 100644 --- a/plugins/catalog-graph/knip-report.md +++ b/plugins/catalog-graph/knip-report.md @@ -6,14 +6,9 @@ |:--------|:-------------| | p-limit | package.json | -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/catalog-import/knip-report.md b/plugins/catalog-import/knip-report.md index dbaf2b64d3..3620b3a323 100644 --- a/plugins/catalog-import/knip-report.md +++ b/plugins/catalog-import/knip-report.md @@ -1,14 +1,8 @@ # Knip report -## Unused devDependencies (7) +## Unused devDependencies (1) -| 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 | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/catalog-node/knip-report.md b/plugins/catalog-node/knip-report.md index 2a595acf79..2661c35327 100644 --- a/plugins/catalog-node/knip-report.md +++ b/plugins/catalog-node/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/catalog-react/knip-report.md b/plugins/catalog-react/knip-report.md index 03d1ee0396..964e4b4fa4 100644 --- a/plugins/catalog-react/knip-report.md +++ b/plugins/catalog-react/knip-report.md @@ -1,21 +1,9 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (2) -| Name | Location | -|:---------------------------------|:-------------| -| @backstage/plugin-catalog-common | package.json | - -## Unused devDependencies (8) - -| Name | Location | -|:------------------------------------|:-------------| -| @backstage/cli | package.json | -| react-test-renderer | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @backstage/core-app-api | package.json | -| @testing-library/user-event | package.json | -| @backstage/plugin-catalog-common | package.json | -| @backstage/plugin-scaffolder-common | package.json | +| Name | Location | +|:---------------------|:-------------| +| react-test-renderer | package.json | +| @testing-library/dom | package.json | diff --git a/plugins/catalog-unprocessed-entities/knip-report.md b/plugins/catalog-unprocessed-entities/knip-report.md index 9f54e7f06d..56419ede4c 100644 --- a/plugins/catalog-unprocessed-entities/knip-report.md +++ b/plugins/catalog-unprocessed-entities/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/react | package.json | diff --git a/plugins/catalog/knip-report.md b/plugins/catalog/knip-report.md index cdf24bac48..078f190a95 100644 --- a/plugins/catalog/knip-report.md +++ b/plugins/catalog/knip-report.md @@ -6,15 +6,9 @@ |:--------|:-------------| | history | package.json | -## Unused devDependencies (7) +## Unused devDependencies (1) -| 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 | -| @testing-library/user-event | package.json | -| @backstage/plugin-permission-common | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/cicd-statistics-module-gitlab/knip-report.md b/plugins/cicd-statistics-module-gitlab/knip-report.md index 3826e577d2..66601dcd40 100644 --- a/plugins/cicd-statistics-module-gitlab/knip-report.md +++ b/plugins/cicd-statistics-module-gitlab/knip-report.md @@ -6,10 +6,9 @@ |:------|:-------------| | luxon | package.json | -## Unused devDependencies (2) +## Unused devDependencies (1) -| Name | Location | -|:---------------|:-------------| -| @types/react | package.json | -| @backstage/cli | package.json | +| Name | Location | +|:-------------|:-------------| +| @types/react | package.json | diff --git a/plugins/cicd-statistics/knip-report.md b/plugins/cicd-statistics/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/cicd-statistics/knip-report.md +++ b/plugins/cicd-statistics/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/circleci/knip-report.md b/plugins/circleci/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/circleci/knip-report.md +++ b/plugins/circleci/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/cloudbuild/knip-report.md b/plugins/cloudbuild/knip-report.md index ecf6480396..b58bbb7d88 100644 --- a/plugins/cloudbuild/knip-report.md +++ b/plugins/cloudbuild/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/code-climate/knip-report.md b/plugins/code-climate/knip-report.md index ecf6480396..b58bbb7d88 100644 --- a/plugins/code-climate/knip-report.md +++ b/plugins/code-climate/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/code-coverage-backend/knip-report.md b/plugins/code-coverage-backend/knip-report.md index 86e3079791..2661c35327 100644 --- a/plugins/code-coverage-backend/knip-report.md +++ b/plugins/code-coverage-backend/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:-----------------|:-------------| -| xml2js | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/code-coverage/knip-report.md b/plugins/code-coverage/knip-report.md index 2f33ca2948..692a165d1a 100644 --- a/plugins/code-coverage/knip-report.md +++ b/plugins/code-coverage/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (3) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @types/highlightjs | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/codescene/knip-report.md b/plugins/codescene/knip-report.md index efbc44e5d5..b58bbb7d88 100644 --- a/plugins/codescene/knip-report.md +++ b/plugins/codescene/knip-report.md @@ -1,19 +1,9 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (2) -| Name | Location | -|:------------------|:-------------| -| @backstage/config | package.json | - -## Unused devDependencies (6) - -| 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 | +| Name | Location | +|:-----------------------|:-------------| +| @testing-library/dom | package.json | +| @testing-library/react | package.json | diff --git a/plugins/config-schema/knip-report.md b/plugins/config-schema/knip-report.md index 9679afeb54..3620b3a323 100644 --- a/plugins/config-schema/knip-report.md +++ b/plugins/config-schema/knip-report.md @@ -1,10 +1,8 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (1) -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/cost-insights-common/knip-report.md b/plugins/cost-insights-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/cost-insights-common/knip-report.md +++ b/plugins/cost-insights-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/cost-insights/knip-report.md b/plugins/cost-insights/knip-report.md index 942ccee1be..795d658aec 100644 --- a/plugins/cost-insights/knip-report.md +++ b/plugins/cost-insights/knip-report.md @@ -7,15 +7,10 @@ | history | package.json | | @material-ui/styles | package.json | -## Unused devDependencies (7) +## Unused devDependencies (2) -| Name | Location | -|:----------------------------|:-------------| -| canvas | 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 | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| canvas | package.json | +| @testing-library/dom | package.json | diff --git a/plugins/devtools-backend/knip-report.md b/plugins/devtools-backend/knip-report.md index 0c78f2475f..c67c6d55ce 100644 --- a/plugins/devtools-backend/knip-report.md +++ b/plugins/devtools-backend/knip-report.md @@ -1,11 +1,8 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/minimist | package.json | -| @types/supertest | package.json | +| Name | Location | +|:----------------|:-------------| +| @types/minimist | package.json | diff --git a/plugins/devtools-common/knip-report.md b/plugins/devtools-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/devtools-common/knip-report.md +++ b/plugins/devtools-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/devtools/knip-report.md b/plugins/devtools/knip-report.md index 9f54e7f06d..56419ede4c 100644 --- a/plugins/devtools/knip-report.md +++ b/plugins/devtools/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/react | package.json | diff --git a/plugins/dynatrace/knip-report.md b/plugins/dynatrace/knip-report.md index 3770bb993e..b58bbb7d88 100644 --- a/plugins/dynatrace/knip-report.md +++ b/plugins/dynatrace/knip-report.md @@ -1,12 +1,9 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (2) -| 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 | +| Name | Location | +|:-----------------------|:-------------| +| @testing-library/dom | package.json | +| @testing-library/react | package.json | diff --git a/plugins/entity-feedback-backend/knip-report.md b/plugins/entity-feedback-backend/knip-report.md index 3e8751a225..24611c2cf0 100644 --- a/plugins/entity-feedback-backend/knip-report.md +++ b/plugins/entity-feedback-backend/knip-report.md @@ -6,12 +6,3 @@ |:-----------|:-------------| | node-fetch | package.json | -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/entity-feedback-common/knip-report.md b/plugins/entity-feedback-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/entity-feedback-common/knip-report.md +++ b/plugins/entity-feedback-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/entity-feedback/knip-report.md b/plugins/entity-feedback/knip-report.md index c767d8f623..3620b3a323 100644 --- a/plugins/entity-feedback/knip-report.md +++ b/plugins/entity-feedback/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| Name | Location | -|:----------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/entity-validation/knip-report.md b/plugins/entity-validation/knip-report.md index ecf6480396..b58bbb7d88 100644 --- a/plugins/entity-validation/knip-report.md +++ b/plugins/entity-validation/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/events-backend-module-aws-sqs/knip-report.md b/plugins/events-backend-module-aws-sqs/knip-report.md index f8ed497e3c..0325a848ed 100644 --- a/plugins/events-backend-module-aws-sqs/knip-report.md +++ b/plugins/events-backend-module-aws-sqs/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:--------------------------------------------|:-------------| -| @backstage/cli | package.json | -| @aws-sdk/types | package.json | -| aws-sdk-client-mock | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-events-backend-test-utils | package.json | +| Name | Location | +|:---------------|:-------------| +| @aws-sdk/types | package.json | diff --git a/plugins/events-backend-module-azure/knip-report.md b/plugins/events-backend-module-azure/knip-report.md index c0ed269e78..de5b7ea23b 100644 --- a/plugins/events-backend-module-azure/knip-report.md +++ b/plugins/events-backend-module-azure/knip-report.md @@ -6,11 +6,3 @@ |:--------|:-------------| | winston | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:--------------------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-events-backend-test-utils | package.json | - diff --git a/plugins/events-backend-module-bitbucket-cloud/knip-report.md b/plugins/events-backend-module-bitbucket-cloud/knip-report.md index c0ed269e78..de5b7ea23b 100644 --- a/plugins/events-backend-module-bitbucket-cloud/knip-report.md +++ b/plugins/events-backend-module-bitbucket-cloud/knip-report.md @@ -6,11 +6,3 @@ |:--------|:-------------| | winston | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:--------------------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-events-backend-test-utils | package.json | - diff --git a/plugins/events-backend-module-gerrit/knip-report.md b/plugins/events-backend-module-gerrit/knip-report.md index c0ed269e78..de5b7ea23b 100644 --- a/plugins/events-backend-module-gerrit/knip-report.md +++ b/plugins/events-backend-module-gerrit/knip-report.md @@ -6,11 +6,3 @@ |:--------|:-------------| | winston | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:--------------------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-events-backend-test-utils | package.json | - diff --git a/plugins/events-backend-module-github/knip-report.md b/plugins/events-backend-module-github/knip-report.md index c0ed269e78..de5b7ea23b 100644 --- a/plugins/events-backend-module-github/knip-report.md +++ b/plugins/events-backend-module-github/knip-report.md @@ -6,11 +6,3 @@ |:--------|:-------------| | winston | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:--------------------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-events-backend-test-utils | package.json | - diff --git a/plugins/events-backend-module-gitlab/knip-report.md b/plugins/events-backend-module-gitlab/knip-report.md index c0ed269e78..de5b7ea23b 100644 --- a/plugins/events-backend-module-gitlab/knip-report.md +++ b/plugins/events-backend-module-gitlab/knip-report.md @@ -6,11 +6,3 @@ |:--------|:-------------| | winston | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:--------------------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-events-backend-test-utils | package.json | - diff --git a/plugins/events-backend-test-utils/knip-report.md b/plugins/events-backend-test-utils/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/events-backend-test-utils/knip-report.md +++ b/plugins/events-backend-test-utils/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/events-backend/knip-report.md b/plugins/events-backend/knip-report.md index f97871a27b..2661c35327 100644 --- a/plugins/events-backend/knip-report.md +++ b/plugins/events-backend/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:--------------------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-events-backend-test-utils | package.json | - diff --git a/plugins/events-node/knip-report.md b/plugins/events-node/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/events-node/knip-report.md +++ b/plugins/events-node/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/example-todo-list-backend/knip-report.md b/plugins/example-todo-list-backend/knip-report.md index e31e20b852..2661c35327 100644 --- a/plugins/example-todo-list-backend/knip-report.md +++ b/plugins/example-todo-list-backend/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/example-todo-list-common/knip-report.md b/plugins/example-todo-list-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/example-todo-list-common/knip-report.md +++ b/plugins/example-todo-list-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/example-todo-list/knip-report.md b/plugins/example-todo-list/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/example-todo-list/knip-report.md +++ b/plugins/example-todo-list/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/explore-backend/knip-report.md b/plugins/explore-backend/knip-report.md index 899e3d7956..24611c2cf0 100644 --- a/plugins/explore-backend/knip-report.md +++ b/plugins/explore-backend/knip-report.md @@ -1,18 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:-----------------|:-------------| -| node-fetch | package.json | -| @backstage/types | package.json | - -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:-----------|:-------------| +| node-fetch | package.json | diff --git a/plugins/explore-common/knip-report.md b/plugins/explore-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/explore-common/knip-report.md +++ b/plugins/explore-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/explore-react/knip-report.md b/plugins/explore-react/knip-report.md index 0b4e23a04e..70644e01fb 100644 --- a/plugins/explore-react/knip-report.md +++ b/plugins/explore-react/knip-report.md @@ -1,11 +1,10 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (3) | Name | Location | |:-----------------------|:-------------| | @types/react | package.json | -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/explore/knip-report.md b/plugins/explore/knip-report.md index 44a5bee885..3620b3a323 100644 --- a/plugins/explore/knip-report.md +++ b/plugins/explore/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/firehydrant/knip-report.md b/plugins/firehydrant/knip-report.md index 3770bb993e..3620b3a323 100644 --- a/plugins/firehydrant/knip-report.md +++ b/plugins/firehydrant/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/fossa/knip-report.md b/plugins/fossa/knip-report.md index 44a5bee885..b58bbb7d88 100644 --- a/plugins/fossa/knip-report.md +++ b/plugins/fossa/knip-report.md @@ -1,13 +1,9 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (2) -| 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 | +| Name | Location | +|:-----------------------|:-------------| +| @testing-library/dom | package.json | +| @testing-library/react | package.json | diff --git a/plugins/gcalendar/knip-report.md b/plugins/gcalendar/knip-report.md index 58fbe96097..836928ead1 100644 --- a/plugins/gcalendar/knip-report.md +++ b/plugins/gcalendar/knip-report.md @@ -6,13 +6,10 @@ |:------------------------------------|:-------------| | @maxim_mazurok/gapi.client.calendar | package.json | -## Unused devDependencies (5) +## Unused devDependencies (2) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @types/sanitize-html | package.json | +| @testing-library/dom | package.json | diff --git a/plugins/gcp-projects/knip-report.md b/plugins/gcp-projects/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/gcp-projects/knip-report.md +++ b/plugins/gcp-projects/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/git-release-manager/knip-report.md b/plugins/git-release-manager/knip-report.md index 7d4e715dc1..3620b3a323 100644 --- a/plugins/git-release-manager/knip-report.md +++ b/plugins/git-release-manager/knip-report.md @@ -1,11 +1,8 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @backstage/core-app-api | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/github-actions/knip-report.md b/plugins/github-actions/knip-report.md index 3770bb993e..3620b3a323 100644 --- a/plugins/github-actions/knip-report.md +++ b/plugins/github-actions/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/github-deployments/knip-report.md b/plugins/github-deployments/knip-report.md index 44a5bee885..3620b3a323 100644 --- a/plugins/github-deployments/knip-report.md +++ b/plugins/github-deployments/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/github-issues/knip-report.md b/plugins/github-issues/knip-report.md index ecf6480396..b58bbb7d88 100644 --- a/plugins/github-issues/knip-report.md +++ b/plugins/github-issues/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/github-pull-requests-board/knip-report.md b/plugins/github-pull-requests-board/knip-report.md index ecf6480396..3620b3a323 100644 --- a/plugins/github-pull-requests-board/knip-report.md +++ b/plugins/github-pull-requests-board/knip-report.md @@ -1,11 +1,8 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/gitops-profiles/knip-report.md b/plugins/gitops-profiles/knip-report.md index 3770bb993e..b58bbb7d88 100644 --- a/plugins/gitops-profiles/knip-report.md +++ b/plugins/gitops-profiles/knip-report.md @@ -1,12 +1,9 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (2) -| 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 | +| Name | Location | +|:-----------------------|:-------------| +| @testing-library/dom | package.json | +| @testing-library/react | package.json | diff --git a/plugins/gocd/knip-report.md b/plugins/gocd/knip-report.md index 2f750523b0..066001e3d9 100644 --- a/plugins/gocd/knip-report.md +++ b/plugins/gocd/knip-report.md @@ -6,14 +6,9 @@ |:---|:-------------| | qs | package.json | -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/graphiql/knip-report.md b/plugins/graphiql/knip-report.md index 0fb6911e83..ce36adb90f 100644 --- a/plugins/graphiql/knip-report.md +++ b/plugins/graphiql/knip-report.md @@ -6,13 +6,10 @@ |:-----------|:-------------| | graphql-ws | package.json | -## Unused devDependencies (5) +## Unused devDependencies (2) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @types/codemirror | package.json | +| @testing-library/dom | package.json | diff --git a/plugins/graphql-voyager/knip-report.md b/plugins/graphql-voyager/knip-report.md index ecf6480396..b58bbb7d88 100644 --- a/plugins/graphql-voyager/knip-report.md +++ b/plugins/graphql-voyager/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/home-react/knip-report.md b/plugins/home-react/knip-report.md index a2badb7a17..e54f91f933 100644 --- a/plugins/home-react/knip-report.md +++ b/plugins/home-react/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:-------------------------|:-------------| -| @backstage/cli | package.json | | @types/react-grid-layout | package.json | diff --git a/plugins/home/knip-report.md b/plugins/home/knip-report.md index e9ae64e960..3620b3a323 100644 --- a/plugins/home/knip-report.md +++ b/plugins/home/knip-report.md @@ -1,11 +1,8 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:----------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/ilert/knip-report.md b/plugins/ilert/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/ilert/knip-report.md +++ b/plugins/ilert/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/jenkins-backend/knip-report.md b/plugins/jenkins-backend/knip-report.md index 4e473a9f2e..ed17b5a456 100644 --- a/plugins/jenkins-backend/knip-report.md +++ b/plugins/jenkins-backend/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:-----------------|:-------------| -| @backstage/cli | package.json | | @types/supertest | package.json | diff --git a/plugins/jenkins-common/knip-report.md b/plugins/jenkins-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/jenkins-common/knip-report.md +++ b/plugins/jenkins-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/jenkins/knip-report.md b/plugins/jenkins/knip-report.md index ecf6480396..b58bbb7d88 100644 --- a/plugins/jenkins/knip-report.md +++ b/plugins/jenkins/knip-report.md @@ -1,11 +1,9 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/kafka-backend/knip-report.md b/plugins/kafka-backend/knip-report.md index c8923ea814..2661c35327 100644 --- a/plugins/kafka-backend/knip-report.md +++ b/plugins/kafka-backend/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| jest-when | package.json | -| @backstage/cli | package.json | -| @types/jest-when | package.json | - diff --git a/plugins/kafka/knip-report.md b/plugins/kafka/knip-report.md index 67f9dbc286..3620b3a323 100644 --- a/plugins/kafka/knip-report.md +++ b/plugins/kafka/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:-----------------------|:-------------| -| jest-when | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/kubernetes-backend/knip-report.md b/plugins/kubernetes-backend/knip-report.md index 29043eb8d9..bf0ef0a854 100644 --- a/plugins/kubernetes-backend/knip-report.md +++ b/plugins/kubernetes-backend/knip-report.md @@ -1,24 +1,15 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (2) -| Name | Location | -|:-------------------|:-------------| -| morgan | package.json | -| stream-buffers | package.json | -| @jest-mock/express | package.json | +| Name | Location | +|:---------------|:-------------| +| morgan | package.json | +| stream-buffers | package.json | -## Unused devDependencies (9) +## Unused devDependencies (1) -| Name | Location | -|:-------------------------------------------------------------|:-------------| -| ws | package.json | -| msw | package.json | -| supertest | package.json | -| @types/aws4 | package.json | -| @backstage/cli | package.json | -| @backstage/backend-app-api | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-permission-backend | package.json | -| @backstage/plugin-permission-backend-module-allow-all-policy | package.json | +| Name | Location | +|:------------|:-------------| +| @types/aws4 | package.json | diff --git a/plugins/kubernetes-cluster/knip-report.md b/plugins/kubernetes-cluster/knip-report.md index 963f8f85a6..fc27b3ada0 100644 --- a/plugins/kubernetes-cluster/knip-report.md +++ b/plugins/kubernetes-cluster/knip-report.md @@ -10,13 +10,10 @@ | cronstrue | package.json | | @kubernetes-models/base | package.json | -## Unused devDependencies (5) +## Unused devDependencies (2) -| 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 | +|:-----------------------|:-------------| +| @testing-library/dom | package.json | +| @testing-library/react | package.json | diff --git a/plugins/kubernetes-common/knip-report.md b/plugins/kubernetes-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/kubernetes-common/knip-report.md +++ b/plugins/kubernetes-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/kubernetes-node/knip-report.md b/plugins/kubernetes-node/knip-report.md index f45a227afc..2661c35327 100644 --- a/plugins/kubernetes-node/knip-report.md +++ b/plugins/kubernetes-node/knip-report.md @@ -1,14 +1,2 @@ # Knip report -## Unused devDependencies (7) - -| Name | Location | -|:-------------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-common | package.json | -| @backstage/backend-app-api | package.json | -| @backstage/backend-test-utils | package.json | -| @backstage/plugin-kubernetes-backend | package.json | - diff --git a/plugins/kubernetes-react/knip-report.md b/plugins/kubernetes-react/knip-report.md index 176a3af098..2661c35327 100644 --- a/plugins/kubernetes-react/knip-report.md +++ b/plugins/kubernetes-react/knip-report.md @@ -1,13 +1,2 @@ # Knip report -## Unused devDependencies (6) - -| Name | Location | -|:------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| jest-websocket-mock | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @backstage/core-app-api | package.json | - diff --git a/plugins/kubernetes/knip-report.md b/plugins/kubernetes/knip-report.md index b164678b81..976379711d 100644 --- a/plugins/kubernetes/knip-report.md +++ b/plugins/kubernetes/knip-report.md @@ -16,11 +16,9 @@ | @kubernetes-models/base | package.json | | @kubernetes-models/apimachinery | package.json | -## Unused devDependencies (3) +## Unused devDependencies (1) -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/lighthouse-backend/knip-report.md b/plugins/lighthouse-backend/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/lighthouse-backend/knip-report.md +++ b/plugins/lighthouse-backend/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/lighthouse-common/knip-report.md b/plugins/lighthouse-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/lighthouse-common/knip-report.md +++ b/plugins/lighthouse-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/lighthouse/knip-report.md b/plugins/lighthouse/knip-report.md index 44a5bee885..3620b3a323 100644 --- a/plugins/lighthouse/knip-report.md +++ b/plugins/lighthouse/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/linguist-backend/knip-report.md b/plugins/linguist-backend/knip-report.md index 8588b69130..c43ee7028e 100644 --- a/plugins/linguist-backend/knip-report.md +++ b/plugins/linguist-backend/knip-report.md @@ -6,13 +6,3 @@ |:----------------------------|:-------------| | @backstage/plugin-auth-node | package.json | -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| js-yaml | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/linguist-common/knip-report.md b/plugins/linguist-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/linguist-common/knip-report.md +++ b/plugins/linguist-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/linguist/knip-report.md b/plugins/linguist/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/linguist/knip-report.md +++ b/plugins/linguist/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/microsoft-calendar/knip-report.md b/plugins/microsoft-calendar/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/microsoft-calendar/knip-report.md +++ b/plugins/microsoft-calendar/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/newrelic-dashboard/knip-report.md b/plugins/newrelic-dashboard/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/newrelic-dashboard/knip-report.md +++ b/plugins/newrelic-dashboard/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/newrelic/knip-report.md b/plugins/newrelic/knip-report.md index a7fde3968b..b58bbb7d88 100644 --- a/plugins/newrelic/knip-report.md +++ b/plugins/newrelic/knip-report.md @@ -1,12 +1,9 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/nomad-backend/knip-report.md b/plugins/nomad-backend/knip-report.md index e31e20b852..2661c35327 100644 --- a/plugins/nomad-backend/knip-report.md +++ b/plugins/nomad-backend/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/nomad/knip-report.md b/plugins/nomad/knip-report.md index 9f54e7f06d..56419ede4c 100644 --- a/plugins/nomad/knip-report.md +++ b/plugins/nomad/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/react | package.json | diff --git a/plugins/notifications-backend/knip-report.md b/plugins/notifications-backend/knip-report.md index 07cbe4037a..e2b5a1fac9 100644 --- a/plugins/notifications-backend/knip-report.md +++ b/plugins/notifications-backend/knip-report.md @@ -1,19 +1,14 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:------------------|:-------------| -| node-fetch | package.json | -| @backstage/config | package.json | +| Name | Location | +|:-----------|:-------------| +| node-fetch | package.json | -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:----|:-------------| +| msw | package.json | diff --git a/plugins/notifications-common/knip-report.md b/plugins/notifications-common/knip-report.md index 372c0d21f4..1a934d7231 100644 --- a/plugins/notifications-common/knip-report.md +++ b/plugins/notifications-common/knip-report.md @@ -6,9 +6,3 @@ |:-------------------|:-------------| | @material-ui/icons | package.json | -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/notifications-node/knip-report.md b/plugins/notifications-node/knip-report.md index ede95a89bc..f27d8200f6 100644 --- a/plugins/notifications-node/knip-report.md +++ b/plugins/notifications-node/knip-report.md @@ -10,11 +10,3 @@ | @backstage/catalog-client | package.json | | @backstage/plugin-signals-node | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:----------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | - diff --git a/plugins/notifications/knip-report.md b/plugins/notifications/knip-report.md index 9713c78460..b39b31f0ed 100644 --- a/plugins/notifications/knip-report.md +++ b/plugins/notifications/knip-report.md @@ -7,13 +7,10 @@ | @material-ui/lab | package.json | | @backstage/theme | package.json | -## Unused devDependencies (6) +## Unused devDependencies (3) | Name | Location | |:----------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | | @testing-library/user-event | package.json | diff --git a/plugins/octopus-deploy/knip-report.md b/plugins/octopus-deploy/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/octopus-deploy/knip-report.md +++ b/plugins/octopus-deploy/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/opencost/knip-report.md b/plugins/opencost/knip-report.md index ae56051f88..3adcf83e0c 100644 --- a/plugins/opencost/knip-report.md +++ b/plugins/opencost/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:--------------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/jest-dom | package.json | diff --git a/plugins/org-react/knip-report.md b/plugins/org-react/knip-report.md index 7b939bc6d9..3620b3a323 100644 --- a/plugins/org-react/knip-report.md +++ b/plugins/org-react/knip-report.md @@ -1,19 +1,8 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (1) -| Name | Location | -|:--------------------------|:-------------| -| @backstage/catalog-client | package.json | - -## Unused devDependencies (6) - -| 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 | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/org/knip-report.md b/plugins/org/knip-report.md index d2f6612ddc..3620b3a323 100644 --- a/plugins/org/knip-report.md +++ b/plugins/org/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| Name | Location | -|:----------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/types | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @backstage/plugin-catalog | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/pagerduty/knip-report.md b/plugins/pagerduty/knip-report.md index 3770bb993e..3620b3a323 100644 --- a/plugins/pagerduty/knip-report.md +++ b/plugins/pagerduty/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/periskop-backend/knip-report.md b/plugins/periskop-backend/knip-report.md index e31e20b852..2661c35327 100644 --- a/plugins/periskop-backend/knip-report.md +++ b/plugins/periskop-backend/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/periskop/knip-report.md b/plugins/periskop/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/periskop/knip-report.md +++ b/plugins/periskop/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/permission-backend-module-policy-allow-all/knip-report.md b/plugins/permission-backend-module-policy-allow-all/knip-report.md index 2a595acf79..4c06faddc0 100644 --- a/plugins/permission-backend-module-policy-allow-all/knip-report.md +++ b/plugins/permission-backend-module-policy-allow-all/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:------------------------------|:-------------| -| @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | diff --git a/plugins/permission-backend/knip-report.md b/plugins/permission-backend/knip-report.md index cd9ea197f2..9d9866fbe6 100644 --- a/plugins/permission-backend/knip-report.md +++ b/plugins/permission-backend/knip-report.md @@ -6,12 +6,3 @@ |:---|:-------------| | yn | package.json | -## Unused devDependencies (4) - -| Name | Location | -|:-----------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/permission-common/knip-report.md b/plugins/permission-common/knip-report.md index 23d85dc9a4..2661c35327 100644 --- a/plugins/permission-common/knip-report.md +++ b/plugins/permission-common/knip-report.md @@ -1,9 +1,2 @@ # Knip report -## Unused devDependencies (2) - -| Name | Location | -|:---------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | - diff --git a/plugins/permission-node/knip-report.md b/plugins/permission-node/knip-report.md index e03ed5c8a2..2661c35327 100644 --- a/plugins/permission-node/knip-report.md +++ b/plugins/permission-node/knip-report.md @@ -1,12 +1,2 @@ # Knip report -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/permission-react/knip-report.md b/plugins/permission-react/knip-report.md index fb60112aa2..2661c35327 100644 --- a/plugins/permission-react/knip-report.md +++ b/plugins/permission-react/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | - diff --git a/plugins/playlist-backend/knip-report.md b/plugins/playlist-backend/knip-report.md index 3e8751a225..24611c2cf0 100644 --- a/plugins/playlist-backend/knip-report.md +++ b/plugins/playlist-backend/knip-report.md @@ -6,12 +6,3 @@ |:-----------|:-------------| | node-fetch | package.json | -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/playlist-common/knip-report.md b/plugins/playlist-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/playlist-common/knip-report.md +++ b/plugins/playlist-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/playlist/knip-report.md b/plugins/playlist/knip-report.md index 84aa502ad9..3620b3a323 100644 --- a/plugins/playlist/knip-report.md +++ b/plugins/playlist/knip-report.md @@ -1,20 +1,8 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (1) -| Name | Location | -|:------------------------------------|:-------------| -| @backstage/plugin-permission-common | package.json | - -## Unused devDependencies (7) - -| Name | Location | -|:------------------------|:-------------| -| swr | package.json | -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/proxy-backend/knip-report.md b/plugins/proxy-backend/knip-report.md index 6895986f47..b805aad6c3 100644 --- a/plugins/proxy-backend/knip-report.md +++ b/plugins/proxy-backend/knip-report.md @@ -9,16 +9,10 @@ | uuid | package.json | | morgan | package.json | -## Unused devDependencies (8) +## Unused devDependencies (2) -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @types/yup | package.json | -| @types/uuid | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/config-loader | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:------------|:-------------| +| @types/yup | package.json | +| @types/uuid | package.json | diff --git a/plugins/puppetdb/knip-report.md b/plugins/puppetdb/knip-report.md index 96247d3c96..56419ede4c 100644 --- a/plugins/puppetdb/knip-report.md +++ b/plugins/puppetdb/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @backstage/core-app-api | package.json | +| Name | Location | +|:-----------------------|:-------------| +| @testing-library/react | package.json | diff --git a/plugins/rollbar-backend/knip-report.md b/plugins/rollbar-backend/knip-report.md index a4bbbbb810..cde0a94293 100644 --- a/plugins/rollbar-backend/knip-report.md +++ b/plugins/rollbar-backend/knip-report.md @@ -9,13 +9,3 @@ | fs-extra | package.json | | compression | package.json | -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/rollbar/knip-report.md b/plugins/rollbar/knip-report.md index aa8f8b77be..6753bab719 100644 --- a/plugins/rollbar/knip-report.md +++ b/plugins/rollbar/knip-report.md @@ -6,12 +6,9 @@ |:-------|:-------------| | lodash | package.json | -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/scaffolder-backend-module-azure/knip-report.md b/plugins/scaffolder-backend-module-azure/knip-report.md index e0fd9e375f..2661c35327 100644 --- a/plugins/scaffolder-backend-module-azure/knip-report.md +++ b/plugins/scaffolder-backend-module-azure/knip-report.md @@ -1,14 +1,2 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/backend-common | package.json | - -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md b/plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md index 97643caaa1..986d99107d 100644 --- a/plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket-cloud/knip-report.md @@ -1,17 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:--------------------------|:-------------| -| fs-extra | package.json | -| @backstage/backend-common | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:---------|:-------------| +| fs-extra | package.json | diff --git a/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md b/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md index dd5d6b075b..f79901ebd0 100644 --- a/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket-server/knip-report.md @@ -1,17 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:--------------------------|:-------------| -| yaml | package.json | -| @backstage/backend-common | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:-----|:-------------| +| yaml | package.json | diff --git a/plugins/scaffolder-backend-module-bitbucket/knip-report.md b/plugins/scaffolder-backend-module-bitbucket/knip-report.md index 97643caaa1..986d99107d 100644 --- a/plugins/scaffolder-backend-module-bitbucket/knip-report.md +++ b/plugins/scaffolder-backend-module-bitbucket/knip-report.md @@ -1,17 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:--------------------------|:-------------| -| fs-extra | package.json | -| @backstage/backend-common | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:---------|:-------------| +| fs-extra | package.json | diff --git a/plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md b/plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md index 3a54a7981d..2661c35327 100644 --- a/plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md +++ b/plugins/scaffolder-backend-module-confluence-to-markdown/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/scaffolder-backend-module-cookiecutter/knip-report.md b/plugins/scaffolder-backend-module-cookiecutter/knip-report.md index bbd720480b..98eb698cf5 100644 --- a/plugins/scaffolder-backend-module-cookiecutter/knip-report.md +++ b/plugins/scaffolder-backend-module-cookiecutter/knip-report.md @@ -1,17 +1,9 @@ # Knip report -## Unused dependencies (3) +## Unused dependencies (2) -| Name | Location | -|:------------------|:-------------| -| yn | package.json | -| winston | package.json | -| @backstage/config | package.json | - -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:--------|:-------------| +| yn | package.json | +| winston | package.json | diff --git a/plugins/scaffolder-backend-module-gerrit/knip-report.md b/plugins/scaffolder-backend-module-gerrit/knip-report.md index ae9842cd4e..2661c35327 100644 --- a/plugins/scaffolder-backend-module-gerrit/knip-report.md +++ b/plugins/scaffolder-backend-module-gerrit/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-common | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/scaffolder-backend-module-github/knip-report.md b/plugins/scaffolder-backend-module-github/knip-report.md index 9a7a0d3a57..12e9bc4670 100644 --- a/plugins/scaffolder-backend-module-github/knip-report.md +++ b/plugins/scaffolder-backend-module-github/knip-report.md @@ -1,15 +1,5 @@ # Knip report -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| fs-extra | package.json | -| jest-when | package.json | -| jsonschema | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - ## Unlisted dependencies (1) | Name | Location | diff --git a/plugins/scaffolder-backend-module-gitlab/knip-report.md b/plugins/scaffolder-backend-module-gitlab/knip-report.md index f296802cab..2661c35327 100644 --- a/plugins/scaffolder-backend-module-gitlab/knip-report.md +++ b/plugins/scaffolder-backend-module-gitlab/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| jest-date-mock | package.json | -| @backstage/cli | package.json | -| @backstage/core-app-api | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/scaffolder-backend-module-rails/knip-report.md b/plugins/scaffolder-backend-module-rails/knip-report.md index b7d1f647ff..a6ddbda8b6 100644 --- a/plugins/scaffolder-backend-module-rails/knip-report.md +++ b/plugins/scaffolder-backend-module-rails/knip-report.md @@ -1,16 +1,8 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (1) -| Name | Location | -|:------------------|:-------------| -| @backstage/config | package.json | - -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| jest-when | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:----------|:-------------| +| jest-when | package.json | diff --git a/plugins/scaffolder-backend-module-sentry/knip-report.md b/plugins/scaffolder-backend-module-sentry/knip-report.md index 8834481f6c..f79901ebd0 100644 --- a/plugins/scaffolder-backend-module-sentry/knip-report.md +++ b/plugins/scaffolder-backend-module-sentry/knip-report.md @@ -6,12 +6,3 @@ |:-----|:-------------| | yaml | package.json | -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/types | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/scaffolder-backend-module-yeoman/knip-report.md b/plugins/scaffolder-backend-module-yeoman/knip-report.md index c15e502911..de5b7ea23b 100644 --- a/plugins/scaffolder-backend-module-yeoman/knip-report.md +++ b/plugins/scaffolder-backend-module-yeoman/knip-report.md @@ -6,10 +6,3 @@ |:--------|:-------------| | winston | package.json | -## Unused devDependencies (2) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-common | package.json | - diff --git a/plugins/scaffolder-backend/knip-report.md b/plugins/scaffolder-backend/knip-report.md index de66889150..8cdb60963f 100644 --- a/plugins/scaffolder-backend/knip-report.md +++ b/plugins/scaffolder-backend/knip-report.md @@ -6,14 +6,3 @@ |:--------|:-------------| | p-limit | package.json | -## Unused devDependencies (6) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| strip-ansi | package.json | -| @backstage/cli | package.json | -| wait-for-expect | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/scaffolder-common/knip-report.md b/plugins/scaffolder-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/scaffolder-common/knip-report.md +++ b/plugins/scaffolder-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/scaffolder-node/knip-report.md b/plugins/scaffolder-node/knip-report.md index 27a330fa40..2661c35327 100644 --- a/plugins/scaffolder-node/knip-report.md +++ b/plugins/scaffolder-node/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/config | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/scaffolder-react/knip-report.md b/plugins/scaffolder-react/knip-report.md index ffe4b02cf2..b675d80796 100644 --- a/plugins/scaffolder-react/knip-report.md +++ b/plugins/scaffolder-react/knip-report.md @@ -1,26 +1,18 @@ # Knip report -## Unused dependencies (6) +## Unused dependencies (4) | Name | Location | |:--------------------------|:-------------| | zod | package.json | | immer | package.json | -| zen-observable | package.json | -| @backstage/theme | package.json | | zod-to-json-schema | package.json | | @backstage/catalog-client | package.json | -## Unused devDependencies (8) +## Unused devDependencies (2) | 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 | -| @backstage/plugin-catalog | package.json | -| @testing-library/user-event | package.json | | @backstage/plugin-catalog-common | package.json | diff --git a/plugins/scaffolder/knip-report.md b/plugins/scaffolder/knip-report.md index d3f951fd6f..f6677d35aa 100644 --- a/plugins/scaffolder/knip-report.md +++ b/plugins/scaffolder/knip-report.md @@ -9,15 +9,9 @@ | @rjsf/material-ui | package.json | | json-schema-library | package.json | -## Unused devDependencies (7) +## Unused devDependencies (1) -| 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 | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/search-backend-module-catalog/knip-report.md b/plugins/search-backend-module-catalog/knip-report.md index 3a54a7981d..2661c35327 100644 --- a/plugins/search-backend-module-catalog/knip-report.md +++ b/plugins/search-backend-module-catalog/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/search-backend-module-elasticsearch/knip-report.md b/plugins/search-backend-module-elasticsearch/knip-report.md index 80371af481..2661c35327 100644 --- a/plugins/search-backend-module-elasticsearch/knip-report.md +++ b/plugins/search-backend-module-elasticsearch/knip-report.md @@ -1,17 +1,2 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:--------------------------|:-------------| -| @backstage/backend-common | package.json | - -## Unused devDependencies (4) - -| Name | Location | -|:----------------------------|:-------------| -| @backstage/cli | package.json | -| @short.io/opensearch-mock | package.json | -| @backstage/backend-common | package.json | -| @elastic/elasticsearch-mock | package.json | - diff --git a/plugins/search-backend-module-explore/knip-report.md b/plugins/search-backend-module-explore/knip-report.md index 3a54a7981d..2661c35327 100644 --- a/plugins/search-backend-module-explore/knip-report.md +++ b/plugins/search-backend-module-explore/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/search-backend-module-pg/knip-report.md b/plugins/search-backend-module-pg/knip-report.md index d85ea7be07..2661c35327 100644 --- a/plugins/search-backend-module-pg/knip-report.md +++ b/plugins/search-backend-module-pg/knip-report.md @@ -1,15 +1,2 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:-------|:-------------| -| lodash | package.json | - -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/search-backend-module-stack-overflow-collator/knip-report.md b/plugins/search-backend-module-stack-overflow-collator/knip-report.md index 3a54a7981d..2661c35327 100644 --- a/plugins/search-backend-module-stack-overflow-collator/knip-report.md +++ b/plugins/search-backend-module-stack-overflow-collator/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/search-backend-module-techdocs/knip-report.md b/plugins/search-backend-module-techdocs/knip-report.md index 3a54a7981d..2661c35327 100644 --- a/plugins/search-backend-module-techdocs/knip-report.md +++ b/plugins/search-backend-module-techdocs/knip-report.md @@ -1,10 +1,2 @@ # Knip report -## Unused devDependencies (3) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/search-backend-node/knip-report.md b/plugins/search-backend-node/knip-report.md index 1beec7d360..2661c35327 100644 --- a/plugins/search-backend-node/knip-report.md +++ b/plugins/search-backend-node/knip-report.md @@ -1,14 +1,2 @@ # Knip report -## Unused dependencies (1) - -| Name | Location | -|:-------|:-------------| -| lodash | package.json | - -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/search-backend/knip-report.md b/plugins/search-backend/knip-report.md index 22d525923f..2661c35327 100644 --- a/plugins/search-backend/knip-report.md +++ b/plugins/search-backend/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/search-common/knip-report.md b/plugins/search-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/search-common/knip-report.md +++ b/plugins/search-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/search-react/knip-report.md b/plugins/search-react/knip-report.md index 3ab62f70ee..cdde921c7b 100644 --- a/plugins/search-react/knip-report.md +++ b/plugins/search-react/knip-report.md @@ -1,14 +1,9 @@ # Knip report -## Unused devDependencies (7) +## Unused devDependencies (2) -| Name | Location | -|:-------------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @backstage/core-app-api | package.json | -| @testing-library/user-event | package.json | -| @backstage/frontend-app-api | package.json | -| @backstage/frontend-test-utils | package.json | +| Name | Location | +|:----------------------------|:-------------| +| @testing-library/dom | package.json | +| @backstage/frontend-app-api | package.json | diff --git a/plugins/search/knip-report.md b/plugins/search/knip-report.md index c6b6402246..3620b3a323 100644 --- a/plugins/search/knip-report.md +++ b/plugins/search/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| Name | Location | -|:----------------------------|:-------------| -| history | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @backstage/core-app-api | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/sentry/knip-report.md b/plugins/sentry/knip-report.md index 8353ecad20..b4585fc885 100644 --- a/plugins/sentry/knip-report.md +++ b/plugins/sentry/knip-report.md @@ -6,12 +6,10 @@ |:--------------|:-------------| | @date-io/core | package.json | -## Unused devDependencies (4) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | -| @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/shortcuts/knip-report.md b/plugins/shortcuts/knip-report.md index ecf6480396..3620b3a323 100644 --- a/plugins/shortcuts/knip-report.md +++ b/plugins/shortcuts/knip-report.md @@ -1,11 +1,8 @@ # Knip report -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/signals-backend/knip-report.md b/plugins/signals-backend/knip-report.md index 03597de16c..8ab4a18908 100644 --- a/plugins/signals-backend/knip-report.md +++ b/plugins/signals-backend/knip-report.md @@ -8,12 +8,9 @@ | @backstage/config | package.json | | http-proxy-middleware | package.json | -## Unused devDependencies (4) +## Unused devDependencies (1) -| Name | Location | -|:-----------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | +| Name | Location | +|:----|:-------------| +| msw | package.json | diff --git a/plugins/signals-node/knip-report.md b/plugins/signals-node/knip-report.md index ef1a89a394..d4c5e58b40 100644 --- a/plugins/signals-node/knip-report.md +++ b/plugins/signals-node/knip-report.md @@ -11,10 +11,9 @@ | @backstage/backend-common | package.json | | @backstage/plugin-auth-node | package.json | -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:---------------|:-------------| | @types/express | package.json | -| @backstage/cli | package.json | diff --git a/plugins/signals-react/knip-report.md b/plugins/signals-react/knip-report.md index b22feb3580..816333d8ed 100644 --- a/plugins/signals-react/knip-report.md +++ b/plugins/signals-react/knip-report.md @@ -6,11 +6,10 @@ |:------------------|:-------------| | @material-ui/core | package.json | -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | diff --git a/plugins/signals/knip-report.md b/plugins/signals/knip-report.md index 7331067004..a931e9a80c 100644 --- a/plugins/signals/knip-report.md +++ b/plugins/signals/knip-report.md @@ -9,13 +9,11 @@ | @backstage/theme | package.json | | @material-ui/icons | package.json | -## Unused devDependencies (7) +## Unused devDependencies (5) | Name | Location | |:----------------------------|:-------------| | msw | package.json | -| @backstage/cli | package.json | -| jest-websocket-mock | package.json | | @backstage/test-utils | package.json | | @testing-library/react | package.json | | @backstage/core-app-api | package.json | diff --git a/plugins/sonarqube-backend/knip-report.md b/plugins/sonarqube-backend/knip-report.md index e03ed5c8a2..2661c35327 100644 --- a/plugins/sonarqube-backend/knip-report.md +++ b/plugins/sonarqube-backend/knip-report.md @@ -1,12 +1,2 @@ # Knip report -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/sonarqube-react/knip-report.md b/plugins/sonarqube-react/knip-report.md index 588d89283b..d2a8d555ce 100644 --- a/plugins/sonarqube-react/knip-report.md +++ b/plugins/sonarqube-react/knip-report.md @@ -1,9 +1,8 @@ # Knip report -## Unused devDependencies (2) +## Unused devDependencies (1) -| Name | Location | -|:---------------|:-------------| -| @types/react | package.json | -| @backstage/cli | package.json | +| Name | Location | +|:-------------|:-------------| +| @types/react | package.json | diff --git a/plugins/sonarqube/knip-report.md b/plugins/sonarqube/knip-report.md index 44a5bee885..b58bbb7d88 100644 --- a/plugins/sonarqube/knip-report.md +++ b/plugins/sonarqube/knip-report.md @@ -1,13 +1,9 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (2) -| 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 | +| Name | Location | +|:-----------------------|:-------------| +| @testing-library/dom | package.json | +| @testing-library/react | package.json | diff --git a/plugins/splunk-on-call/knip-report.md b/plugins/splunk-on-call/knip-report.md index 3770bb993e..3620b3a323 100644 --- a/plugins/splunk-on-call/knip-report.md +++ b/plugins/splunk-on-call/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/stack-overflow-backend/knip-report.md b/plugins/stack-overflow-backend/knip-report.md index 42a04f1be0..657b4e2f99 100644 --- a/plugins/stack-overflow-backend/knip-report.md +++ b/plugins/stack-overflow-backend/knip-report.md @@ -8,10 +8,9 @@ | winston | package.json | | node-fetch | package.json | -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:------------------------------|:-------------| -| @backstage/cli | package.json | | @backstage/backend-test-utils | package.json | diff --git a/plugins/stack-overflow/knip-report.md b/plugins/stack-overflow/knip-report.md index 5553b3a1f7..3620b3a323 100644 --- a/plugins/stack-overflow/knip-report.md +++ b/plugins/stack-overflow/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:----------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/stackstorm/knip-report.md b/plugins/stackstorm/knip-report.md index 44a5bee885..3620b3a323 100644 --- a/plugins/stackstorm/knip-report.md +++ b/plugins/stackstorm/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| 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 | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/tech-insights-backend-module-jsonfc/knip-report.md b/plugins/tech-insights-backend-module-jsonfc/knip-report.md index bfd4d03096..9442bb1d71 100644 --- a/plugins/tech-insights-backend-module-jsonfc/knip-report.md +++ b/plugins/tech-insights-backend-module-jsonfc/knip-report.md @@ -7,10 +7,3 @@ | luxon | package.json | | @backstage/types | package.json | -## Unused devDependencies (2) - -| Name | Location | -|:------------------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/tech-insights-backend/knip-report.md b/plugins/tech-insights-backend/knip-report.md index 35f2e6fc89..92035bd3ce 100644 --- a/plugins/tech-insights-backend/knip-report.md +++ b/plugins/tech-insights-backend/knip-report.md @@ -7,13 +7,9 @@ | yn | package.json | | uuid | package.json | -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| wait-for-expect | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | +| Name | Location | +|:----------------|:-------------| +| wait-for-expect | package.json | diff --git a/plugins/tech-insights-common/knip-report.md b/plugins/tech-insights-common/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/tech-insights-common/knip-report.md +++ b/plugins/tech-insights-common/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/tech-insights-node/knip-report.md b/plugins/tech-insights-node/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/tech-insights-node/knip-report.md +++ b/plugins/tech-insights-node/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/tech-insights/knip-report.md b/plugins/tech-insights/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/tech-insights/knip-report.md +++ b/plugins/tech-insights/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/tech-radar/knip-report.md b/plugins/tech-radar/knip-report.md index 8fc787027b..3620b3a323 100644 --- a/plugins/tech-radar/knip-report.md +++ b/plugins/tech-radar/knip-report.md @@ -1,13 +1,8 @@ # Knip report -## Unused devDependencies (6) +## Unused devDependencies (1) -| Name | Location | -|:-------------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @testing-library/user-event | package.json | -| @backstage/frontend-test-utils | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/techdocs-addons-test-utils/knip-report.md b/plugins/techdocs-addons-test-utils/knip-report.md index 79290793ca..2bc648851f 100644 --- a/plugins/techdocs-addons-test-utils/knip-report.md +++ b/plugins/techdocs-addons-test-utils/knip-report.md @@ -6,10 +6,9 @@ |:--------------------------|:-------------| | @backstage/plugin-catalog | package.json | -## Unused devDependencies (2) +## Unused devDependencies (1) | Name | Location | |:---------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | diff --git a/plugins/techdocs-backend/knip-report.md b/plugins/techdocs-backend/knip-report.md index 771313f9d2..2661c35327 100644 --- a/plugins/techdocs-backend/knip-report.md +++ b/plugins/techdocs-backend/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/techdocs-module-addons-contrib/knip-report.md b/plugins/techdocs-module-addons-contrib/knip-report.md index 88c7858e93..3620b3a323 100644 --- a/plugins/techdocs-module-addons-contrib/knip-report.md +++ b/plugins/techdocs-module-addons-contrib/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:---------------------------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @backstage/plugin-techdocs-addons-test-utils | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/techdocs-node/knip-report.md b/plugins/techdocs-node/knip-report.md index 5057ef304a..2661c35327 100644 --- a/plugins/techdocs-node/knip-report.md +++ b/plugins/techdocs-node/knip-report.md @@ -1,12 +1,2 @@ # Knip report -## Unused devDependencies (5) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| aws-sdk-client-mock | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/techdocs-react/knip-report.md b/plugins/techdocs-react/knip-report.md index 912e0d57b9..d5e024b535 100644 --- a/plugins/techdocs-react/knip-report.md +++ b/plugins/techdocs-react/knip-report.md @@ -1,18 +1,8 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:------------------|:-------------| -| react-helmet | package.json | -| @material-ui/core | package.json | - -## Unused devDependencies (4) - -| Name | Location | -|:-----------------------|:-------------| -| @backstage/cli | package.json | -| @backstage/theme | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | +| Name | Location | +|:-------------|:-------------| +| react-helmet | package.json | diff --git a/plugins/techdocs/knip-report.md b/plugins/techdocs/knip-report.md index 0aa86b7492..ec1a86cfa3 100644 --- a/plugins/techdocs/knip-report.md +++ b/plugins/techdocs/knip-report.md @@ -1,22 +1,15 @@ # Knip report -## Unused dependencies (2) +## Unused dependencies (1) -| Name | Location | -|:-----------------|:-------------| -| jss | package.json | -| @backstage/theme | package.json | +| Name | Location | +|:----|:-------------| +| jss | package.json | -## Unused devDependencies (8) +## Unused devDependencies (2) -| Name | Location | -|:-------------------------------------------------|:-------------| -| canvas | 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 | -| @testing-library/user-event | package.json | -| @backstage/plugin-techdocs-module-addons-contrib | package.json | +| Name | Location | +|:---------------------|:-------------| +| canvas | package.json | +| @testing-library/dom | package.json | diff --git a/plugins/todo-backend/knip-report.md b/plugins/todo-backend/knip-report.md index 42fe56bac7..dcbe031460 100644 --- a/plugins/todo-backend/knip-report.md +++ b/plugins/todo-backend/knip-report.md @@ -7,11 +7,3 @@ | yn | package.json | | @backstage/repo-tools | package.json | -## Unused devDependencies (3) - -| Name | Location | -|:-----------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/todo/knip-report.md b/plugins/todo/knip-report.md index 9679afeb54..b58bbb7d88 100644 --- a/plugins/todo/knip-report.md +++ b/plugins/todo/knip-report.md @@ -1,10 +1,9 @@ # Knip report -## Unused devDependencies (3) +## Unused devDependencies (2) | Name | Location | |:-----------------------|:-------------| -| @backstage/cli | package.json | | @testing-library/dom | package.json | | @testing-library/react | package.json | diff --git a/plugins/user-settings-backend/knip-report.md b/plugins/user-settings-backend/knip-report.md index 22d525923f..2661c35327 100644 --- a/plugins/user-settings-backend/knip-report.md +++ b/plugins/user-settings-backend/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:------------------------------|:-------------| -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | -| @backstage/backend-test-utils | package.json | - diff --git a/plugins/user-settings/knip-report.md b/plugins/user-settings/knip-report.md index 53337fea0b..3620b3a323 100644 --- a/plugins/user-settings/knip-report.md +++ b/plugins/user-settings/knip-report.md @@ -1,19 +1,8 @@ # Knip report -## Unused dependencies (1) +## Unused devDependencies (1) -| Name | Location | -|:-----------------|:-------------| -| @backstage/theme | package.json | - -## Unused devDependencies (6) - -| Name | Location | -|:----------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/vault-backend/knip-report.md b/plugins/vault-backend/knip-report.md index 9597d52c23..2661c35327 100644 --- a/plugins/vault-backend/knip-report.md +++ b/plugins/vault-backend/knip-report.md @@ -1,11 +1,2 @@ # Knip report -## Unused devDependencies (4) - -| Name | Location | -|:-----------------|:-------------| -| msw | package.json | -| supertest | package.json | -| @backstage/cli | package.json | -| @types/supertest | package.json | - diff --git a/plugins/vault-node/knip-report.md b/plugins/vault-node/knip-report.md index 24c942926b..2661c35327 100644 --- a/plugins/vault-node/knip-report.md +++ b/plugins/vault-node/knip-report.md @@ -1,8 +1,2 @@ # Knip report -## Unused devDependencies (1) - -| Name | Location | -|:---------------|:-------------| -| @backstage/cli | package.json | - diff --git a/plugins/vault/knip-report.md b/plugins/vault/knip-report.md index a469608db4..3620b3a323 100644 --- a/plugins/vault/knip-report.md +++ b/plugins/vault/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:------------------------|:-------------| -| msw | package.json | -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @testing-library/react | package.json | -| @backstage/core-app-api | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/plugins/xcmetrics/knip-report.md b/plugins/xcmetrics/knip-report.md index d0ad73b69c..3620b3a323 100644 --- a/plugins/xcmetrics/knip-report.md +++ b/plugins/xcmetrics/knip-report.md @@ -1,12 +1,8 @@ # Knip report -## Unused devDependencies (5) +## Unused devDependencies (1) -| Name | Location | -|:----------------------------|:-------------| -| @backstage/cli | package.json | -| @testing-library/dom | package.json | -| @backstage/test-utils | package.json | -| @testing-library/react | package.json | -| @testing-library/user-event | package.json | +| Name | Location | +|:---------------------|:-------------| +| @testing-library/dom | package.json | diff --git a/scripts/check-docs-quality.js b/scripts/check-docs-quality.js index b0c5790467..119dd6bef4 100755 --- a/scripts/check-docs-quality.js +++ b/scripts/check-docs-quality.js @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + const { spawnSync } = require('child_process'); const { resolve: resolvePath, @@ -21,7 +22,7 @@ const { } = require('path'); const fs = require('fs').promises; -const IGNORED = [ +const IGNORED_WHEN_LISTING = [ /^ADOPTERS\.md$/, /^OWNERS\.md$/, /^.*[/\\]CHANGELOG\.md$/, @@ -31,6 +32,8 @@ const IGNORED = [ /^docs[/\\]reference[/\\]/, ]; +const IGNORED_WHEN_EXPLICIT = [/^.*[/\\]knip-report\.md$/]; + const rootDir = resolvePath(__dirname, '..'); // Manual listing to avoid dependency install for listing files in CI @@ -42,7 +45,7 @@ async function listFiles(dir = '') { .map(async file => { const path = joinPath(dir, file); - if (IGNORED.some(pattern => pattern.test(path))) { + if (IGNORED_WHEN_LISTING.some(pattern => pattern.test(path))) { return []; } if ((await fs.stat(path)).isDirectory()) { @@ -114,7 +117,9 @@ async function main() { const absolutePaths = process.argv .slice(2) .filter(path => !path.startsWith('-')); - const relativePaths = absolutePaths.map(path => relativePath(rootDir, path)); + const relativePaths = absolutePaths + .map(path => relativePath(rootDir, path)) + .filter(path => !IGNORED_WHEN_EXPLICIT.some(pattern => pattern.test(path))); const success = await runVale( relativePaths.length === 0 ? await listFiles() : relativePaths, From 4c49b15de16cdff6227e64724eeeac455ff47273 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Thu, 8 Feb 2024 11:02:20 +0100 Subject: [PATCH 80/82] knip files should be owned just by us MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index d10106e47f..75416ace16 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -86,3 +86,5 @@ yarn.lock @backstage/maintainers @backst /plugins/tech-insights-backend-module-jsonfc @backstage/maintainers @backstage/reviewers @xantier /plugins/tech-insights-tech-insights-common @backstage/maintainers @backstage/reviewers @xantier /plugins/tech-insights-tech-insights-node @backstage/maintainers @backstage/reviewers @xantier + +knip-report.md From 9cb48966b85a79b5987f157fbb05d35b39d0a7bd Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 8 Feb 2024 12:27:05 +0100 Subject: [PATCH 81/82] Apply suggestions from code review Signed-off-by: Patrik Oldsberg --- .github/vale/config/vocabularies/Backstage/accept.txt | 3 --- .../building-plugins/04-built-in-data-refs.md | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/vale/config/vocabularies/Backstage/accept.txt b/.github/vale/config/vocabularies/Backstage/accept.txt index aa21c61ae5..940e855828 100644 --- a/.github/vale/config/vocabularies/Backstage/accept.txt +++ b/.github/vale/config/vocabularies/Backstage/accept.txt @@ -305,7 +305,6 @@ Pulumi pygments pymdownx rankdir -reactElement readme Readme readonly @@ -331,8 +330,6 @@ Rollbar Rollup routable Routable -routePath -routeRef Rspack rst rsync diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index 57d580fa8a..dacbbf30f1 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -14,7 +14,7 @@ To have a better understanding of extension data references please read [the cor Data references help to define the inputs and outputs of an extension. A data ref is uniquely identified through its `id`. Through the data ref, strong typing is enforced for the input/output of the extension. -### reactElement +### `reactElement` | id | type | | :-----------------: | :-----------: | @@ -40,7 +40,7 @@ const homePage = createPageExtension({ }); ``` -### routePath +### `routePath` | id | type | | :-----------------: | :------: | @@ -48,7 +48,7 @@ const homePage = createPageExtension({ The `routePath` data reference can be used for defining the extension input/output of string paths. -### routeRef +### `routeRef` | id | type | | :----------------: | :--------: | From 7ca20761e9329128f93b4e4986b2bcdcd8abd56d Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 8 Feb 2024 18:37:07 +0100 Subject: [PATCH 82/82] e2e-test: add test for backwards compatibility with React 17 Signed-off-by: Patrik Oldsberg --- packages/e2e-test/src/commands/run.ts | 43 +++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/packages/e2e-test/src/commands/run.ts b/packages/e2e-test/src/commands/run.ts index cadd7b878d..9a9bf556ee 100644 --- a/packages/e2e-test/src/commands/run.ts +++ b/packages/e2e-test/src/commands/run.ts @@ -71,6 +71,20 @@ export async function run() { env: { ...process.env, CI: undefined }, }); + await switchToReact17(appDir); + + print(`Running 'yarn install' to install React 17`); + await runPlain(['yarn', 'install'], { cwd: appDir }); + + print(`Running 'yarn tsc' with React 17`); + await runPlain(['yarn', 'tsc'], { cwd: appDir }); + + print(`Running 'yarn test:e2e' with React 17`); + await runPlain(['yarn', 'test:e2e'], { + cwd: appDir, + env: { ...process.env, CI: undefined }, + }); + if ( Boolean(process.env.POSTGRES_USER) || Boolean(process.env.MYSQL_CONNECTION) @@ -393,6 +407,35 @@ async function createPlugin(options: { } } +/** + * Switch the entire project to use React 17 + */ +async function switchToReact17(appDir: string) { + const rootPkg = await fs.readJson(resolvePath(appDir, 'package.json')); + rootPkg.resolutions = { + ...(rootPkg.resolutions || {}), + react: '^17.0.0', + 'react-dom': '^17.0.0', + '@types/react': '^17.0.0', + '@types/react-dom': '^17.0.0', + }; + await fs.writeJson(resolvePath(appDir, 'package.json'), rootPkg, { + spaces: 2, + }); + + await fs.writeFile( + resolvePath(appDir, 'packages/app/src/index.tsx'), + `import '@backstage/cli/asset-types'; +import React from 'react'; +import ReactDOM from 'react-dom'; +import App from './App'; + +ReactDOM.render(, document.getElementById('root')); +`, + 'utf8', + ); +} + /** Drops PG databases */ async function dropDB(database: string, client: string) { try {