Root causes found: 1. publishConfig.registry in each package.json overrides --registry CLI flag, causing npm to hit gitea.bytelyst.com through corp proxy. 2. Global ~/.npmrc proxy settings (NPM_CONFIG_PROXY env vars) route localhost:3300 through the corporate proxy. 3. No .npmrc with auth token was created for npm publish to use. Fix: generate a proper .npmrc in WORK_DIR with: - _authToken for registry auth - @bytelyst:registry scoped override (bypasses publishConfig) - proxy=false + https-proxy=false on corp network - Unified corp/home publish path (both use same .npmrc) Token scope issue still open: current GITEA_NPM_TOKEN has read:package but not write:package — needs regeneration in Gitea UI. |
||
|---|---|---|
| .. | ||
| harden-publish-config.sh | ||
| publish-local-packages.sh | ||
| publish-outdated-packages.sh | ||
| release-packages.sh | ||
| run-registry-tests.sh | ||