From cf2f5742cc26065b76e770e4bf0fc4971788989a Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Wed, 10 Dec 2025 21:42:18 +0100 Subject: [PATCH] Add NPM token setup instructions to README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6fb1f427..539201fb 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,13 @@ Complete release process: npm run publish # Publish all packages to npm ``` + **NPM Token Setup**: Publishing requires a granular access token with "Bypass 2FA on publish" enabled. + - Go to https://www.npmjs.com/settings/badlogic/tokens/ + - Create a new "Granular Access Token" + - Select "Bypass 2FA on publish" + - Tokens expire after 90 days, so regenerate when needed + - Set the token: `npm config set //registry.npmjs.org/:_authToken=YOUR_TOKEN` + 6. **Add new [Unreleased] section** (for next development cycle): ```bash # Add a new [Unreleased] section at the top of CHANGELOG.md