Closed timkelty closed 9 years ago
With #9, this issue would be fixed by simply doing this in your shipit config:
npm: {
triggerEvent: 'shared',
installFlags: '--production'
},
I'm doing the same thing in shipit-shared
Personally, I prefer this and think it is ultimately more flexible. Let me know what you think!
I haven't time to dig into the
shipit-npm
code, but here's what I'm trying to do:So, on
npm_preinstall
, I want to:shared
task.shared
is complete, runnpm:install
What is acutally happening is:
npm:preinstall
startsnpm:preinstall
finishesshared
runsdeploy
finishesnpm:install
runsnpm:install
runs...again, and again, endlesslyAny ideas?