by rhacker · 8y ago · 0 comments
I don't know why, but any time I install something specific in this project:
npm i -D @types/tacos
(for example)
The last line of npm says this: added 9 packages and removed 15 packages in 9.69s
Those 15 removed packages? Not dependency conflicts, no, thats the git dependency and all of its sub-dependencies.
So my workflow is now:
npm i --save <whatever>
npm i
(That's been bloating my Electron packages for a bit in that I haven't been able to trust prune --dev not to prune dependencies of a git package.)