Commands
GitHub Packages
Authenticate, inspect, version, and publish Kateb Tech npm packages through GitHub Packages.
GitHub Packages
Set GitHub token for the current terminal
export GITHUB_TOKEN="paste_your_token_here"Verify the token exists
echo $GITHUB_TOKENCheck authenticated GitHub Packages account
pnpm whoami --registry=https://npm.pkg.github.comConfigure the Kateb Tech registry
The project .npmrc should include:
@katebtech:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}Publish
Run package check first:
pnpm checkThen publish:
pnpm publish --access restricted
Version changes
Patch:
pnpm version patchMinor:
pnpm version minorMajor:
pnpm version majorTypical patch release
pnpm check
pnpm version patch
pnpm publish --access restricted