examples/ (new — was empty except standalone-demo.js):
01-Basic.json 14 nodes, inject + dashboard, no parent
02-Integration.json 32 nodes, 2 tabs, measurement + MGC + 2 pumps,
link-out/link-in channels per node-red-flow-layout.md
03-Dashboard.json 63 nodes, 3 tabs (process + UI + setup),
FlowFuse charts + sliders, trend-split pattern
README.md load instructions
tools/build-examples.js regenerator
All canonical topic names only (set.*, cmd.*, data.*, child.*). No
legacy aliases. Every ui-* widget has x/y. Every chart has the full
mandatory key set from node-red-flow-layout.md §4.
wiki/Home.md (new) — pilot page for the 14-section visual-first template.
Sections 5 (topic-contract) + 9 (data-model) are auto-generated via the
new npm run wiki:* scripts; everything else hand-written following
.claude/refactor/WIKI_TEMPLATE.md.
package.json — added wiki:contract / wiki:datamodel / wiki:all scripts
wired to ../generalFunctions/scripts/wikiGen.js.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
33 lines
954 B
JSON
33 lines
954 B
JSON
{
|
|
"name": "pumpingstation",
|
|
"version": "1.0.0",
|
|
"description": "Control module",
|
|
"main": "pumpingStation.js",
|
|
"scripts": {
|
|
"test": "node --test test/",
|
|
"wiki:contract": "node ../generalFunctions/scripts/wikiGen.js contract ./src/commands/index.js --write ./wiki/Home.md",
|
|
"wiki:datamodel": "node ../generalFunctions/scripts/wikiGen.js datamodel ./src/specificClass.js --write ./wiki/Home.md",
|
|
"wiki:all": "npm run wiki:contract && npm run wiki:datamodel"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.centraal.wbd-rd.nl/RnD/pumpingStation.git"
|
|
},
|
|
"keywords": [
|
|
"pumpingstation",
|
|
"node-red",
|
|
"recipient",
|
|
"water"
|
|
],
|
|
"author": "Rene De Ren",
|
|
"license": "SEE LICENSE",
|
|
"dependencies": {
|
|
"generalFunctions": "git+https://gitea.centraal.wbd-rd.nl/RnD/generalFunctions.git"
|
|
},
|
|
"node-red": {
|
|
"nodes": {
|
|
"pumpingstation": "pumpingStation.js"
|
|
}
|
|
}
|
|
}
|