@onify/flow-extensions 10.0.1 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -0
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  [![Built latest](https://github.com/onify/flow-extensions/actions/workflows/build-latest.yaml/badge.svg)](https://github.com/onify/flow-extensions/actions/workflows/build-latest.yaml)[![Coverage Status](https://coveralls.io/repos/github/onify/flow-extensions/badge.svg?branch=default)](https://coveralls.io/github/onify/flow-extensions?branch=default)
4
4
 
5
+ Flow extensions for [bpmn-elements](https://github.com/paed01/bpmn-elements). It teaches a bpmn-elements engine to run BPMN that uses the `camunda:*` extension elements.
6
+
7
+ <!-- toc -->
8
+
9
+ - [Api](#api)
10
+ - [`extensions(element, context)`](#extensionselement-context)
11
+ - [Examples](#examples)
12
+ - [Bpmn engine example](#bpmn-engine-example)
13
+ - [Extract scripts with extend function](#extract-scripts-with-extend-function)
14
+ - [Extract timers](#extract-timers)
15
+ - [Extend sequence flow with properties and take listeners](#extend-sequence-flow-with-properties-and-take-listeners)
16
+
17
+ <!-- /toc -->
18
+
5
19
  # Api
6
20
 
7
21
  - `extensions`: Flow extensions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onify/flow-extensions",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "description": "Onify Flow extensions",
5
5
  "type": "module",
6
6
  "module": "src/index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "scripts": {
23
23
  "test": "mocha",
24
- "posttest": "npm run lint && npm run types && npm run dist && texample",
24
+ "posttest": "npm run lint && npm run types && npm run dist && toc -c && texample",
25
25
  "lint": "eslint . --cache && prettier . --check --cache",
26
26
  "prepare": "npm run dist && npm run types",
27
27
  "dist": "babel src -d dist && babel test/helpers/FlowScripts.js -d dist",
@@ -46,6 +46,7 @@
46
46
  },
47
47
  "license": "MIT",
48
48
  "devDependencies": {
49
+ "@0dep/toc": "^2.2.0",
49
50
  "@aircall/expression-parser": "^1.0.4",
50
51
  "@babel/cli": "^7.23.9",
51
52
  "@babel/core": "^7.23.9",
@@ -68,8 +69,8 @@
68
69
  "dts-buddy": "^0.8.3",
69
70
  "eslint": "^10.5.0",
70
71
  "globals": "^17.6.0",
71
- "mocha": "^11.0.1",
72
- "mocha-cakes-2": "^3.3.0",
72
+ "mocha": "^12.0.3",
73
+ "mocha-scenarios": "^1.0.1",
73
74
  "moddle-context-serializer": "^6.0.1",
74
75
  "prettier": "^3.2.4",
75
76
  "texample": "^1.0.2",