Repository navigation
perf(ts): add type views for type-only actions #404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
b9b63d4
perf(ts): stage npm type views in the type actions
aronstrandberg defa22a
test(integration): expect the consumer's type view link in TsgoCheck'…
aronstrandberg ef10012
fix(npm): give a publicly hoisted member's link a type view twin
aronstrandberg 9e5975e
perf(ts): keep TsLint on type views with its config's links as trees
aronstrandberg d37fff0
fix(ts): lay a nested lockfile root's runtime links at the program root
aronstrandberg 079343d
docs(changelog): the type views' numbers on current lovable main
aronstrandberg 1f940dc
docs(tsaction): put linkAt's doc comment back above linkAt
aronstrandberg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| ### Changed | ||
|
|
||
| - **Type checking and linting stage each npm package's type view instead of | ||
| its tree.** Each store target declares a view of its tree with the files | ||
| TypeScript's resolution reads: `package.json`, JSON, TypeScript sources and | ||
| declarations, and JavaScript with no declaration TypeScript tries in its | ||
| place. Views sit at the same paths under `node_modules.types/`, with twins | ||
| of the edge, hoist and importer links. TsEmit, TsgoCheck, TsgoDeclare and | ||
| TsLint stage the views, with the links the lint configuration's `data` | ||
| names laid over them as trees; every runtime action stages the trees. | ||
| `type_views = False` on a `ts_compile` or `ts_test` restores the trees for | ||
| that program, and `--//ts:type_views=false` for every program. Over a monorepo's 1,058 | ||
| programs, TsgoCheck and TsLint stage a third fewer files and spend 10% less | ||
| worker time. `TsInfo` gains `npm_view_files`; a `TsInfo` built without it | ||
| makes its dependents' programs read the trees. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.