From 821580512cc0db7f1e1315a3ffcf82a7cf4aaa23 Mon Sep 17 00:00:00 2001 From: z23cc Date: Sun, 5 Apr 2026 15:02:31 +0800 Subject: [PATCH 1/2] chore(frontend): remove pnpm packageManager declaration Bun is the canonical frontend package manager (bun.lock, bunfig.toml, bun test). The leftover packageManager: pnpm@10.30.3 field caused corepack to enforce pnpm, conflicting with bun-first workflow. fn-17-switch-frontend-to-bun-remove-pnpmnode.1 --- frontend/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index a9427433..f9070688 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -13,7 +13,6 @@ "keywords": [], "author": "", "license": "ISC", - "packageManager": "pnpm@10.30.3", "dependencies": { "@xyflow/react": "^12.10.2", "lucide-react": "^1.7.0", From 166141662eb04359938e919c1a4346f9bf05b524 Mon Sep 17 00:00:00 2001 From: z23cc Date: Sun, 5 Apr 2026 15:04:12 +0800 Subject: [PATCH 2/2] chore(frontend): remove vestigial vitest.config.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No vitest package is installed and no source file imports from vitest. bun test is the canonical test runner (configured via bunfig.toml preload + @happy-dom/global-registrator). Verified: bun run typecheck ✓ | bun run build ✓ | bun test ✓ (10 pass) | bun run dev ✓ fn-17-switch-frontend-to-bun-remove-pnpmnode.2 --- frontend/vitest.config.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 frontend/vitest.config.ts diff --git a/frontend/vitest.config.ts b/frontend/vitest.config.ts deleted file mode 100644 index ebf36508..00000000 --- a/frontend/vitest.config.ts +++ /dev/null @@ -1,11 +0,0 @@ -/// -import { defineConfig } from "vite"; - -export default defineConfig({ - test: { - environment: "jsdom", - setupFiles: ["./src/test-setup.ts"], - globals: true, - include: ["src/**/*.test.{ts,tsx}"], - }, -});