feat: npm token substitution in npmrc
If an encrypted npmToken is found alongside an unencrypted npmrc in config, then the token will replace any `${NPM_TOKEN}` placeholder found, or be appended to the end of the file. This enables large npmrc files to be defined in config without needing to enrypt the entire thing. Closes #1796
Showing
- lib/config/decrypt.js 21 additions, 1 deletionlib/config/decrypt.js
- test/config/__snapshots__/decrypt.spec.js.snap 7 additions, 0 deletionstest/config/__snapshots__/decrypt.spec.js.snap
- test/config/decrypt.spec.js 26 additions, 0 deletionstest/config/decrypt.spec.js
- website/docs/private-modules.md 4 additions, 6 deletionswebsite/docs/private-modules.md
Please register or sign in to comment