kibana/packages/kbn-ts-projects
Spencer b8334e2020
[tsProjects] auto-rebuild tsconfig-paths.json cache (#148743)
Updates the TsProject loading logic to automatically rebuild the
tsconfig-paths.json cache of tsconfig file locations which was
previously only updated by bootstrap. This means that people will no
longer be stopped when they are running tasks which didn't used to
strictly require a bootstrap, and told to bootstrap the repo. This is
specifically usable in this context because we are only populating the
cache in bootstrap because we are already scanning all the files in the
repo at that point. It's a quick operation (though one we ideally
wouldn't be executing constantly), so adding it here too just provides a
better DX.

Additionally, this PR adds a check to the start of the precommit hook
which will bootstrap the repo if the user just finished resolving a
merge. This puts the repo in a more correct state before running code to
validate code via eslint, etc.

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-01-11 16:09:11 -07:00
..
index.ts Implement package linter (#148496) 2023-01-09 16:49:29 -07:00
jest.config.js Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
kibana.jsonc Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
package.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
README.md Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
ts_configfile.ts Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
ts_project.ts [tsProjects] auto-rebuild tsconfig-paths.json cache (#148743) 2023-01-11 16:09:11 -07:00
ts_projects.ts [docs-utils] remove extra api_docs dir (#148658) 2023-01-10 12:20:35 -07:00
tsconfig.json [tsProjects] auto-rebuild tsconfig-paths.json cache (#148743) 2023-01-11 16:09:11 -07:00

@kbn/ts-projects

Empty package generated by @kbn/generate