orogene
orogene copied to clipboard
Add `oro build` command
apply should not be running toplevel {pre,post,}install scripts. npm install also runs things like prepare and prepublish and such.
In order to address this, plus the common request of having a "build" command of some sort, it would be good to implement an oro build command with an implicit apply that runs scripts for the toplevel package in the following order:
-
prebuild -
preinstall -
install -
postinstall -
prepublish -
preprepare -
prepare -
postprepare -
build -
postbuild
Additionally, there should be a --dependencies flag that forces rerunning/rebuilding of already-installed/built dependencies.