From ea284366285a77eb179a6ef0d5d2651ac563032b Mon Sep 17 00:00:00 2001 From: Noa Virellia Date: Tue, 20 Jan 2026 14:21:40 +0800 Subject: [PATCH 1/3] feat(just): migrate client commands to pnpm Signed-off-by: Noa Virellia --- justfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/justfile b/justfile index c3ba7ed..d014079 100644 --- a/justfile +++ b/justfile @@ -5,24 +5,24 @@ output_dir := join(project_dir, ".outputs") client_dir := join(project_dir, "client") exec_path := join(output_dir, project_name) go_cmd := `realpath $(which go)` -bun_cmd := `realpath $(which bun)` +pnpm_cmd := `realpath $(which pnpm)` default: install clean build-back build-client run-back backend: clean build-back run-back install: - cd {{ client_dir }} && {{ bun_cmd }} install + cd {{ client_dir }} && {{ pnpm_cmd }} install clean: mkdir -p .outputs find .outputs -mindepth 1 ! -path .outputs/config.yaml -exec rm -rf {} + client: - cd {{ client_dir }} && {{ bun_cmd }} dev + cd {{ client_dir }} && {{ pnpm_cmd }} dev build-client: - cd {{ client_dir }} && {{ bun_cmd }} run build --outDir {{ join(output_dir, "static") }} + cd {{ client_dir }} && {{ pnpm_cmd }} run build --outDir {{ join(output_dir, "static") }} build-back: {{ go_cmd }} build -o {{ exec_path }}{{ if os() == "windows" { ".exe" } else { "" } }} {{ server_enrty }} -- 2.49.1 From 725fd18536f6f74176fda991c5bb52c12b00b5fc Mon Sep 17 00:00:00 2001 From: Noa Virellia Date: Tue, 20 Jan 2026 14:32:08 +0800 Subject: [PATCH 2/3] feat(devenv): migrate from bun to corepack/pnpm --- devenv.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devenv.nix b/devenv.nix index 7932142..a5ef626 100644 --- a/devenv.nix +++ b/devenv.nix @@ -25,7 +25,7 @@ version = "1.25.5"; }; javascript.enable = true; - javascript.bun.enable = true; + javascript.corepack.enable = true; }; processes = { -- 2.49.1 From 197d14fb72b5348908799ee74ba058f5548841b7 Mon Sep 17 00:00:00 2001 From: Noa Virellia Date: Tue, 20 Jan 2026 14:33:05 +0800 Subject: [PATCH 3/3] feat(client): pin pnpm version Signed-off-by: Noa Virellia --- client/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index c63787f..54952dd 100644 --- a/client/package.json +++ b/client/package.json @@ -92,5 +92,6 @@ }, "lint-staged": { "*": "eslint --fix" - } + }, + "packageManager": "pnpm@10.28.1+sha512.7d7dbbca9e99447b7c3bf7a73286afaaf6be99251eb9498baefa7d406892f67b879adb3a1d7e687fc4ccc1a388c7175fbaae567a26ab44d1067b54fcb0d6a316" } -- 2.49.1