@prisma/client-generator-js 6.8.0-dev.47 → 6.8.0-dev.49
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 +1 -5
- package/dist/index.mjs +1 -5
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -9121,7 +9121,7 @@ var import_internals12 = require("@prisma/internals");
|
|
|
9121
9121
|
var import_ts_pattern = require("ts-pattern");
|
|
9122
9122
|
|
|
9123
9123
|
// package.json
|
|
9124
|
-
var version = "6.8.0-dev.
|
|
9124
|
+
var version = "6.8.0-dev.49";
|
|
9125
9125
|
|
|
9126
9126
|
// src/resolvePrismaClient.ts
|
|
9127
9127
|
var import_promises2 = __toESM(require("node:fs/promises"));
|
|
@@ -9243,7 +9243,6 @@ async function runPackageCmd(cwd, cmd, ...args) {
|
|
|
9243
9243
|
|
|
9244
9244
|
// src/generator.ts
|
|
9245
9245
|
var debug3 = (0, import_debug3.Debug)("prisma:client:generator");
|
|
9246
|
-
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`;
|
|
9247
9246
|
var PrismaClientJsGenerator = class {
|
|
9248
9247
|
name = "prisma-client-js";
|
|
9249
9248
|
#shouldResolvePrismaClient;
|
|
@@ -9262,9 +9261,6 @@ var PrismaClientJsGenerator = class {
|
|
|
9262
9261
|
async getManifest(config) {
|
|
9263
9262
|
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();
|
|
9264
9263
|
debug3("requiresEngines", requiresEngines);
|
|
9265
|
-
if (!config.output) {
|
|
9266
|
-
console.warn(MISSING_CUSTOM_OUTPUT_PATH_WARNING);
|
|
9267
|
-
}
|
|
9268
9264
|
const defaultOutput = this.#shouldResolvePrismaClient ? await this.#getPrismaClientPath(config) : ".prisma/client";
|
|
9269
9265
|
return {
|
|
9270
9266
|
defaultOutput,
|
package/dist/index.mjs
CHANGED
|
@@ -9119,7 +9119,7 @@ import { ClientEngineType as ClientEngineType4, getClientEngineType as getClient
|
|
|
9119
9119
|
import { match } from "ts-pattern";
|
|
9120
9120
|
|
|
9121
9121
|
// package.json
|
|
9122
|
-
var version = "6.8.0-dev.
|
|
9122
|
+
var version = "6.8.0-dev.49";
|
|
9123
9123
|
|
|
9124
9124
|
// src/resolvePrismaClient.ts
|
|
9125
9125
|
var import_execa = __toESM(require_execa());
|
|
@@ -9241,7 +9241,6 @@ async function runPackageCmd(cwd, cmd, ...args) {
|
|
|
9241
9241
|
|
|
9242
9242
|
// src/generator.ts
|
|
9243
9243
|
var debug3 = Debug3("prisma:client:generator");
|
|
9244
|
-
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`;
|
|
9245
9244
|
var PrismaClientJsGenerator = class {
|
|
9246
9245
|
name = "prisma-client-js";
|
|
9247
9246
|
#shouldResolvePrismaClient;
|
|
@@ -9260,9 +9259,6 @@ var PrismaClientJsGenerator = class {
|
|
|
9260
9259
|
async getManifest(config) {
|
|
9261
9260
|
const requiresEngines = match(getClientEngineType3(config)).with(ClientEngineType4.Library, () => ["libqueryEngine"]).with(ClientEngineType4.Binary, () => ["queryEngine"]).with(ClientEngineType4.Client, () => []).exhaustive();
|
|
9262
9261
|
debug3("requiresEngines", requiresEngines);
|
|
9263
|
-
if (!config.output) {
|
|
9264
|
-
console.warn(MISSING_CUSTOM_OUTPUT_PATH_WARNING);
|
|
9265
|
-
}
|
|
9266
9262
|
const defaultOutput = this.#shouldResolvePrismaClient ? await this.#getPrismaClientPath(config) : ".prisma/client";
|
|
9267
9263
|
return {
|
|
9268
9264
|
defaultOutput,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-js",
|
|
3
|
-
"version": "6.8.0-dev.
|
|
3
|
+
"version": "6.8.0-dev.49",
|
|
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.8.0-dev.
|
|
37
|
-
"@prisma/debug": "6.8.0-dev.
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/generator": "6.8.0-dev.
|
|
41
|
-
"@prisma/get-platform": "6.8.0-dev.
|
|
42
|
-
"@prisma/internals": "6.8.0-dev.
|
|
43
|
-
"@prisma/ts-builders": "6.8.0-dev.
|
|
36
|
+
"@prisma/client-common": "6.8.0-dev.49",
|
|
37
|
+
"@prisma/debug": "6.8.0-dev.49",
|
|
38
|
+
"@prisma/fetch-engine": "6.8.0-dev.49",
|
|
39
|
+
"@prisma/dmmf": "6.8.0-dev.49",
|
|
40
|
+
"@prisma/generator": "6.8.0-dev.49",
|
|
41
|
+
"@prisma/get-platform": "6.8.0-dev.49",
|
|
42
|
+
"@prisma/internals": "6.8.0-dev.49",
|
|
43
|
+
"@prisma/ts-builders": "6.8.0-dev.49"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/pluralize": "0.0.33",
|