Skip to content

Commit 802ed09

Browse files
committed
Initial Commit
1 parent 0e8c067 commit 802ed09

File tree

796 files changed

+169331
-13513
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

796 files changed

+169331
-13513
lines changed

.github/workflows/ci.yml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# .github/workflows/ci.yml
2+
name: CI
3+
4+
on:
5+
push:
6+
branches: [main]
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
CI: 'true'
14+
15+
jobs:
16+
install:
17+
name: Install (pnpm fetch/offline)
18+
runs-on: ubuntu-24.04
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-node@v4
22+
with:
23+
node-version: '22'
24+
cache: 'pnpm'
25+
- name: Enable Corepack (pnpm)
26+
run: corepack enable
27+
- name: pnpm fetch
28+
run: pnpm fetch
29+
- name: pnpm install --offline
30+
run: pnpm install --offline --frozen-lockfile
31+
- name: Restore turbo cache
32+
uses: actions/cache@v4
33+
with:
34+
path: .turbo
35+
key: turbo-${{ runner.os }}-${{ hashFiles('**/*.[tj]s', '**/*.[tj]sx', 'pnpm-lock.yaml') }}
36+
restore-keys: |
37+
turbo-${{ runner.os }}-
38+
39+
quality:
40+
name: Lint / Typecheck / Knip
41+
needs: install
42+
runs-on: ubuntu-24.04
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: actions/setup-node@v4
46+
with:
47+
node-version: '22'
48+
cache: 'pnpm'
49+
- name: Enable Corepack
50+
run: corepack enable
51+
- name: pnpm install --offline
52+
run: pnpm install --offline --frozen-lockfile
53+
54+
- name: Lint & Format check (biome)
55+
run: pnpm run format-and-lint
56+
57+
- name: Unused deps check (knip)
58+
run: pnpm run check-deps
59+
60+
test:
61+
name: Test (vitest + coverage)
62+
needs: install
63+
runs-on: ubuntu-24.04
64+
steps:
65+
- uses: actions/checkout@v4
66+
- uses: actions/setup-node@v4
67+
with:
68+
node-version: '22'
69+
cache: 'pnpm'
70+
- name: Enable Corepack
71+
run: corepack enable
72+
- name: pnpm install --offline
73+
run: pnpm install --offline --frozen-lockfile
74+
- name: Prepare test env
75+
run: pnpm run reset
76+
- name: Run tests
77+
run: pnpm test --coverage --coverage-reporter=lcov --coverage-dir=./coverage apps/ packages/
78+
- name: Upload coverage to Codecov
79+
uses: codecov/codecov-action@v4
80+
with:
81+
token: ${{ secrets.CODECOV_TOKEN }}
82+
files: ./coverage/lcov.info
83+
84+
build:
85+
name: Build (turbo)
86+
needs: [quality, test]
87+
runs-on: ubuntu-24.04
88+
steps:
89+
- uses: actions/checkout@v4
90+
- uses: actions/setup-node@v4
91+
with:
92+
node-version: '22'
93+
cache: 'pnpm'
94+
- name: Enable Corepack
95+
run: corepack enable
96+
- name: pnpm install --offline
97+
run: pnpm install --offline --frozen-lockfile
98+
- name: Restore turbo cache
99+
uses: actions/cache@v4
100+
with:
101+
path: .turbo
102+
key: turbo-${{ runner.os }}-${{ hashFiles('**/*.[tj]s', '**/*.[tj]sx', 'pnpm-lock.yaml') }}
103+
restore-keys: |
104+
turbo-${{ runner.os }}-
105+
- name: Build
106+
run: pnpm run build

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ perstack.toml
2424
test-e2e/perstack/
2525
Thumbs.db
2626
yarn-debug.log*
27-
yarn-error.log*
27+
yarn-error.log*

docs/content/get-started/_meta.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ const meta: MetaRecord = {
1313
timestamp: false,
1414
},
1515
},
16-
tutorial: {
17-
title: "Tutorial",
18-
theme: {
19-
timestamp: false,
20-
},
21-
},
16+
tutorials: "Tutorials",
2217
"expert-stack": {
2318
title: "Expert Stack",
2419
theme: {

docs/content/get-started/tutorial.mdx

Lines changed: 0 additions & 131 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import type { MetaRecord } from "nextra"
2+
3+
const meta: MetaRecord = {
4+
"building-experts": {
5+
title: "Building Experts",
6+
theme: {
7+
timestamp: false,
8+
},
9+
},
10+
"using-experts": {
11+
title: "Using Experts",
12+
theme: {
13+
timestamp: false,
14+
},
15+
},
16+
}
17+
18+
export default meta

0 commit comments

Comments
 (0)