chore: Minimal yarn installs#403
Conversation
Was this a consequence of adding
What was the motivation for this change? |
…install --ignore-scripts
ec932aa to
ad48b66
Compare
That's right! Since it's just the one it seems reasonable to just run it explicitly. If there'd be more, there are more engineered options like pnpm's
I guess I did that to keep supporting running |
I'm sympathetic to the concern, but I have some questions. Note also that some rust packages have a similar build script. So what happens when we do a (everything else in the PR seems uncontroversial to me) |
With vanilla yarn1, there will be a warning about script being skipped at install time (already present for this PR), and then crashing hard due to the missing library on import/require at runtime, covered in CI (I don't have the exact error handy but IIRC it's obvious enough - the exact runtime error and how obvious it is may vary between dependencies). |
|
Alright, let's give it a shot! Thanks for the explanation and shrinking down the deployed containers. |
Tweak the installation procedure for npm packages:
yarn installwith--ignore-scriptsto avoid running unnecessary lifecycle scriptssqlite3dependency install scriptyarn installwith--frozen-lockfilewhere not already doing sodevDependenciesfrom runtime imagesfrontend: Move@quasar/clifromdevDependenciestodependencies