camunda / camunda-modeler-plugins

Plugins for the Camunda Modeler.
168 stars 67 forks source link

Add `plugins.json` file + schema #69

Closed pinussilvestrus closed 2 years ago

pinussilvestrus commented 2 years ago

Closes #66

This provides a simple start for an accessible, structured plugins file that consumers can use to build their tools on top. Cf. to this comment for some rationale.

It also adds a simple GitHub action to verify the JSON against a schema (we use ajv-cli for it).

Failed build example: https://github.com/camunda/camunda-modeler-plugins/runs/6502985121?check_suite_focus=true Success build example: https://github.com/camunda/camunda-modeler-plugins/actions/runs/2350471266

Note that I set additionalProperties to false for the plugins items schema, to have more control about what we deliver. I'm open to discussing this.

nikku commented 2 years ago

:clap: