feat: use fix-dts-default-cjs-exports to transform CJS types#1310
Merged
sxzz merged 1 commit intoegoist:mainfrom Feb 27, 2025
Merged
feat: use fix-dts-default-cjs-exports to transform CJS types#1310sxzz merged 1 commit intoegoist:mainfrom
fix-dts-default-cjs-exports to transform CJS types#1310sxzz merged 1 commit intoegoist:mainfrom
Conversation
Review or Edit in CodeSandboxOpen the branch in Web Editor • VS Code • Insiders |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
sxzz
approved these changes
Feb 27, 2025
This was referenced Feb 28, 2025
Contributor
|
Awesome work, I'd really appreciate a release with this one. Thanks in advance |
1 task
vaernion
pushed a commit
to Arbeidstilsynet/brevgen2
that referenced
this pull request
Dec 3, 2025
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [tsup](https://tsup.egoist.dev/) ([source](https://github.com/egoist/tsup)) | [`8.4.0` -> `8.5.0`](https://renovatebot.com/diffs/npm/tsup/8.4.0/8.5.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>egoist/tsup (tsup)</summary> ### [`v8.5.0`](https://github.com/egoist/tsup/releases/tag/v8.5.0) [Compare Source](egoist/tsup@v8.4.0...v8.5.0) ##### 🚀 Features - Use `fix-dts-default-cjs-exports` to transform CJS types - by [@​userquin](https://github.com/userquin) in egoist/tsup#1310 [<samp>(c654e)</samp>](egoist/tsup@c654e5f) - Allow passing custom swc configuration to swcPlugin - by [@​Romakita](https://github.com/Romakita) in egoist/tsup#1313 [<samp>(fdfd5)</samp>](egoist/tsup@fdfd59a) ##### 🐞 Bug Fixes - Make `removeNodeProtocol` work with `shims` - by [@​aryaemami59](https://github.com/aryaemami59) [<samp>(769aa)</samp>](egoist/tsup@769aa49) - CopyPublicDir in watch mode - by [@​geeee](https://github.com/geeee) in egoist/tsup#1331 [<samp>(7c1e1)</samp>](egoist/tsup@7c1e13e) ##### [View changes on GitHub](egoist/tsup@v8.4.0...v8.5.0) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 PR is renamed to start with "rebase!". 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Related work items: #30372
This was referenced Feb 5, 2026
This was referenced Feb 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I extracted from this unbuild PR the logic to fix default CJS exports to this repository fix-dts-default-cjs-exports.
This PR using the Rollup plugin from the new repository replacing the current plugin here. Here unbuild PR to use the same Rollup plugin.
Looks like tsup, unbuild and pkgroll using rollup-plugin-dts.
Once this PR merged (🤞 🙏 ), I'll update the docs in my repository.
Check userquin/unbuild-cts-issue#2 and userquin/unbuild-cts-issue#3