-
-
Notifications
You must be signed in to change notification settings - Fork 53
chore: bump Rslib and enable tsgo in local #1210
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
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 upgrades Rslib from version 0.12.4 to 0.13.0 and enables the tsgo feature for TypeScript declaration file generation. The main purpose is to leverage the new tsgo functionality introduced in Rslib v0.13.0 for improved DTS generation performance.
- Updated Rslib dependency from 0.12.4 to 0.13.0 across all packages
- Enabled
tsgo: truein DTS configuration for core and plugin-dts packages - Removed obsolete
baseUrlconfiguration from TypeScript configs - Added VS Code setting to enable experimental tsgo support
Reviewed Changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/plugin-dts/package.json | Updated Rslib dependency to v0.13.0 |
| packages/create-rslib/package.json | Updated Rslib dependency to v0.13.0 |
| packages/core/package.json | Updated Rslib dependency to v0.13.0 |
| packages/plugin-dts/rslib.config.ts | Enabled tsgo for DTS generation |
| packages/core/rslib.config.ts | Enabled tsgo for DTS generation |
| packages/plugin-dts/tsconfig.json | Removed baseUrl configuration |
| packages/core/tsconfig.json | Removed baseUrl configuration |
| .vscode/settings.json | Added experimental tsgo setting for VS Code |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
✅ Deploy Preview for rslib ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |

Summary
Use tsgo to generate dts in local.
Related Links
https://github.com/web-infra-dev/rslib/releases/tag/v0.13.0
Checklist