Skip to content

Commit 65849b5

Browse files
authored
feat: use react server components (#167)
* wip: update to experimental * wip * finish * various fixes * ref: rename to smth that makes more sense * fix ci * fix missing keys, refactor out main component
1 parent 014c646 commit 65849b5

19 files changed

+679
-5000
lines changed

.github/workflows/CI.yml

+17-12
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,20 @@ jobs:
1515
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
1616
- name: Add problem matcher
1717
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
18-
- name: Use Node.js v16
19-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
18+
- name: Use Node.js v20
19+
uses: actions/setup-node@v4
2020
with:
21-
node-version: 16
21+
node-version: 20
22+
23+
- uses: pnpm/action-setup@v3
24+
with:
25+
version: 8
2226

2327
- name: Install Dependencies
24-
run: npm install
28+
run: pnpm install --frozen-lockfile
2529

2630
- name: Run ESLint
27-
run: npm run lint --fix=false
31+
run: pnpm run lint --fix=false
2832

2933
TypeCheck:
3034
name: TypeCheck
@@ -34,15 +38,16 @@ jobs:
3438
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
3539
- name: Add problem matcher
3640
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
37-
- name: Use Node.js v16
38-
uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # tag=v3
41+
- name: Use Node.js v20
42+
uses: actions/setup-node@v4
43+
with:
44+
node-version: 20
45+
- uses: pnpm/action-setup@v3
3946
with:
40-
node-version: 16
47+
version: 8
4148

4249
- name: Install Dependencies
43-
run: npm install
50+
run: pnpm install --frozen-lockfile
4451

4552
- name: Validate Types
46-
run: npm run typecheck
47-
# - name: Run Tests
48-
# run: npm run test
53+
run: pnpm run typecheck

.vscode/settings.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"editor.tabSize": 2,
33
"editor.codeActionsOnSave": {
4-
"source.fixAll.eslint": true,
5-
"source.organizeImports": false
6-
}
4+
"source.fixAll.eslint": "explicit",
5+
"source.organizeImports": "never"
6+
},
7+
"typescript.tsdk": "node_modules/typescript/lib"
78
}

0 commit comments

Comments
 (0)