Commit Graph

1 Commits

Author SHA1 Message Date
saravanakumardb1
755b7fedea feat(scripts): add publish-outdated-gitea-packages.sh
Network-aware script to detect and publish only outdated @bytelyst/*
packages to the Gitea npm registry.

Detection: SHA-256 content fingerprint comparison (local pack vs registry tarball)
Publishing: auto-bumps patch version to avoid collisions with existing versions
Network: NETWORK=corp uses localhost:3300 tunnel, NETWORK=home uses Azure VM

Features:
- --dry-run: detect without publishing
- --filter: check/publish a single package
- --skip-build: skip pnpm build step
- --help: usage info
- Strips publishConfig from tarballs (avoids hardcoded external domain)
- Runs npm publish from /tmp (avoids repo .npmrc scoped registry override)
- Corp: unsets all NPM_CONFIG_*/proxy env vars for localhost publish
2026-04-03 20:04:09 -07:00