run Error Edge Case & run Help Format Correction#7531
run Error Edge Case & run Help Format Correction#7531MDeacon7843 wants to merge 2 commits intomermaid-js:developfrom
run Error Edge Case & run Help Format Correction#7531Conversation
�[1mMERMAID LOCAL DOCKER DEVELOPMENT�[0m
Welcome! Thank you for joining the development.
This is a script for running commands within docker containers at ease.
__________________________________________________________________________________________
Development Quick Start Guide:
�[1m./run pnpm install�[0m # Install packages
�[1m./run dev�[0m # Launch dev server with examples, open http://localhost:9000
�[1m./run docs:dev�[0m # Launch official website, open http://localhost:3333
�[1m./run pnpm vitest�[0m # Run watcher for unit tests
�[1m./run cypress�[0m # Run integration tests (after starting dev server)
�[1m./run pnpm build�[0m # Prepare it for production
__________________________________________________________________________________________
Commands:
�[1m./run build�[0m # Build image
�[1m./run cypress�[0m # Run integration tests
�[1m./run dev�[0m # Run dev server with examples, open http://localhost:9000
�[1m./run docs:dev�[0m # For docs contributions, open http://localhost:3333
�[1m./run help�[0m # Show this help
�[1m./run pnpm�[0m # Run any 'pnpm' command
�[1m./run sh�[0m # Open 'sh' inside docker container for development
__________________________________________________________________________________________
Examples of frequently used commands:
�[1m./run pnpm add --filter mermaid�[0m �[4mpackage�[0m
Add package to mermaid
�[1m./run pnpm -w run lint:fix�[0m
Run prettier and ES lint
�[1mgit diff --name-only develop | xargs ./run pnpm prettier --write�[0m
Prettify everything you added so far
�[1m./run cypress open --project .�[0m
Open cypress interactive GUI
�[1m./run cypress run --spec cypress/integration/rendering/�[0m�[4mtest.spec.ts�[0m
Run specific test in cypress
�[1mxhost +local:�[0m
Allow local connections for x11 server or
�[1mMERMAID LOCAL DOCKER DEVELOPMENT�[0m
Welcome! Thank you for joining the development.
This is a script for running commands within docker containers at ease.
__________________________________________________________________________________________
Development Quick Start Guide:
�[1m./run pnpm install�[0m # Install packages
�[1m./run dev�[0m # Launch dev server with examples, open http://localhost:9000
�[1m./run docs:dev�[0m # Launch official website, open http://localhost:3333
�[1m./run pnpm vitest�[0m # Run watcher for unit tests
�[1m./run cypress�[0m # Run integration tests (after starting dev server)
�[1m./run pnpm build�[0m # Prepare it for production
__________________________________________________________________________________________
Commands:
�[1m./run build�[0m # Build image
�[1m./run cypress�[0m # Run integration tests
�[1m./run dev�[0m # Run dev server with examples, open http://localhost:9000
�[1m./run docs:dev�[0m # For docs contributions, open http://localhost:3333
�[1m./run help�[0m # Show this help
�[1m./run pnpm�[0m # Run any 'pnpm' command
�[1m./run sh�[0m # Open 'sh' inside docker container for development
__________________________________________________________________________________________
Examples of frequently used commands:
�[1m./run pnpm add --filter mermaid�[0m �[4mpackage�[0m
Add package to mermaid
�[1m./run pnpm -w run lint:fix�[0m
Run prettier and ES lint
�[1mgit diff --name-only develop | xargs ./run pnpm prettier --write�[0m
Prettify everything you added so far
�[1m./run cypress open --project .�[0m
Open cypress interactive GUI
�[1m./run cypress run --spec cypress/integration/rendering/�[0m�[4mtest.spec.ts�[0m
Run specific test in cypress
�[1mxhost +local:�[0m
Allow local connections for x11 server output
✅ Deploy Preview for mermaid-js ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@mermaid-js/examples
mermaid
@mermaid-js/layout-elk
@mermaid-js/layout-tidy-tree
@mermaid-js/mermaid-zenuml
@mermaid-js/parser
@mermaid-js/tiny
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #7531 +/- ##
=======================================
Coverage 3.34% 3.34%
=======================================
Files 524 524
Lines 55256 55256
Branches 795 795
=======================================
Hits 1850 1850
Misses 53406 53406
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
📑 Summary
Very tiny change to fix both of the issues reported by me.
The run error is fixed by adding
run text eol=lfto.gitattributesforcing git to format run in a manner that removes the '\r' (carriage return) that caused the error.The missing
\nin the./run helpcommand was added.Resolves #7532