@prisma/cli-init 0.0.0-dev.202511240931 → 0.0.0-dev.202511240942
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3064,7 +3064,7 @@ async function unstable_startServer(options) {
|
|
|
3064
3064
|
}
|
|
3065
3065
|
|
|
3066
3066
|
// src/Init.ts
|
|
3067
|
-
import internals
|
|
3067
|
+
import internals from "@prisma/internals";
|
|
3068
3068
|
import dotenv from "dotenv";
|
|
3069
3069
|
import { Schema as Shape } from "effect";
|
|
3070
3070
|
import fs4 from "fs";
|
|
@@ -4053,7 +4053,7 @@ var Init = class _Init {
|
|
|
4053
4053
|
console.error("Failed to append client path to .gitignore file, reason: ", e);
|
|
4054
4054
|
}
|
|
4055
4055
|
const connectExistingDatabaseSteps = ` 1. Configure your DATABASE_URL in ${green2("prisma.config.ts")}
|
|
4056
|
-
2. Run ${green2(getCommandWithExecutor("prisma db pull"))} to introspect your database.`;
|
|
4056
|
+
2. Run ${green2(internals.getCommandWithExecutor("prisma db pull"))} to introspect your database.`;
|
|
4057
4057
|
const postgresProviders = ["postgres", "postgresql", "prisma+postgres"];
|
|
4058
4058
|
let setupDatabaseSection;
|
|
4059
4059
|
if (postgresProviders.includes(datasourceProvider)) {
|
|
@@ -4080,8 +4080,8 @@ ${warnings.join("\n")}
|
|
|
4080
4080
|
` : ""}
|
|
4081
4081
|
${setupDatabaseSection}
|
|
4082
4082
|
|
|
4083
|
-
Then, define your models in ${green2("prisma/schema.prisma")} and run ${green2(getCommandWithExecutor("prisma migrate dev"))} to apply your schema.
|
|
4084
|
-
Learn more: ${link("https://pris.ly/getting-started")}
|
|
4083
|
+
Then, define your models in ${green2("prisma/schema.prisma")} and run ${green2(internals.getCommandWithExecutor("prisma migrate dev"))} to apply your schema.
|
|
4084
|
+
Learn more: ${internals.link("https://pris.ly/getting-started")}
|
|
4085
4085
|
`;
|
|
4086
4086
|
return isPpgCommand ? printPpgInitOutput({
|
|
4087
4087
|
databaseUrl: prismaPostgresDatabaseUrl,
|