@prisma/cli-init 0.6.0 → 0.6.1
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/index.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3015,7 +3015,7 @@ var ServerAlreadyRunningError = class extends ServerStateAlreadyExistsError {
|
|
|
3015
3015
|
};
|
|
3016
3016
|
|
|
3017
3017
|
// ../../dev/server/src/index.ts
|
|
3018
|
-
async function
|
|
3018
|
+
async function startPrismaDevServer(options) {
|
|
3019
3019
|
const serverState = await ServerState.createExclusively(options);
|
|
3020
3020
|
const [dbServer, shadowDbServer] = await Promise.all([
|
|
3021
3021
|
startDBServer("database", serverState),
|
|
@@ -3185,7 +3185,7 @@ var LoginState = class {
|
|
|
3185
3185
|
authUrl.searchParams.set("code_challenge", challenge);
|
|
3186
3186
|
authUrl.searchParams.set("code_challenge_method", "S256");
|
|
3187
3187
|
authUrl.searchParams.set("utm_source", "orm");
|
|
3188
|
-
authUrl.searchParams.set("utm_medium", "command-
|
|
3188
|
+
authUrl.searchParams.set("utm_medium", "command-init-db");
|
|
3189
3189
|
authUrl.searchParams.set("utm_campaign", "6.X.X");
|
|
3190
3190
|
await open(authUrl.href);
|
|
3191
3191
|
}
|
|
@@ -3569,7 +3569,7 @@ var defaultEnv = async (url2, debug3 = false, comments = true) => {
|
|
|
3569
3569
|
if (created) {
|
|
3570
3570
|
await state.close();
|
|
3571
3571
|
}
|
|
3572
|
-
const server = await
|
|
3572
|
+
const server = await startPrismaDevServer({
|
|
3573
3573
|
databasePort: state.databasePort,
|
|
3574
3574
|
dryRun: true,
|
|
3575
3575
|
port: state.port,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/cli-init",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Init CLI for Prisma",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"tsup": "8.0.2",
|
|
37
37
|
"typescript": "5.8.3",
|
|
38
38
|
"vitest": "3.1.3",
|
|
39
|
-
"@prisma/dev": "0.
|
|
39
|
+
"@prisma/dev": "0.15.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@inquirer/prompts": "7.3.3",
|