Skip to content

Commit de20274

Browse files
chore(deps): update dependency tsdown to v0.23.0 (#1828)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [tsdown](http://tsdown.dev/) ([source](https://redirect.github.com/rolldown/tsdown)) | [`0.22.14` → `0.23.0`](https://renovatebot.com/diffs/npm/tsdown/0.22.14/0.23.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/tsdown/0.23.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/tsdown/0.22.14/0.23.0?slim=true) | --- ### Release Notes <details> <summary>rolldown/tsdown (tsdown)</summary> ### [`v0.23.0`](https://redirect.github.com/rolldown/tsdown/releases/tag/v0.23.0) [Compare Source](https://redirect.github.com/rolldown/tsdown/compare/v0.22.14...v0.23.0) #####    🧭 Migration Guide Most users can upgrade directly. Before upgrading, run one final build with `tsdown@0.22.14` and resolve all deprecation warnings. - **config**: - `bundle: false` → `unbundle: true`; `bundle: true` can be removed - `outExtension` → `outExtensions` - `publicDir` / `--public-dir` → `copy` / `--copy` - `removeNodeProtocol: true` → `nodeProtocol: 'strip'` - `injectStyle` → `css.inject` - **deps**: - `inlineOnly` / `deps.onlyAllowBundle` → `deps.onlyBundle` - `skipNodeModulesBundle: true` → `deps.neverBundle: true` - `resolveDepSubpath` now defaults to `false`; set it to `true` to preserve the previous behavior - **dts**: - Select a generator with `dts.generator`, for example `{ generator: 'oxc' }` - `dts.cjsReexport` was removed; dual-format builds now generate CJS declarations in a separate pass - **attw**: - The default profile changed from `strict` to `esm-only`; set `profile: 'strict'` to preserve the previous checks - **programmatic API**: - `build()` now returns `{ bundles, watch }`; replace `const bundles = await build()` with `const { bundles } = await build()` - **requirements**: - Node.js 25 is no longer supported; use `^22.18.0`, `^24.11.0`, or `>=26.0.0` - The packages no longer publish legacy `types` and `typesVersions` fallbacks; use TypeScript’s `bundler`, `node16`, or `nodenext` module resolution #####    🚨 Breaking Changes - Drop support for Node.js 25  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(26950)</samp>](https://redirect.github.com/rolldown/tsdown/commit/26950f1) - Remove deprecated tsup compatibility options  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(50766)</samp>](https://redirect.github.com/rolldown/tsdown/commit/507661c) - Drop `types` and `typesVersions`fields  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(be3ea)</samp>](https://redirect.github.com/rolldown/tsdown/commit/be3ea86) - **attw**: - Change default profile to `esm-only`  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(9b3cf)</samp>](https://redirect.github.com/rolldown/tsdown/commit/9b3cfca) - **deps**: - Remove deprecated `deps.onlyAllowBundle`  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(30c55)</samp>](https://redirect.github.com/rolldown/tsdown/commit/30c553d) - Disable `resolveDepSubpath` by default  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(d300f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/d300fcc) - Remove deprecated `skipNodeModulesBundle`  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(f2a3d)</samp>](https://redirect.github.com/rolldown/tsdown/commit/f2a3d8e) - **dts**: - Remove dts.cjsReexport option  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(9c70f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/9c70fa9) - Make `dts.generator` the only way to select generator  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(eb75f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/eb75f9d) #####    🚀 Features - Expose programmatic watch controls  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) in [#&#8203;1062](https://redirect.github.com/rolldown/tsdown/issues/1062) [<samp>(96a40)</samp>](https://redirect.github.com/rolldown/tsdown/commit/96a4098) - **css**: Support function form for `css.modules.localsConvention`  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) and [@&#8203;lazerg](https://redirect.github.com/lazerg) [<samp>(b566f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/b566f6d) - **report**: Add `summary` option to skip per-file size logs  -  by [@&#8203;lazerg](https://redirect.github.com/lazerg) in [#&#8203;1036](https://redirect.github.com/rolldown/tsdown/issues/1036) [<samp>(020e9)</samp>](https://redirect.github.com/rolldown/tsdown/commit/020e9cd) #####    🐞 Bug Fixes - Allow `unplugin-unused` v0.5+  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(53c78)</samp>](https://redirect.github.com/rolldown/tsdown/commit/53c78cb) - Ignore optional dependencies in type definitions  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(94622)</samp>](https://redirect.github.com/rolldown/tsdown/commit/946224d) - **cli**: - Camel-case nested flag keys  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(bf53f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/bf53f43) - **css**: - Watch files imported via `@import`  -  by [@&#8203;lazerg](https://redirect.github.com/lazerg) in [#&#8203;1038](https://redirect.github.com/rolldown/tsdown/issues/1038) [<samp>(ebee5)</samp>](https://redirect.github.com/rolldown/tsdown/commit/ebee509) - **deps**: - Apply `resolveDepSubpath` when `neverBundle` is `true`  -  by [@&#8203;lazerg](https://redirect.github.com/lazerg) in [#&#8203;1053](https://redirect.github.com/rolldown/tsdown/issues/1053) [<samp>(4943c)</samp>](https://redirect.github.com/rolldown/tsdown/commit/4943c08) - **exports**: - Scope inlined dependencies to configs with exports  -  by [@&#8203;lazerg](https://redirect.github.com/lazerg) in [#&#8203;1040](https://redirect.github.com/rolldown/tsdown/issues/1040) [<samp>(d5b80)</samp>](https://redirect.github.com/rolldown/tsdown/commit/d5b8015) - **migrate**: - Pin migrated projects to tsdown 0.22.14  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(113fb)</samp>](https://redirect.github.com/rolldown/tsdown/commit/113fb8a) - Support non-interactive environments  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(51e41)</samp>](https://redirect.github.com/rolldown/tsdown/commit/51e4183) #####    🏎 Performance - Remove `asyncDispose` polyfill  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(82675)</samp>](https://redirect.github.com/rolldown/tsdown/commit/826755e) - Replace `ansis` with `util.styleText`  -  by [@&#8203;sxzz](https://redirect.github.com/sxzz) [<samp>(be6bf)</samp>](https://redirect.github.com/rolldown/tsdown/commit/be6bfd2) #####     [View changes on GitHub](https://redirect.github.com/rolldown/tsdown/compare/v0.22.14...v0.23.0) </details> --- ### Configuration 📅 **Schedule**: (in timezone Asia/Almaty) - Branch creation - "on friday" - 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/yamcodes/arkenv). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC43OS4xIiwidXBkYXRlZEluVmVyIjoiNDQuNzkuMSIsInRhcmdldEJyYW5jaCI6ImRldiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 1622350 commit de20274

2 files changed

Lines changed: 545 additions & 350 deletions

File tree

0 commit comments

Comments
 (0)