mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
007a9fdc64
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](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) |  |  |  |  | --- ### 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 [@​sxzz](https://redirect.github.com/sxzz) [<samp>(26950)</samp>](https://redirect.github.com/rolldown/tsdown/commit/26950f1) - Remove deprecated tsup compatibility options - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(50766)</samp>](https://redirect.github.com/rolldown/tsdown/commit/507661c) - Drop `types` and `typesVersions`fields - by [@​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 [@​sxzz](https://redirect.github.com/sxzz) [<samp>(9b3cf)</samp>](https://redirect.github.com/rolldown/tsdown/commit/9b3cfca) - **deps**: - Remove deprecated `deps.onlyAllowBundle` - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(30c55)</samp>](https://redirect.github.com/rolldown/tsdown/commit/30c553d) - Disable `resolveDepSubpath` by default - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(d300f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/d300fcc) - Remove deprecated `skipNodeModulesBundle` - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(f2a3d)</samp>](https://redirect.github.com/rolldown/tsdown/commit/f2a3d8e) - **dts**: - Remove dts.cjsReexport option - by [@​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 [@​sxzz](https://redirect.github.com/sxzz) [<samp>(eb75f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/eb75f9d) ##### 🚀 Features - Expose programmatic watch controls - by [@​sxzz](https://redirect.github.com/sxzz) in [#​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 [@​sxzz](https://redirect.github.com/sxzz) and [@​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 [@​lazerg](https://redirect.github.com/lazerg) in [#​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 [@​sxzz](https://redirect.github.com/sxzz) [<samp>(53c78)</samp>](https://redirect.github.com/rolldown/tsdown/commit/53c78cb) - Ignore optional dependencies in type definitions - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(94622)</samp>](https://redirect.github.com/rolldown/tsdown/commit/946224d) - **cli**: - Camel-case nested flag keys - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(bf53f)</samp>](https://redirect.github.com/rolldown/tsdown/commit/bf53f43) - **css**: - Watch files imported via `@import` - by [@​lazerg](https://redirect.github.com/lazerg) in [#​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 [@​lazerg](https://redirect.github.com/lazerg) in [#​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 [@​lazerg](https://redirect.github.com/lazerg) in [#​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 [@​sxzz](https://redirect.github.com/sxzz) [<samp>(113fb)</samp>](https://redirect.github.com/rolldown/tsdown/commit/113fb8a) - Support non-interactive environments - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(51e41)</samp>](https://redirect.github.com/rolldown/tsdown/commit/51e4183) ##### 🏎 Performance - Remove `asyncDispose` polyfill - by [@​sxzz](https://redirect.github.com/sxzz) [<samp>(82675)</samp>](https://redirect.github.com/rolldown/tsdown/commit/826755e) - Replace `ansis` with `util.styleText` - by [@​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/Shanghai) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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. --- - [ ] <!-- 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/oxc-project/oxc). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS4zIiwidXBkYXRlZEluVmVyIjoiNDQuNjEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
64 lines
1.1 KiB
YAML
64 lines
1.1 KiB
YAML
packages:
|
|
- apps/*
|
|
- napi/*
|
|
- packages/*
|
|
- wasm/*
|
|
- npm/*
|
|
- tasks/codegen_conformance
|
|
- tasks/e2e
|
|
- tasks/transform_conformance
|
|
- tasks/compat_data
|
|
|
|
catalog:
|
|
"@emnapi/core": 2.0.0-alpha.3
|
|
"@emnapi/runtime": 2.0.0-alpha.3
|
|
emnapi: 2.0.0-alpha.3
|
|
"@arethetypeswrong/core": 0.18.5
|
|
"@napi-rs/cli": 3.8.6
|
|
"@napi-rs/wasm-runtime": 1.2.3
|
|
"@types/node": 24.1.0
|
|
cross-env: ^10.1.0
|
|
degit: 3.8.0
|
|
eslint: 10.9.1
|
|
json-schema-to-typescript: ^16.0.0
|
|
publint: 0.3.24
|
|
rolldown: 1.2.7
|
|
tsdown: 0.23.0
|
|
vite: 8.2.2
|
|
vite-plus: 0.3.0
|
|
vitest: 5.0.0
|
|
|
|
overrides:
|
|
rolldown: "catalog:"
|
|
vite: "catalog:"
|
|
emnapi: "catalog:"
|
|
|
|
allowBuilds:
|
|
"@vscode/vsce-sign@2.0.8": true
|
|
esbuild@0.27.7: true
|
|
esbuild@0.28.2: true
|
|
"@nestjs/core@11.1.9": false
|
|
|
|
verifyDepsBeforeRun: install
|
|
minimumReleaseAgeExclude:
|
|
- "@napi-rs/*"
|
|
- "@oxc-parser/*"
|
|
- "@oxc-project/*"
|
|
- "@oxfmt/*"
|
|
- "@oxlint-tsgolint/*"
|
|
- "@oxlint/*"
|
|
- "@rolldown/*"
|
|
- "@tsdown/*"
|
|
- "@vitejs/devtools"
|
|
- "@vitest/*"
|
|
- "@voidzero-dev/*"
|
|
- oxc-parser
|
|
- oxfmt
|
|
- oxlint
|
|
- oxlint-tsgolint
|
|
- rolldown
|
|
- tsdown
|
|
- vite
|
|
- vite-plus
|
|
- vitest
|