Skip to content

Commit 8335444

Browse files
committed
feat(sync): Sync with upstream/common-v8 and migrate to Bun/Biome
1 parent acca39d commit 8335444

File tree

16 files changed

+5301
-22015
lines changed

16 files changed

+5301
-22015
lines changed

.github/actions/setup-node-pnpm-install/action.yaml

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

.github/workflows/ci.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,16 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23-
- name: Setup
24-
uses: ./.github/actions/setup-node-pnpm-install
23+
- name: Setup Bun
24+
uses: oven-sh/setup-bun@v2
25+
with:
26+
bun-version: latest
27+
28+
- name: Install dependencies
29+
run: bun install
2530

2631
- name: Install Playwright browsers
27-
run: npx playwright install --with-deps
32+
run: bun x playwright install --with-deps
2833

2934
- name: Verify
30-
run: pnpm verify
35+
run: bun run verify

.prettierignore

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

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
},
2525
"[typescriptreact]": {
2626
"editor.defaultFormatter": "esbenp.prettier-vscode"
27-
}
27+
},
28+
"vitest.disableWorkspaceWarning": true
2829
}

apps/web/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"motion": "^12.27.0",
4141
"next": "^16.1.3",
4242
"next-themes": "^0.4.6",
43-
"react": "catalog:react19",
44-
"react-dom": "catalog:react19",
43+
"react": "^19.0.0",
44+
"react-dom": "^19.0.0",
4545
"react-highlight-words": "^0.21.0",
4646
"remark": "^15.0.1",
4747
"remark-gfm": "^4.0.1",
@@ -59,8 +59,8 @@
5959
"@evolu/tsconfig": "workspace:*",
6060
"@types/mdx": "^2.0.13",
6161
"@types/node": "^24.10.9",
62-
"@types/react": "catalog:react19",
63-
"@types/react-dom": "catalog:react19",
62+
"@types/react": "^19.0.8",
63+
"@types/react-dom": "^19.0.3",
6464
"@types/react-highlight-words": "^0.20.1",
6565
"@types/rss": "^0.0.32",
6666
"cross-env": "^10.1.0",

biome.json

Lines changed: 62 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,64 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
3-
"vcs": {
4-
"enabled": true,
5-
"clientKind": "git",
6-
"useIgnoreFile": true
7-
},
8-
"files": {
9-
"ignoreUnknown": false,
10-
"includes": ["**", "!!apps/web", "!!examples"]
11-
},
12-
"formatter": {
13-
"enabled": false,
14-
"indentStyle": "tab"
15-
},
16-
"linter": {
17-
"enabled": true,
18-
"rules": {
19-
"recommended": false,
20-
"suspicious": {
21-
"noShadowRestrictedNames": "off",
22-
"noExplicitAny": "off",
23-
"noImplicitAnyLet": "off",
24-
"useIterableCallbackReturn": "off"
25-
},
26-
"correctness": {
27-
"noConstantCondition": "off",
28-
"noUnusedFunctionParameters": "off"
29-
},
30-
"style": {
31-
"useImportType": "off"
32-
},
33-
"nursery": {
34-
"noImportCycles": {
35-
"level": "error",
36-
"options": {
37-
"ignoreTypes": true
38-
}
39-
}
40-
}
41-
}
42-
},
43-
"javascript": {
44-
"formatter": {
45-
"enabled": false,
46-
"quoteStyle": "double"
47-
}
48-
},
49-
"css": {
50-
"parser": {
51-
"tailwindDirectives": true
52-
}
53-
},
54-
"assist": {
55-
"enabled": false,
56-
"actions": {
57-
"source": {
58-
"organizeImports": "on"
59-
}
60-
}
61-
}
2+
"$schema": "https://biomejs.dev/schemas/2.3.13/schema.json",
3+
"vcs": {
4+
"enabled": true,
5+
"clientKind": "git",
6+
"useIgnoreFile": true
7+
},
8+
"files": {
9+
"ignoreUnknown": true,
10+
"includes": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.mjs", "**/*.json"]
11+
},
12+
"formatter": {
13+
"enabled": true,
14+
"indentStyle": "tab",
15+
"indentWidth": 2
16+
},
17+
"linter": {
18+
"enabled": true,
19+
"rules": {
20+
"recommended": true,
21+
"suspicious": {
22+
"noShadowRestrictedNames": "off",
23+
"noExplicitAny": "off",
24+
"noImplicitAnyLet": "off",
25+
"useIterableCallbackReturn": "off"
26+
},
27+
"correctness": {
28+
"noConstantCondition": "off",
29+
"noUnusedFunctionParameters": "off",
30+
"noUnusedImports": "error"
31+
},
32+
"style": {
33+
"useImportType": "error"
34+
},
35+
"nursery": {
36+
"noImportCycles": {
37+
"level": "error",
38+
"options": {
39+
"ignoreTypes": true
40+
}
41+
}
42+
}
43+
}
44+
},
45+
"javascript": {
46+
"formatter": {
47+
"quoteStyle": "double",
48+
"arrowParentheses": "always"
49+
}
50+
},
51+
"css": {
52+
"parser": {
53+
"tailwindDirectives": true
54+
}
55+
},
56+
"assist": {
57+
"enabled": true,
58+
"actions": {
59+
"source": {
60+
"organizeImports": "on"
61+
}
62+
}
63+
}
6264
}

0 commit comments

Comments
 (0)