You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Build and test locally
npm run build
npm link
promptcoder --help
# Test the package structure
npm pack --dry-run
2. Version Management
# For patch updates (1.0.0 -> 1.0.1)
npm version patch
# For minor updates (1.0.0 -> 1.1.0)
npm version minor
# For major updates (1.0.0 -> 2.0.0)
npm version major
3. Publish to npm
# Login to npm (if not already logged in)
npm login
# Publish the package
npm publish
# For first-time publishing or if you need to specify access
npm publish --access public
4. Verify Publication
# Check on npm website# https://www.npmjs.com/package/promptcoder-cli# Test installation
npm install -g promptcoder-cli
promptcoder --help