@stackguide/mcp-server 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -377,64 +377,6 @@ Use import_cursor_directory_rule with:
|
|
|
377
377
|
|
|
378
378
|
This fetches the rule from cursor.directory and saves it to your local rules collection.
|
|
379
379
|
|
|
380
|
-
## Publishing to npm
|
|
381
|
-
|
|
382
|
-
### Prerequisites
|
|
383
|
-
|
|
384
|
-
1. Create an npm account at [npmjs.com](https://www.npmjs.com/)
|
|
385
|
-
2. Login to npm:
|
|
386
|
-
```bash
|
|
387
|
-
npm login
|
|
388
|
-
```
|
|
389
|
-
|
|
390
|
-
### Steps to Publish
|
|
391
|
-
|
|
392
|
-
1. **Update version** in `package.json`:
|
|
393
|
-
```bash
|
|
394
|
-
npm version patch # or minor, major
|
|
395
|
-
```
|
|
396
|
-
|
|
397
|
-
2. **Build the project**:
|
|
398
|
-
```bash
|
|
399
|
-
npm run build
|
|
400
|
-
```
|
|
401
|
-
|
|
402
|
-
3. **Test locally** (optional):
|
|
403
|
-
```bash
|
|
404
|
-
npm link
|
|
405
|
-
stackguide-mcp # Test the command
|
|
406
|
-
npm unlink
|
|
407
|
-
```
|
|
408
|
-
|
|
409
|
-
4. **Publish to npm**:
|
|
410
|
-
```bash
|
|
411
|
-
npm publish --access public
|
|
412
|
-
```
|
|
413
|
-
|
|
414
|
-
Note: The package is scoped (`@stackguide/mcp-server`), so you need `--access public` for the first publish.
|
|
415
|
-
|
|
416
|
-
5. **Verify publication**:
|
|
417
|
-
```bash
|
|
418
|
-
npm view @stackguide/mcp-server
|
|
419
|
-
```
|
|
420
|
-
|
|
421
|
-
### Updating the Published Package
|
|
422
|
-
|
|
423
|
-
```bash
|
|
424
|
-
npm version patch # Bump version
|
|
425
|
-
npm run build
|
|
426
|
-
npm publish
|
|
427
|
-
```
|
|
428
|
-
|
|
429
|
-
### Publishing Checklist
|
|
430
|
-
|
|
431
|
-
- [ ] All tests pass
|
|
432
|
-
- [ ] README is up to date
|
|
433
|
-
- [ ] Version is bumped
|
|
434
|
-
- [ ] Build succeeds
|
|
435
|
-
- [ ] `main` and `bin` fields in package.json point to correct files
|
|
436
|
-
- [ ] Keywords and description are accurate
|
|
437
|
-
|
|
438
380
|
## Contributing
|
|
439
381
|
|
|
440
382
|
1. Fork the repository
|
package/package.json
CHANGED