| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| .devcontainer/ | H | 16-Oct-2025 | - | 18 | 16 | |
| .github/workflows/ | H | 16-Oct-2025 | - | 86 | 67 | |
| .phpstan/ | H | 23-Apr-2026 | - | 221 | 182 | |
| _test/ | H | 23-Apr-2026 | - | 581 | 425 | |
| action/ | H | 23-Apr-2026 | - | 171 | 134 | |
| build/ | H | 22-Apr-2026 | - | 240 | 198 | |
| css/ | H | 23-Apr-2026 | - | 336 | 292 | |
| data/ | H | 16-Oct-2025 | - | 385 | 381 | |
| font/ | H | 22-Apr-2026 | - | |||
| images/ | H | 16-Oct-2025 | - | 1,504 | 1,231 | |
| inc/ | H | 23-Apr-2026 | - | 171 | 134 | |
| lang/ | H | 16-Oct-2025 | - | 42 | 35 | |
| script/ | H | 23-Apr-2026 | - | 511 | 416 | |
| syntax/ | H | 23-Apr-2026 | - | 211 | 166 | |
| test/ | H | 19-Apr-2026 | - | 565 | 509 | |
| vendor/ | H | 22-Apr-2026 | - | 8,766 | 7,706 | |
| .editorconfig | H A D | 16-Oct-2025 | 147 | 10 | 8 | |
| .gitignore | H A D | 13-Apr-2026 | 128 | 7 | 5 | |
| .stylelintrc.json | H A D | 13-Apr-2026 | 402 | 15 | 14 | |
| LICENSE | H A D | 16-Oct-2025 | 1.6 KiB | 30 | 23 | |
| README.md | H A D | 23-Apr-2026 | 1.5 KiB | 76 | 51 | |
| all.less | H A D | 22-Apr-2026 | 732 | 18 | 15 | |
| bpmnio.png | HD | 16-Oct-2025 | 13.5 KiB | |||
| composer.json | H A D | 13-Apr-2026 | 658 | 24 | 23 | |
| deleted.files | H A D | 22-Apr-2026 | 521 | 16 | 15 | |
| eslint.config.js | H A D | 13-Apr-2026 | 794 | 31 | 29 | |
| package-lock.json | H A D | 22-Apr-2026 | 148.6 KiB | 3,700 | 3,699 | |
| package.json | H A D | 22-Apr-2026 | 744 | 25 | 24 | |
| phpcs.xml | H A D | 13-Apr-2026 | 1.4 KiB | 40 | 30 | |
| phpstan.neon | H A D | 23-Apr-2026 | 151 | 9 | 8 | |
| plugin.info.txt | H A D | 22-Apr-2026 | 220 | 8 | 7 | |
| print.less | H A D | 16-Oct-2025 | 38 | 2 | 1 | |
| script.js | H A D | 13-Apr-2026 | 417 | 9 | 0 | |
| update-vendor.sh | H A D | 22-Apr-2026 | 365 | 16 | 8 |
README.md
1# dokuwiki-plugin-bpmnio 2 3Renders using the bpmn.io js libraries within dokuwiki: 4 5* BPMN v2.0 diagrams 6* DMN v1.3 decision requirement diagrams, decision tables and literal expressions 7 8Refer to this page for details: <https://www.dokuwiki.org/plugin:bpmnio> 9 10## Development 11 12### Prerequisites 13 14* PHP 8.1+ 15* [Composer](https://getcomposer.org/) 16* Node.js 20+ and npm 17 18### Setup 19 20```bash 21# Install PHP dev dependencies (phpcs, phpstan) 22composer install 23 24# Install JS/CSS dev dependencies and vendor build packages 25npm install 26``` 27 28### Linting 29 30```bash 31# PHP code style 32composer cs 33 34# PHP static analysis 35composer stan 36 37# JavaScript lint 38npm run lint:js 39 40# LESS/CSS lint 41npm run lint:css 42 43# All JS + CSS lints 44npm run lint 45``` 46 47### Testing 48 49Tests run within the DokuWiki test framework. Clone the plugin into a DokuWiki 50installation's `lib/plugins/bpmnio/` directory, then run: 51 52```bash 53cd /path/to/dokuwiki 54php vendor/bin/phpunit --group plugin_bpmnio 55``` 56 57### Updating vendor libraries 58 59The committed `vendor/` bundles are generated locally from the npm packages 60declared in [package.json](package.json). To update them: 61 62```bash 63# Change the pinned bpmn-js / dmn-js versions in package.json when needed 64npm install 65 66# Rebuild the committed vendor bundles and copied assets 67npm run build:vendor 68 69# Or use the compatibility wrapper 70./update-vendor.sh 71``` 72 73The build step emits the production browser bundles into `vendor/`, copies the 74required LESS assets from `node_modules`, and refreshes the public `font/` 75directory used by DokuWiki. 76