Skip to content

Commit f35aee0

Browse files
docs: update create-prisma compute template support
1 parent 0ad556a commit f35aee0

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

prisma-compute/references/create-prisma.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ Use `create-prisma@latest` for new-project scaffolding after verifying `--deploy
2727
| `tanstack-start` | Yes | Yes |
2828
| `nest` | Yes | No |
2929
| `svelte` | Yes | No |
30-
| `astro` | Yes | Verify current release |
31-
| `nuxt` | Yes | Verify current release |
32-
| `turborepo` | Yes | Verify current release; config target is usually `api` |
30+
| `astro` | Yes | Yes |
31+
| `nuxt` | Yes | Yes |
32+
| `turborepo` | Yes | Yes; config target is usually `api` |
3333

34-
The distinction matters: a template can be scaffold-ready while deploy/config generation is still rolling out. Check generated `package.json`, `prisma.compute.ts`, and README instead of assuming from the template name alone.
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.
3535

3636
## Basic Commands
3737

prisma-compute/references/frameworks.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -340,11 +340,11 @@ Use these notes only when the project was scaffolded with `create-prisma` or the
340340
| `tanstack-start` | Yes | Yes | `prisma.compute.ts` or flag-backed `--framework tanstack-start` script |
341341
| `nest` | Yes | No | scaffold only |
342342
| `svelte` | Yes | No | scaffold only |
343-
| `astro` | Yes | Verify current release | `prisma.compute.ts` with `framework: "astro"` when generated |
344-
| `nuxt` | Yes | Verify current release | `prisma.compute.ts` with `framework: "nuxt"` when generated |
345-
| `turborepo` | Yes | Verify current release | `prisma.compute.ts` with `apps.api`; script may run `app deploy api` |
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` |
346346

347-
The distinction matters: generated deploy/config support is rolling out independently 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.
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.
348348

349349
The generated templates import Prisma Client from local generated paths such as:
350350

prisma-compute/scripts/verify-compute-surface.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ const checks = [
1616
["has hono template", /\bhono\b/i],
1717
["has elysia template", /\belysia\b/i],
1818
["has next template", /\bnext\b/i],
19+
["has astro template", /\bastro\b/i],
20+
["has nuxt template", /\bnuxt\b/i],
1921
["has tanstack-start template", /\btanstack-start\b/i],
22+
["has turborepo template", /\bturborepo\b/i],
2023
],
2124
},
2225
{

0 commit comments

Comments
 (0)