Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@prisma/composer-cli": "0.23.0",
"@prisma/compute-sdk": "0.43.0",
"@prisma/management-api-sdk": "1.79.0",
"@prisma/orm-toolchain": "8.0.0-rc.12",
"@prisma/orm-toolchain": "8.0.0-rc.13",
"@vercel/detect-agent": "^1.2.3",
"better-result": "^2.9.2",
"cross-spawn": "^7.0.6",
Expand Down
5 changes: 3 additions & 2 deletions packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,9 @@ export const cliGroups: Readonly<
},
contract: {
brief:
"Author your data contract: the PSL source of your data model. Emit, infer, format",
"Author your data contract: the PSL source of your data model. Emit, infer, format, print",
description:
"A contract is the declarative description of your application's data model, authored in PSL (Prisma Schema Language). Migrations are planned from it, and live databases are verified and signed against it. Emit generates its artifacts, infer derives a contract from an existing database, and format normalizes the source.",
"A contract is the declarative description of your application's data model, authored in PSL (Prisma Schema Language). Migrations are planned from it, and live databases are verified and signed against it. Emit generates its artifacts, infer derives a contract from an existing database, format normalizes the source, and print writes the contract your config loads as PSL.",
},
db: {
brief:
Expand Down Expand Up @@ -426,6 +426,7 @@ export const mountedCommands: Readonly<Record<string, AnyCommand>> = {
"db verify": ormCommandFamily.commands["db verify"],
"db migrate": ormCommandFamily.commands["db migrate"],
"contract format": ormCommandFamily.commands["contract format"],
"contract print": ormCommandFamily.commands["contract print"],
// `orm init` keeps this path: only the top-level `init` (the compute
// config wizard) was removed, by the 2026-08-21 PM review.
"orm init": ormCommandFamily.commands["orm init"],
Expand Down
1 change: 1 addition & 0 deletions packages/cli/tests/e2e-coverage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const EXCLUSIONS: Readonly<Record<string, string>> = {
"db update": ORM_FAMILY_REASON,
"db verify": ORM_FAMILY_REASON,
"contract format": ORM_FAMILY_REASON,
"contract print": ORM_FAMILY_REASON,
lsp: ORM_FAMILY_REASON,
"db migrate": ORM_FAMILY_REASON,
"migration check": ORM_FAMILY_REASON,
Expand Down
1 change: 1 addition & 0 deletions packages/cli/tests/mount-coverage.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ const EXPECTED_MOUNT_PATHS: readonly string[] = [
"contract emit",
"contract format",
"contract infer",
"contract print",
"db init",
"db migrate",
"db schema",
Expand Down
1 change: 1 addition & 0 deletions packages/cli/tests/orm-mount.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ describe("the ORM family answers from the assembled tree", () => {

it.each([
[["contract", "format"], "contract format"],
[["contract", "print"], "contract print"],
[["db", "migrate"], "db migrate"],
[["migration", "ref", "list"], "migration ref list"],
[["migration", "ref", "set"], "migration ref set"],
Expand Down
2 changes: 1 addition & 1 deletion packages/prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@prisma/composer-cli": "0.23.0",
"@prisma/compute-sdk": "0.43.0",
"@prisma/management-api-sdk": "1.79.0",
"@prisma/orm-toolchain": "8.0.0-rc.12",
"@prisma/orm-toolchain": "8.0.0-rc.13",
"@vercel/detect-agent": "^1.2.3",
"better-result": "^2.9.2",
"cross-spawn": "^7.0.6",
Expand Down
23 changes: 12 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading