-
Notifications
You must be signed in to change notification settings - Fork 3
chore: remove typescrip/update tsdown/update tsgo #205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR modernizes the build toolchain by removing TypeScript as a direct dependency and leveraging tsgo (TypeScript Go) through the updated tsdown bundler. The change enables faster type checking and declaration generation while maintaining full TypeScript compatibility.
Key Changes:
- Updated tsdown from ^0.15.9 to ^0.17.2, which includes support for tsgo as an alternative to the TypeScript compiler
- Removed TypeScript from direct devDependencies (it remains available as a transitive dependency for tools that need it)
- Updated build output extensions from
.js/.d.tsto.mjs/.d.mtsto better reflect ES module format
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Updated tsdown version and removed typescript from the catalog |
| pnpm-lock.yaml | Updated dependency resolutions for tsdown, rolldown, and related packages; typescript remains as optional peer dependency for compatible tools |
| package.json | Updated module entry points to use .mjs and .d.mts extensions; removed typescript from devDependencies |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 3 files
glebedel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
fixes: #194
Summary by cubic
Removed TypeScript and migrated the build to tsgo. The package now ships ESM (.mjs) output and .d.mts type declarations.
Written for commit 39aef3e. Summary will update automatically on new commits.