Skip to content

Commit 51cb941

Browse files
docs: remove duplicate create-prisma template matrix
1 parent f35aee0 commit 51cb941

2 files changed

Lines changed: 7 additions & 42 deletions

File tree

prisma-compute/references/create-prisma.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,11 @@ Use `create-prisma@latest` for new-project scaffolding after verifying `--deploy
1717

1818
## Supported Templates
1919

20-
`create-prisma` scaffolds these templates:
21-
22-
| Template | Scaffolds | Integrated `--deploy` support |
23-
|----------|-----------|--------------------------------|
24-
| `hono` | Yes | Yes |
25-
| `elysia` | Yes | Yes |
26-
| `next` | Yes | Yes |
27-
| `tanstack-start` | Yes | Yes |
28-
| `nest` | Yes | No |
29-
| `svelte` | Yes | No |
30-
| `astro` | Yes | Yes |
31-
| `nuxt` | Yes | Yes |
32-
| `turborepo` | Yes | Yes; config target is usually `api` |
33-
34-
The distinction matters for non-latest releases: a template can be scaffold-ready while deploy/config generation differs by version. Check generated `package.json`, `prisma.compute.ts`, and README instead of assuming from the template name alone.
20+
`create-prisma@latest` scaffolds `hono`, `elysia`, `nest`, `next`, `svelte`, `astro`, `nuxt`, `tanstack-start`, and `turborepo`.
21+
22+
Integrated `--deploy` support currently applies to `hono`, `elysia`, `next`, `astro`, `nuxt`, `tanstack-start`, and `turborepo`. For `turborepo`, the generated config target is usually `api`.
23+
24+
`nest` and `svelte` are scaffold-only for Compute. For non-latest releases, verify generated `package.json`, `prisma.compute.ts`, and README before assuming deploy/config support.
3525

3626
## Basic Commands
3727

prisma-compute/references/frameworks.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -326,31 +326,6 @@ bunx @prisma/cli@latest app deploy \
326326

327327
Verify the actual output path before using this command.
328328

329-
## create-prisma Template Notes
329+
## create-prisma Notes
330330

331-
Use these notes only when the project was scaffolded with `create-prisma` or the user is creating a new app. They are not the general definition of Compute framework support.
332-
333-
`create-prisma@latest` scaffolds these templates:
334-
335-
| Template | Scaffolds | Integrated `--deploy` support | Generated deploy shape |
336-
|----------|-----------|----------------------------------------|------------------------|
337-
| `hono` | Yes | Yes | `prisma.compute.ts` or flag-backed `--framework hono --http-port 8080` script |
338-
| `elysia` | Yes | Yes | `prisma.compute.ts` or flag-backed `--framework bun --http-port 8080` script |
339-
| `next` | Yes | Yes | `prisma.compute.ts` or flag-backed `--framework nextjs` script |
340-
| `tanstack-start` | Yes | Yes | `prisma.compute.ts` or flag-backed `--framework tanstack-start` script |
341-
| `nest` | Yes | No | scaffold only |
342-
| `svelte` | Yes | No | scaffold only |
343-
| `astro` | Yes | Yes | `prisma.compute.ts` with `framework: "astro"` |
344-
| `nuxt` | Yes | Yes | `prisma.compute.ts` with `framework: "nuxt"` |
345-
| `turborepo` | Yes | Yes | `prisma.compute.ts` with `apps.api`; script may run `app deploy api` |
346-
347-
The distinction matters for non-latest releases: generated deploy/config support can differ from template scaffolding. Inspect the generated `package.json`, `prisma.compute.ts`, and README before assuming support from the template name alone. Existing apps should still be evaluated against the current `@prisma/cli app deploy` surface.
348-
349-
The generated templates import Prisma Client from local generated paths such as:
350-
351-
```typescript
352-
import { PrismaClient } from "../generated/prisma/client"
353-
import { PrismaPg } from "@prisma/adapter-pg"
354-
```
355-
356-
Preserve those imports unless you also update the Prisma generator output path and every consumer.
331+
Use [`create-prisma.md`](create-prisma.md) only when the user is creating a new app or working inside a generated project. Keep this reference focused on `@prisma/cli app deploy` framework readiness for existing apps.

0 commit comments

Comments
 (0)