Commit 1495892
fix: use
#41 fixed yarn's default registry but the v0.1.0-alpha.29 publish run
still failed:
+ yarn publish --tag latest --registry https://registry.npmjs.org
error Couldn't publish package: "https://registry.npmjs.org/@sfcompute%2fnodes-sdk-alpha: Not found"
`yarn publish` is not picking up the `_authToken` entry that the script
writes via `npm config set` at the top — the PUT request goes out
unauthenticated and npm responds with 404. `npm publish` reads the same
~/.npmrc that `npm config set` wrote to, so it actually authenticates.
publishConfig.access is already "public" in package.json so no flag is
required.
Generated with [Indent](https://indent.com)
Co-authored-by: Indent <noreply@indent.com>npm publish so the auth token actually gets used (#43)1 parent 36e044e commit 1495892
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments