chore(deps): update dependency tsdown to ^0.22.0#11
Conversation
|
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to 8c52d3a in 39 seconds. Click for details.
- Reviewed
13lines of code in1files - Skipped
0files when reviewing. - Skipped posting
1draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. package.json:361
- Draft comment:
Updated tsdown to ^0.20.0. Please verify that any breaking changes (e.g. removal of the 'dts.resolve' option) in tsdown v0.20.0 don't impact the build configuration. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%<= threshold50%The comment is asking the PR author to verify potential breaking changes in a dependency update, which violates the rule against asking the author to ensure the behavior is intended or to double-check things. It does not provide a specific suggestion or point out a specific issue.
Workflow ID: wflow_U2ocnz36gZcdtaqq
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
8c52d3a to
ec74fe6
Compare
ec74fe6 to
6b91924
Compare
This PR contains the following updates:
^0.19.0-beta.3→^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.