You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: add NPM token config without corrupting .npmrc
OK, this was pretty funny in the end. The base `.npmrc` didn't have a trailing line break, so this command:
```
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> .npmrc
```
Turned the file into this:
```
auto-install-peers=true
workspaces-update=false//registry.npmjs.org/:_authToken=${NPM_TOKEN}
```
That explains both why:
1. The auth didn't work.
2. The workspace refs stopped updating.
The solution herein is to add a preceding line break, unconditionally.
0 commit comments