Open ryanhamley opened 6 years ago
With the latest master and batfish version, the tests pass even when using npm install. That said, I think use-yarn
is a good idea to prevent this issue popping up in the future.
@ryanhamley The contributing docs only every mention using yarn
with this project. Is there a use-case or reason fro needing to support npm
?
Just that it's very common for people to use npm install
then wonder why things aren't working
mapbox-gl-js version: 0.45.0
Steps to Trigger Behavior
npm install
yarn test
Expected Behavior
npm install
andyarn install
will produce the same output so that all tests will pass correctlyActual Behavior
npm install
bypasses theyarn.lock
file and installs a newer version of@mapbox/batfish
that breaks some tests.Possible solution
set up
npm install
to fallback to yarn with theuse-yarn
node module