Switch from pnpm to Bun; install Rust through mise; update Tauri packages on both sides
ci / check (push) Successful in 5m9s

This commit is contained in:
2026-10-15 04:03:01 +02:00
parent 788a373e17
commit 93e9cf94a5
9 changed files with 351 additions and 1069 deletions
+6 -5
View File
@@ -1,22 +1,23 @@
[tools]
node = "24"
pnpm = "11"
bun = "1.4"
rust = "1.98.1"
[tasks.dev]
description = "Run the app in development mode. Pass a repo path: mise run dev /path/to/repo"
run = "pnpm tauri dev -- --"
run = "bun run tauri dev -- --"
[tasks.test]
description = "Run unit tests"
run = "pnpm vitest run"
run = "bun run vitest run"
[tasks.check]
description = "Type-check the frontend and the Rust code"
run = ["pnpm vue-tsc --noEmit", "cargo check --manifest-path src-tauri/Cargo.toml"]
run = ["bun run vue-tsc --noEmit", "cargo check --manifest-path src-tauri/Cargo.toml"]
[tasks.install]
description = "Build a release binary and install it as ~/.local/bin/gites"
run = [
"pnpm tauri build --no-bundle",
"bun run tauri build --no-bundle",
"install -Dm755 src-tauri/target/release/gites ~/.local/bin/gites",
]