Files
pi-config/extensions/pi-crew/docs/publishing.md

66 lines
992 B
Markdown

# Publishing pi-crew
This package is published as the scoped public npm package:
```text
pi-crew
```
Before publishing to npm:
1. Confirm package metadata in `package.json`:
- `author`
- `repository`
- `homepage`
- `bugs`
- `publishConfig.access = public`
2. Confirm license and notices:
- keep `LICENSE`
- keep `NOTICE.md`
- document copied/adapted MIT source if any substantial code is ported
3. Run checks:
```bash
npm run check
```
4. Verify package contents:
```bash
npm pack --dry-run
```
5. Verify local install in Pi:
```bash
pi install ./pi-crew
/team-doctor
/team-validate
```
6. Publish when ready:
```bash
npm publish --access public
```
Users can install the published package with:
```bash
pi install npm:pi-crew
```
## Config schema
The package exports:
```text
./schema.json
```
Use this for editor validation of:
```text
~/.pi/agent/extensions/pi-crew/config.json
```