fix(install): remove --silent from build steps, clean node_modules before install, bump v0.5.1

This commit is contained in:
NixReaper
2026-04-11 16:15:53 -05:00
parent 55786bfa0e
commit da55367039
4 changed files with 14 additions and 6 deletions
+7
View File
@@ -6,6 +6,13 @@ Pre-1.0 versions treat MINOR as feature releases and PATCH as bug fixes.
---
## [0.5.1] — 2026-04-11
### Bug Fixes
- **`install.sh` build steps used `--silent`** — errors during `npm install` and frontend/server builds were suppressed, making failures invisible. Removed `--silent` from all build commands. Also added `rm -rf node_modules package-lock.json` before `npm install` to ensure a clean platform-correct install, consistent with `update.sh`.
---
## [0.5.0] — 2026-04-11
### Bug Fixes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "nixpanel-server",
"version": "0.5.0",
"version": "0.5.1",
"private": true,
"workspaces": [
"server",
+5 -4
View File
@@ -547,7 +547,8 @@ success ".env written"
# ── npm install ───────────────────────────────────────────────────────────────
step "Installing Node.js dependencies"
cd "$INSTALL_DIR"
npm install --silent
rm -rf node_modules package-lock.json
npm install
success "npm dependencies installed"
# ── Prisma generate + db push ─────────────────────────────────────────────────
@@ -571,10 +572,10 @@ success "Admin account and default packages seeded"
# ── Build ─────────────────────────────────────────────────────────────────────
step "Building frontends and server"
cd "$INSTALL_DIR"
npm run build --workspace=nixserver --silent
npm run build --workspace=nixclient --silent
npm run build --workspace=nixserver
npm run build --workspace=nixclient
cd "$INSTALL_DIR/server"
npm run build --silent
npm run build
success "Build complete"
# ── Set web-readable permissions on frontend assets ───────────────────────────
+1 -1
View File
@@ -73,7 +73,7 @@ export async function buildApp() {
fastify.get('/api/health', async () => ({
status: 'ok',
version: '0.5.0',
version: '0.5.1',
timestamp: new Date().toISOString(),
}))