From 241ed1d3cb12ac3c8879d24d92bfe975f830da18 Mon Sep 17 00:00:00 2001 From: znetsixe <73483679+znetsixe@users.noreply.github.com> Date: Tue, 16 Sep 2025 12:10:41 +0200 Subject: [PATCH] errormetrics fix --- index.js | 6 +++--- package.json | 4 ++-- settings/projectSettings.json | 4 ++-- settings/projectSpecificSettings.js | 4 ++-- src/helper/nodeTemplates.js | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/index.js b/index.js index d542a17..34d7df4 100644 --- a/index.js +++ b/index.js @@ -1,10 +1,10 @@ /** - * generalFunctions/index.js + * generalfunctions/index.js * ----------------------------------------------------------- * Central barrel file for re-exporting helpers and configurations. * Provides both namespace exports and dynamic loading capabilities. * now we can load modules like this: - * const { menuUtils, outputUtils } = require('generalFunctions'); + * const { menuUtils, outputUtils } = require('generalfunctions'); */ // Core helper modules @@ -16,7 +16,7 @@ const configUtils = require('./src/helper/configUtils.js'); // Domain-specific modules const { MeasurementContainer } = require('./src/measurements/index.js'); const configManager = require('./src/configs/index.js'); -const nrmse = require('./src/nrmse/ErrorMetrics.js'); +const nrmse = require('./src/nrmse/errorMetrics.js'); const state = require('./src/state/state.js'); const convert = require('./src/convert/index.js'); const MenuManager = require('./src/menu/index.js'); diff --git a/package.json b/package.json index 944f4a0..e41e1e3 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "generalFunctions", + "name": "generalfunctions", "version": "1.0.0", "description": "General utility functions used across multiple Node-RED modules", "main": "./index.js", @@ -17,7 +17,7 @@ }, "repository": { "type": "git", - "url": "https://gitea.centraal.wbd-rd.nl/RnD/generalFunctions.git" + "url": "https://gitea.centraal.wbd-rd.nl/RnD/generalfunctions.git" }, "keywords": [ "utilities", diff --git a/settings/projectSettings.json b/settings/projectSettings.json index 1196a79..e81db96 100644 --- a/settings/projectSettings.json +++ b/settings/projectSettings.json @@ -7,8 +7,8 @@ "taggcodeAPI": "https://pimmoerman.nl/rdlab/tagcode.app/v2.1/apiBLAH" }, "local": { - "units": "http://localhost:1880/generalFunctions/datasets/unitData.json", - "taggcodeAPI": "http://localhost:1880/generalFunctions/datasets/assetData" + "units": "http://localhost:1880/generalfunctions/datasets/unitData.json", + "taggcodeAPI": "http://localhost:1880/generalfunctions/datasets/assetData" } } } \ No newline at end of file diff --git a/settings/projectSpecificSettings.js b/settings/projectSpecificSettings.js index b4d748b..7e45eb6 100644 --- a/settings/projectSpecificSettings.js +++ b/settings/projectSpecificSettings.js @@ -88,8 +88,8 @@ class ProjectSettings { taggcodeAPI: this.cloudAPI, }, local: { - units: "http://localhost:1880/generalFunctions/datasets/unitData.json", - taggcodeAPI: "http://localhost:1880/generalFunctions/datasets/assetData", + units: "http://localhost:1880/generalfunctions/datasets/unitData.json", + taggcodeAPI: "http://localhost:1880/generalfunctions/datasets/assetData", }, }, }; diff --git a/src/helper/nodeTemplates.js b/src/helper/nodeTemplates.js index da259e4..1a7737b 100644 --- a/src/helper/nodeTemplates.js +++ b/src/helper/nodeTemplates.js @@ -33,7 +33,7 @@ const nodeTemplates = { parent: "node-input-parent", }, projectSettingsURL: - "http://localhost:1880/generalFunctions/settings/projectSettings.json", + "http://localhost:1880/generalfunctions/settings/projectSettings.json", }, exampleTemplate: {