This is a nit, not at all breaking functionality bug. Just thought I would note it.
The warning warning np@7.6.2: The engine "git" appears to be invalid. is displayed when installing np.
I think listing git version in the engines field of package.json is a clever and appropriate place for the listing. Would be nice if there was not a warning for it. Could be cool to see it tacked on to an upstream issue on npm.
Description
This is a nit, not at all breaking functionality bug. Just thought I would note it.
The warning
warning np@7.6.2: The engine "git" appears to be invalid.
is displayed when installingnp
.I think listing git version in the
engines
field ofpackage.json
is a clever and appropriate place for the listing. Would be nice if there was not a warning for it. Could be cool to see it tacked on to an upstream issue on npm.Steps to reproduce
yarn add --dev np
Expected behavior
No warning
Environment
np - ^7.6.2 Node.js - v16.13.0 npm - 8.1.0 Git - 2.25.1 OS - Ubuntu 20.04.5 LTS (WSL2)