Skip to content

Fix npm configuration isolation before direct publication - #192

Merged
douglas-grishen merged 1 commit into
mainfrom
codex/fix-npm-config-isolation
Sep 22, 2026
Merged

douglas-grishen merged 1 commit into
mainfrom
codex/fix-npm-config-isolation

Conversation

@douglas-grishen

Copy link
Copy Markdown
Contributor

Direct publication stopped before the first npm publish because npm refuses to load /dev/null as both user and global configuration. Create two distinct empty configuration files in the neutral temporary directory before invoking npm, preserving credential isolation and cleanup.

Validation: all 20 direct-publication tests pass, including a regression that invokes the real npm executable with the publisher's configuration. No package is published by the regression test.

@douglas-grishen
douglas-grishen merged commit d59e59e into main Sep 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant