Repository navigation
chore: 清理死依赖与残留注释 - #37
Merged
Merged
Conversation
移除源码未引用的 @dimforge/rapier2d(全部使用 -compat)和模板残留的 optionalDependencies;compressionTolerance 单位说明与 README/action.yml 对齐;删除 getTextBoundBox 的占位 JSDoc 与 RenderedContribution 的重复注释。
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.
变更
@dimforge/rapier2d:源码与测试全部从@dimforge/rapier2d-compat导入,非 compat 版本没有引用optionalDependencies里的@rollup/rollup-linux-x64-gnu:模板残留,rollup 自身已按平台声明compressionTolerance注释从“单位 SVG 像素”改为“单位 SVG 坐标单位”,与 README/action.yml 对齐,并补上 CSS 按轴、SMIL 按合成位移的差异getTextBoundBox的@param textPaths/@param param1/ 空@returns占位 JSDocRenderedContribution上方未挂到声明的重复注释验证
bun install:lockfile 同步,移除 2 个包bun biome check .、tsc --noEmit通过bun test:112 pass / 0 faildist/已重建(注释移除后体积略减)