8000 Address https://github.com/symfony/symfony/pull/54424#pullrequestrevi… · MatTheCat/symfony@6200dc1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6200dc1

Browse files
< 8000 div data-testid="author-avatar" class="Box-sc-g0xbh4-0 hKWjvQ">MatTheCatMatTheCat
committed
1 parent 8db647e commit 6200dc1

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
vendor/
22
composer.lock
33
phpunit.xml
4+
/Resources/views/Script/Mermaid/repo-*

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Script/Mermaid/Makefile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,16 @@ export const addDiagrams = () => {
1212
};
1313
endef
1414

15+
tag ?= v10.9.0
16+
1517
.PHONY: mermaid-flowchart-v2.min.js
16-
mermaid-flowchart-v2.min.js: | mermaid-$(if $(tag),$(tag),$(error missing “tag” variable))/node_modules
17-
$(file >mermaid-$(tag)/packages/mermaid/src/diagram-api/diagram-orchestration.ts,$(diagram-orchestration))
18-
pnpm -C mermaid-$(tag) run build
19-
cp mermaid-$(tag)/packages/mermaid/dist/mermaid.min.js $@
18+
mermaid-flowchart-v2.min.js: | repo-$(tag)/node_modules
19+
$(file >repo-$(tag)/packages/mermaid/src/diagram-api/diagram-orchestration.ts,$(diagram-orchestration))
20+
pnpm -C repo-$(tag) run build
21+
cp repo-$(tag)/packages/mermaid/dist/mermaid.min.js $@
2022

21-
mermaid-%/node_modules: | mermaid-%
23+
repo-%/node_modules: | repo-%
2224
pnpm -C $(@D) install --ignore-scripts
2325

24-
mermaid-%:
26+
repo-%:
2527
curl -fL https://github.com/mermaid-js/mermaid/archive/refs/tags/$*.tar.gz | tar -xz --strip-components=1 --one-top-level=$@
26-

0 commit comments

Comments
 (0)
0