Kateb Tech Docs
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_TOKEN

Check authenticated GitHub Packages account

pnpm whoami --registry=https://npm.pkg.github.com

Configure 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 check

Then publish:

pnpm publish --access restricted

Version changes

Patch:

pnpm version patch

Minor:

pnpm version minor

Major:

pnpm version major

Typical patch release

pnpm check
pnpm version patch
pnpm publish --access restricted

On this page