Skip to content

Commit

Permalink
[INFRA] Update BPMN Visualization version to 0.21.5 (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
process-analytics-bot authored Feb 18, 2022
1 parent f736618 commit 2274a18
Show file tree
Hide file tree
Showing 34 changed files with 35 additions and 40 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/check-typescript-projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ jobs:
- name: Install dependencies
working-directory: ${{env.project_dir}}
run: npm install
# See https://github.com/process-analytics/bpmn-visualization-js/issues/1808
- name: Fix wrongly placed definitions
working-directory: ${{env.project_dir}}
run: cp -r ./node_modules/bpmn-visualization/dist/src/* ./node_modules/bpmn-visualization/dist
- name: Build project
working-directory: ${{env.project_dir}}
run: npm run build
2 changes: 1 addition & 1 deletion demo/hacktoberfest-custom-themes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h4 id="default-title" class="d-hide">Default Theme</h4>

<script src="../../examples/static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<!-- load the example -->
<script src="../../examples/static/js/diagram/bpmn-diagrams.js"></script>
<script src="../../examples/static/js/style-identifiers.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion demo/load-and-navigation/index.es.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/load-and-navigation/static/css/tailwind.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/monitoring-all-process-instances/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h4 id="frequency-title" class="d-hide">Number of execution</h4>

<script src="../../examples/static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.umd.js" integrity="sha256-lNJnNIdh5oXecah6rOix/TxyGcOYnfkybx4Qii2uxSo="
crossorigin="anonymous"></script>
<script src="https://variancecharts.com/cdn/variance-noncommercial-standalone-6d26aa2.min.js" charset="UTF-8"></script>
Expand Down
2 changes: 1 addition & 1 deletion demo/predictions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<link rel="stylesheet" href="./css/demo.css" type="text/css">
<script defer src="../../examples/static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script defer src="./js/bpmn-diagram-bpmn-spec-pizza.js"></script>
<script defer src="../static/js/use-case.js"></script>
<script defer src="./js/prediction-use-case.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-behavior/apply-css-classes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h2>Apply css classes</h2>
</section>

<script src="../../static/js/link-to-sources.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagram-miwg-test-suite-c_1_1.js"></script>
<script src="index.js"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ <h2>Open a modal on mouse over on a call activity</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
<script src="./modal.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ <h2>Load new BPMN diagram on double click on call activity</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
<script src="./breadcrumbs.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h2>Switch between BPMN renderings on click on call activity</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-behavior/growing-sequence-flow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>Growing Sequence Flow</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ <h2>Attach tooltip and popover to BPMN elements</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-behavior/popover-static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h5 class="mt-2">Popover content</h5>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="../../static/js/dom-helper.js"></script>
<script src="./index.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>Running Dashed Message Flow</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h2>Select elements by BPMN kind</h2>
</section>

<script src="../../static/js/link-to-sources.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagram-miwg-test-suite-a_4_1.js"></script>
<script src="../../static/js/diagram/bpmn-diagram-miwg-test-suite-c_1_0.js"></script>
<script src="../../static/js/diagram/bpmn-diagram-miwg-test-suite-c_1_1.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-bpmn-theme/custom-colors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h2>Custom colors for BPMN kinds and specific elements</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<!-- load the example -->
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="../../static/js/style-identifiers.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-bpmn-theme/custom-fonts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h2>Custom BPMN element fonts</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<!-- load the example -->
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="../../static/js/style-identifiers.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h2>Custom User Task icon</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<!-- load the example -->
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="index.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h2>Various fit after load</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>

<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="index.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/diagram-navigation/diagram-fit-on-load/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h5>Fit type</h5>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/diagram-navigation/diagram-navigation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h2>Diagram Navigation</h2>
</section>

<script src="../../static/js/link-to-sources.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions examples/display-bpmn-diagram/01-getting-started/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ Javascript example to demonstrate how to integrate `bpmn-visualization` in an ht
Load the browser bundle from [jsdelivr](https://www.jsdelivr.com/package/npm/bpmn-visualization), [unpkg](https://unpkg.com/browse/bpmn-visualization)
or any other location:
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
```

💡 During the development step, you can use the non-minified version:
```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.js"></script>
```

### Use the library
Expand Down
4 changes: 2 additions & 2 deletions examples/display-bpmn-diagram/01-getting-started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ <h2>Getting Started</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<!-- if you prefer unpkg, comment the previous line and uncomment the following line -->
<!--<script src="https://unpkg.com/browse/[email protected].4/dist//bpmn-visualization.min.js"></script>-->
<!--<script src="https://unpkg.com/browse/[email protected].5/dist//bpmn-visualization.min.js"></script>-->
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script>
const bpmnVisualization = new bpmnvisu.BpmnVisualization({ container: 'bpmn-container' });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2>Load local BPMN diagrams</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>

<script src="index.js"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h2>Load remote BPMN diagrams</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>

<script src="index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/misc/compare-with-bpmn-js/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ <h2>Compare <code>bpmn-visualization</code> with <code>bpmn-js</code></h2>
<!-- load bpmn-js viewer distro (with pan and zoom) -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/bpmn-navigated-viewer.production.min.js" integrity="sha256-6sVdF06e3b7gVOOVyEZYtZIjq0mzMxjBSbjiOFDXdFo=" crossorigin="anonymous"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>

<script src="shared.js"></script>
<script src="index.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2>Compare <code>bpmn-visualization</code> with <code>kie-editors-standalone</c
<!-- load bpmn kie-editors-standalone -->
<script src="https://cdn.jsdelivr.net/npm/@kogito-tooling/[email protected]/dist/bpmn/index.js" integrity="sha256-sWAO7AzUXClUPIr5JDK6E0JQsNHpJRKb/39oH18MZJY=" crossorigin="anonymous"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>

<script src="../compare-with-bpmn-js/shared.js"></script>
<script src="index.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion examples/overlays/add-remove/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ <h2>Add & remove default overlays</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/overlays/add-stylized/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h5>Stroke</h5>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion examples/overlays/custom-overlay-default-style/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h2>Custom default stroke color of the overlays</h2>

<script src="../../static/js/link-to-sources.js"></script>
<!-- load bpmn-visualization -->
<script src="https://cdn.jsdelivr.net/npm/[email protected].4/dist/bpmn-visualization.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].5/dist/bpmn-visualization.min.js"></script>
<!-- load the example -->
<script src="../../static/js/diagram/bpmn-diagrams.js"></script>
<script src="./index.js"></script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"serve": "webpack serve"
},
"dependencies": {
"bpmn-visualization": "0.21.4"
"bpmn-visualization": "0.21.5"
},
"devDependencies": {
"html-webpack-plugin": "^5.3.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
"typescript": "^4.5.5"
},
"dependencies": {
"bpmn-visualization": "0.21.4"
"bpmn-visualization": "0.21.5"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "vite preview"
},
"dependencies": {
"bpmn-visualization": "0.21.4"
"bpmn-visualization": "0.21.5"
},
"devDependencies": {
"@typed-mxgraph/typed-mxgraph": "^1.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
// [email protected] will fix definitions (some types are missing in previous version). Then, we will be able to set it to "false"
"skipLibCheck": true,
"skipLibCheck": false,
"typeRoots": [
"node_modules/@types",
// The bpmn-visualization types reference "typed-mxgraph"
Expand Down

0 comments on commit 2274a18

Please sign in to comment.