mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[packages] migrate all plugins to packages (#148130)
Fixes https://github.com/elastic/kibana/issues/149344 This PR migrates all plugins to packages automatically. It does this using `node scripts/lint_packages` to automatically migrate `kibana.json` files to `kibana.jsonc` files. By doing this automatically we can simplify many build and testing procedures to only support packages, and not both "packages" and "synthetic packages" (basically pointers to plugins). The majority of changes are in operations related code, so we'll be having operations review this before marking it ready for review. The vast majority of the code owners are simply pinged because we deleted all `kibana.json` files and replaced them with `kibana.jsonc` files, so we plan on leaving the PR ready-for-review for about 24 hours before merging (after feature freeze), assuming we don't have any blockers (especially from @elastic/kibana-core since there are a few core specific changes, though the majority were handled in #149370). --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
26c8d714cd
commit
1b85815402
1044 changed files with 11279 additions and 11058 deletions
|
@ -1,35 +0,0 @@
|
|||
{
|
||||
"id": "ux",
|
||||
"version": "8.0.0",
|
||||
"kibanaVersion": "kibana",
|
||||
"requiredPlugins": [
|
||||
"features",
|
||||
"data",
|
||||
"dataViews",
|
||||
"licensing",
|
||||
"triggersActionsUi",
|
||||
"embeddable",
|
||||
"infra",
|
||||
"inspector",
|
||||
"apm"
|
||||
],
|
||||
"optionalPlugins": [
|
||||
"cloud",
|
||||
"usageCollection",
|
||||
"taskManager",
|
||||
"actions",
|
||||
"alerts",
|
||||
"observability",
|
||||
"security",
|
||||
"maps",
|
||||
"lens"
|
||||
],
|
||||
"server": false,
|
||||
"ui": true,
|
||||
"configPath": ["xpack", "ux"],
|
||||
"requiredBundles": ["kibanaReact", "observability", "maps"],
|
||||
"owner": {
|
||||
"name": "Uptime",
|
||||
"githubTeam": "uptime"
|
||||
}
|
||||
}
|
41
x-pack/plugins/ux/kibana.jsonc
Normal file
41
x-pack/plugins/ux/kibana.jsonc
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"type": "plugin",
|
||||
"id": "@kbn/ux-plugin",
|
||||
"owner": "@elastic/uptime",
|
||||
"plugin": {
|
||||
"id": "ux",
|
||||
"server": false,
|
||||
"browser": true,
|
||||
"configPath": [
|
||||
"xpack",
|
||||
"ux"
|
||||
],
|
||||
"requiredPlugins": [
|
||||
"features",
|
||||
"data",
|
||||
"dataViews",
|
||||
"licensing",
|
||||
"triggersActionsUi",
|
||||
"embeddable",
|
||||
"infra",
|
||||
"inspector",
|
||||
"apm"
|
||||
],
|
||||
"optionalPlugins": [
|
||||
"cloud",
|
||||
"usageCollection",
|
||||
"taskManager",
|
||||
"actions",
|
||||
"alerts",
|
||||
"observability",
|
||||
"security",
|
||||
"maps",
|
||||
"lens"
|
||||
],
|
||||
"requiredBundles": [
|
||||
"kibanaReact",
|
||||
"observability",
|
||||
"maps"
|
||||
]
|
||||
}
|
||||
}
|
|
@ -6,11 +6,9 @@
|
|||
*/
|
||||
|
||||
/* eslint-disable no-console */
|
||||
/* eslint-disable @kbn/imports/uniform_imports */
|
||||
|
||||
const {
|
||||
executeSyntheticsRunner,
|
||||
} = require('../../synthetics/scripts/base_e2e');
|
||||
} = require('@kbn/synthetics-plugin/scripts/base_e2e');
|
||||
const path = require('path');
|
||||
|
||||
const e2eDir = path.join(__dirname, '../e2e');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue