From 84f592c41714d62bf1b52e47e930eedd0f064693 Mon Sep 17 00:00:00 2001 From: Tyler Long Date: Tue, 5 Sep 2017 20:57:13 +0800 Subject: [PATCH] Update dagre-d3-renderer --- README.md | 2 +- package.json | 4 ++-- todo.md | 2 ++ yarn.lock | 10 +++++----- 4 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cd257ec52..810f93be6 100644 --- a/README.md +++ b/README.md @@ -192,7 +192,7 @@ Make sure you have Chrome browser installed, this project uses Chrome headless t If you want real time incremental build: - yarn watch + yarn build:watch ## Lint diff --git a/package.json b/package.json index b43eb538f..9309373fd 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ }, "scripts": { "build": "node -r babel-register ./node_modules/.bin/webpack --progress --colors", - "watch": "yarn build -- --watch", + "build:watch": "yarn build -- --watch", "release": "yarn build -- -p --config webpack.config.prod.js", "upgrade": "yarn-upgrade-all && yarn remove d3 && yarn add d3@3.5.17", "lint": "standard", @@ -43,7 +43,7 @@ "chalk": "^2.1.0", "d3": "3.5.17", "dagre": "^0.7.4", - "dagre-d3-renderer": "^0.4.18", + "dagre-d3-renderer": "^0.4.21", "he": "^1.1.1", "lodash": "^4.17.4", "minimist": "^1.2.0", diff --git a/todo.md b/todo.md index 30eee0d6c..b32ecf443 100644 --- a/todo.md +++ b/todo.md @@ -11,3 +11,5 @@ - Move cli to mermaid-cli project ? - remove 'fs' as dependency - remove 'lodash' as dependency + - https://github.com/lodash/babel-plugin-lodash + - https://www.npmjs.com/package/lodash-webpack-plugin diff --git a/yarn.lock b/yarn.lock index 8f1d8a764..72cef6083 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1555,14 +1555,14 @@ d@1: dependencies: es5-ext "^0.10.9" -dagre-d3-renderer@^0.4.18: - version "0.4.18" - resolved "https://registry.yarnpkg.com/dagre-d3-renderer/-/dagre-d3-renderer-0.4.18.tgz#27a82c183ccbeb37dd2540114bf9fd6536389060" +dagre-d3-renderer@^0.4.21: + version "0.4.21" + resolved "https://registry.yarnpkg.com/dagre-d3-renderer/-/dagre-d3-renderer-0.4.21.tgz#80b73dd31669a2f6bccc070de1730da43fa0a983" dependencies: d3 "3.5.17" dagre "^0.7.4" graphlib "^2.1.1" - lodash "3.10.1" + lodash "^4.17.4" dagre@^0.7.4: version "0.7.4" @@ -3607,7 +3607,7 @@ lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" -lodash@3.10.1, lodash@^3.10.0, lodash@^3.8.0: +lodash@^3.10.0, lodash@^3.8.0: version "3.10.1" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"