@prisma/cli 8.0.0-rc.7 → 8.0.0-rc.8-dev.70
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 +7 -10
- package/dist/cli.js +3582 -5583
- package/package.json +7 -7
- package/dist/deploy-framework-C7bQM00A.js +0 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/cli",
|
|
3
|
-
"version": "8.0.0-rc.
|
|
3
|
+
"version": "8.0.0-rc.8-dev.70",
|
|
4
4
|
"description": "Command-line interface for the Prisma Developer Platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"license": "Apache-2.0",
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@prisma/cli-engine": "0.2.0",
|
|
43
|
-
"@prisma/composer-cli": "0.
|
|
43
|
+
"@prisma/composer-cli": "0.12.0-dev.1",
|
|
44
44
|
"@prisma/compute-sdk": "0.39.0",
|
|
45
45
|
"@prisma/credentials-store": "^7.8.0",
|
|
46
46
|
"@prisma/management-api-sdk": "1.55.0",
|
|
47
|
-
"@prisma/orm-toolchain": "8.0.0-rc.4",
|
|
47
|
+
"@prisma/orm-toolchain": "8.0.0-rc.4-dev.17",
|
|
48
48
|
"@vercel/detect-agent": "^1.2.3",
|
|
49
49
|
"better-result": "^2.9.2",
|
|
50
50
|
"dotenv": "^17.4.2",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"open": "^11.0.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@prisma/composer": "0.
|
|
56
|
-
"@repo/cli-conformance": "8.0.0-rc.
|
|
57
|
-
"@repo/cli-telemetry": "8.0.0-rc.
|
|
58
|
-
"@repo/tsconfig": "8.0.0-rc.
|
|
55
|
+
"@prisma/composer": "0.12.0-dev.1",
|
|
56
|
+
"@repo/cli-conformance": "8.0.0-rc.8-dev.70",
|
|
57
|
+
"@repo/cli-telemetry": "8.0.0-rc.8-dev.70",
|
|
58
|
+
"@repo/tsconfig": "8.0.0-rc.8-dev.70",
|
|
59
59
|
"@types/node": "^22.19.19",
|
|
60
60
|
"tsdown": "^0.21.10",
|
|
61
61
|
"tsx": "^4.22.4",
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import { detectComputeAppFromDirectory } from "@prisma/compute-sdk/config/directory";
|
|
3
|
-
//#region src/lib/app/deploy-framework.ts
|
|
4
|
-
/** Reads the directory's package.json and framework config to name the
|
|
5
|
-
* framework a deploy would use, or null when none is recognised. */
|
|
6
|
-
async function detectDeployFramework(cwd, signal) {
|
|
7
|
-
const detected = await detectComputeAppFromDirectory({
|
|
8
|
-
appPath: cwd,
|
|
9
|
-
signal
|
|
10
|
-
});
|
|
11
|
-
if (!detected) return null;
|
|
12
|
-
let annotation = "detected from package.json";
|
|
13
|
-
if (detected.configFile?.standaloneOutput) annotation = "standalone output detected";
|
|
14
|
-
else if (detected.configFile) annotation = `detected from ${path.basename(detected.configFile.path)}`;
|
|
15
|
-
return {
|
|
16
|
-
key: detected.framework,
|
|
17
|
-
buildType: detected.buildType,
|
|
18
|
-
displayName: detected.frameworkName,
|
|
19
|
-
annotation
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { detectDeployFramework };
|