@prisma/cli-init 0.0.0-dev.202507041811 → 0.0.0-dev.202508040752

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.
@@ -15,7 +15,7 @@ import {
15
15
  platformParameters,
16
16
  poll,
17
17
  printPpgInitOutput
18
- } from "./chunk-6OVBPZDI.js";
18
+ } from "./chunk-M2BXO2F7.js";
19
19
  import "./chunk-YX4UTTNJ.js";
20
20
  export {
21
21
  __exports as Accelerate,
@@ -344,7 +344,7 @@ import internals5 from "@prisma/internals";
344
344
  import * as Checkpoint from "checkpoint-client";
345
345
 
346
346
  // package.json
347
- var version = "0.0.0-dev.202507041811";
347
+ var version = "0.0.0-dev.202508040752";
348
348
 
349
349
  // src/platform/_lib/userAgent.ts
350
350
  var debug = Debug("prisma:cli:platform:_lib:userAgent");
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import {
28
28
  printPpgInitOutput,
29
29
  requestOrThrow,
30
30
  successMessage
31
- } from "./chunk-6OVBPZDI.js";
31
+ } from "./chunk-M2BXO2F7.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
@@ -3406,7 +3406,7 @@ var Init = class _Init {
3406
3406
  let generatedSchema;
3407
3407
  let generatedName;
3408
3408
  if (isPpgCommand) {
3409
- const PlatformCommands = await import("./_-PSXTBMFR.js");
3409
+ const PlatformCommands = await import("./_-ZF4ATJWD.js");
3410
3410
  const credentials = await credentialsFile.load();
3411
3411
  if (internals.isError(credentials))
3412
3412
  throw credentials;
@@ -3572,10 +3572,13 @@ var Init = class _Init {
3572
3572
  )}`
3573
3573
  );
3574
3574
  } else {
3575
- fs2.appendFileSync(envPath, `
3575
+ fs2.appendFileSync(
3576
+ envPath,
3577
+ `
3576
3578
 
3577
3579
  # This was inserted by \`prisma init\`:
3578
- ` + defaultEnv(databaseUrl));
3580
+ ` + await defaultEnv(databaseUrl)
3581
+ );
3579
3582
  }
3580
3583
  }
3581
3584
  const gitignorePath = path2.join(outputDir, ".gitignore");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/cli-init",
3
- "version": "0.0.0-dev.202507041811",
3
+ "version": "0.0.0-dev.202508040752",
4
4
  "description": "Init CLI for Prisma",
5
5
  "type": "module",
6
6
  "sideEffects": false,