Financial-Times / ebi

🦐 Ebi: GitHub repositories contents search
MIT License
9 stars 2 forks source link

Don't force dependents to use npm 7 #155

Closed ivomurrell closed 3 years ago

ivomurrell commented 3 years ago

The check-engine script we were using to enforce npm 7 usage when developing locally was also being run when the package was installed by other consumers, causing the installation to fail if they were using an npm version other than 7. This is an unnecessarily restrictive requirement which would mean the npm 7 update was a breaking change -- not our intention. Instead, only run the version check when installing the project directly, not when it's installed as a dependency.