From fda952f0e9c7c24964b379fb152a32bbd791fda9 Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Thu, 30 May 2024 16:58:50 +0200 Subject: [PATCH] feat(editor): use npm d3 dependency --- Gruntfile.js | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index a2b5fbb55..0f8b760c6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -221,7 +221,7 @@ module.exports = function(grunt) { "node_modules/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js", "node_modules/marked/marked.min.js", "node_modules/dompurify/dist/purify.min.js", - "packages/node_modules/@node-red/editor-client/src/vendor/d3/d3.v3.min.js", + "node_modules/d3/d3.min.js", "node_modules/i18next/i18next.min.js", "node_modules/i18next-http-backend/i18nextHttpBackend.min.js", "node_modules/jquery-i18next/jquery-i18next.min.js", diff --git a/package.json b/package.json index 385926278..be7bf7614 100644 --- a/package.json +++ b/package.json @@ -86,6 +86,7 @@ "@node-rs/bcrypt": "1.10.4" }, "devDependencies": { + "d3": "3.0.3", "dompurify": "2.4.1", "grunt": "1.6.1", "grunt-chmod": "~1.1.1",