create-komari-plugin
v1.4.3
Published
Create a Komari plugin project
Readme
create-komari-plugin
Create a Komari plugin project with the SDK and development tools:
npm create komari-plugin helloThe initializer asks for the development Komari server URL and API key, then
writes them to the generated project's gitignored komari.local.json.
The prompts and generated README support Chinese and English. Use
--lang zh-CN or --lang en, or set KOMARI_LANG. The selected language is
stored in komari.local.json for @komari-monitor/plugin-dev.
cd hello
npm install
npm run typecheck
npm run devThe generated project uses @komari-monitor/[email protected] and
@komari-monitor/[email protected] for the Komari 1.4.x compatibility line.
Its manifest leaves the optional Komari compatibility constraint unset so it can
be developed against the configured server; add a constraint before publishing
when the deployment target is known.
Repository: https://github.com/komari-monitor/create-komari-plugin
