Commit graph

10 commits

Author SHA1 Message Date
kite
bad29fc9b9 fix: normalize repository.url with git+ prefix to suppress npm publish warnings 2026-06-23 20:29:45 +08:00
kite
b0e3c059fd fix: add files whitelist to exclude platform binaries from main package
The main npm package included all 6 platform binaries (~243MB) because
.npmignore did not exclude the opencodereview-* artifacts downloaded
during CI. Adding a files whitelist reduces the package from ~243MB
to ~1.4MB.
2026-06-17 17:42:48 +08:00
kite
f76d4266ed feat: add platform-specific npm packages to eliminate postinstall download
Ship Go binaries inside per-platform npm packages (@alibaba-group/ocr-{os}-{arch})
so npm install resolves the correct binary via optionalDependencies + os/cpu fields.
This removes the need for a postinstall download from GitHub Releases, which is
extremely slow for users behind restricted networks (e.g. China mainland).

The postinstall download is retained as a fallback for --no-optional installs.
2026-06-17 14:17:03 +08:00
zhouzhihao
c323c6b40c
fix(actions): preserve failed inline review comments (#81) 2026-06-10 17:50:08 +08:00
kite
ed2302c164 chore: remove unused NPM-README.md and related script references 2026-05-31 19:11:41 +08:00
kite
2ca532521b fix(ocrConfig): Update URL pattern for OCR config 2026-05-22 22:40:48 +08:00
kite
44120e28b6 fix: fix some bug 2026-05-22 21:27:39 +08:00
kite
9a4c966b6d chore(release): rename npm package to @alibaba-group/open-code-review 2026-05-21 14:53:39 +08:00
kite
4051c12ad1 chore(release): bump version to v1.0.0 and fix asset naming consistency
- Update package.json version to 1.0.0 for first public release
- Fix urlPattern to include version in binary filename, matching Makefile output
- Fix Makefile sha256sum target to output sha256sum.txt without version suffix
2026-05-21 10:57:13 +08:00
kite
7c8b8562aa feat: init 2026-05-20 22:03:52 +08:00