chore(release): clarify stale npm auth recovery

This commit is contained in:
Devin Foley committed 2026-05-03 19:07:11 -07:00
1 parent 22df72ac7f
commit 318718b04a
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -109,7 +109,8 @@ function ensureNpmAuth() {
throw new Error(
[
"npm auth check failed.",
"Run `npm login` or `npm adduser` on this maintainer machine with an npm account that can publish to the @paperclipai scope, then rerun with --publish.",
"This usually means the machine is either not logged into npm yet or has a stale token in ~/.npmrc.",
"Run `npm logout --registry=https://registry.npmjs.org/` and then `npm login` or `npm adduser` on this maintainer machine with an npm account that can publish to the @paperclipai scope, then rerun with --publish.",
"Do not use this auth flow in CI; it is only for the one-time human bootstrap publish.",
].join(" "),
);