Update minimum node engine value in plugins and template
The create-package templates create every plugin to say minimum node engine is 8; I think this needs to be updated though I'm actually not sure as of this writing what the minimum node version of Blockly is. Hopefully it's higher than 8 though...
We should find this value, update all existing plugins, and update the templates
Hopefully it's higher than 8 though...
Why would we hope that? Ideally everything would work fine in the oldest versions of node (though I doubt that is the case!). Do we know for sure that there is an incompatibility with a version >= 8?
On the other hand, we just say the minimum version is 14, since (at least in core) that is the oldest we currently test.
Ok, hopefully was the wrong word. But I am pretty sure we had to bump the minimum node version of Blockly, though that may have only been for test reasons.
We don't even specify this value in core blockly's package.json. I think we probably shouldn't specify it for every single plugin unless the plugin has an actual known problem or dependency on a specific node engine. If Blockly itself has a minimum version, we should document it there and not in the plugins. So I think we should just remove this value from the templates and from all the plugins as none of them (to my knowledge) actually require a specific node version.
So I think we should just remove this value from the templates and from all the plugins as none of them (to my knowledge) actually require a specific node version.
I concur.
minimum node version for webpack 5 which dev-script uses is 10.13 so IMO it should at least that. But Node 16 is out of maintenance so I would prefer if we could just support node >= 18..