continue-custom/docs-site/package.json
Nate 606fba91a3 feat: add docs site as static Next.js export
Migrates the docs site from remote-config-server to this repo as a
standalone static Next.js app. Key changes:

- Copy app-docs from remote-config-server to docs-site/
- Configure `output: 'export'` for static HTML generation
- Replace API routes with build-time scripts (search index, image copy)
- Add generateStaticParams() to enumerate all doc slugs at build time
- Convert server-side redirects to client-side redirects
- Point DOCS_DIR to sibling ../docs directory
- Add GitHub Actions workflow for deploying to GitHub Pages
- Add missing Radix UI dependencies (accordion, tabs) to package.json

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 13:52:25 -07:00

50 lines
1.5 KiB
JSON

{
"name": "continue-docs",
"version": "0.1.0",
"private": true,
"scripts": {
"prebuild": "npx tsx scripts/copy-doc-images.ts && npx tsx scripts/build-search-index.ts",
"dev": "npx tsx scripts/copy-doc-images.ts && npx tsx scripts/build-search-index.ts && next dev -p 3005",
"build": "next build",
"start": "next start -p 3005",
"lint": "next lint",
"tsc:check": "tsc --noEmit",
"tsc:watch": "tsc --watch --noEmit --pretty"
},
"dependencies": {
"@orama/orama": "^3.0.0",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-dialog": "^1.1.6",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-visually-hidden": "^1.1.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "1.0.4",
"geist": "^1.3.1",
"gray-matter": "^4.0.3",
"lucide-react": "^0.414.0",
"next": "^16.1.1",
"next-mdx-remote": "^6.0.0",
"next-themes": "^0.4.4",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"rehype-autolink-headings": "^7.1.0",
"rehype-prism-plus": "^2.0.1",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"rehype-slug": "^6.0.0",
"remark-gfm": "^4.0.1",
"tailwind-merge": "^2.6.0"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.19",
"@types/node": "^20",
"@types/react": "19.2.8",
"@types/react-dom": "19.2.3",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31",
"tailwindcss": "^3.3.5",
"tsx": "^4.0.0",
"typescript": "^5"
}
}