mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
4da5da8eed
## Summary - CI publish workflow fails when re-run after a partial publish because npm rejects republishing an existing version - Add version-published checks to `check-npm-packages.js` so already-published packages are skipped in the dry-run step - Extract a shared `publish-if-needed.sh` script that checks the npm registry before publishing, used by all three trusted publish steps - Consolidate the old `checkPackageExists` and new version check into a single `npmViewVersion` helper to avoid redundant npm registry calls 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
6.1 KiB
Executable File
6.1 KiB
Executable File