Files
worldwideview/local-plugins/README.md
Antigravity AI d2bdb0cee8 feat(cli): enhance publish command and update default create directory
- feat(cli): Add --org flag to publish to allow publishing under custom NPM scopes (Minor).
- feat(cli): Allow publish command to run from project root via path resolution (Minor).
- feat(cli): Change create default scaffolding to local-plugins/ instead of packages/ (Minor).
- feat(cli): Add --core flag to create to override default and scaffold into packages/ (Minor).
- docs: Update tutorial, CLI readmes, and agent architecture workflows with new commands (Fix).
2026-05-13 10:57:33 +12:00

30 lines
803 B
Markdown

# Local Plugins
This directory is a **pnpm workspace** for developing plugins locally without committing them to the main repository.
## Quick Start
```bash
# Scaffold a new plugin
node packages/wwv-cli/dist/index.js create
# Start dev server (auto-discovers local plugins)
pnpm dev
```
## How It Works
1. Plugins here get full SDK type support via `workspace:*` linking
2. The pre-dev script auto-builds each plugin with Vite
3. Built bundles are copied to `public/plugins-local/`
4. The marketplace load API auto-discovers them in dev mode
5. Everything in this directory is gitignored
## Publishing to NPM
When your plugin is ready to share, you can publish it directly to NPM from the root directory:
```bash
node packages/wwv-cli/dist/index.js publish <plugin-name> [--org <your-org>]
```