chore: move docs to monorepo apps
8
.github/workflows/docs-deploy.yml
vendored
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
0
docs/.gitignore → apps/docs/.gitignore
vendored
|
|
@ -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": [
|
||||||
|
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: {
|
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"],
|
||||||
|
|
|
||||||