Skip to content

update @patternslib/dev to 4.2.0 and Babel to 8 - #1652

Merged
petschki merged 1 commit into
masterfrom
prepare-release-5.7.0-alpha.3
Sep 17, 2026
Merged

petschki merged 1 commit into
masterfrom
prepare-release-5.7.0-alpha.3

Conversation

@petschki

Copy link
Copy Markdown
Member

@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.

@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
petschki force-pushed the prepare-release-5.7.0-alpha.3 branch from d2e1a5f to acdfe34 Compare September 17, 2026 13:45
@petschki

Copy link
Copy Markdown
Member Author

/run-coredev-6.3-robottests

@petschki
petschki merged commit 0eb0471 into master Sep 17, 2026
4 checks passed
@petschki
petschki deleted the prepare-release-5.7.0-alpha.3 branch September 17, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant