2025-05-14 11:32:19 +02:00
|
|
|
{
|
|
|
|
|
"name": "EVOLV",
|
2026-03-31 18:29:03 +02:00
|
|
|
"version": "1.0.29",
|
2025-05-14 11:32:19 +02:00
|
|
|
"description": "Modular Node-RED package containing all control and automation nodes developed under the EVOLV project.",
|
|
|
|
|
"keywords": [
|
|
|
|
|
"node-red",
|
|
|
|
|
"EVOLV",
|
|
|
|
|
"automation",
|
|
|
|
|
"control",
|
|
|
|
|
"wastewater"
|
|
|
|
|
],
|
|
|
|
|
"node-red": {
|
2026-03-31 14:26:33 +02:00
|
|
|
"nodes": {
|
|
|
|
|
"dashboardapi": "nodes/dashboardAPI/dashboardapi.js",
|
|
|
|
|
"diffuser": "nodes/diffuser/diffuser.js",
|
|
|
|
|
"machineGroupControl": "nodes/machineGroupControl/mgc.js",
|
|
|
|
|
"measurement": "nodes/measurement/measurement.js",
|
2025-05-27 15:10:55 +02:00
|
|
|
"monster": "nodes/monster/monster.js",
|
2025-10-31 12:14:58 +01:00
|
|
|
"pumpingstation": "nodes/pumpingStation/pumpingStation.js",
|
2025-05-27 15:10:55 +02:00
|
|
|
"reactor": "nodes/reactor/reactor.js",
|
|
|
|
|
"rotatingMachine": "nodes/rotatingMachine/rotatingMachine.js",
|
2025-10-31 12:14:58 +01:00
|
|
|
"settler": "nodes/settler/settler.js",
|
2025-05-27 15:10:55 +02:00
|
|
|
"valve": "nodes/valve/valve.js",
|
2025-10-31 12:14:58 +01:00
|
|
|
"valveGroupControl": "nodes/valveGroupControl/vgc.js"
|
2025-05-14 11:32:19 +02:00
|
|
|
}
|
|
|
|
|
},
|
feat: architecture refactor — validators, positions, menuUtils, ESLint, tests, CI
Major improvements across the codebase:
- Extract validationUtils.js (548→217 lines) into strategy pattern validators
- Extract menuUtils.js (543→35 lines) into 6 focused menu modules
- Adopt POSITIONS constants across 23 files (183 replacements)
- Eliminate all 71 ESLint warnings (0 errors, 0 warnings)
- Add 158 unit tests for ConfigManager, MeasurementContainer, ValidationUtils
- Add architecture documentation with Mermaid diagrams
- Add CI pipeline (Docker, ESLint, Jest, Makefile)
- Add E2E infrastructure (docker-compose.e2e.yml)
Test results: 377 total (230 Jest + 23 node:test + 124 legacy), all passing
Lint: 0 errors, 0 warnings
Closes #2, #3, #9, #13, #14, #18
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:37:20 +01:00
|
|
|
"scripts": {
|
|
|
|
|
"preinstall": "node scripts/patch-deps.js",
|
|
|
|
|
"postinstall": "git checkout -- package.json 2>/dev/null || true",
|
2026-03-31 18:29:03 +02:00
|
|
|
"docker:build": "docker compose build",
|
|
|
|
|
"docker:up": "docker compose up -d",
|
|
|
|
|
"docker:down": "docker compose down",
|
|
|
|
|
"docker:logs": "docker compose logs -f nodered",
|
|
|
|
|
"docker:shell": "docker compose exec nodered sh",
|
|
|
|
|
"docker:test": "docker compose exec nodered sh /data/evolv/scripts/test-all.sh",
|
2026-03-31 14:26:33 +02:00
|
|
|
"docker:test:basic": "docker compose exec nodered sh /data/evolv/scripts/test-all.sh basic",
|
|
|
|
|
"docker:test:integration": "docker compose exec nodered sh /data/evolv/scripts/test-all.sh integration",
|
|
|
|
|
"docker:test:edge": "docker compose exec nodered sh /data/evolv/scripts/test-all.sh edge",
|
|
|
|
|
"docker:test:gf": "docker compose exec nodered sh /data/evolv/scripts/test-all.sh gf",
|
|
|
|
|
"docker:validate": "docker compose exec nodered sh /data/evolv/scripts/validate-nodes.sh",
|
2026-03-31 18:29:03 +02:00
|
|
|
"docker:deploy": "docker compose exec nodered sh /data/evolv/scripts/deploy-flow.sh",
|
|
|
|
|
"docker:reset": "docker compose down -v && docker compose up -d --build",
|
feat: architecture refactor — validators, positions, menuUtils, ESLint, tests, CI
Major improvements across the codebase:
- Extract validationUtils.js (548→217 lines) into strategy pattern validators
- Extract menuUtils.js (543→35 lines) into 6 focused menu modules
- Adopt POSITIONS constants across 23 files (183 replacements)
- Eliminate all 71 ESLint warnings (0 errors, 0 warnings)
- Add 158 unit tests for ConfigManager, MeasurementContainer, ValidationUtils
- Add architecture documentation with Mermaid diagrams
- Add CI pipeline (Docker, ESLint, Jest, Makefile)
- Add E2E infrastructure (docker-compose.e2e.yml)
Test results: 377 total (230 Jest + 23 node:test + 124 legacy), all passing
Lint: 0 errors, 0 warnings
Closes #2, #3, #9, #13, #14, #18
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:37:20 +01:00
|
|
|
"test": "jest --forceExit",
|
|
|
|
|
"test:node": "node --test nodes/valve/test/basic/*.test.js nodes/valve/test/edge/*.test.js nodes/valve/test/integration/*.test.js nodes/valveGroupControl/test/basic/*.test.js nodes/valveGroupControl/test/edge/*.test.js nodes/valveGroupControl/test/integration/*.test.js",
|
|
|
|
|
"test:legacy": "node nodes/machineGroupControl/src/groupcontrol.test.js && node nodes/generalFunctions/src/nrmse/errorMetric.test.js",
|
|
|
|
|
"test:all": "npm test && npm run test:node && npm run test:legacy",
|
2026-03-31 18:29:03 +02:00
|
|
|
"test:e2e:reactor": "node scripts/e2e-reactor-roundtrip.js",
|
feat: architecture refactor — validators, positions, menuUtils, ESLint, tests, CI
Major improvements across the codebase:
- Extract validationUtils.js (548→217 lines) into strategy pattern validators
- Extract menuUtils.js (543→35 lines) into 6 focused menu modules
- Adopt POSITIONS constants across 23 files (183 replacements)
- Eliminate all 71 ESLint warnings (0 errors, 0 warnings)
- Add 158 unit tests for ConfigManager, MeasurementContainer, ValidationUtils
- Add architecture documentation with Mermaid diagrams
- Add CI pipeline (Docker, ESLint, Jest, Makefile)
- Add E2E infrastructure (docker-compose.e2e.yml)
Test results: 377 total (230 Jest + 23 node:test + 124 legacy), all passing
Lint: 0 errors, 0 warnings
Closes #2, #3, #9, #13, #14, #18
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:37:20 +01:00
|
|
|
"lint": "eslint nodes/",
|
|
|
|
|
"lint:fix": "eslint nodes/ --fix",
|
|
|
|
|
"ci": "npm run lint && npm run test:all",
|
|
|
|
|
"test:e2e": "bash test/e2e/run-e2e.sh"
|
|
|
|
|
},
|
2026-03-31 18:29:03 +02:00
|
|
|
"author": "Rene De Ren, Pim Moerman, Janneke Tack, Sjoerd Fijnje, Dieke Gabriels, pieter van der wilt",
|
|
|
|
|
"license": "SEE LICENSE",
|
2025-05-14 11:32:19 +02:00
|
|
|
"dependencies": {
|
2026-03-31 18:29:03 +02:00
|
|
|
"@flowfuse/node-red-dashboard": "^1.30.2",
|
|
|
|
|
"@tensorflow/tfjs": "^4.22.0",
|
|
|
|
|
"@tensorflow/tfjs-node": "^4.22.0",
|
feat: architecture refactor — validators, positions, menuUtils, ESLint, tests, CI
Major improvements across the codebase:
- Extract validationUtils.js (548→217 lines) into strategy pattern validators
- Extract menuUtils.js (543→35 lines) into 6 focused menu modules
- Adopt POSITIONS constants across 23 files (183 replacements)
- Eliminate all 71 ESLint warnings (0 errors, 0 warnings)
- Add 158 unit tests for ConfigManager, MeasurementContainer, ValidationUtils
- Add architecture documentation with Mermaid diagrams
- Add CI pipeline (Docker, ESLint, Jest, Makefile)
- Add E2E infrastructure (docker-compose.e2e.yml)
Test results: 377 total (230 Jest + 23 node:test + 124 legacy), all passing
Lint: 0 errors, 0 warnings
Closes #2, #3, #9, #13, #14, #18
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:37:20 +01:00
|
|
|
"generalFunctions": "file:nodes/generalFunctions",
|
2025-05-14 11:32:19 +02:00
|
|
|
"mathjs": "^13.2.0"
|
feat: architecture refactor — validators, positions, menuUtils, ESLint, tests, CI
Major improvements across the codebase:
- Extract validationUtils.js (548→217 lines) into strategy pattern validators
- Extract menuUtils.js (543→35 lines) into 6 focused menu modules
- Adopt POSITIONS constants across 23 files (183 replacements)
- Eliminate all 71 ESLint warnings (0 errors, 0 warnings)
- Add 158 unit tests for ConfigManager, MeasurementContainer, ValidationUtils
- Add architecture documentation with Mermaid diagrams
- Add CI pipeline (Docker, ESLint, Jest, Makefile)
- Add E2E infrastructure (docker-compose.e2e.yml)
Test results: 377 total (230 Jest + 23 node:test + 124 legacy), all passing
Lint: 0 errors, 0 warnings
Closes #2, #3, #9, #13, #14, #18
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 15:37:20 +01:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@eslint/js": "^8.57.0",
|
|
|
|
|
"eslint": "^8.57.0",
|
|
|
|
|
"globals": "^15.0.0",
|
|
|
|
|
"jest": "^29.7.0"
|
2025-05-14 11:32:19 +02:00
|
|
|
}
|
|
|
|
|
}
|