improve: @roots/bud-typescript configurability #1062
Merged
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.
Overview
Moves loader options to extension options store
bud/sources/@roots/bud-typescript/src/BudTypeScriptExtension.ts
Lines 18 to 20 in 779380b
bud/sources/@roots/bud-typescript/src/BudTypeScriptExtension.ts
Lines 29 to 30 in 779380b
Improves bud.typecheck options
bud/sources/@roots/bud-typescript/src/api.ts
Lines 7 to 30 in 779380b
Improves default
fork-ts-webpack-plugin
optionsExplicitly resolving ts gives us a better degree of confidence that ts will be found. But there are other improvements.
bud/sources/@roots/bud-typescript/src/constants.ts
Lines 8 to 45 in 779380b
generally improves typings and api docblocks
The biggest improvement here is intellisense for
bud.typecheck
.refers: none
closes: none
Type of change
This PR includes breaking changes to the following core packages:
This PR includes breaking changes to the follow extensions:
Proposed changes
Dependency changes
Todo