-
Notifications
You must be signed in to change notification settings - Fork 4.9k
fix(taro-platform-h5): 修复生成definition.json api为空 #17548
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
""" Walkthrough此次更改主要聚焦于更新与优化各包的构建配置。主要包括纠正 GitHub Actions 中任务名称的错别字、移除 Codecov 上传参数以及统一替换 Rollup 中旧的 TypeScript 插件(rollup-plugin-ts)为新的插件(@rollup/plugin-typescript)。同时,各包的配置文件也针对 TypeScript 声明文件生成和调试信息(sourceMap)的开启做了相应调整。 Changes
Sequence Diagram(s)sequenceDiagram
participant Dev as 开发者
participant Rollup as Rollup 构建
participant TS as @rollup/plugin-typescript
participant DTS as rollup-plugin-dts
Dev->>Rollup: 运行构建命令
Rollup->>TS: 调用 TypeScript 插件(排除 rollup.config.ts)
TS-->>Rollup: 返回编译结果
Rollup->>DTS: 生成 TypeScript 声明文件
DTS-->>Rollup: 返回声明文件
Rollup->>Dev: 输出 ESM 模块和声明文件
Assessment against linked issues
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (12)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (8)
🔇 Additional comments (4)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17548 +/- ##
==========================================
- Coverage 58.37% 57.70% -0.68%
==========================================
Files 469 469
Lines 27230 26550 -680
Branches 5998 5875 -123
==========================================
- Hits 15895 15320 -575
+ Misses 9960 9725 -235
- Partials 1375 1505 +130
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
这个 PR 做了什么? (简要描述所做更改)
taro-h5
构建配置,使其生成打包后的 index.esm.d.ts这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台:
Summary by CodeRabbit
Summary by CodeRabbit
Bug Fixes
Chores