Skip to content

Conversation

@Timeless0911
Copy link
Contributor

@Timeless0911 Timeless0911 commented Sep 8, 2025

Summary

Use tsgo to generate dts in local.

Related Links

https://github.com/web-infra-dev/rslib/releases/tag/v0.13.0

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Copilot Copilot AI review requested due to automatic review settings September 8, 2025 10:08
Copy link
Contributor

Copilot AI left a 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: true in DTS configuration for core and plugin-dts packages
  • Removed obsolete baseUrl configuration 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.

@Timeless0911
Copy link
Contributor Author

Timeless0911 commented Sep 8, 2025

image Seems should be a bug of inline types.

microsoft/typescript-go#1347

@netlify
Copy link

netlify bot commented Sep 8, 2025

Deploy Preview for rslib ready!

Name Link
🔨 Latest commit 0c73a51
🔍 Latest deploy log https://app.netlify.com/projects/rslib/deploys/68beab0efb8a270008e28947
😎 Deploy Preview https://deploy-preview-1210--rslib.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Timeless0911 Timeless0911 marked this pull request as draft September 8, 2025 11:26
@Timeless0911 Timeless0911 changed the title chore: bump Rslib and enable tsgo chore: bump Rslib and enable tsgo in local Sep 8, 2025
@Timeless0911 Timeless0911 marked this pull request as ready for review September 8, 2025 12:26
fi3ework
fi3ework previously approved these changes Sep 8, 2025
@Timeless0911 Timeless0911 merged commit 7c2e87c into main Sep 9, 2025
14 checks passed
@Timeless0911 Timeless0911 deleted the chore/enable-tsgo branch September 9, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants