mirror of
https://github.com/elastic/kibana.git
synced 2025-07-01 04:23:21 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [SKA: Categorise remaining packages (#205875)](https://github.com/elastic/kibana/pull/205875) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Gerard Soldevila","email":"gerard.soldevila@elastic.co"},"sourceCommit":{"committedDate":"2025-01-08T21:20:14Z","message":"SKA: Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete unused package `@kbn/formatters`\r\n* Delete unused package `@kbn/response-ops-feature-flag-service`\r\n* Flag `@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag `@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as `devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as `devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/saved-search-component` as `platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as `platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-management"],"number":205875,"url":"https://github.com/elastic/kibana/pull/205875","mergeCommit":{"message":"SKA: Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete unused package `@kbn/formatters`\r\n* Delete unused package `@kbn/response-ops-feature-flag-service`\r\n* Flag `@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag `@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as `devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as `devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/saved-search-component` as `platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as `platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205875","number":205875,"mergeCommit":{"message":"SKA: Categorise remaining packages (#205875)\n\n## Summary\r\n\r\n* Delete unused package `@kbn/formatters`\r\n* Delete unused package `@kbn/response-ops-feature-flag-service`\r\n* Flag `@kbn/generate-console-definitions` as `devOnly: true`\r\n* Flag `@kbn/plugin-check` as `devOnly: true`\r\n* Flag `@kbn/set-map` as `devOnly: true`\r\n* Flag `@kbn/synthetics-private-location` as `devOnly: true`\r\n* Categorise `@kbn/calculate-auto` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/saved-search-component` as `platform/shared`\r\n* Categorise `@kbn/use-tracked-promise` as `platform/shared`\r\n* Categorise `@kbn/charts-theme` as `platform/shared`\r\n* Categorise `@kbn/response-ops-rule-form` as `platform/shared`","sha":"2be928c489601fac46ce1e5136ed9ecc63fd4e22"}}]}] BACKPORT--> |
||
---|---|---|
.. | ||
dependencies | ||
lib | ||
.eslintrc.json | ||
const.ts | ||
dependents.ts | ||
index.ts | ||
jest.config.js | ||
kibana.jsonc | ||
package.json | ||
rank.ts | ||
README.md | ||
tsconfig.json | ||
types.ts |
@kbn/plugin-check
This package contains a CLI to detect inconsistencies between the manifest and Typescript types of a Kibana plugin. Future work will include automatically fixing these inconsistencies.
Usage
To check a single plugin, run the following command from the root of the Kibana repo:
node scripts/plugin_check --plugin pluginName
To check all plugins owned by a team, run the following:
node scripts/plugin_check --team @elastic/team_name