@prisma/client-generator-ts 6.15.0-dev.17 → 6.15.0-dev.18
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 +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -4040,7 +4040,7 @@ ${modelEnumsAliases.length > 0 ? `${modelEnumsAliases.join("\n\n")}` : ""}
|
|
|
4040
4040
|
}
|
|
4041
4041
|
function buildPreamble(edge, moduleFormat) {
|
|
4042
4042
|
if (edge) {
|
|
4043
|
-
return `
|
|
4043
|
+
return `globalThis['__dirname'] = '/'
|
|
4044
4044
|
`;
|
|
4045
4045
|
}
|
|
4046
4046
|
let preamble = `import * as process from 'node:process'
|
|
@@ -4048,7 +4048,7 @@ import * as path from 'node:path'
|
|
|
4048
4048
|
`;
|
|
4049
4049
|
if (moduleFormat === "esm") {
|
|
4050
4050
|
preamble += `import { fileURLToPath } from 'node:url'
|
|
4051
|
-
|
|
4051
|
+
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
|
|
4052
4052
|
`;
|
|
4053
4053
|
}
|
|
4054
4054
|
return preamble;
|
|
@@ -6561,7 +6561,7 @@ var import_get_tsconfig = require("get-tsconfig");
|
|
|
6561
6561
|
var import_ts_pattern2 = require("ts-pattern");
|
|
6562
6562
|
|
|
6563
6563
|
// package.json
|
|
6564
|
-
var version = "6.15.0-dev.
|
|
6564
|
+
var version = "6.15.0-dev.18";
|
|
6565
6565
|
|
|
6566
6566
|
// src/module-format.ts
|
|
6567
6567
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -4039,7 +4039,7 @@ ${modelEnumsAliases.length > 0 ? `${modelEnumsAliases.join("\n\n")}` : ""}
|
|
|
4039
4039
|
}
|
|
4040
4040
|
function buildPreamble(edge, moduleFormat) {
|
|
4041
4041
|
if (edge) {
|
|
4042
|
-
return `
|
|
4042
|
+
return `globalThis['__dirname'] = '/'
|
|
4043
4043
|
`;
|
|
4044
4044
|
}
|
|
4045
4045
|
let preamble = `import * as process from 'node:process'
|
|
@@ -4047,7 +4047,7 @@ import * as path from 'node:path'
|
|
|
4047
4047
|
`;
|
|
4048
4048
|
if (moduleFormat === "esm") {
|
|
4049
4049
|
preamble += `import { fileURLToPath } from 'node:url'
|
|
4050
|
-
|
|
4050
|
+
globalThis['__dirname'] = path.dirname(fileURLToPath(import.meta.url))
|
|
4051
4051
|
`;
|
|
4052
4052
|
}
|
|
4053
4053
|
return preamble;
|
|
@@ -6560,7 +6560,7 @@ import { getTsconfig } from "get-tsconfig";
|
|
|
6560
6560
|
import { match as match2 } from "ts-pattern";
|
|
6561
6561
|
|
|
6562
6562
|
// package.json
|
|
6563
|
-
var version = "6.15.0-dev.
|
|
6563
|
+
var version = "6.15.0-dev.18";
|
|
6564
6564
|
|
|
6565
6565
|
// src/module-format.ts
|
|
6566
6566
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "6.15.0-dev.
|
|
3
|
+
"version": "6.15.0-dev.18",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"pkg-up": "3.1.0",
|
|
35
35
|
"pluralize": "8.0.0",
|
|
36
36
|
"ts-pattern": "5.6.2",
|
|
37
|
-
"@prisma/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/
|
|
44
|
-
"@prisma/
|
|
37
|
+
"@prisma/debug": "6.15.0-dev.18",
|
|
38
|
+
"@prisma/dmmf": "6.15.0-dev.18",
|
|
39
|
+
"@prisma/fetch-engine": "6.15.0-dev.18",
|
|
40
|
+
"@prisma/client-common": "6.15.0-dev.18",
|
|
41
|
+
"@prisma/generator": "6.15.0-dev.18",
|
|
42
|
+
"@prisma/ts-builders": "6.15.0-dev.18",
|
|
43
|
+
"@prisma/get-platform": "6.15.0-dev.18",
|
|
44
|
+
"@prisma/internals": "6.15.0-dev.18"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|