Official developer CLI and build tool for Yolnoma plugins.
yolnoma-plugin-dev helps developers bootstrap and build plugins for the Yolnoma desktop application.
# Global
npm install -g yolnoma-plugin-dev
# Or use with npx
npx yolnoma-plugin-dev create <plugin-name>Scaffolds a complete starter plugin project.
yolnoma-plugin-dev create hello-pluginOptions:
--id <id>: Custom reverse-DNS identifier (default:com.example.<name>)--author <author>: Author name--desc <description>: Plugin description
hello-plugin/
├── src/
│ ├── index.tsx ← Plugin entry point using definePlugin()
│ └── pages/
│ └── HomePage.tsx ← React UI component
├── package.json
├── tsconfig.json
├── tsup.config.ts ← Pre-configured ES module bundler
├── yolnoma.config.ts ← Plugin configuration
├── .gitignore
└── README.md
Builds the plugin project into dist/plugin.js.
yolnoma-plugin-dev build
# or specify project directory
yolnoma-plugin-dev build ./my-pluginBuilds the plugin and automatically installs dist/plugin.js to the Yolnoma AppData plugins directory (%LOCALAPPDATA%\Yolnoma\plugins\<plugin-id>\plugin.js).
yolnoma-plugin-dev install
# or specify project directory
yolnoma-plugin-dev install ./my-pluginUninstalls the plugin by removing its directory from the Yolnoma AppData plugins directory (%LOCALAPPDATA%\Yolnoma\plugins\<plugin-id>\).
yolnoma-plugin-dev uninstall
# or specify project directory
yolnoma-plugin-dev uninstall ./my-plugin- Create a plugin:
yolnoma-plugin-dev create my-plugin
- Navigate into the directory:
cd my-plugin - Install dependencies:
npm install
- Build the plugin bundle:
yolnoma-plugin-dev build
- Install into Yolnoma:
yolnoma-plugin-dev install
- Uninstall from Yolnoma when needed:
yolnoma-plugin-dev uninstall
MIT — JK Software