Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[7.x] TS Incremental build exclude test files (#95610) #96041

Merged
merged 3 commits into from
Apr 2, 2021

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Apr 1, 2021

Backports the following commits to 7.x:

* add base config for all the TS projects

* all the project use new tsconfig.project.json

* compile test files in the high-level tsconfig.json

* fix TS error in maps plugin

* fix TS error in infra plugin

* exclude mote test and test until folders

* uptime. do not import test code within prod code

* expressions. do not import test code within prod code

* data: export mocks from high level folder

* task_manager: comply with es client typings

* infra: remove unused enzyme_helpers

* check_ts_project requires "include" key

* ts_check should handle parent configs

* all ts configs should extend base one

* exclude test folders from plugins

* update patterns to fix ts_check errors

* Apply suggestions from code review

Co-authored-by: Constance <[email protected]>

* uptime: MountWithReduxProvider to test helpers

Co-authored-by: Constance <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
@mshustov mshustov enabled auto-merge (squash) April 1, 2021 12:45
@mshustov
Copy link
Contributor Author

mshustov commented Apr 2, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
expressions 151 150 -1
uptime 607 606 -1
total -2

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
uptime 880.2KB 880.2KB -47.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
expressions 192.9KB 192.6KB -349.0B

History

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

@mshustov mshustov merged commit ebdcd92 into elastic:7.x Apr 2, 2021
@mshustov mshustov deleted the backport/7.x/pr-95610 branch April 2, 2021 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants