Commit Graph

288 Commits (move-location-of-new-creds-files)

Author SHA1 Message Date
Nick O'Leary 1efd1a52a7
Ensure modules containing plugins and nodes are loaded properly
Fixes #3523
2023-01-01 19:36:49 +00:00
Nick O'Leary b3f761776d
Update dependencies 2022-12-03 22:43:03 +00:00
Stephen McLaughlin 6d1a12af4b
remove debug/test code 2022-10-04 13:36:23 +01:00
Steve-Mcl e6b379358a better logging of set with no types 2022-09-29 21:28:13 +01:00
Steve-Mcl d6bb3a558f fix loading node package in nodesDir on linux
fixes #3861
2022-09-03 21:23:38 +01:00
Nick O'Leary c9b0a7c2dd
Bump for 3.0.2 2022-08-04 13:50:31 +01:00
Nick O'Leary da65bf7292
Update changelog and bump for 3.0.1 2022-07-22 09:50:37 +01:00
Nick O'Leary 04f4d5274d
Bump dev to 3.1.0-beta.0 2022-07-14 20:58:25 +01:00
Nick O'Leary ee378ea0c4
Update version to 3.0 2022-07-12 21:18:49 +01:00
Nick O'Leary 4c784af55d
Update dependencies 2022-07-12 21:12:00 +01:00
Nick O'Leary f438cbf633
Update for 3 beta 4 2022-06-29 21:04:28 +01:00
Nick O'Leary dd0d1e700e
Merge pull request #3669 from dschmidt/patch-1
Import default export if node is a transpiled es module
2022-06-27 14:31:43 +01:00
Nick O'Leary 7d7682b34e
Merge pull request #3681 from node-red/30-release
3.0.0-beta.3 release
2022-06-16 17:23:01 +01:00
Nick O'Leary 4ed559af95
Update changelog and version for 3-beta.3 2022-06-16 15:44:51 +01:00
Nick O'Leary ce529a9b9f
Update module dependencies 2022-06-16 15:39:42 +01:00
Steve-Mcl ba22b07dce align functionality of `nodesDir` with coreNodesDir and userDir 2022-06-16 10:57:29 +01:00
Dominik Schmidt 326f346936
Import default export if node is a transpiled es module 2022-06-14 22:54:00 +02:00
Nick O'Leary 71a272f0a6
Fix ESM module loading in Function node
Fixes #3627
2022-06-09 22:11:48 -05:00
Nick O'Leary 70f26e0bea
Update for 3.0.0-beta.2 2022-05-16 11:10:31 +01:00
Nick O'Leary 539e5899e3
Bump version for 3.0.0-beta.1 2022-04-28 14:30:45 +01:00
Nick O'Leary 54c87f81a6
Update dependencies 2022-04-28 11:04:06 +01:00
Nick O'Leary f7bd600715
Fix importing external module from node-red module 2022-04-21 15:06:08 +01:00
Nick O'Leary 5f0ea85f47
Bump for 2.2.2 2022-02-18 14:46:01 +00:00
Nick O'Leary fcf2994015
Bump for 2.2.1 2022-02-15 13:41:53 +00:00
Nick O'Leary bee21ddc9e
Update dependencies 2022-02-15 13:36:05 +00:00
Nick O'Leary 1388b03cf2
Remove console.log when ignoring disabled module 2022-02-14 10:46:08 +00:00
Nick O'Leary 5c87a6cb76
Update package readmes and licenses 2022-01-27 12:49:48 +00:00
Nick O'Leary d1bd303dfa
Update version for 2.2.0 2022-01-27 10:13:28 +00:00
Nick O'Leary 9b9a0d7060
Update dependencies 2022-01-26 12:20:45 +00:00
Nick O'Leary 51f45293b8
Merge branch 'master' into dev 2022-01-13 10:52:36 +00:00
Nick O'Leary f055d42277
Update package version for 2.1.5 2022-01-13 10:22:41 +00:00
Nick O'Leary fb7a2a8d5d
Update dependencies 2022-01-13 10:19:56 +00:00
Nick O'Leary 7cd3e49f04
Merge branch 'master' into dev 2021-12-05 19:32:13 +00:00
Nick O'Leary d9f976baea
Update package for 2.1.4 2021-12-01 16:06:03 +00:00
Nick O'Leary 720a163273
Bump dev version 2021-11-15 23:38:01 +00:00
Nick O'Leary cfe201dbe1
Bump for 2.1.3 2021-10-26 10:42:53 +01:00
Nick O'Leary 2ffea143e7
Bump for 2.1.2 2021-10-25 09:38:32 +01:00
Nick O'Leary d4d6f71cf4
Bump for 2.1.1 2021-10-22 09:27:52 +01:00
Nick O'Leary 7560bb8d7b
Bump for 2.1.0 2021-10-21 09:08:35 +01:00
Nick O'Leary 6cb06c146d
Update for 2.1.0-beta.2 2021-10-14 13:07:58 +01:00
Nick O'Leary 8042fe4e2b
Merge branch 'master' into dev 2021-10-06 09:12:16 +01:00
Nick O'Leary a27ce375db
Update package dependencies 2021-10-06 09:11:20 +01:00
Nick O'Leary 012e1cbcc5
Improve unit test coverage 2021-10-04 17:53:14 +01:00
Nick O'Leary 29e903e1c8
Improve error reporting when installing bad nodes 2021-09-30 15:28:09 +01:00
Nick O'Leary b3c84242dc
Bump version for 2.1.0-beta.1 2021-09-27 17:50:09 +01:00
Nick O'Leary 85820c571d
Add unit tests for allowUpdate settings 2021-09-14 10:50:26 +01:00
Nick O'Leary d9bed03025
Add allowUpdate feature to externalModules.palette 2021-09-13 21:25:12 +01:00
Dave Conway-Jones bbf066f030
Fixes to fs promises so that electron version runs 2021-09-10 08:33:07 +01:00
Nick O'Leary 3b460fb8fa
Bump for 2.0.6 2021-09-02 09:00:54 +01:00
Nick O'Leary ee15e9acc5
Update tar to latest 2021-09-02 08:21:10 +01:00
Amit Kumar Swami 78899378c2 Update tar to 6.1.9 to resolve vulnerability issue 2021-09-02 13:36:41 +08:00
Nick O'Leary f1e7ec0c6b
Bump for 2.0.5 2021-07-30 13:28:52 +01:00
Nick O'Leary 23765d9139
Update tar dependency 2021-07-30 13:20:26 +01:00
Nick O'Leary ee9234b2c6
Bump for 2.0.4 2021-07-26 17:09:26 +01:00
Nick O'Leary 142176f194
Bump for 2.0.3 2021-07-23 14:38:43 +01:00
Nick O'Leary 269669ba28
Bump for 2.0.2 2021-07-22 11:17:48 +01:00
Nick O'Leary a8d093bacd
Use file:// url with dynamic import 2021-07-21 11:00:24 +01:00
Nick O'Leary c9597b9447
Bump for 2.0.1 2021-07-20 14:44:47 +01:00
Nick O'Leary 66a704af55
Fallback to 'require' if on node < 12.17 2021-07-15 15:38:07 +01:00
Nick O'Leary eb4625a0b9
Merge pull request #3064 from node-red/revert-external-modules-dir
Move externalModules back into the user dir
2021-07-15 09:56:23 +01:00
Nick O'Leary ddb715d88d
Record runtime-installed modules in .config.modules.json 2021-07-14 23:13:52 +01:00
Nick O'Leary 7fd17b4ec0
Add RED.import to support importing ES6 modules 2021-07-14 19:18:39 +01:00
Nick O'Leary e16ab2a0fd
Bump for 2.0.0 2021-07-13 11:51:23 +01:00
Nick O'Leary e6a845e606
Move externalModules back into the user dir 2021-07-13 11:24:10 +01:00
Nick O'Leary b01c5a05e7
Fix reporting of type_already_registered error 2021-07-12 16:09:25 +01:00
Nick O'Leary 36eddabc1c
Ensure node.types is defined if node html file missing 2021-07-12 16:09:02 +01:00
Kazuhito Yokoi 6f6ab50995 Add necessary modules and remove unnecessary module in dependencies 2021-07-08 19:14:53 +09:00
Nick O'Leary f8d8d4b186
Update dependencies 2021-06-29 16:19:28 +01:00
Nick O'Leary 79875ef50d
Merge branch 'master' into dev 2021-06-16 17:03:50 +01:00
Nick O'Leary aea5445495
Support loading external module sub path
Fixes #3023
2021-06-16 17:02:24 +01:00
Nick O'Leary 68a5325849
Bump version to 2.0.0-beta.2 2021-06-16 11:44:14 +01:00
Nick O'Leary d83e543a98
Update dependencies 2021-06-08 17:33:40 +01:00
Nick O'Leary e042ef05a4
Update dependencies 2021-06-02 16:24:12 +01:00
Nick O'Leary 4f77bbeb2b
Update for 1.3.5 2021-05-18 11:52:49 +01:00
Nick O'Leary 71ba73b38f
Merge branch 'master' into dev 2021-05-04 11:19:05 +01:00
Nick O'Leary b0e349b215
Update for 1.3.4 2021-04-29 11:22:22 +01:00
nileio 676f790933 add engine-strict flag to npm install args 2021-04-28 22:40:17 +10:00
Nick O'Leary 9f2a2b9869
Pass npm args to preUninstall hook to be consistent with preInstall 2021-04-27 17:32:18 +01:00
Nick O'Leary 250005ad16
Allow npm install args to be customised by preInstall trigger 2021-04-20 22:55:06 +01:00
Nick O'Leary 0e06da6c63
Update for 1.3.3 2021-04-20 11:06:23 +01:00
Nick O'Leary b4a03a56b4
Allow preInstall hook to return false to skip npm install 2021-04-19 20:29:30 +01:00
Nick O'Leary 8140057bea
Add pre/postInstall hooks to module install path 2021-04-15 15:12:40 +01:00
Nick O'Leary b0955705be
Update to 1.3.2 2021-04-13 13:34:16 +01:00
Nick O'Leary 51aaf1b150
Handle package.json without dependencies section 2021-04-12 10:34:43 +01:00
Nick O'Leary 82ced56bed
Update package versions 2021-04-09 14:12:10 +01:00
Nick O'Leary cb1a178fbf
Set 2.0.0-beta.1 version 2021-04-09 10:35:19 +01:00
Nick O'Leary 749533b0b4
Bump for 1.3.1 2021-04-08 16:23:22 +01:00
Nick O'Leary 449d76a6c7
Update version for 1.3.0 2021-04-06 18:31:49 +01:00
Nick O'Leary ff93a38354
Update dependencies 2021-04-06 18:31:02 +01:00
Nick O'Leary d555fcf7bd
Merge pull request #2903 from node-red/plugin-resources
Allow module to provide resources and automatically expose them
2021-03-30 22:50:36 +01:00
Nick O'Leary 8543613563
Allow module to provide resources and automatically expose them 2021-03-15 21:06:10 +00:00
Kazuhito Yokoi 734adc6445
Add Japanese translations for Node-RED v1.3.0 (#2900) 2021-03-15 08:23:30 +00:00
Hiroyasu Nishiyama 3671a70e3b fix error report on node load 2021-03-09 10:57:29 +09:00
Nick O'Leary 3d23d1de4f
Merge pull request #2873 from node-red/function-modules
Function node external modules
2021-03-01 21:35:31 +00:00
Nick O'Leary c744af161d
Add support for settings object in plugin definition 2021-02-19 11:59:49 +00:00
Nick O'Leary f96ce2fd83
Get node-red core nodes back to the top of the list 2021-02-17 15:20:16 +00:00
Nick O'Leary 05beb6ca79
Add unit tests for externalModules 2021-02-15 17:28:14 +00:00
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
Nick O'Leary 6336ab121e
Merge branch 'dev' into function-modules 2021-02-13 00:21:27 +00:00
Nick O'Leary a94c19a6cf
Fix up loading of freshly installed modules in Function node 2021-02-12 22:40:30 +00:00