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] Introduce TS incremental builds & move src/test_utils to TS project (#76082) #76632

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

mshustov
Copy link
Contributor

@mshustov mshustov commented Sep 3, 2020

Backports the following commits to 7.x:

…lastic#76082)

* move test_helpers to the core

* create base tsconfig

* all tsconfigs use the base one

* use test_helpers exposed from the src/core

* move getFieldFormatsRegistry to data plugin

* add test_utils project

* compile types after checkout

* add a stub for platform tsconfig.json

* fix broken import

* fix broken path to the base config

* set tsBuildInfoFile for project without outDir

* do not commit tsbuildinfo file

* do not check output d.ts files

* fix type error

* use separate config to build types

* rollback changes to include paths

* mute import zone error

* rename files to avoid references to tsd

* do not use tsd for type tests

* include all ts files in project

* run buildRefs before type check to ensure the latest version

* store tsbuildinfo locally

* update paths to base config

* comment out core/tsconfig.json

* remove ui path

* fix wrong tsbuildinfo path
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

async chunks size

id value diff baseline
enterpriseSearch 371.9KB +30.0B 371.9KB

page load bundle size

id value diff baseline
upgradeAssistant 64.3KB +30.0B 64.2KB

oss distributable file count

id value diff baseline
total 28993 +6 28987

distributable file count

id value diff baseline
total 47180 +6 47174

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

@mshustov mshustov merged commit bd66fab into elastic:7.x Sep 3, 2020
@mshustov mshustov deleted the backport/7.x/pr-76082 branch September 3, 2020 21:02
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