node.js - How to migrate a project to yarn flat mode? -
we have rather comprehensive ember-cli project many dependencies, wie manage yarn. we'd convert yarn flat mode yarn wants convert dependencies flat mode , asks dozens of dependencies version use. simple choosing between 1.0.2 , 1.0.4. there cases have choose between 0.0.3, 1.0.19 , 2.2.1 , whatever version i'll choose, breaks. due fact yarn converts whole project , dependencies it's rather complicated debug of difficult version choosings breaks whole app.
this problem lodash 3 vs 4. lodash changed module structure in version 4, both major versions incompatible. unfortunately in normal ember-cli app there lot of packages depend on either lodash 3 or lodash 4 , neither of them work because respective other dependency broken.
is there way migration in "mixed" mode dependencies managed flat , not? way migrate single package flat mode , test app, run specs , on , continue next package.
also i'm thankful advice helps solving lodash problem.
not know of. flat mode option being introduced slowly, hasn't yet received heavy attention. impression yarn folks working on making yarn replacement npm before work on major new feature heavily. such, may hitting adopter pains there ...
Comments
Post a Comment