Skip to content

[7.x] Add script to identify plugin dependencies for TS project references migration (#80463)#80811

Merged
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-80463
Oct 16, 2020
Merged

[7.x] Add script to identify plugin dependencies for TS project references migration (#80463)#80811
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-80463

Conversation

@mshustov
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

…migration (elastic#80463)

* move kbn-dev-utils plugin helpers under a dedicated folder

* use getPluginSearchPaths in kbn-config & kbn-optimizer

* add a script to find plugin dependencies not migrated to TS project refs

* update docs

* add a script reporting all circular deps between plugins

based on kibana.json declaration, so it doesn't provide all the cases

* fix optimizer scan logic. removed by mistake

* revert changes. fails on CI

* remove prod depenedency on kbn/dev-utils

* remove last export

* only run plugin discovery once to speed up circular dep detection

* address comments

* address comments

* update fixtures

Co-authored-by: spalger <spalger@users.noreply.github.com>
@mshustov mshustov added the backport This PR is a backport of another PR label Oct 16, 2020
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

distributable file count

id before after diff
default 48392 48394 +2
oss 28752 28754 +2

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mshustov mshustov merged commit cf9c0e1 into elastic:7.x Oct 16, 2020
@mshustov mshustov deleted the backport/7.x/pr-80463 branch October 16, 2020 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants