orogene icon indicating copy to clipboard operation
orogene copied to clipboard

Add `oro build` command

Open zkat opened this issue 2 years ago • 0 comments

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:

  1. prebuild
  2. preinstall
  3. install
  4. postinstall
  5. prepublish
  6. preprepare
  7. prepare
  8. postprepare
  9. build
  10. postbuild

Additionally, there should be a --dependencies flag that forces rerunning/rebuilding of already-installed/built dependencies.

zkat avatar May 20 '23 01:05 zkat