@prisma/client-generator-js 6.6.0-dev.91 → 6.6.0-dev.93
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 +5 -1
- package/dist/index.mjs +5 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -7155,7 +7155,7 @@ var import_internals12 = require("@prisma/internals");
|
|
|
7155
7155
|
var import_ts_pattern = require("ts-pattern");
|
|
7156
7156
|
|
|
7157
7157
|
// package.json
|
|
7158
|
-
var version = "6.6.0-dev.
|
|
7158
|
+
var version = "6.6.0-dev.93";
|
|
7159
7159
|
|
|
7160
7160
|
// src/resolvePrismaClient.ts
|
|
7161
7161
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
|
@@ -7197,6 +7197,7 @@ async function getPackageCmd(cwd, cmd, ...args) {
|
|
|
7197
7197
|
|
|
7198
7198
|
// src/generator.ts
|
|
7199
7199
|
var debug3 = (0, import_debug3.default)("prisma:client:generator");
|
|
7200
|
+
var MISSING_CUSTOM_OUTPUT_PATH_WARNING = `${yellow("Warning:")} You did not specify an output path for your \`generator\` in schema.prisma. This behavior is deprecated and will no longer be supported in Prisma 7.0.0. To learn more visit https://pris.ly/cli/output-path`;
|
|
7200
7201
|
var PrismaClientJsGenerator = class {
|
|
7201
7202
|
name = "prisma-client-js";
|
|
7202
7203
|
#shouldResolvePrismaClient = true;
|
|
@@ -7209,6 +7210,9 @@ var PrismaClientJsGenerator = class {
|
|
|
7209
7210
|
async getManifest(config) {
|
|
7210
7211
|
const requiresEngines = (0, import_ts_pattern.match)((0, import_internals12.getClientEngineType)(config)).with(import_internals12.ClientEngineType.Library, () => ["libqueryEngine"]).with(import_internals12.ClientEngineType.Binary, () => ["queryEngine"]).with(import_internals12.ClientEngineType.Client, () => []).exhaustive();
|
|
7211
7212
|
debug3("requiresEngines", requiresEngines);
|
|
7213
|
+
if (!config.output) {
|
|
7214
|
+
console.warn(MISSING_CUSTOM_OUTPUT_PATH_WARNING);
|
|
7215
|
+
}
|
|
7212
7216
|
const defaultOutput = this.#shouldResolvePrismaClient ? await this.#getPrismaClientPath(config) : ".prisma/client";
|
|
7213
7217
|
return {
|
|
7214
7218
|
defaultOutput,
|
package/dist/index.mjs
CHANGED
|
@@ -7153,7 +7153,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
|
|
|
7153
7153
|
import { match } from "ts-pattern";
|
|
7154
7154
|
|
|
7155
7155
|
// package.json
|
|
7156
|
-
var version = "6.6.0-dev.
|
|
7156
|
+
var version = "6.6.0-dev.93";
|
|
7157
7157
|
|
|
7158
7158
|
// src/resolvePrismaClient.ts
|
|
7159
7159
|
import fs2 from "node:fs/promises";
|
|
@@ -7195,6 +7195,7 @@ async function getPackageCmd(cwd, cmd, ...args) {
|
|
|
7195
7195
|
|
|
7196
7196
|
// src/generator.ts
|
|
7197
7197
|
var debug3 = Debug3("prisma:client:generator");
|
|
7198
|
+
var MISSING_CUSTOM_OUTPUT_PATH_WARNING = `${yellow("Warning:")} You did not specify an output path for your \`generator\` in schema.prisma. This behavior is deprecated and will no longer be supported in Prisma 7.0.0. To learn more visit https://pris.ly/cli/output-path`;
|
|
7198
7199
|
var PrismaClientJsGenerator = class {
|
|
7199
7200
|
name = "prisma-client-js";
|
|
7200
7201
|
#shouldResolvePrismaClient = true;
|
|
@@ -7207,6 +7208,9 @@ var PrismaClientJsGenerator = class {
|
|
|
7207
7208
|
async getManifest(config) {
|
|
7208
7209
|
const requiresEngines = match(getClientEngineType3(config)).with(ClientEngineType4.Library, () => ["libqueryEngine"]).with(ClientEngineType4.Binary, () => ["queryEngine"]).with(ClientEngineType4.Client, () => []).exhaustive();
|
|
7209
7210
|
debug3("requiresEngines", requiresEngines);
|
|
7211
|
+
if (!config.output) {
|
|
7212
|
+
console.warn(MISSING_CUSTOM_OUTPUT_PATH_WARNING);
|
|
7213
|
+
}
|
|
7210
7214
|
const defaultOutput = this.#shouldResolvePrismaClient ? await this.#getPrismaClientPath(config) : ".prisma/client";
|
|
7211
7215
|
return {
|
|
7212
7216
|
defaultOutput,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "6.6.0-dev.
|
|
3
|
+
"version": "6.6.0-dev.93",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"pkg-up": "3.1.0",
|
|
34
34
|
"pluralize": "8.0.0",
|
|
35
35
|
"ts-pattern": "5.6.2",
|
|
36
|
-
"@prisma/client-common": "6.6.0-dev.
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/fetch-engine": "6.6.0-dev.
|
|
39
|
-
"@prisma/generator": "6.6.0-dev.
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/internals": "6.6.0-dev.
|
|
43
|
-
"@prisma/ts-builders": "6.6.0-dev.
|
|
36
|
+
"@prisma/client-common": "6.6.0-dev.93",
|
|
37
|
+
"@prisma/debug": "6.6.0-dev.93",
|
|
38
|
+
"@prisma/fetch-engine": "6.6.0-dev.93",
|
|
39
|
+
"@prisma/generator": "6.6.0-dev.93",
|
|
40
|
+
"@prisma/dmmf": "6.6.0-dev.93",
|
|
41
|
+
"@prisma/get-platform": "6.6.0-dev.93",
|
|
42
|
+
"@prisma/internals": "6.6.0-dev.93",
|
|
43
|
+
"@prisma/ts-builders": "6.6.0-dev.93"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|