chore(deps): update dependency tsdown to ^0.22.0#572
Conversation
|
33852a3 to
875626a
Compare
2b5463c to
ad557e7
Compare
5305344 to
745756e
Compare
745756e to
d8207eb
Compare
849f3c9 to
2996dd7
Compare
cbc9450 to
bb8b2bf
Compare
6a06843 to
4ef828d
Compare
846cca1 to
028ed5a
Compare
dfb624c to
bfc4909
Compare
cd8fbd3 to
d85def6
Compare
d85def6 to
65fa76d
Compare
a9f84f1 to
9540347
Compare
b1f09d4 to
b13c307
Compare
b13c307 to
ab760eb
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
^0.19.0→^0.22.0Release Notes
rolldown/tsdown (tsdown)
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
Configuration
📅 Schedule: (UTC)
🚦 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.