@prisma/client-generator-ts 6.8.0-dev.4 → 6.8.0-dev.6
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -2335,7 +2335,7 @@ function inferImportFileExtensionFromTsConfig(tsconfig, generatedFileExtension)
|
|
|
2335
2335
|
}
|
|
2336
2336
|
const moduleResolution = tsconfig.compilerOptions?.moduleResolution?.toLowerCase();
|
|
2337
2337
|
const module2 = tsconfig.compilerOptions?.module?.toLowerCase();
|
|
2338
|
-
if (
|
|
2338
|
+
if (module2 === "commonjs" || moduleResolution === "bundler") {
|
|
2339
2339
|
return "";
|
|
2340
2340
|
}
|
|
2341
2341
|
return matchingJsExtension(generatedFileExtension);
|
|
@@ -6470,7 +6470,7 @@ var import_get_tsconfig = require("get-tsconfig");
|
|
|
6470
6470
|
var import_ts_pattern2 = require("ts-pattern");
|
|
6471
6471
|
|
|
6472
6472
|
// package.json
|
|
6473
|
-
var version = "6.8.0-dev.
|
|
6473
|
+
var version = "6.8.0-dev.6";
|
|
6474
6474
|
|
|
6475
6475
|
// src/module-format.ts
|
|
6476
6476
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -2331,7 +2331,7 @@ function inferImportFileExtensionFromTsConfig(tsconfig, generatedFileExtension)
|
|
|
2331
2331
|
}
|
|
2332
2332
|
const moduleResolution = tsconfig.compilerOptions?.moduleResolution?.toLowerCase();
|
|
2333
2333
|
const module = tsconfig.compilerOptions?.module?.toLowerCase();
|
|
2334
|
-
if (
|
|
2334
|
+
if (module === "commonjs" || moduleResolution === "bundler") {
|
|
2335
2335
|
return "";
|
|
2336
2336
|
}
|
|
2337
2337
|
return matchingJsExtension(generatedFileExtension);
|
|
@@ -6469,7 +6469,7 @@ import { getTsconfig } from "get-tsconfig";
|
|
|
6469
6469
|
import { match as match2 } from "ts-pattern";
|
|
6470
6470
|
|
|
6471
6471
|
// package.json
|
|
6472
|
-
var version = "6.8.0-dev.
|
|
6472
|
+
var version = "6.8.0-dev.6";
|
|
6473
6473
|
|
|
6474
6474
|
// src/module-format.ts
|
|
6475
6475
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "6.8.0-dev.
|
|
3
|
+
"version": "6.8.0-dev.6",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "6.8.0-
|
|
28
|
+
"@prisma/engines-version": "6.8.0-10.532ff1bf88237da1f9423b8a690e630cdf7d4807",
|
|
29
29
|
"ci-info": "4.2.0",
|
|
30
30
|
"fast-glob": "3.3.3",
|
|
31
31
|
"get-tsconfig": "4.10.0",
|
|
@@ -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/client-common": "6.8.0-dev.
|
|
38
|
-
"@prisma/debug": "6.8.0-dev.
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/get-platform": "6.8.0-dev.
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/internals": "6.8.0-dev.
|
|
44
|
-
"@prisma/
|
|
37
|
+
"@prisma/client-common": "6.8.0-dev.6",
|
|
38
|
+
"@prisma/debug": "6.8.0-dev.6",
|
|
39
|
+
"@prisma/fetch-engine": "6.8.0-dev.6",
|
|
40
|
+
"@prisma/generator": "6.8.0-dev.6",
|
|
41
|
+
"@prisma/get-platform": "6.8.0-dev.6",
|
|
42
|
+
"@prisma/dmmf": "6.8.0-dev.6",
|
|
43
|
+
"@prisma/internals": "6.8.0-dev.6",
|
|
44
|
+
"@prisma/ts-builders": "6.8.0-dev.6"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|