fix: 完善开源文档与 npm 发布流程 - #11
Merged
Merged
Conversation
bosens-China
marked this pull request as ready for review
July 28, 2026 06:12
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.
改动内容
prepack冲突,恢复npm pack --dry-run原因
现有
v1.0.2只创建了 GitHub Release,没有发布到 npm;旧发布流程依赖长期 token,当前迁移状态还存在打包失败、文档入口不足和社区协作文件缺失等问题。本次改动统一修复发布链路,并让默认配置的开箱即用行为在文档中清晰可见。用户与开发者影响
用户只需安装插件并在 Prettier 中启用,即可使用全部 16 条可自动修复的默认规则。维护者可通过 Release Please 和 npm OIDC 发布后续版本;npm Trusted Publisher 与 GitHub Pages 仍需在账户侧完成一次配置。
验证
pnpm checknpm pack --dry-run --json