prisma 8.0.0-rc.23-dev.153 → 8.0.0-rc.23-dev.155
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/prisma.js +8 -0
- package/package.json +6 -6
- package/skills/prisma-platform-core-concepts/SKILL.md +12 -6
package/README.md
CHANGED
|
@@ -19,6 +19,8 @@ It is one binary for the ORM, Composer, and the Prisma Developer
|
|
|
19
19
|
Platform: projects, branches, services, service versions, environment
|
|
20
20
|
variables, and the Prisma ORM schema and migration workflow.
|
|
21
21
|
|
|
22
|
+
Prisma also runs [Prisma Postgres](https://www.prisma.io/postgres) (managed Postgres) and [Prisma Compute](https://www.prisma.io/compute) (app hosting).
|
|
23
|
+
|
|
22
24
|
---
|
|
23
25
|
|
|
24
26
|
## Quickstart
|
|
@@ -72,7 +74,8 @@ npx prisma project env list --role preview
|
|
|
72
74
|
| `postgres` | Create, inspect, back up, restore, and delete Prisma Postgres databases and their connections. |
|
|
73
75
|
| `bucket` | Create, list, and delete object-store buckets and their access keys. |
|
|
74
76
|
| `service` | Inspect services: versions, logs, domains, promote, roll back, delete. |
|
|
75
|
-
| `dev`, `deploy` | Run a Composer app locally; deploy it to the platform. |
|
|
77
|
+
| `dev`, `deploy` | Run a Composer app locally; deploy it to the platform. `dev url` prints a running node's local URL and `dev stop` stops the app. |
|
|
78
|
+
| `emulator` | List the local emulators `prisma dev` runs services, databases and buckets on. |
|
|
76
79
|
| `contract`, `db`, `migration`, `orm init`, `lsp` | The Prisma ORM workflow. |
|
|
77
80
|
|
|
78
81
|
Common examples:
|
package/dist/prisma.js
CHANGED
|
@@ -14283,6 +14283,11 @@ const cliGroups = {
|
|
|
14283
14283
|
description: "A ref is a named pointer to a contract, letting commands target a contract by a stable name. Set, list, and delete refs here."
|
|
14284
14284
|
},
|
|
14285
14285
|
orm: { brief: "Initialize a Prisma ORM project" },
|
|
14286
|
+
dev: { brief: "Run your app on this machine, with no Prisma account. Start it, print a node's local URL, stop it" },
|
|
14287
|
+
emulator: {
|
|
14288
|
+
brief: "Inspect the local emulators: programs on this machine that stand in for Prisma Cloud during 'prisma dev'",
|
|
14289
|
+
description: "An emulator runs one kind of resource locally, so 'prisma dev' needs no account or network: one runs services, one runs Postgres databases, one runs S3-compatible buckets. Each holds instances, one per service, database or bucket that a 'prisma dev' started, from any directory on this machine. Emulators keep running after 'prisma dev' ends. Instances and their data stay until 'prisma dev --fresh' removes the current app's, and a stopped instance keeps its port."
|
|
14290
|
+
},
|
|
14286
14291
|
skills: {
|
|
14287
14292
|
brief: "Manage Prisma skills for AI coding agents. Sync and list the instruction files",
|
|
14288
14293
|
description: "Agent skills are instruction files that teach AI coding agents (Claude Code, Cursor, and others) how to use the installed Prisma packages. They ship inside the packages; sync copies them into the directories the agent harnesses read."
|
|
@@ -14347,6 +14352,9 @@ const mountedCommands = {
|
|
|
14347
14352
|
"service domain wait": serviceDomainWaitCommand,
|
|
14348
14353
|
deploy: composerCommandFamily.commands.deploy,
|
|
14349
14354
|
dev: composerCommandFamily.commands.dev,
|
|
14355
|
+
"dev url": composerCommandFamily.commands["dev url"],
|
|
14356
|
+
"dev stop": composerCommandFamily.commands["dev stop"],
|
|
14357
|
+
"emulator list": composerCommandFamily.commands["emulator list"],
|
|
14350
14358
|
"contract emit": ormCommandFamily$1.commands["contract emit"],
|
|
14351
14359
|
"contract infer": ormCommandFamily$1.commands["contract infer"],
|
|
14352
14360
|
"db init": ormCommandFamily$1.commands["db init"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prisma",
|
|
3
|
-
"version": "8.0.0-rc.23-dev.
|
|
3
|
+
"version": "8.0.0-rc.23-dev.155",
|
|
4
4
|
"description": "The Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@manypkg/tools": "^2.1.2",
|
|
47
47
|
"@prisma/cli-engine": "0.9.0",
|
|
48
|
-
"@prisma/composer-cli": "0.
|
|
48
|
+
"@prisma/composer-cli": "0.31.0-dev.1",
|
|
49
49
|
"@prisma/compute-sdk": "0.43.0",
|
|
50
50
|
"@prisma/management-api-sdk": "1.80.0",
|
|
51
|
-
"@prisma/orm-toolchain": "8.0.0-rc.18-dev.
|
|
51
|
+
"@prisma/orm-toolchain": "8.0.0-rc.18-dev.20",
|
|
52
52
|
"@vercel/detect-agent": "^1.2.3",
|
|
53
53
|
"better-result": "^2.9.2",
|
|
54
54
|
"cross-spawn": "^7.0.6",
|
|
@@ -57,10 +57,10 @@
|
|
|
57
57
|
"open": "^11.0.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@prisma/cli": "8.0.0-rc.23-dev.
|
|
60
|
+
"@prisma/cli": "8.0.0-rc.23-dev.155",
|
|
61
61
|
"@prisma/credentials-store": "^7.8.0",
|
|
62
|
-
"@repo/cli-telemetry": "8.0.0-rc.23-dev.
|
|
63
|
-
"@repo/tsconfig": "8.0.0-rc.23-dev.
|
|
62
|
+
"@repo/cli-telemetry": "8.0.0-rc.23-dev.155",
|
|
63
|
+
"@repo/tsconfig": "8.0.0-rc.23-dev.155",
|
|
64
64
|
"@types/node": "^22.19.19",
|
|
65
65
|
"tsdown": "^0.21.10",
|
|
66
66
|
"typescript": "^6.0.3",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: prisma-platform-core-concepts
|
|
3
3
|
metadata:
|
|
4
4
|
library: "prisma"
|
|
5
|
-
library_version: "8.0.0-rc.23-dev.
|
|
5
|
+
library_version: "8.0.0-rc.23-dev.155"
|
|
6
6
|
version: 2026.9.2
|
|
7
7
|
description: >-
|
|
8
8
|
Use when hosting, deploying, or operating an app on the Prisma Platform:
|
|
@@ -333,11 +333,17 @@ own work:
|
|
|
333
333
|
applies the schema, creates local stand-ins for declared buckets, starts
|
|
334
334
|
the services, and prints a local URL. It watches built output and
|
|
335
335
|
restarts a service when its build changes.
|
|
336
|
-
2. Exercise the running app directly (for example with
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
336
|
+
2. Exercise the running app directly (for example with
|
|
337
|
+
`curl "$(prisma dev url gateway)"`, with your service's name in place of
|
|
338
|
+
`gateway`) instead of reasoning about what the
|
|
339
|
+
code would do. `prisma dev url <node>` prints one node's local URL: a
|
|
340
|
+
service's HTTP URL, a database's connection string, or a bucket's S3
|
|
341
|
+
address. Use `prisma dev --detach` to start the app and get your shell
|
|
342
|
+
back.
|
|
343
|
+
3. Stopping `dev` (Ctrl-C, or `prisma dev stop`) leaves local databases,
|
|
344
|
+
buckets, and their data in place; the next run is a warm start. `--fresh`
|
|
345
|
+
wipes this app's local instances and data first. `prisma emulator list`
|
|
346
|
+
shows every local instance on the machine.
|
|
341
347
|
4. Deploying is the same pipeline pointed at the platform: switching from
|
|
342
348
|
local to hosted is a configuration change, not a code change. Reach for
|
|
343
349
|
`prisma deploy --stage <name>` only when you need a shareable URL or
|