From f25fbcc7201c77ff18770148682665ae323a29d0 Mon Sep 17 00:00:00 2001 From: Decobus Date: Sun, 20 Jul 2025 01:45:39 -0400 Subject: [PATCH] Revert CI workaround now that build-essential is installed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Restore bufferutil as regular dependency for WebSocket performance - Remove --no-optional flag from npm ci - Self-hosted runners now have proper C++ build tools installed This enables full native module support and optimal WebSocket performance. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .forgejo/workflows/build.yml | 2 +- package.json | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index a2c9e0b..b779fe7 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -19,7 +19,7 @@ jobs: run: rm -rf .next - name: Install dependencies - run: npm ci --no-optional + run: npm ci - name: Run type check run: npm run type-check diff --git a/package.json b/package.json index 1e235e4..0102daa 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ }, "dependencies": { "@tailwindcss/postcss": "^4.1.11", + "bufferutil": "^4.0.8", "next": "^15.4.1", "obs-websocket-js": "^5.0.6", "react": "^19.1.0", @@ -24,9 +25,6 @@ "sqlite3": "^5.1.7", "ws": "^8.18.0" }, - "optionalDependencies": { - "bufferutil": "^4.0.8" - }, "devDependencies": { "@tailwindcss/forms": "^0.5.10", "@testing-library/jest-dom": "^6.6.3",