Commit 044c967
authored
chore: add NPM token config without corrupting
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..npmrc
1 parent 093f058 commit 044c967
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments