Develop custom connectors for Bizagi Studio blazingly fast. With bz-cli you are now able to develop wihtout the connector editor developed by Bizagi.
npm install bz-cli
bz new <appName>
This will generate a new project with the following configuration:
- Babel for transpilation.
- jest for testing.
- bz-define to create the bizagi custom connector definition.
- bz-zip to bundle the connector to a .bizc file.
- Write your custom connector's actions in the
srcfolder and transpile them withnpm run devand put them inbuild/actionsfor you. - Write your tests in the
__tests__folder. Run them withnpm testornpm t. - Build your connector with
npm run build. AConnector.bizcfile will be created as a result.
To create a connector aciton use
bz generate-action <actionName>
The action file will be kebab-cased and located in the src folder of your project.