Skip to content

fix: use scoped package name @mars167/git-ai for npm publishing#12

Merged
mars167 merged 1 commit intomainfrom
fix/scoped-package-name
Feb 1, 2026
Merged

fix: use scoped package name @mars167/git-ai for npm publishing#12
mars167 merged 1 commit intomainfrom
fix/scoped-package-name

Conversation

@mars167
Copy link
Owner

@mars167 mars167 commented Feb 1, 2026

Summary

由于 npm 注册表上已存在名为 gitai 的包,git-ai 被认为名称过于相似而无法发布。此 PR 将包名改为 scoped 格式 @mars167/git-ai

Changes

  • package.json: 包名改为 @mars167/git-ai,版本更新到 2.3.0
  • README.md / README.zh-CN.md: 更新安装命令
  • install.sh: 更新 npm install 命令
  • release.yml: 更新 CI 发布流程使用 scoped 名称

Install (after merge)

npm install -g @mars167/git-ai

Note

v2.3.0 已通过手动方式发布到 npmjs.org:

- Update package.json name to @mars167/git-ai (npm registry conflict with 'gitai')
- Update README.md and README.zh-CN.md install commands
- Update install.sh to use scoped package name
- Update release.yml workflow for consistent scoped name publishing
- Bump version to 2.3.0
@mars167 mars167 merged commit 477e87b into main Feb 1, 2026
1 check passed
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.

1 participant