fix: pass the source registry to npm ci for npm 12's allow-remote gate #116
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/realize-npm12-allow-remote"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Unblocks the 0.10.0 release: ./release-version failed its test step on the host because npm 12 defaults allow-remote to none and only exempts a lockfile tarball whose origin is the configured registry. Realize's offline npm ci ran with npm's default registry, so the five realize integration tests, which serve tarballs from local httptest servers, failed with EALLOWREMOTE. Realize now passes --registry with the source's registry base URL, the gate stays on, and the tests put their tarballs on the same origin as the configured registry so they exercise the exemption like a real registry does. Reproduced and verified with npm_config_allow_remote=none on npm 11.17, full suite, vet and golangci-lint clean. Also adds the changelog entry under 0.10.0 and notes that 0.9.1 was never tagged. 🤖 Generated with Claude Code