[bazel/packages] find typescript projects in new bazel package dirs (#130390)

This commit is contained in:
Spencer 2022-04-15 11:21:40 -05:00 committed by GitHub
parent 42dcc03955
commit 54dffea930
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,6 +9,7 @@
import glob from 'glob';
import Path from 'path';
import { REPO_ROOT } from '@kbn/utils';
import { BAZEL_PACKAGE_DIRS } from '@kbn/bazel-packages';
import { Project, ProjectOptions } from './project';
/**
@ -72,7 +73,6 @@ export const PROJECTS = [
disableTypeCheck: true,
}),
...findProjects('packages/*/tsconfig.json'),
...findProjects('src/plugins/*/tsconfig.json'),
...findProjects('src/plugins/chart_expressions/*/tsconfig.json'),
...findProjects('src/plugins/vis_types/*/tsconfig.json'),
@ -83,4 +83,6 @@ export const PROJECTS = [
...findProjects('test/interpreter_functional/plugins/*/tsconfig.json'),
...findProjects('test/server_integration/__fixtures__/plugins/*/tsconfig.json'),
...findProjects('packages/kbn-type-summarizer/tests/tsconfig.json'),
...BAZEL_PACKAGE_DIRS.flatMap((dir) => findProjects(`${dir}/*/tsconfig.json`)),
];