5.1.0 • Published 2 years ago

camunda-modeler-plugin-helpers v5.1.0

Weekly downloads
36
License
MIT
Repository
github
Last release
2 years ago

As of version 3.0.0 this library exposes ES modules. Use an ES module aware bundler such as Webpack or Rollup to bundle it for the browser.

Camunda Modeler Plugin Helpers :electric_plug:

Compatible with Camunda Modeler version 2.2

Helper functions for bundling your Camunda Modeler client plugins.

How to use

bpmn-js

Register plugin to be passed as additional module:

import {
  registerBpmnJSPlugin
} from 'camunda-modeler-plugin-helpers';

const BpmnJSModule = {
  __init__: [ 'myService' ],
  myService: [ 'type', ... ]
};

registerBpmnJSPlugin(BpmnJSModule);

Register a custom moddle extension:

import {
  registerBpmnJSModdleExtension
} from 'camunda-modeler-plugin-helpers';

var moddleDescriptor = {
  name: 'my descriptor',
  uri: 'http://example.my.company.localhost/schema/my-descriptor/1.0',
  prefix: 'mydesc',

  ...
};

registerBpmnJSModdleExtension(moddleDescriptor);

License

MIT

5.1.0

2 years ago

5.0.0

2 years ago

5.0.0-alpha.1

2 years ago

5.0.0-alpha.0

2 years ago

4.12.0-alpha.0

3 years ago

3.4.0-alpha.1

4 years ago

3.4.0-alpha.0

5 years ago

3.1.0

5 years ago

3.0.0

5 years ago

2.1.0

5 years ago

1.7.0

7 years ago