Use packaged versions of mermaid, d3*

This commit is contained in:
Pirate Praveen 2021-01-18 21:19:33 +05:30
parent 5572715e33
commit fba8257bfc

View file

@ -98,6 +98,30 @@ Use debian packaged node modules when available
};
--- a/package.json
+++ b/package.json
@@ -72,10 +72,10 @@
"cron-validator": "^1.1.1",
"cropper": "^2.3.0",
"css-loader": "^2.1.1",
- "d3": "^5.16.0",
- "d3-sankey": "^0.12.3",
- "d3-scale": "^2.2.2",
- "d3-selection": "^1.2.0",
+ "d3": "link:/usr/share/nodejs/d3",
+ "d3-sankey": "link:/usr/share/nodejs/d3-sankey",
+ "d3-scale": "link:/usr/share/nodejs/d3-scale",
+ "d3-selection": "link:/usr/share/nodejs/d3-selection",
"dateformat": "^3.0.3",
"deckar01-task_list": "^2.3.1",
"diff": "^3.4.0",
@@ -107,7 +107,7 @@
"katex": "^0.10.0",
"lodash": "^4.17.20",
"marked": "^0.3.12",
- "mermaid": "^8.5.2",
+ "mermaid": "link:/usr/share/nodejs/mermaid",
"mersenne-twister": "1.1.0",
"minimatch": "^3.0.4",
"miragejs": "^0.1.40",
@@ -160,6 +160,64 @@
"xterm": "3.14.5"
},