mirror of
https://github.com/unraid/api.git
synced 2026-01-06 16:49:49 -06:00
Fixes #1848 ## Background The `build:dev` script is used for the `unraid:deploy` workflow, and it implicitly triggered the `predev` script to build the `unraid-ui` package as needed. `web` builds depend on `unraid-ui`. In the past, `unraid-ui` was built during `pnpm install` via a `prepare` step in its `package.json`. However, this approach doesn't ensure that `web` builds correctly; stale `unraid-ui` builds could cause false-positives. So, instead of doing that, we call `predev` from `prebuild`, ensuring that both local builds and the `unraid:deploy` workflow lazily get the correct build of `unraid-ui`.
5.3 KiB
5.3 KiB