chore: move docs to monorepo apps (#801)
* chore: move docs to monorepo apps * chore(docs): bump vite
8
.github/workflows/docs-deploy.yml
vendored
|
|
@ -8,7 +8,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "docs/**"
|
||||
- "apps/docs/**"
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
|
@ -21,11 +21,9 @@ jobs:
|
|||
|
||||
- name: Install dependencies
|
||||
uses: "./.github/actions/install-dependencies"
|
||||
with:
|
||||
workingDirectory: docs
|
||||
|
||||
- name: Build docs
|
||||
working-directory: docs
|
||||
working-directory: apps/docs
|
||||
run: bun run build
|
||||
|
||||
- name: Build and deploy docs
|
||||
|
|
@ -33,7 +31,7 @@ jobs:
|
|||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||
workingDirectory: docs
|
||||
workingDirectory: apps/docs
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
0
docs/.gitignore → apps/docs/.gitignore
vendored
|
|
@ -31,7 +31,6 @@
|
|||
"fumadocs-mdx": "^14.2.9",
|
||||
"fumadocs-ui": "^16.6.9",
|
||||
"lucide-react": "^0.545.0",
|
||||
"nitro": "npm:nitro-nightly@latest",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"shadcn": "^4.2.0",
|
||||
|
|
@ -40,7 +39,7 @@
|
|||
"tw-animate-css": "^1.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/vite-plugin": "^1.32.2",
|
||||
"@cloudflare/vite-plugin": "^1.32.1",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@tanstack/devtools-vite": "^0.3.11",
|
||||
"@testing-library/dom": "^10.4.0",
|
||||
|
|
@ -51,11 +50,11 @@
|
|||
"@vitejs/plugin-react": "^6.0.0",
|
||||
"jsdom": "^27.0.0",
|
||||
"typescript": "^5.7.2",
|
||||
"vite": "^7.1.7",
|
||||
"vite": "^8.0.8",
|
||||
"vite-plugin-killer-instincts": "^1.0.0",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"vitest": "^3.0.5",
|
||||
"wrangler": "^4.82.2"
|
||||
"wrangler": "^4.82.1"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 890 KiB After Width: | Height: | Size: 890 KiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 8.1 KiB |
1974
docs/bun.lock
|
|
@ -67,7 +67,7 @@ export default defineConfig({
|
|||
env: {
|
||||
builtin: true,
|
||||
},
|
||||
ignorePatterns: ["**/api-client/**", "docs/**"],
|
||||
ignorePatterns: ["**/api-client/**", "apps/docs/**"],
|
||||
overrides: [
|
||||
{
|
||||
files: ["**/*.test.ts", "**/*.test.tsx"],
|
||||
|
|
|
|||