1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/test
Nick O'Leary d2c9ccbfdd
Detect externalModule dependencies inside subflow modules
Not sure this is 100% the right approach. If a subflow module has a dependency
it should be in the subflow's package.json and therefore installed next to the
subflow module in ~/.node-red/node_modules.

By treating it as a 'normal' external module, it will be dynamically installed
in ~/.node-red/externalModules. That then exposes the module to the user
who won't know why its there and may remove it.

It would be better to allow nodes inside a subflow module to require
from ~/.node-red/node_modules and not limit it to the externalModules
dir. The hard part is knowing when to do that.
2021-02-14 00:02:08 +00:00
..
editor Fix page object of inject node 2020-06-16 21:58:08 +09:00
node_modules/nr-test-utils Fixup all the tests 2018-08-20 16:17:24 +01:00
nodes Merge branch 'master' into dev 2021-02-02 13:45:43 +00:00
resources Detect externalModule dependencies inside subflow modules 2021-02-14 00:02:08 +00:00
unit Merge branch 'dev' into function-modules 2021-02-13 00:21:27 +00:00