mirror of
https://github.com/alibaba/open-code-review.git
synced 2026-07-10 01:39:12 +00:00
- 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
28 lines
827 B
JSON
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"
|
|
}
|