Since npm token creation requires interactive authentication, please run this manually:
npm token create --read-only false
When prompted, enter your npm password. Copy the generated token (it starts with npm_).
Once you have the token, add it to your GitHub repository:
# Using GitHub CLI (replace YOUR_NPM_TOKEN with the actual token)
gh secret set NPM_TOKEN --body "YOUR_NPM_TOKEN" --repo cahaseler/wikijs-mcp
Or manually:
NPM_TOKENTo publish your first version:
# Create and push a tag
git tag v1.0.1
git push origin v1.0.1
This will trigger the release workflow which will:
Use the Version Bump workflow:
Before publishing, check if 'wikijs-mcp' is available:
npm view wikijs-mcp
If it's taken, update the package name in package.json.