From da55367039a29c671ba713d1b7783853bd1670fa Mon Sep 17 00:00:00 2001 From: NixReaper Date: Sat, 11 Apr 2026 16:15:53 -0500 Subject: [PATCH] fix(install): remove --silent from build steps, clean node_modules before install, bump v0.5.1 --- CHANGELOG.md | 7 +++++++ package.json | 2 +- scripts/install.sh | 9 +++++---- server/src/app.ts | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d93ae54..5e1a54e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 77eab73..cf3f3ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nixpanel-server", - "version": "0.5.0", + "version": "0.5.1", "private": true, "workspaces": [ "server", diff --git a/scripts/install.sh b/scripts/install.sh index 4748ff9..4a754d3 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -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 ─────────────────────────── diff --git a/server/src/app.ts b/server/src/app.ts index 01202e0..c4f6d59 100644 --- a/server/src/app.ts +++ b/server/src/app.ts @@ -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(), }))