coderail-watch 0.1.7 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,6 +36,23 @@ npm version patch
36
36
  npm run publish:public
37
37
  ```
38
38
 
39
+ If publish fails with "Access token expired or revoked":
40
+
41
+ ```bash
42
+ cd tools/coderail-watch
43
+ npm logout
44
+ npm login
45
+ npm run publish:public
46
+ ```
47
+
48
+ If you use an npm access token (CI or 2FA), set it explicitly:
49
+
50
+ ```bash
51
+ cd tools/coderail-watch
52
+ npm config set //registry.npmjs.org/:_authToken <YOUR_NPM_TOKEN>
53
+ npm run publish:public
54
+ ```
55
+
39
56
  2FA note:
40
57
 
41
58
  - npm no longer allows adding new TOTP 2FA from the CLI. Enable 2FA with a security key at https://npmjs.com/settings/<your-username>/tfa before publishing.