@ohmygame/plugin-cli
v2.35.0
Published
Checks and packs OhMyGame plugins with the app's own rules.
Readme
@ohmygame/plugin-cli
Checks and packs OhMyGame plugins with the app's own code, so a package that passes here is one the app will add.
npm install --save-dev @ohmygame/plugin-cli
npx ohmygame-plugin check
npx ohmygame-plugin packcheck [folder]checks what npm would publish from the folder: the manifest, its files, the npm name and version, and the panels' use of the page components.pack [folder]runsnpm pack, checks the archive as adding it would, and keeps the.tgzonly when it has no errors.--pack-destination <folder>chooses where it goes.
The manifest's JSON Schema ships as @ohmygame/plugin-cli/plugin.schema.json.
ohmygame-plugin --version prints the plugin API it checks for, which is also
the package's version.
Start a plugin with npm create ohmygame-plugin.
