Skip to content

Commit 415fba3

Browse files
committed
chore: switch runtime from bun to nodejs for compatibility
1 parent 0071d53 commit 415fba3

File tree

6 files changed

+6861
-1188
lines changed

6 files changed

+6861
-1188
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# 一人麻雀(Hitori Mahjong)
22
## development
33
```sh
4-
bun install
4+
npm install
55
cp .env.example .env
6-
bun dev
6+
npm run dev
77
```
88

9-
- After running `bunx drizzle-kit generate --config=drizzle-do.config.ts`, you need to add `?raw` to SQL file names in drizzle-do/migraions.js`.
9+
- After running `npx drizzle-kit generate --config=drizzle-do.config.ts`, you need to add `?raw` to SQL file names in drizzle-do/migraions.js`.

bun.lock

Lines changed: 0 additions & 1174 deletions
This file was deleted.

devshell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
pkgs.mkShell {
33
# Add build dependencies
44
packages = with pkgs; [
5-
bun
5+
nodejs_24
66
];
77

88
# Add environment variables

lefthook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ pre-commit:
22
commands:
33
format:
44
glob: "*.{ts,tsx,json,jsonc}"
5-
run: bunx @biomejs/biome check {staged_files} --write && git add {staged_files}
5+
run: npx @biomejs/biome check {staged_files} --write && git add {staged_files}

0 commit comments

Comments
 (0)