chore(deps): update dependency tsdown to ^0.21.0#2817
Conversation
|
ea4a9a3 to
bba431f
Compare
bba431f to
b6bbd47
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2817 +/- ##
========================================
Coverage 95.26% 95.26%
========================================
Files 73 73
Lines 1774 1774
Branches 552 552
========================================
Hits 1690 1690
Misses 84 84 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This PR contains the following updates:
^0.20.3→^0.21.0Release Notes
rolldown/tsdown (tsdown)
v0.21.1Compare Source
🚨 Breaking Changes
@tsdown/csspackage - by @sxzz in #809 (1b1a1)🚀 Features
css.injectoption to preserve CSS imports in JS output - by @sxzz and Claude Haiku 4.5 in #808 (ad745)?inlinequery for CSS imports - by @sxzz in #810 (b7379)node_modulespackage resolution - by @sxzz and Claude Haiku 4.5 in #812 (b06b4)🐞 Bug Fixes
View changes on GitHub
v0.21.0Compare Source
v0.21.0 - Notable Changes
Breaking Changes
Dependency options renamed to
depsnamespaceThe dependency-related options have been moved under a new
depsnamespace with clearer names:external->deps.neverBundlenoExternal->deps.alwaysBundleinlineOnly->deps.onlyAllowBundleskipNodeModulesBundle->deps.skipNodeModulesBundleBefore:
After:
The old options still work but are deprecated and will emit warnings.
failOnWarndefault changed from'ci-only'tofalseIf you relied on the previous behavior where warnings would fail the build in CI environments, you now need to explicitly set
failOnWarn: trueorfailOnWarn: 'ci-only'in your config.Node.js < 22.18.0 deprecated
tsdown now emits a deprecation warning when running on Node.js versions below 22.18.0. Plan to upgrade your Node.js version accordingly.
New Features
Experimental Node.js SEA executable bundling (
exe)tsdown can now bundle your TypeScript project into a standalone executable using Node.js Single Executable Applications (SEA). A new
@tsdown/exepackage provides cross-platform executable building support. See the exe documentation for details.Full CSS pipeline with
@tsdown/cssCSS handling has been reimplemented as a native Rolldown plugin and extracted into the
@tsdown/csspackage, providing a complete CSS pipeline with Lightning CSS and PostCSS support via thecss.transformeroption. See the CSS documentation for details.inlinedDependenciesfield in package.jsonWhen using the
exportsfeature, tsdown now auto-generates aninlinedDependenciesfield in your package.json, listing dependencies that are bundled into the output.Object option for
customExportscustomExportsnow supports an object format for more fine-grained control over the generated exports field.Migration Guide
external->deps.neverBundle,noExternal->deps.alwaysBundle, etc.failOnWarn: If you need warnings to fail the build in CI, explicitly setfailOnWarn: 'ci-only'orfailOnWarn: true.Links
🚨 Breaking Changes
failOnWarndefault from 'ci-only' to false - by @sxzz (ad8db)🚀 Features
depsnamespace - by @sxzz (7f509).nodefiles by default - by @sxzz (944e9)@tsdown/csspackage - by @sxzz in #790 (e4cbe)css.transformeroption - by @sxzz in #791 (35bef)css.transformertolightningcss- by @sxzz in #797 (288a5)@tsdown/exe- by @sxzz in #786 (b6833)latestandlatest-ltsfor nodeVersion - by @sxzz (ce7ab)customExports- by @Joery-M and @sxzz in #769 (7fb72)inlinedDependenciesfield to package.json - by @sxzz in #785 (5c71f)🐞 Bug Fixes
failOnWarnto rolldown logs - by @sxzz (149dc)onSuccessin watch mode to prevent duplicate execution - by @sxzz (af748)allis true - by @sxzz (79492)View changes on GitHub
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.