UNPKG

testacode-cursor-rules

Version:

CLI tool to install Testacode's Cursor Rules

53 lines (35 loc) 1.05 kB
# Publishing Guide This document explains how to publish the `testacode-cursor-rules` package to npm. ## Prerequisites 1. Make sure you have an npm account 2. Ensure you're logged in with `npm login` 3. Verify you have the correct npm registry with `npm config get registry` ## Publishing Steps 1. **Update version number** (if necessary): ```bash npm version patch # For bug fixes npm version minor # For new features npm version major # For breaking changes ``` 2. **Test the package locally:** ```bash npm link npx testacode-cursor-rules ``` 3. **Build the project:** ```bash npm run build ``` 4. **Publish to npm:** ```bash npm publish ``` ## After Publishing You can verify your package is published by checking: https://www.npmjs.com/package/testacode-cursor-rules ## Using the Published Package Once published, users can run: ```bash npx testacode-cursor-rules ``` This will download and execute the package, allowing users to select and install Cursor rules to their project.