Repository navigation
chore(deps): update dependency tsdown to v0.23.0 - #86
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #86 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 5 5
Branches 3 3
=========================================
Hits 5 5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
4 times, most recently
from
November 14, 2025 22:58
e05c323 to
8a9623e
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
3 times, most recently
from
November 18, 2025 19:12
f48e0d7 to
2efe162
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
from
November 20, 2025 05:47
2efe162 to
8c71666
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
from
November 23, 2025 08:28
8c71666 to
24ea05d
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
7 times, most recently
from
November 28, 2025 17:04
ee27e5c to
c9d58af
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
2 times, most recently
from
November 30, 2025 21:51
7660e98 to
3578eef
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
3 times, most recently
from
December 4, 2025 14:10
0ea8126 to
672ef4a
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
4 times, most recently
from
December 15, 2025 01:46
40ac7ac to
0554d32
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
from
December 15, 2025 13:01
0554d32 to
205438b
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
2 times, most recently
from
December 18, 2025 12:34
243908a to
796657c
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
4 times, most recently
from
December 20, 2025 21:42
7d52226 to
8b4aa05
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
2 times, most recently
from
December 24, 2025 12:39
7a31a48 to
b6c1323
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
4 times, most recently
from
December 27, 2025 18:00
d8a528e to
5850f97
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
2 times, most recently
from
January 2, 2026 14:10
ab1d10b to
3a34b8b
Compare
renovate
Bot
force-pushed
the
renovate/tsdown-0.x
branch
3 times, most recently
from
January 3, 2026 20:49
77c1f44 to
da72560
Compare
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.15.0→0.23.0Release Notes
rolldown/tsdown (tsdown)
v0.23.0Compare Source
🧭 Migration Guide
Most users can upgrade directly. Before upgrading, run one final build with
tsdown@0.22.14and resolve all deprecation warnings.bundle: false→unbundle: true;bundle: truecan be removedoutExtension→outExtensionspublicDir/--public-dir→copy/--copyremoveNodeProtocol: true→nodeProtocol: 'strip'injectStyle→css.injectinlineOnly/deps.onlyAllowBundle→deps.onlyBundleskipNodeModulesBundle: true→deps.neverBundle: trueresolveDepSubpathnow defaults tofalse; set it totrueto preserve the previous behaviorrolldown-plugin-dtswas upgraded from0.27.13to0.28.5dts.oxc: true→dts.generator: 'oxc'dts.tsgo: true→dts.generator: 'tsgo';oxcandtsgoobjects now only configure their respective generatorsdts.volarPlugins→dts.customLanguages; rename each language'screatehook tocreateVolarPluginsvue, now throw when combined with an incompatible generatordts.cjsReexportwas removed; dual-format builds now generate CJS declarations in a separate passstricttoesm-only; setprofile: 'strict'to preserve the previous checksbuild()now returns{ bundles, watch }; replaceconst bundles = await build()withconst { bundles } = await build()^22.18.0,^24.11.0, or>=26.0.0rolldown-plugin-dtsnow requires Rolldown 1.2.xtypesandtypesVersionsfallbacks were removed; use TypeScript'sbundler,node16, ornodenextmodule resolution🚨 Breaking Changes
typesandtypesVersionsfields - by @sxzz (be3ea)esm-only- by @sxzz (9b3cf)deps.onlyAllowBundle- by @sxzz (30c55)resolveDepSubpathby default - by @sxzz (d300f)skipNodeModulesBundle- by @sxzz (f2a3d)dts.generatorthe only way to select generator - by @sxzz (eb75f)🚀 Features
css.modules.localsConvention- by @sxzz and @lazerg (b566f)summaryoption to skip per-file size logs - by @lazerg in #1036 (020e9)🐞 Bug Fixes
unplugin-unusedv0.5+ - by @sxzz (53c78)@import- by @lazerg in #1038 (ebee5)resolveDepSubpathwhenneverBundleistrue- by @lazerg in #1053 (4943c)🏎 Performance
asyncDisposepolyfill - by @sxzz (82675)ansiswithutil.styleText- by @sxzz (be6bf)View changes on GitHub
v0.22.14Compare Source
🚀 Features
View changes on GitHub
v0.22.13Compare Source
🚀 Features
neverBundle: trueto externalize all dependencies - by @sxzz (d30a7)🐞 Bug Fixes
View changes on GitHub
v0.22.12Compare Source
🚨 Breaking Changes
View changes on GitHub
v0.22.11Compare Source
🚀 Features
resolveDepSubpathoption - by @sxzz in #1026 (346cb)View changes on GitHub
v0.22.10Compare Source
🚀 Features
🐞 Bug Fixes
peerDependenciesMetadeps - by @sxzz (bad1b)View changes on GitHub
v0.22.9Compare Source
🚀 Features
🐞 Bug Fixes
onlyImport- by @sxzz in #1019 (a625a)View changes on GitHub
v0.22.8Compare Source
🚀 Features
onlyImportoption - by @sxzz and Claude Fable 5 (c5798)🐞 Bug Fixes
View changes on GitHub
v0.22.7Compare Source
🚀 Features
suppressWarningsoption to filter warnings - by @sxzz (dc510)View changes on GitHub
v0.22.6Compare Source
No significant changes
View changes on GitHub
v0.22.5Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v0.22.4Compare Source
🚀 Features
🐞 Bug Fixes
SOURCEMAP_BROKENwarning - by @ocavue in #982 (84b7c)🏎 Performance
View changes on GitHub
v0.22.3Compare Source
🚨 Breaking Changes
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v0.22.2Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.22.1Compare Source
🚀 Features
deps.dtsoption to override dependency bundling for declaration files - by @sxzz (881bf)🐞 Bug Fixes
View changes on GitHub
v0.22.0Compare Source
🚨 Breaking Changes
🚀 Features
🐞 Bug Fixes
🔄 Migration Guide
Node.js version
Upgrade to Node.js 22.18.0 or later. Bun and Deno remain supported (experimental).
unrunis no longer bundledIf your environment relies on the
unrunconfig loader (i.e. you're on a Node version without native TypeScript support and use the defaultautoloader), install it manually:npm i -D unrun # or, alternatively, the new tsx loader: npm i -D tsxIf you use Node.js 22.18.0+ with native TypeScript support, no change is needed — the
autoloader will picknative.dtsauto-enabled from tsconfigIf your
tsconfig.jsonhascompilerOptions.declaration: truebut you do not want tsdown to emit.d.tsfiles, opt out explicitly:exports.binauto-detectionAny entry chunk containing a shebang (e.g.
#!/usr/bin/env node) now causes tsdown to write abinfield inpackage.jsonautomatically. The semantics differ slightly from explicitbin: true:truefalseTo opt out entirely:
Links
v0.21.10Compare Source
🚀 Features
View changes on GitHub
v0.21.9Compare Source
🚀 Features
tsdownConfigandtsdownConfigResolvedplugin hooks - by @sxzz in #918 (665e5)🐞 Bug Fixes
View changes on GitHub
v0.21.8Compare Source
🚀 Features
ignoreRulestype to autocomplete known values - by @mrlubos in #892 (c8f5c)extensionsoption for subpath export keys - by @SinhSinhAn and @sxzz in #899 (1bb7a)baseline-widely-availabletarget - by @sxzz in #896 (d6a16)🐞 Bug Fixes
View changes on GitHub
v0.21.7Compare Source
🚀 Features
moduleoption for attw and publint to allow passing imported modules directly - by @sxzz (31e90)🐞 Bug Fixes
View changes on GitHub
v0.21.6Compare Source
🚀 Features
cjsReexportoption to eliminate dual module type hazard - by @mandarini and @sxzz in #856 (875c1)binoption to auto-generate package.json bin field - by @sxzz in #869 (7ebd6)🐞 Bug Fixes
.modulefrom CSS output filenames - by @sxzz in #866 (03ade)View changes on GitHub
v0.21.5Compare Source
🚀 Features
🐞 Bug Fixes
optionalDependenciesby default - by @sxzz (cd24d)@typespackages for dts deep imports - by @brc-dd and @sxzz in #852 (0b276)View changes on GitHub
v0.21.4Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v0.21.3Compare Source
🚀 Features
🐞 Bug Fixes
View changes on GitHub
v0.21.2Compare Source
🚨 Breaking Changes
exe.outDirfor separate executable output dir, defaults tobuild- by @sxzz (d49ef)🚀 Features
rootoption for controlling output directory structure - by @sxzz (bad2d)onlyAllowBundletoonlyBundle- by @peaklabs-dev and @sxzz in #819 (cbd7b)🐞 Bug Fixes
View changes on GitHub
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
v0.20.3Compare Source
🐞 Bug Fixes
View changes on GitHub
v0.20.2Compare Source
🚀 Features
inlineOnlyclean with hint message on unused - by @jycouet and @sxzz in #725 (13f1c)🐞 Bug Fixes
@types/*- by @kalvenschraut (0be7c)importbeforerequire- by @sxzz (3027a)View changes on GitHub
v0.20.1Compare Source
🚀 Features
View changes on GitHub
v0.20.0Compare Source
🚨 Breaking Changes
dts.resolveoption - by @sxzz (16655)🚀 Features
inlineOnlyoption for dts files - by @sxzz (7d89d)🐞 Bug Fixes
parseEnv- by @sxzz (be1b6)🏎 Performance
View changes on GitHub
v0.19.0Compare Source
🚨 Breaking Changes
debugLogstodebug- by @sxzz (bb4e7)silentoption - by @sxzz (59015)debugtodevtools, renamedebug.devtoolstodevtools.ui- by @sxzz (63e6f)legacyoption, removemain&modulefields if pure ESM - by @sxzz (16841)exports.exclude- by @sxzz (53d38)typeswhenexports.legacy- by [@lishaduck](https://redirect.github.com/lisConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.