Skip to content

Commit 06717c8

Browse files
try out bun
1 parent 111ffd5 commit 06717c8

File tree

14 files changed

+3803
-18172
lines changed

14 files changed

+3803
-18172
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: cp .env.example .env
3333

3434
- name: Lint
35-
run: pnpm lint && pnpm lint:ws
35+
run: bun lint && bun lint:ws
3636

3737
format:
3838
runs-on: ubuntu-latest
@@ -43,7 +43,7 @@ jobs:
4343
uses: ./tooling/github/setup
4444

4545
- name: Format
46-
run: pnpm format
46+
run: bun format
4747

4848
typecheck:
4949
runs-on: ubuntu-latest
@@ -54,4 +54,4 @@ jobs:
5454
uses: ./tooling/github/setup
5555

5656
- name: Typecheck
57-
run: pnpm typecheck
57+
run: bun typecheck

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Next.js",
66
"type": "node-terminal",
77
"request": "launch",
8-
"command": "pnpm dev",
8+
"command": "bun dev",
99
"cwd": "${workspaceFolder}/apps/nextjs",
1010
"skipFiles": ["<node_internals>/**"],
1111
"sourceMaps": true,

apps/expo/eas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"build": {
77
"base": {
88
"node": "22.12.0",
9-
"pnpm": "9.15.4",
9+
"bun": "1.3.0",
1010
"ios": {
1111
"resourceClass": "m-medium"
1212
}

apps/expo/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
"@acme/tsconfig": "workspace:*",
5252
"@types/react": "catalog:react19",
5353
"eslint": "catalog:",
54+
"metro-cache": "^0.83.3",
5455
"prettier": "catalog:",
5556
"tailwindcss": "catalog:",
5657
"typescript": "catalog:"

apps/nextjs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"private": true,
44
"type": "module",
55
"scripts": {
6-
"build": "pnpm with-env next build",
6+
"build": "bun with-env next build",
77
"clean": "git clean -xdf .cache .next .turbo node_modules",
8-
"dev": "pnpm with-env next dev",
8+
"dev": "bun with-env next dev",
99
"format": "prettier --check . --ignore-path ../../.gitignore",
1010
"lint": "eslint --flag unstable_native_nodejs_ts_config",
11-
"start": "pnpm with-env next start",
11+
"start": "bun with-env next start",
1212
"typecheck": "tsc --noEmit",
1313
"with-env": "dotenv -e ../../.env --"
1414
},

apps/tanstack-start/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"sideEffects": false,
55
"type": "module",
66
"scripts": {
7-
"dev": "pnpm with-env vite dev",
7+
"dev": "bun with-env vite dev",
88
"build": "vite build",
9+
"clean": "rm -rf .cache .nitro .output .tanstack .turbo node_modules",
910
"start": "vite start",
1011
"format": "prettier --check . --ignore-path ../../.gitignore --ignore-path .prettierignore",
1112
"lint": "eslint --flag unstable_native_nodejs_ts_config",
@@ -45,12 +46,12 @@
4546
"@types/node": "catalog:",
4647
"@types/react": "catalog:react19",
4748
"@types/react-dom": "catalog:react19",
48-
"@vitejs/plugin-react": "^4.3.4",
49+
"@vitejs/plugin-react": "catalog:",
4950
"eslint": "catalog:",
5051
"prettier": "catalog:",
5152
"tailwindcss": "catalog:",
5253
"typescript": "catalog:",
53-
"vite": "^7.1.7",
54+
"vite": "catalog:",
5455
"vite-tsconfig-paths": "^5.1.4"
5556
},
5657
"prettier": "@acme/prettier-config"

0 commit comments

Comments
 (0)