Reconsider nodes management #16
Replies: 3 comments 31 replies
-
|
Thanks for starting this conversation. There are core (built-in) nodes and contributed (plug-in or external) nodes. This thread is about the contributed nodes only. You list four components of a contributed node. There a few more:
Let's use the classic
I propose an
As part of assembling the project's |
Beta Was this translation helpful? Give feedback.
-
|
@phoddie: When including a module that has a $(MODULES_DIR)/[...]/logger.xsb: [...]/logger/src/index.js
@echo "# xsc [...]/logger.xsb"
$(XSC) [...]/logger/src/index.js -d -c -e -o $(@D) -r logger$(MODULES_DIR)/[...]/logger.xsb: $(MODULES_DIR)/index.js
@echo "# xsc [...]/logger.xsb"
$(XSC) $(MODULES_DIR)/index.js -d -c -e -o $(@D) -r logger
%/index.js : %/tsconfig.json
@echo "# tsc tsconfig.json"
tsc -p $(MODULES_DIR)/tsconfig.jsonThis triggers two warnings and then fails w/ In this case, the Is there a flag to tell |
Beta Was this translation helpful? Give feedback.
-
|
I've pushed the next iteration of the plugin into the repo. There's as well a bit of documentation that discusses what the plugin does regarding the manifest creation process. Just be warned: The number of loose ends & incomplete implementations is significant. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As of today, there are a number of
nodeimplementations that have to play together, to makenode-red-mcuwork. The following table tries to display what I am aware of, serving as a starting point to discuss how to organize this for the future into a sustainable concept.sample-node.html.node-red/node_modules/...sample-node.js.node-red/node_modules/...class SampleNodenode-red-mcu/nodered.jsmcu*sample-nodenode-red-mcu-plugin/mcu-plugin.jssample-node.jsin the Node-RED runtime to interface w/ node-red-mcu[To be fair: This is a simplification - as there could be several node implementations within one
sample-node.jsfile.]Currently, there's an established concept for 1 & 2.
I'm proposing to discuss how to organize 3 & 4 (perhaps in combination w/ 1 and 2) and as well e.g. if to publish and install them as npm packages.
Consequentially this has influence on other aspects as well, e.g. the build environment setup.
Any ideas on how to proceed?
Beta Was this translation helpful? Give feedback.
All reactions