Financial-Times / manage-github-apps

A CLI for managing the repositories of GitHub App installations
MIT License
1 stars 0 forks source link

Fix issues with engines enforcement #109

Closed ivomurrell closed 2 years ago

ivomurrell commented 2 years ago

Two changes to enforcing the right version of node and npm with check-engines:

  1. 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.
  2. 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.