Is it possible to update bpmn-js-example-custom-shapes to the latest version of bpmn-js? Including the option to colour certain shapes/arcs.
It still uses bpmn-js 3.2.2 and hasn’t been updated in 4 years.
If not, is there another way to use the custom-shapes example with the latest versions of bpmn-js, diagram-js?
@Martin I haven’t tried it myself yet. Unfortunately, I don’t know exactly how to go about updating it. Is that a lot of work? What do I have to consider?
I bumped it but when I’m now trying to build the example and run it in my browser, it gets “aborted do to warning”. A SyntaxError Unexpected token (30:4) while parsing file: …node_modules\bpmn-js\lib\features\outline\OutlineUtil.js.
then…
SyntaxError Unexpected token (290:6) while parsing file: …node_modules\bpmn-js\lib\features\popup-menu\ReplaceMenuProvider.js
It does not seem trivial to update the example. I am grateful for help.
@Jean-Christophe-S It seems like the build chain on that example still assumes ES5 code. We want to update the build/bundling dependencies and it should work, as we target ES2018 nowadays.