Two changes to enforcing the right version of node and npm with check-engines:
Improve compatibility of check-engines guard: some shells in use (particularly in our CI and build images) do not support the non-POSIX [[ command, so use the more portable [ built-in instead.
Allow npm 8: the only breaking change in npm8 is dropping support for node<12, but we already require node@12 so this doesn't affect us and will allow for newer npm versions to be used.
Two changes to enforcing the right version of node and npm with
check-engines
:[[
command, so use the more portable[
built-in instead.node<12
, but we already requirenode@12
so this doesn't affect us and will allow for newer npm versions to be used.