Skip to content

Commit 36c460c

Browse files
committed
chore: initial commit - prosdevlab-web
Core Features: - Next.js 16.1.1 with App Router and React 19 - Velite for Git-backed MDX content management - Tailwind CSS v4 with dark mode support - Mobile-first responsive design - Breadcrumb navigation on detail pages Content Structure: - Kits catalog (SDKs, runtimes, frameworks) - Tools catalog (applications built on kits) - MDX frontmatter validation via Zod schemas - Computed fields (url, order) from Velite UI Components: - shadcn/ui (Card, Badge, Button, Separator) - Custom MDX renderer with syntax highlighting - Theme toggle (light/dark mode) - Responsive navigation header Developer Experience: - Biome for linting and formatting - TypeScript strict mode - Commitlint + Husky git hooks - Lint-staged for pre-commit checks - GitHub Actions CI/CD pipeline Git Hooks: - pre-commit: lint and format staged files - commit-msg: validate conventional commits - pre-push: typecheck and build Content: - SDK Kit (stable) - Experience SDK (experimental) - Auth Header Injector tool (stable) Documentation: - CLAUDE.md for AI assistant context - CONTRIBUTING.md for developer guidelines
0 parents  commit 36c460c

Some content is hidden

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

45 files changed

+6614
-0
lines changed

.github/workflows/ci.yml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
lint:
11+
name: Lint
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup pnpm
17+
uses: pnpm/action-setup@v4
18+
with:
19+
version: 9
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 20
25+
cache: 'pnpm'
26+
27+
- name: Install dependencies
28+
run: pnpm install --frozen-lockfile
29+
30+
- name: Run Biome lint
31+
run: pnpm lint
32+
33+
typecheck:
34+
name: Typecheck
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v4
38+
39+
- name: Setup pnpm
40+
uses: pnpm/action-setup@v4
41+
with:
42+
version: 9
43+
44+
- name: Setup Node.js
45+
uses: actions/setup-node@v4
46+
with:
47+
node-version: 20
48+
cache: 'pnpm'
49+
50+
- name: Install dependencies
51+
run: pnpm install --frozen-lockfile
52+
53+
- name: Run TypeScript typecheck
54+
run: pnpm typecheck
55+
56+
build:
57+
name: Build
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v4
61+
62+
- name: Setup pnpm
63+
uses: pnpm/action-setup@v4
64+
with:
65+
version: 9
66+
67+
- name: Setup Node.js
68+
uses: actions/setup-node@v4
69+
with:
70+
node-version: 20
71+
cache: 'pnpm'
72+
73+
- name: Install dependencies
74+
run: pnpm install --frozen-lockfile
75+
76+
- name: Build project
77+
run: pnpm build
78+
79+
commitlint:
80+
name: Commitlint
81+
runs-on: ubuntu-latest
82+
if: github.event_name == 'pull_request'
83+
steps:
84+
- uses: actions/checkout@v4
85+
with:
86+
fetch-depth: 0
87+
88+
- name: Setup pnpm
89+
uses: pnpm/action-setup@v4
90+
with:
91+
version: 9
92+
93+
- name: Setup Node.js
94+
uses: actions/setup-node@v4
95+
with:
96+
node-version: 20
97+
cache: 'pnpm'
98+
99+
- name: Install dependencies
100+
run: pnpm install --frozen-lockfile
101+
102+
- name: Validate PR commits
103+
run: pnpm commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.sha }} --verbose
104+

.gitignore

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.*
7+
.yarn/*
8+
!.yarn/patches
9+
!.yarn/plugins
10+
!.yarn/releases
11+
!.yarn/versions
12+
13+
# testing
14+
/coverage
15+
16+
# next.js
17+
/.next/
18+
/out/
19+
20+
# production
21+
/build
22+
23+
# misc
24+
.DS_Store
25+
*.pem
26+
27+
# debug
28+
npm-debug.log*
29+
yarn-debug.log*
30+
yarn-error.log*
31+
.pnpm-debug.log*
32+
33+
# env files (can opt-in for committing if needed)
34+
.env*
35+
36+
# vercel
37+
.vercel
38+
39+
# typescript
40+
*.tsbuildinfo
41+
next-env.d.ts
42+
43+
# velite
44+
.velite
45+
46+
# biome
47+
.biome-cache

.husky/commit-msg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
pnpm commitlint --edit $1
3+

.husky/pre-commit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
pnpm lint-staged
3+

.husky/pre-push

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/sh
2+
echo "🔍 Running pre-push checks..."
3+
echo ""
4+
5+
echo "📝 Typechecking..."
6+
pnpm typecheck || exit 1
7+
8+
echo ""
9+
echo "🏗️ Building..."
10+
pnpm build || exit 1
11+
12+
echo ""
13+
echo "✅ All checks passed!"
14+

0 commit comments

Comments
 (0)