prisma 8.0.0-rc.33-dev.185 → 8.0.0-rc.33-dev.186

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/dist/prisma.js CHANGED
@@ -14454,6 +14454,83 @@ const skillsCommandFamily = defineCommandFamily({
14454
14454
  }
14455
14455
  });
14456
14456
  //#endregion
14457
+ //#region ../cli/src/v7-redirects.ts
14458
+ function v7Command(from, entry) {
14459
+ return {
14460
+ from,
14461
+ code: "CLI.V7_COMMAND",
14462
+ summary: `\`{bin} ${from}\` is a Prisma 7 command and is not available in Prisma 8`,
14463
+ ...entry
14464
+ };
14465
+ }
14466
+ function v7Flag(command, flag, entry) {
14467
+ return {
14468
+ from: command,
14469
+ flag,
14470
+ code: "CLI.V7_FLAG",
14471
+ summary: `\`--${flag.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)}\` on \`{bin} ${command}\` is a Prisma 7 flag and is not available in Prisma 8`,
14472
+ ...entry
14473
+ };
14474
+ }
14475
+ const INIT_SCHEMA_REASON = "`init` prepares this repository for Prisma: it writes prisma.config.ts, adds prisma as a dev dependency and installs the AI-agent skills. It sets up no database schema or client; `orm init` does that.";
14476
+ const v7CommandFamily = defineCommandFamily({
14477
+ commands: {},
14478
+ redirects: [
14479
+ v7Command("bootstrap", {
14480
+ replacement: ["{bin} project create <name>", "{bin} postgres create <name>"],
14481
+ help: "project create",
14482
+ reason: "Setting up a new app takes two commands: `project create` creates a Project, the container for one app's databases and services, and links this directory to it; `postgres create` then adds a Prisma Postgres database to that Project and prints its connection URL once, without writing it to a .env file. Neither sets up a database schema or the code your app queries the database with; `orm init` does that."
14483
+ }),
14484
+ v7Command("version", {
14485
+ replacement: "{bin} --version",
14486
+ reason: "`--version` prints only this CLI's version number. It does not report Node.js, operating system or engine details."
14487
+ }),
14488
+ v7Command("debug", {
14489
+ docsUrl: CLI_DOCS_URL,
14490
+ reason: "No command prints debugging information about this CLI and its environment."
14491
+ }),
14492
+ v7Command("mcp", {
14493
+ docsUrl: CLI_DOCS_URL,
14494
+ reason: "No command starts an MCP (Model Context Protocol) server for AI tools."
14495
+ }),
14496
+ v7Command("complete", {
14497
+ docsUrl: CLI_DOCS_URL,
14498
+ reason: "This CLI has no shell completion: no command prints or installs a completion script for your shell."
14499
+ }),
14500
+ v7Command("platform status", {
14501
+ docsUrl: CLI_DOCS_URL,
14502
+ reason: "No command reports the status of your Prisma Platform account. The docs list the commands that inspect workspaces, Projects and databases."
14503
+ }),
14504
+ v7Command("postgres link", {
14505
+ replacement: ["{bin} project link", "{bin} postgres connection create <database>"],
14506
+ help: "postgres connection create",
14507
+ reason: "Linking and connecting are two commands: `project link` points this directory at an existing Project, so commands run here act on it; `postgres connection create` creates a connection URL for one of its databases. The URL prints once, in that command's output; nothing writes it to a .env file."
14508
+ }),
14509
+ v7Flag("init", "db", {
14510
+ replacement: "{bin} postgres create <name>",
14511
+ help: "postgres create",
14512
+ reason: "`init` creates no database. `postgres create` creates a Prisma Postgres database in the Project this directory is linked to."
14513
+ }),
14514
+ v7Flag("init", "noSkills", {
14515
+ replacement: "{bin} init --skills=none",
14516
+ help: "init",
14517
+ reason: "`--skills=none` skips installing the AI-agent skills and records in prisma.config.ts that none are wanted, so later installs do not add them."
14518
+ }),
14519
+ ...[
14520
+ "datasourceProvider",
14521
+ "generatorProvider",
14522
+ "previewFeature",
14523
+ "output",
14524
+ "url",
14525
+ "withModel"
14526
+ ].map((flag) => v7Flag("init", flag, {
14527
+ replacement: "{bin} orm init",
14528
+ help: "orm init",
14529
+ reason: INIT_SCHEMA_REASON
14530
+ }))
14531
+ ]
14532
+ });
14533
+ //#endregion
14457
14534
  //#region ../cli/src/cli.ts
14458
14535
  const platformCommandFamily = defineCommandFamily({
14459
14536
  docsBaseUrl: DOCS_ERRORS_BASE_URL,
@@ -14783,7 +14860,8 @@ function buildCli() {
14783
14860
  platformCommandFamily,
14784
14861
  composerCommandFamily,
14785
14862
  ormCommandFamily$1,
14786
- skillsCommandFamily
14863
+ skillsCommandFamily,
14864
+ v7CommandFamily
14787
14865
  ],
14788
14866
  groups: cliGroups,
14789
14867
  commands: mountedCommands,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prisma",
3
- "version": "8.0.0-rc.33-dev.185",
3
+ "version": "8.0.0-rc.33-dev.186",
4
4
  "description": "The Prisma CLI: one binary for the ORM, Composer, and the Prisma Developer Platform.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -44,11 +44,11 @@
44
44
  "license": "Apache-2.0",
45
45
  "dependencies": {
46
46
  "@manypkg/tools": "^2.1.2",
47
- "@prisma/cli-engine": "0.9.0",
48
- "@prisma/composer-cli": "0.38.0-dev.1",
47
+ "@prisma/cli-engine": "0.10.0",
48
+ "@prisma/composer-cli": "0.38.0-dev.4",
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.23-dev.1",
51
+ "@prisma/orm-toolchain": "8.0.0-rc.23-dev.14",
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.33-dev.185",
60
+ "@prisma/cli": "8.0.0-rc.33-dev.186",
61
61
  "@prisma/credentials-store": "^7.8.0",
62
- "@repo/cli-telemetry": "8.0.0-rc.33-dev.185",
63
- "@repo/tsconfig": "8.0.0-rc.33-dev.185",
62
+ "@repo/cli-telemetry": "8.0.0-rc.33-dev.186",
63
+ "@repo/tsconfig": "8.0.0-rc.33-dev.186",
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.33-dev.185"
5
+ library_version: "8.0.0-rc.33-dev.186"
6
6
  version: 2026.9.2
7
7
  description: >-
8
8
  Use when hosting, deploying, or operating an app on the Prisma Platform: