chore: move docs to monorepo apps

This commit is contained in:
Nicolas Meienberger 2026-04-16 18:43:19 +02:00
parent 1e98013e45
commit cc560be654
No known key found for this signature in database
72 changed files with 1037 additions and 2002 deletions

View file

@ -8,7 +8,7 @@ on:
branches: branches:
- main - main
paths: paths:
- "docs/**" - "apps/docs/**"
jobs: jobs:
deploy: deploy:
@ -22,10 +22,10 @@ jobs:
- name: Install dependencies - name: Install dependencies
uses: "./.github/actions/install-dependencies" uses: "./.github/actions/install-dependencies"
with: with:
workingDirectory: docs workingDirectory: apps/docs
- name: Build docs - name: Build docs
working-directory: docs working-directory: apps/docs
run: bun run build run: bun run build
- name: Build and deploy docs - name: Build and deploy docs
@ -33,7 +33,7 @@ jobs:
with: with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: docs workingDirectory: apps/docs

View file

@ -31,7 +31,6 @@
"fumadocs-mdx": "^14.2.9", "fumadocs-mdx": "^14.2.9",
"fumadocs-ui": "^16.6.9", "fumadocs-ui": "^16.6.9",
"lucide-react": "^0.545.0", "lucide-react": "^0.545.0",
"nitro": "npm:nitro-nightly@latest",
"react": "^19.2.0", "react": "^19.2.0",
"react-dom": "^19.2.0", "react-dom": "^19.2.0",
"shadcn": "^4.2.0", "shadcn": "^4.2.0",
@ -40,7 +39,7 @@
"tw-animate-css": "^1.4.0" "tw-animate-css": "^1.4.0"
}, },
"devDependencies": { "devDependencies": {
"@cloudflare/vite-plugin": "^1.32.2", "@cloudflare/vite-plugin": "^1.32.1",
"@tailwindcss/typography": "^0.5.16", "@tailwindcss/typography": "^0.5.16",
"@tanstack/devtools-vite": "^0.3.11", "@tanstack/devtools-vite": "^0.3.11",
"@testing-library/dom": "^10.4.0", "@testing-library/dom": "^10.4.0",
@ -55,7 +54,7 @@
"vite-plugin-killer-instincts": "^1.0.0", "vite-plugin-killer-instincts": "^1.0.0",
"vite-tsconfig-paths": "^5.1.4", "vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.5", "vitest": "^3.0.5",
"wrangler": "^4.82.2" "wrangler": "^4.82.1"
}, },
"pnpm": { "pnpm": {
"onlyBuiltDependencies": [ "onlyBuiltDependencies": [

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 5.8 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View file

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View file

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 890 KiB

After

Width:  |  Height:  |  Size: 890 KiB

View file

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 1.4 MiB

View file

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

1050
bun.lock

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -67,7 +67,7 @@ export default defineConfig({
env: { env: {
builtin: true, builtin: true,
}, },
ignorePatterns: ["**/api-client/**", "docs/**"], ignorePatterns: ["**/api-client/**", "apps/docs/**"],
overrides: [ overrides: [
{ {
files: ["**/*.test.ts", "**/*.test.tsx"], files: ["**/*.test.ts", "**/*.test.tsx"],