@prisma/cli-init 0.0.0-dev.202510211457 → 0.0.0-dev.202510211522

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-LCDSWUO6.js";
18
+ } from "./chunk-AZOXGRPQ.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.202510211457";
347
+ var version = "0.0.0-dev.202510211522";
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-LCDSWUO6.js";
31
+ } from "./chunk-AZOXGRPQ.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
@@ -3287,6 +3287,9 @@ var defaultGitIgnore = () => {
3287
3287
  };
3288
3288
  var defaultGeneratorProvider = "prisma-client";
3289
3289
  var defaultPreviewFeatures = [];
3290
+ function normalizePath(configPath) {
3291
+ return JSON.stringify(configPath.replaceAll(path2.sep, "/"));
3292
+ }
3290
3293
  var defaultConfig = (props) => {
3291
3294
  const { prismaFolder } = props;
3292
3295
  const schemaPath = path2.relative(process.cwd(), path2.join(prismaFolder, "schema.prisma"));
@@ -3294,9 +3297,9 @@ var defaultConfig = (props) => {
3294
3297
  return `import { defineConfig, env } from "prisma/config";
3295
3298
 
3296
3299
  export default defineConfig({
3297
- schema: ${JSON.stringify(schemaPath)},
3300
+ schema: ${normalizePath(schemaPath)},
3298
3301
  migrations: {
3299
- path: ${JSON.stringify(migrationsPath)},
3302
+ path: ${normalizePath(migrationsPath)},
3300
3303
  },
3301
3304
  engine: "classic",
3302
3305
  datasource: {
@@ -3430,7 +3433,7 @@ var Init = class _Init {
3430
3433
  let generatedSchema;
3431
3434
  let generatedName;
3432
3435
  if (isPpgCommand) {
3433
- const PlatformCommands = await import("./_-NWWIRCZQ.js");
3436
+ const PlatformCommands = await import("./_-LO6HQL7V.js");
3434
3437
  const credentials = await credentialsFile.load();
3435
3438
  if (internals.isError(credentials))
3436
3439
  throw credentials;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/cli-init",
3
- "version": "0.0.0-dev.202510211457",
3
+ "version": "0.0.0-dev.202510211522",
4
4
  "description": "Init CLI for Prisma",
5
5
  "type": "module",
6
6
  "sideEffects": false,