This commit is contained in:
Nikolay Rozhkov 2024-01-05 21:05:10 +03:00
parent 6d5f33856c
commit 5f9b965be3
2 changed files with 16 additions and 4 deletions

View File

@ -39,10 +39,19 @@ test.each([
// New docs, without base path, new domain
['https://mermaid.js.org/misc/faq.html', 'configure/faq.html'],
['https://mermaid.js.org/community/newDiagram.html', 'community/new-diagram.html'],
['https://mermaid.js.org/community/development.html', 'community/contributing.html#initial-setup'],
['https://mermaid.js.org/community/docker-development.html', 'community/contributing.html#initial-setup'],
[
'https://mermaid.js.org/community/development.html',
'community/contributing.html#initial-setup',
],
[
'https://mermaid.js.org/community/docker-development.html',
'community/contributing.html#initial-setup',
],
['https://mermaid.js.org/community/code.html', 'community/contributing.html#contributing-code'],
['https://mermaid.js.org/community/documentation.html', 'community/contributing.html#contributing-documentation'],
[
'https://mermaid.js.org/community/documentation.html',
'community/contributing.html#contributing-documentation',
],
[
'https://mermaid.js.org/misc/faq.html#frequently-asked-questions',
'configure/faq.html#frequently-asked-questions',

5
run
View File

@ -50,7 +50,7 @@ Development quick start guide:
$(bold ./$name pnpm install) # Install packages
$(bold ./$name dev) # Run dev server with examples, open http://localhost:9000
$(bold ./$name pnpm test) # Run watcher for unit tests
$(bold ./$name pnpm vitest) # Run watcher for unit tests
$(bold ./$name cypress) # Run integration tests (after starting dev server)
$(bold ./$name pnpm build) # Prepare it for production
$(bold ./$name docs:dev) # Then add documentation, open http://localhost:3333
@ -71,6 +71,9 @@ Examples of frequiently used commands:
$(bold ./$name pnpm add --filter mermaid) $(underline package)
Add package to mermaid
$(bold ./$name pnpm -w run lint:fix)
Run prettier and ES lint
$(bold git diff --name-only develop \| xargs ./$name pnpm prettier --write)
Prettify everything you added so far