- 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).
803 B
803 B
Local Plugins
This directory is a pnpm workspace for developing plugins locally without committing them to the main repository.
Quick Start
# Scaffold a new plugin
node packages/wwv-cli/dist/index.js create
# Start dev server (auto-discovers local plugins)
pnpm dev
How It Works
- Plugins here get full SDK type support via
workspace:*linking - The pre-dev script auto-builds each plugin with Vite
- Built bundles are copied to
public/plugins-local/ - The marketplace load API auto-discovers them in dev mode
- 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:
node packages/wwv-cli/dist/index.js publish <plugin-name> [--org <your-org>]