Sustainable Kibana Architecture: Update tooling to take into account the new folders (#202327)

## Summary

Otherwise we're going to be removing APIs of relocated modules.
This commit is contained in:
Gerard Soldevila 2024-12-02 11:04:35 +01:00 committed by GitHub
parent d8f3f4cb3c
commit 397314c952
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 39 additions and 3 deletions

View file

@ -457,7 +457,11 @@ function getTsProject(repoPath: string, overridePath?: string) {
if (!overridePath) {
project.addSourceFilesAtPaths([`${repoPath}/x-pack/plugins/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/x-pack/packages/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/x-pack/platform/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/x-pack/solutions/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/src/plugins/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/src/platform/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/src/core/packages/**/*.ts`, '!**/*.d.ts']);
project.addSourceFilesAtPaths([`${repoPath}/packages/**/*.ts`, '!**/*.d.ts']);
} else {
project.addSourceFilesAtPaths([`${overridePath}/**/*.ts`, '!**/*.d.ts']);