Commit 8ae2727
committed
build(ui): fail fast when Admin UI build prerequisites are missing
Make `make build-ui` exit non-zero with an actionable message when npm is
absent (with a SKIP_UI_BUILD=1 escape hatch for headless deployments), so
`make install-dev` surfaces missing prerequisites at install time instead of
leaving /admin to fail at runtime with "No bundle-*.js found".
Provision Node via the official devcontainers feature so Codespaces /
devcontainer setup still completes end-to-end under the new fail-fast
behavior, and document the prerequisite + bypass in the building guide.
Signed-off-by: Jonathan Springer <jps@s390x.com>1 parent dd34050 commit 8ae2727
2 files changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
113 | 121 | | |
114 | 122 | | |
115 | | - | |
| 123 | + | |
116 | 124 | | |
117 | 125 | | |
118 | 126 | | |
| |||
0 commit comments