chore(deps): update dependency tsdown to v0.21.0#1239
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency tsdown to v0.21.0#1239renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1239 +/- ##
=======================================
Coverage 97.35% 97.35%
=======================================
Files 49 49
Lines 6009 6009
Branches 1536 1536
=======================================
Hits 5850 5850
Misses 157 157
Partials 2 2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
This PR contains the following updates:
0.20.3→0.21.0Release Notes
rolldown/tsdown (tsdown)
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 becomes conflicted, 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.