Commit cf27c5f
authored
ci(deps-dev): bump tsdown from 0.12.9 to 0.22.0 (#38)
Bumps [tsdown](https://github.com/rolldown/tsdown) from 0.12.9 to
0.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rolldown/tsdown/releases">tsdown's
releases</a>.</em></p>
<blockquote>
<h2>v0.22.0</h2>
<h3> 🚨 Breaking Changes</h3>
<ul>
<li>Drop Node.js < 22.18.0 support, make unrun optional, add tsx
config loader - by <a
href="https://github.com/sxzz"><code>@sxzz</code></a> <a
href="https://github.com/rolldown/tsdown/commit/a104223"><!-- raw HTML
omitted -->(a1042)<!-- raw HTML omitted --></a></li>
<li><strong>dts</strong>: Auto-enable dts when tsconfig declaration is
true - by <a href="https://github.com/sxzz"><code>@sxzz</code></a> in
<a
href="https://redirect.github.com/rolldown/tsdown/issues/872">rolldown/tsdown#872</a>
<a href="https://github.com/rolldown/tsdown/commit/085f079"><!-- raw
HTML omitted -->(085f0)<!-- raw HTML omitted --></a></li>
<li><strong>publint</strong>: Use pkg from publint results, require
publint v0.3.8+ - by <a
href="https://github.com/sxzz"><code>@sxzz</code></a> <a
href="https://github.com/rolldown/tsdown/commit/413bb46"><!-- raw HTML
omitted -->(413bb)<!-- raw HTML omitted --></a></li>
</ul>
<h3> 🚀 Features</h3>
<ul>
<li>Upgrade rolldown to 1.0.0-rc.18 - by <a
href="https://github.com/sxzz"><code>@sxzz</code></a> <a
href="https://github.com/rolldown/tsdown/commit/66085a0"><!-- raw HTML
omitted -->(66085)<!-- raw HTML omitted --></a></li>
<li>Upgrade rolldown to v1.0.0 - by <a
href="https://github.com/sxzz"><code>@sxzz</code></a> <a
href="https://github.com/rolldown/tsdown/commit/fabbabf"><!-- raw HTML
omitted -->(fabba)<!-- raw HTML omitted --></a></li>
<li><strong>exports</strong>: Auto-enable bin detection by default -
by <a href="https://github.com/sxzz"><code>@sxzz</code></a> in <a
href="https://redirect.github.com/rolldown/tsdown/issues/873">rolldown/tsdown#873</a>
<a href="https://github.com/rolldown/tsdown/commit/abda9fb"><!-- raw
HTML omitted -->(abda9)<!-- raw HTML omitted --></a></li>
</ul>
<h3> 🐞 Bug Fixes</h3>
<ul>
<li>Explicitly drop node 23 support - by <a
href="https://github.com/sxzz"><code>@sxzz</code></a> <a
href="https://github.com/rolldown/tsdown/commit/85e65d8"><!-- raw HTML
omitted -->(85e65)<!-- raw HTML omitted --></a></li>
<li><strong>debug</strong>: Enhance debug logging for pack tarball -
by <a href="https://github.com/sxzz"><code>@sxzz</code></a> and
<strong>Copilot</strong> <a
href="https://github.com/rolldown/tsdown/commit/5de04ad"><!-- raw HTML
omitted -->(5de04)<!-- raw HTML omitted --></a></li>
<li><strong>exports</strong>: Detect types fields nested in conditional
exports - by <a href="https://github.com/sxzz"><code>@sxzz</code></a>
<a href="https://github.com/rolldown/tsdown/commit/82fa153"><!-- raw
HTML omitted -->(82fa1)<!-- raw HTML omitted --></a></li>
<li><strong>pkg</strong>: Fix duplicate configuration warning logic -
by <a href="https://github.com/ho991217"><code>@ho991217</code></a> and
<a href="https://github.com/sxzz"><code>@sxzz</code></a> in <a
href="https://redirect.github.com/rolldown/tsdown/issues/935">rolldown/tsdown#935</a>
<a href="https://github.com/rolldown/tsdown/commit/6a0d98c"><!-- raw
HTML omitted -->(6a0d9)<!-- raw HTML omitted --></a></li>
</ul>
<h2>🔄 Migration Guide</h2>
<h4>Node.js version</h4>
<p>Upgrade to Node.js <strong>22.18.0 or later</strong>. Bun and Deno
remain supported (experimental).</p>
<h4><code>unrun</code> is no longer bundled</h4>
<p>If your environment relies on the <code>unrun</code> config loader
(i.e. you're on a Node version without native TypeScript support and use
the default <code>auto</code> loader), install it manually:</p>
<pre lang="bash"><code>npm i -D unrun
# or, alternatively, the new tsx loader:
npm i -D tsx
</code></pre>
<p>If you use Node.js 22.18.0+ with native TypeScript support, no change
is needed — the <code>auto</code> loader will pick
<code>native</code>.</p>
<h4><code>dts</code> auto-enabled from tsconfig</h4>
<p>If your <code>tsconfig.json</code> has
<code>compilerOptions.declaration: true</code> but you do
<strong>not</strong> want tsdown to emit <code>.d.ts</code> files, opt
out explicitly:</p>
<pre lang="ts"><code>// tsdown.config.ts
export default defineConfig({
dts: false,
})
</code></pre>
<h4><code>exports.bin</code> auto-detection</h4>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/rolldown/tsdown/commit/e3b454bfcf31b3ff5dc63b40d2fed8a5cad77b1f"><code>e3b454b</code></a>
chore: release v0.22.0</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/809fada43a457308924ce0e479a751b9ea798fd9"><code>809fada</code></a>
docs: remove rolldown warning from getting started</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/fabbabf827e044f543a263ffec55b93cdb6dd1a8"><code>fabbabf</code></a>
feat: upgrade rolldown to v1.0.0</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/3e41fe3059b67bb4eaa608b60aa6287942b4b006"><code>3e41fe3</code></a>
ci: add node 26 to test matrix</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/6a0d98c2b6798421ed2b04246f81c73af7817271"><code>6a0d98c</code></a>
fix(pkg): fix duplicate configuration warning logic (<a
href="https://redirect.github.com/rolldown/tsdown/issues/935">#935</a>)</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/85e65d80e6a7e05b22b62a4f411fa818b90444d0"><code>85e65d8</code></a>
fix: explicitly drop node 23 support</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/a0f3a08ce6f921a89d27b9f709a137017ed923b0"><code>a0f3a08</code></a>
chore: release v0.22.0-beta.3</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/1380ef479c1273a21af3d539a580920248c4f8be"><code>1380ef4</code></a>
chore: upgrade deps</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/8f07cae70ecb4142b6656129da81ad6e1ff42180"><code>8f07cae</code></a>
v0.22 (<a
href="https://redirect.github.com/rolldown/tsdown/issues/931">#931</a>)</li>
<li><a
href="https://github.com/rolldown/tsdown/commit/b0018180980e617aa5194cb5468699fc26136f8a"><code>b001818</code></a>
chore: upgrade deps</li>
<li>Additional commits viewable in <a
href="https://github.com/rolldown/tsdown/compare/v0.12.9...v0.22.0">compare
view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a
href="https://www.npmjs.com/~GitHub%20Actions">GitHub Actions</a>, a new
releaser for tsdown since your current version.</p>
</details>
<br />2 files changed
Lines changed: 375 additions & 127 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments