mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-29 13:16:40 +02:00
Support docs:dev in docker
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vitepress --port 3333 --open",
|
"dev": "vitepress --port 3333 --host",
|
||||||
"build": "pnpm prefetch && vitepress build",
|
"build": "pnpm prefetch && vitepress build",
|
||||||
"build-no-prefetch": "vitepress build",
|
"build-no-prefetch": "vitepress build",
|
||||||
"serve": "vitepress serve",
|
"serve": "vitepress serve",
|
||||||
|
2
run
2
run
@@ -27,7 +27,7 @@ $RUN --service-ports mermaid sh -c "npx pnpm run dev"
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
docs:dev)
|
docs:dev)
|
||||||
$RUN --service-ports mermaid sh -c "cd packages/mermaid/src/docs && npx pnpm prefetch && npx vitepress --port 3333 --host"
|
$RUN --service-ports mermaid sh -c "npx pnpm run --filter mermaid docs:dev"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
cypress)
|
cypress)
|
||||||
|
Reference in New Issue
Block a user