open-code-review/package.json
kite 75f1ddc295 fix(publish): treat git tag as sole version source, no commit produced
- Remove sync_version step and post-publish version bump commit
- Version is now injected temporarily into package.json during publish
  and restored afterward (same approach as CI workflow)
- Set package.json version to 0.0.0 as inert placeholder
- Add export to .env.example so variables propagate to child processes
- Simplify patch_package_json by removing dead code branches
2026-05-22 17:17:44 +08:00

28 lines
827 B
JSON

{
"name": "@alibaba-group/open-code-review",
"version": "0.0.0",
"description": "OpenCodeReview CLI — AI-powered code review tool",
"bin": {
"ocr": "bin/ocr.js"
},
"scripts": {
"postinstall": "node scripts/install.js",
"prepublishOnly": "cp NPM-README.md README.md",
"postpublish": "git checkout README.md"
},
"repository": {
"type": "git",
"url": "https://github.com/alibaba/open-code-review.git"
},
"publishConfig": {
"access": "public"
},
"ocrConfig": {
"urlPattern": "https://github.com/alibaba/open-code-review/releases/download/v{version}/opencodereview-v{version}-{os}-{arch}",
"checksumPattern": "https://github.com/alibaba/open-code-review/releases/download/v{version}/sha256sum.txt"
},
"engines": {
"node": ">=14"
},
"license": "Apache-2.0"
}