Repository navigation
update @patternslib/dev to 4.2.0 and Babel to 8 - #1652
Merged
Merged
Conversation
@patternslib/dev 4.2.0 ships the production source map setup this package needed (nosources-source-map, css/sass source maps off) and upgrades to Babel 8 targeting ES6+ browsers. Babel 8 removes the allowDeclareFields and allExtensions options of @babel/preset-typescript (both are now the default behaviour), so drop them from the babel config, the svelte runes-in-module webpack rule and the jest transformer. @babel/core is declared as a devDependency, as the babel config and the jest transformer require it directly, and pinned to 8 via a pnpm override: babel-jest otherwise resolves its @babel/core peer to a second 7.x instance, under which the Babel 8 presets do not strip TypeScript and the .ts test suites fail to parse.
petschki
force-pushed
the
prepare-release-5.7.0-alpha.3
branch
from
September 17, 2026 13:45
d2e1a5f to
acdfe34
Compare
Member
Author
|
/run-coredev-6.3-robottests |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
@patternslib/dev 4.2.0 ships the production source map setup this package needed (nosources-source-map, css/sass source maps off) and upgrades to Babel 8 targeting ES6+ browsers.
Babel 8 removes the allowDeclareFields and allExtensions options of @babel/preset-typescript (both are now the default behaviour), so drop them from the babel config, the svelte runes-in-module webpack rule and the jest transformer. @babel/core is declared as a devDependency, as the babel config and the jest transformer require it directly, and pinned to 8 via a pnpm override: babel-jest otherwise resolves its @babel/core peer to a second 7.x instance, under which the Babel 8 presets do not strip TypeScript and the .ts test suites fail to parse.