@prisma/cli 8.0.0-rc.22-dev.147 → 8.0.0-rc.22-dev.149
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 +8 -8
- package/dist/cli.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
[](https://github.com/prisma/prisma-cli/blob/main/LICENSE)
|
|
9
9
|
[](https://www.npmjs.com/package/@prisma/cli)
|
|
10
10
|
|
|
11
|
-
[Quickstart](#quickstart) • [Commands](#commands) • [
|
|
11
|
+
[Quickstart](#quickstart) • [Commands](#commands) • [Release candidate notes](#release-candidate-notes) • [Documentation](#documentation) • [Support](#support)
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
15
|
-
`@prisma/cli` is the
|
|
15
|
+
`@prisma/cli` is the release candidate of the new CLI for the
|
|
16
16
|
Prisma Developer Platform.
|
|
17
17
|
|
|
18
18
|
It is one binary for the ORM, Composer, and the Prisma Developer
|
|
@@ -23,10 +23,10 @@ variables, and the Prisma ORM schema and migration workflow.
|
|
|
23
23
|
|
|
24
24
|
## Quickstart
|
|
25
25
|
|
|
26
|
-
Install the
|
|
26
|
+
Install the package locally:
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npm install --save-dev @prisma/cli
|
|
29
|
+
npm install --save-dev @prisma/cli
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Run the binary exposed by this package:
|
|
@@ -43,7 +43,7 @@ Deployments start from pushing the connected repository, the Console, or `prisma
|
|
|
43
43
|
With `pnpm`:
|
|
44
44
|
|
|
45
45
|
```bash
|
|
46
|
-
pnpm add -D @prisma/cli
|
|
46
|
+
pnpm add -D @prisma/cli
|
|
47
47
|
pnpm prisma-cli auth login
|
|
48
48
|
pnpm prisma-cli git connect
|
|
49
49
|
```
|
|
@@ -59,7 +59,7 @@ npx prisma-cli project env list
|
|
|
59
59
|
npx prisma-cli project env list --role preview
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
This package exposes `prisma-cli` so it can coexist with the existing
|
|
63
63
|
`prisma` executable.
|
|
64
64
|
|
|
65
65
|
---
|
|
@@ -100,11 +100,11 @@ npx prisma-cli service version promote VERSION_ID
|
|
|
100
100
|
|
|
101
101
|
---
|
|
102
102
|
|
|
103
|
-
##
|
|
103
|
+
## Release candidate notes
|
|
104
104
|
|
|
105
105
|
- Requires Node.js 22.18 or newer on the 22 line, 24.11 or newer on the 24 line, or 26 or newer.
|
|
106
106
|
- This is a release-candidate package and may change quickly.
|
|
107
|
-
- The 8.0.0 release candidates publish as `@prisma/cli` on the `
|
|
107
|
+
- The 8.0.0 release candidates publish as `@prisma/cli` on the `latest` dist-tag.
|
|
108
108
|
- The package binary is `prisma-cli`; the sibling `prisma` package ships the same CLI under the `prisma` binary.
|
|
109
109
|
- Local project context is cached in `.prisma/local.json`, which is gitignored and not a declarative repo config file.
|
|
110
110
|
|
package/dist/cli.js
CHANGED
|
@@ -1633,7 +1633,7 @@ function environmentServiceToken(env) {
|
|
|
1633
1633
|
function environmentCredentialInForce(env) {
|
|
1634
1634
|
return environmentServiceToken(env) !== void 0;
|
|
1635
1635
|
}
|
|
1636
|
-
const PRISMA_CLI_PACKAGE_SPEC = `@prisma/cli@
|
|
1636
|
+
const PRISMA_CLI_PACKAGE_SPEC = `@prisma/cli@latest`;
|
|
1637
1637
|
const DEFAULT_PRISMA_CLI_PACKAGE_RUNNER = ["npx", "-y"];
|
|
1638
1638
|
const PRISMA_CLI_BINARY = CLI_NAME;
|
|
1639
1639
|
function formatPrismaCliCommand(args, options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/cli",
|
|
3
|
-
"version": "8.0.0-rc.22-dev.
|
|
3
|
+
"version": "8.0.0-rc.22-dev.149",
|
|
4
4
|
"description": "Command-line interface for the Prisma Developer Platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -41,10 +41,10 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@manypkg/tools": "^2.1.2",
|
|
43
43
|
"@prisma/cli-engine": "0.7.0",
|
|
44
|
-
"@prisma/composer-cli": "0.29.1-dev.
|
|
44
|
+
"@prisma/composer-cli": "0.29.1-dev.6",
|
|
45
45
|
"@prisma/compute-sdk": "0.43.0",
|
|
46
46
|
"@prisma/management-api-sdk": "1.80.0",
|
|
47
|
-
"@prisma/orm-toolchain": "8.0.0-rc.
|
|
47
|
+
"@prisma/orm-toolchain": "8.0.0-rc.18-dev.1",
|
|
48
48
|
"@vercel/detect-agent": "^1.2.3",
|
|
49
49
|
"better-result": "^2.9.2",
|
|
50
50
|
"cross-spawn": "^7.0.6",
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
"open": "^11.0.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@prisma/composer": "0.29.1-dev.
|
|
56
|
+
"@prisma/composer": "0.29.1-dev.6",
|
|
57
57
|
"@prisma/credentials-store": "^7.8.0",
|
|
58
|
-
"@repo/cli-conformance": "8.0.0-rc.22-dev.
|
|
59
|
-
"@repo/cli-telemetry": "8.0.0-rc.22-dev.
|
|
60
|
-
"@repo/tsconfig": "8.0.0-rc.22-dev.
|
|
58
|
+
"@repo/cli-conformance": "8.0.0-rc.22-dev.149",
|
|
59
|
+
"@repo/cli-telemetry": "8.0.0-rc.22-dev.149",
|
|
60
|
+
"@repo/tsconfig": "8.0.0-rc.22-dev.149",
|
|
61
61
|
"@types/node": "^22.19.19",
|
|
62
62
|
"@types/cross-spawn": "^6.0.6",
|
|
63
63
|
"tsdown": "^0.21.10",
|