Skip to content

[7.x] Introduce TS incremental builds & move src/test_utils to TS project (#76082)#76632

Merged
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-76082
Sep 3, 2020
Merged

[7.x] Introduce TS incremental builds & move src/test_utils to TS project (#76082)#76632
mshustov merged 1 commit intoelastic:7.xfrom
mshustov:backport/7.x/pr-76082

Conversation

@mshustov
Copy link
Copy Markdown
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
@mshustov mshustov added the backport This PR is a backport of another PR label Sep 3, 2020
@kibanamachine
Copy link
Copy Markdown
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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants