📚 Prisma Web Monorepo
翻譯準備中
其他MDX · TypeScriptGitHub @prisma自行安裝營運者未確認
試用過了嗎? 點一下就好,不需要登入。
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
安裝型專案無需部署網域也可驗證。個人儲存庫可透過 GitHub 登入驗證,組織儲存庫可使用上方的儲存庫驗證檔案。
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗This repository is a pnpm monorepo containing the Prisma documentation, blog, design system docs, and shared packages.
| Path | Description |
|---|---|
apps/site | Main Prisma website |
apps/docs | Prisma documentation site (Next.js + Fumadocs) |
apps/blog | Prisma blog |
apps/handbook | Builders Handbook (Next.js + Fumadocs), chapters written by Shane, see apps/handbook/AUTHORING.md |
apps/eclipse | Eclipse design system documentation |
packages/eclipse | Eclipse design system component library (@prisma/eclipse) |
packages/ui | Shared UI components and utilities (@prisma-docs/ui) |
See each app’s README.md for more detail.
See ARCHITECTURE.md for the cross-app multi-zone overview.
New contributors are welcome. Read the contributing guide before submitting changes.
From the repository root:
pnpm install
pnpm dev
This builds and runs the combined Composer app locally. Open the gateway URL
printed by Composer; it serves the site at /, docs at /docs, blog at /blog,
handbook at /handbook, and Eclipse at /eclipse. No cloud credentials are needed.
See COMPOSER.md for resource budgets, configuration, and the build loop,
and COMPOSER_FINDINGS.md for the findings from this port.
For the original Next.js HMR workflow, run pnpm dev:turbo. Its individual app ports
remain 3000 (site), 3001 (docs), 3002 (blog), 3003 (Eclipse), and 3004 (handbook).
To run a single app:
pnpm --filter docs dev # docs only
pnpm --filter blog dev # blog only
pnpm --filter eclipse dev # eclipse design system docs only
pnpm --filter handbook dev # builders handbook only
pnpm build
To build and serve the docs site:
pnpm --filter docs build
pnpm --filter docs start
| Script | Description |
|---|---|
pnpm lint:links | Validate internal and external links (docs) |
pnpm lint:code | Lint code blocks in MDX (docs) |
pnpm lint:spellcheck | Spell-check content (docs) |
pnpm check | Run formatting and lint fixes across all workspaces |
apps/docs/content/docs/ (latest), apps/docs/content/docs.v6/ (versioned). Sidebar structure comes from meta.json in each folder. See Fumadocs collections.apps/blog/content/blog/ (MDX with authors, dates, hero images).apps/eclipse/content/design-system/ (component docs)..md and .mdx files are not formatted by Prettier because they use MDX 3, which Prettier does not support. See prettier/prettier#12209.