stable

Clone or download

Read-only

Move the Mermaid diagram element out of @tuleap/core

The primary goal was to upgrade Mermaid to 10.x but they switched to an ESM-only bundle which is annoying to deal with in the gigantic Webpack config of @tuleap/core. Changelogs: https://github.com/mermaid-js/mermaid/releases/tag/v10.0.1 https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0 https://github.com/mermaid-js/mermaid/releases/tag/v9.4.0 Part of request #31109: mermaid: 9.3.0 -> 10.0.1 Change-Id: Id7053d89c5c191b42b05b81b323bdf48499b3f3f

Modified Files

Name
M plugins/git/include/Git/GitRepositoryBrowserController.php +10 −6 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Blob.php +8 −1 Go to diff View file
M plugins/git/include/GitPHP/controller/Controller_Tree.php +8 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php +12 −7 Go to diff View file
M src/common/Widget/Note/Note.php +14 −5 Go to diff View file
M src/scripts/main/package.json +0 −2 Go to diff View file
M src/scripts/main/pnpm-lock.yaml +1 −456 Go to diff View file
M src/scripts/main/webpack.common.js +0 −1 Go to diff View file
A src/scripts/mermaid-diagram-element/package.json +21 −0 Go to diff View file
A src/scripts/mermaid-diagram-element/pnpm-lock.yaml +452 −0 Go to diff View file
R src/scripts/main/src/mermaid/__snapshots__/mermaid-diagram-element.test.ts.snap Go to diff View file
R src/scripts/main/src/mermaid/id-generator.test.ts Go to diff View file
R src/scripts/main/src/mermaid/id-generator.ts Go to diff View file
R src/scripts/main/src/mermaid/index.ts Go to diff View file
R src/scripts/main/src/mermaid/initialize-mermaid.test.ts Go to diff View file
R src/scripts/main/src/mermaid/initialize-mermaid.ts Go to diff View file
R src/scripts/main/src/mermaid/mermaid-diagram-element.test.ts Go to diff View file
R src/scripts/main/src/mermaid/mermaid-diagram-element.ts Go to diff View file
R src/scripts/main/src/mermaid/mermaid-render.ts Go to diff View file
R src/scripts/main/src/mermaid/panzoom.ts Go to diff View file
A src/scripts/mermaid-diagram-element/tsconfig.json +9 −0 Go to diff View file
A src/scripts/mermaid-diagram-element/vite.config.ts +37 −0 Go to diff View file