Revert "Remove ts refs build from bootstrap (#125314)"

This reverts commit 680ef03483.
This commit is contained in:
Jonathan Budzenski 2022-02-16 10:14:42 -06:00
parent 68f475f0ed
commit 8757e965fc
2 changed files with 17 additions and 0 deletions

View file

@ -8987,6 +8987,13 @@ const BootstrapCommand = {
}, {
prefix: '[vscode]',
debug: false
});
await Object(_utils_child_process__WEBPACK_IMPORTED_MODULE_3__["spawnStreaming"])(process.execPath, ['scripts/build_ts_refs', '--ignore-type-failures'], {
cwd: kbn.getAbsolute(),
env: process.env
}, {
prefix: '[ts refs]',
debug: false
}); // send timings
await reporter.timings({

View file

@ -137,6 +137,16 @@ export const BootstrapCommand: ICommand = {
{ prefix: '[vscode]', debug: false }
);
await spawnStreaming(
process.execPath,
['scripts/build_ts_refs', '--ignore-type-failures'],
{
cwd: kbn.getAbsolute(),
env: process.env,
},
{ prefix: '[ts refs]', debug: false }
);
// send timings
await reporter.timings({
upstreamBranch: kbn.kibanaProject.json.branch,