Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml → .github/workflows/ci-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI - Docs

on:
push:
Expand All @@ -20,20 +20,20 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '24'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Format check
run: pnpm format:check
run: pnpm --filter @framework-tracker/docs format:check

- name: Lint
run: pnpm lint
run: pnpm --filter @framework-tracker/docs lint

- name: Type check
run: pnpm type-check
run: pnpm --filter @framework-tracker/docs type-check

- name: Build
run: pnpm build:docs
53 changes: 53 additions & 0 deletions .github/workflows/ci-next-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI - Next.js

on:
push:
branches: [main]
paths:
- 'packages/starter-next-js/**'
- '.github/workflows/ci-next-js.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'
pull_request:
branches: [main]
paths:
- 'packages/starter-next-js/**'
- '.github/workflows/ci-next-js.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Format check
run: pnpm --filter starter-next-js format:check

- name: Lint
run: pnpm --filter starter-next-js lint

- name: Type check
run: pnpm --filter starter-next-js type-check

- name: Build
run: pnpm build:next
53 changes: 53 additions & 0 deletions .github/workflows/ci-react-router.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI - React Router

on:
push:
branches: [main]
paths:
- 'packages/starter-react-router/**'
- '.github/workflows/ci-react-router.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'
pull_request:
branches: [main]
paths:
- 'packages/starter-react-router/**'
- '.github/workflows/ci-react-router.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Format check
run: pnpm --filter starter-react-router format:check

- name: Lint
run: pnpm --filter starter-react-router lint

- name: Type check
run: pnpm --filter starter-react-router type-check

- name: Build
run: pnpm build:react-router
53 changes: 53 additions & 0 deletions .github/workflows/ci-tanstack-start.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI - TanStack Start

on:
push:
branches: [main]
paths:
- 'packages/starter-tanstack-start-react/**'
- '.github/workflows/ci-tanstack-start.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'
pull_request:
branches: [main]
paths:
- 'packages/starter-tanstack-start-react/**'
- '.github/workflows/ci-tanstack-start.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Format check
run: pnpm --filter starter-tanstack-start-react format:check

- name: Lint
run: pnpm --filter starter-tanstack-start-react lint

- name: Type check
run: pnpm --filter starter-tanstack-start-react type-check

- name: Build
run: pnpm build:tanstack
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24
19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,24 @@
"type": "module",
"packageManager": "pnpm@10.25.0",
"engines": {
"node": ">=20.0.0"
"node": ">=24.0.0"
},
"scripts": {
"dev:docs": "pnpm --filter @framework-tracker/docs dev",
"build:docs": "pnpm --filter @framework-tracker/docs build",
"preview:docs": "pnpm --filter @framework-tracker/docs preview",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "pnpm --filter @framework-tracker/docs type-check"
"dev:next": "pnpm --filter starter-next-js dev",
"build:next": "pnpm --filter starter-next-js build",
"dev:react-router": "pnpm --filter starter-react-router dev",
"build:react-router": "pnpm --filter starter-react-router build",
"dev:tanstack": "pnpm --filter starter-tanstack-start-react dev",
"build:tanstack": "pnpm --filter starter-tanstack-start-react build",
"generate:stats": "pnpm --filter @framework-tracker/stats-generator generate",
"lint": "pnpm -r --parallel lint",
"lint:fix": "pnpm -r --parallel lint:fix",
"format": "pnpm -r --parallel format",
"format:check": "pnpm -r --parallel format:check",
"type-check": "pnpm -r --parallel type-check"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
Expand Down
3 changes: 3 additions & 0 deletions packages/docs/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Astro auto-generated files
.astro/
dist/
3 changes: 3 additions & 0 deletions packages/docs/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import rootConfig from '../../eslint.config.js'
import astroPlugin from 'eslint-plugin-astro'

export default [
{
ignores: ['**/node_modules/**', '**/dist/**', '**/.astro/**'],
},
...rootConfig,
...astroPlugin.configs.recommended,
{
Expand Down
4 changes: 3 additions & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
"astro": "astro",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"type-check": "astro check"
"type-check": "astro check",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"dependencies": {
"astro": "^5.16.6"
Expand Down
1 change: 0 additions & 1 deletion packages/docs/src/assets/astro.svg

This file was deleted.

Loading