Repository navigation
Commit ac19f55
authored
chore(deps): update dependency tsdown to v0.23.7 (#163)
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.23.4` →
`0.23.7`](https://renovatebot.com/diffs/npm/tsdown/0.23.4/0.23.7) |

|

|

|

|
---
### Release Notes
<details>
<summary>rolldown/tsdown (tsdown)</summary>
###
[`v0.23.7`](https://redirect.github.com/rolldown/tsdown/releases/tag/v0.23.7)
[Compare
Source](https://redirect.github.com/rolldown/tsdown/compare/v0.23.5...v0.23.7)
> \[!NOTE]
> v0.23.6 was skipped on purpose: its release failed, so this release
follows v0.23.5 directly.
#### Notes
`rolldown-plugin-dts` is now v0.30. Full details are in the
[rolldown-plugin-dts v0.30.0 release
notes](https://redirect.github.com/sxzz/rolldown-plugin-dts/releases/tag/v0.30.0).
##### Migration
**`dts.entry` only filters entries.** Only entries that match get
declaration files. A matching file that is not an entry no longer gets
its own declaration file. To emit declarations for such a file, add it
to `entry`. The filter now applies to `.d.cts` as well as `.d.mts`.
**`dts.entry` is resolved from `cwd`.** Patterns are relative to
tsdown's `cwd`, the same as the top-level `entry`, instead of
`process.cwd()`. This only matters when the two differ, e.g. in
workspace builds. Set `dts.cwd` to override it.
**`dts.emitDtsOnly` and `dts.dtsInput` are deprecated.** Use
`dts.dtsOnly` instead. The old names still work but log a warning.
##### Highlights
- **dts:** An entry's file-level doc comment is kept in its declaration
file.
- **dts:** Declaration files no longer contain a dangling
`sourceMappingURL`.
- **dts:** CJS declaration builds no longer emit a throwaway JS chunk.
With the `tsc` generator, they build one program for all entries.
- **tsgo (experimental):** Diagnostics show code context in color
terminals, and packages from project references and files outside the
tsconfig directory now get declarations.
- **Agent skill:** The npm package now ships a small `tsdown` skill.
pnpm 12.11+ can link it into agent skill directories, and it points
agents to the full skill on GitHub for the installed version.
***
##### 🚀 Features
- Ship a skill facade in the npm package - by
[@​sxzzbot](https://redirect.github.com/sxzzbot) in
[#​1122](https://redirect.github.com/rolldown/tsdown/issues/1122)
[<samp>(6ad05)</samp>](https://redirect.github.com/rolldown/tsdown/commit/6ad0571)
- **dts**: Upgrade rolldown-plugin-dts to v0.30 - by
[@​sxzzbot](https://redirect.github.com/sxzzbot) in
[#​1123](https://redirect.github.com/rolldown/tsdown/issues/1123)
[<samp>(d351b)</samp>](https://redirect.github.com/rolldown/tsdown/commit/d351b43)
##### [View changes on
GitHub](https://redirect.github.com/rolldown/tsdown/compare/v0.23.5...v0.23.7)
###
[`v0.23.5`](https://redirect.github.com/rolldown/tsdown/releases/tag/v0.23.5)
[Compare
Source](https://redirect.github.com/rolldown/tsdown/compare/v0.23.4...v0.23.5)
#### Notes
`rolldown-plugin-dts` is now v0.29. tsdown passes `dts` options through
to it unchanged, so its deprecations show up in your config too. Full
details are in the [rolldown-plugin-dts v0.29.0 release
notes](https://redirect.github.com/sxzz/rolldown-plugin-dts/releases/tag/v0.29.0).
##### Migration
**tsc-only `dts` options move under `dts.tsc`.** The top-level `build`,
`incremental`, `parallel`, `eager`, `newContext` and `vue` options still
work but log a deprecation warning. Setting the same option at both
levels throws an error. `emitJs` stays at the top level.
```diff
export default defineConfig({
dts: {
- vue: true,
+ tsc: { vue: true },
},
})
```
**tsgo (experimental, not covered by semver):**
- `@typescript/native-preview` is no longer supported. Install
TypeScript 7.1+ (`typescript@7.1.0-beta`), or point `tsgo.moduleUrl` at
another build.
- On TypeScript 7.1+, `tsgo.path` is the API server executable, not the
`tsgo` CLI. You usually don't need to set it.
- Declaration maps come only from `compilerOptions.declarationMap: true`
in tsconfig; the `sourcemap` option no longer enables them.
- TypeScript 7.0 still works with a deprecation warning, but that
backend will be removed soon.
***
##### 🚀 Features
- **css**: Support `css: false` to disable built-in CSS handling - by
[@​sxzzbot](https://redirect.github.com/sxzzbot) in
[#​1113](https://redirect.github.com/rolldown/tsdown/issues/1113)
[<samp>(181af)</samp>](https://redirect.github.com/rolldown/tsdown/commit/181af08)
- **dts**: Upgrade rolldown-plugin-dts to v0.29, upgrade deps - by
[@​sxzzbot](https://redirect.github.com/sxzzbot) in
[#​1121](https://redirect.github.com/rolldown/tsdown/issues/1121)
[<samp>(e12ab)</samp>](https://redirect.github.com/rolldown/tsdown/commit/e12ab7f)
##### 🐞 Bug Fixes
- **css**: Remove dangling requires and handle CSS extensions in chunk
names - by [@​sxzzbot](https://redirect.github.com/sxzzbot) in
[#​1114](https://redirect.github.com/rolldown/tsdown/issues/1114)
[<samp>(c8ca3)</samp>](https://redirect.github.com/rolldown/tsdown/commit/c8ca303)
##### 🏎 Performance
- **deps**: Read each package.json once when resolving dep subpaths -
by [@​Cherry](https://redirect.github.com/Cherry) and
[@​sxzzbot](https://redirect.github.com/sxzzbot) in
[#​1093](https://redirect.github.com/rolldown/tsdown/issues/1093)
[<samp>(4435a)</samp>](https://redirect.github.com/rolldown/tsdown/commit/4435a48)
##### [View changes on
GitHub](https://redirect.github.com/rolldown/tsdown/compare/v0.23.4...v0.23.5)
</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/rolldown/notify).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMDQuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 9d49577 commit ac19f55
1 file changed
Lines changed: 277 additions & 140 deletions
0 commit comments