Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Commit

Permalink
Update cli source (#4)
Browse files Browse the repository at this point in the history
* update source

* add version

* update base image
  • Loading branch information
neenjaw committed Apr 20, 2020
1 parent fe9ab94 commit 7c31906
Show file tree
Hide file tree
Showing 4 changed files with 108 additions and 107 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM neenjaw/mermaid:base
FROM neenjaw/mermaid:node-13

WORKDIR /mmdc
COPY . /mmdc
Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
set -euo pipefail

function main {
printf "Using MMDC version %s\n" "$(/node_modules/.bin/mmdc -V)"

outpath="${1}"
mkdir -p "${outpath}"
printf "Got output path: %s\n" "${outpath}"
Expand Down
208 changes: 104 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
},
"homepage": "https://github.com/neenjaw/mermaid-workflow-test#readme",
"dependencies": {
"mermaid.cli": "^0.5.1",
"minimist": ">=0.2.1"
"@mermaid-js/mermaid-cli": "^8.4.8"
}
}

0 comments on commit 7c31906

Please sign in to comment.