diff --git a/debian/patches/0740-use-packaged-modules.patch b/debian/patches/0740-use-packaged-modules.patch index ed2b9b1b31..17c8c2e673 100644 --- a/debian/patches/0740-use-packaged-modules.patch +++ b/debian/patches/0740-use-packaged-modules.patch @@ -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" },