@prisma/client-generator-ts 6.7.0-dev.50 → 6.7.0-dev.52
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 +14 -5
- package/dist/index.mjs +14 -5
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -6436,15 +6436,24 @@ async function deleteOutputDir(outputDir) {
|
|
|
6436
6436
|
if (files.length === 0) {
|
|
6437
6437
|
return;
|
|
6438
6438
|
}
|
|
6439
|
-
if (!files.includes("client.ts") && !files.includes("client.mts") && !files.includes("client.cts")) {
|
|
6439
|
+
if (!files.includes("client.ts") && !files.includes("client.mts") && !files.includes("client.cts") && !files.includes("client.d.ts")) {
|
|
6440
6440
|
throw new Error(
|
|
6441
6441
|
`${outputDir} exists and is not empty but doesn't look like a generated Prisma Client. Please check your output path and remove the existing directory if you indeed want to generate the Prisma Client in that location.`
|
|
6442
6442
|
);
|
|
6443
6443
|
}
|
|
6444
6444
|
await Promise.allSettled(
|
|
6445
|
-
(await (0, import_fast_glob.glob)(
|
|
6446
|
-
|
|
6447
|
-
|
|
6445
|
+
(await (0, import_fast_glob.glob)(
|
|
6446
|
+
[
|
|
6447
|
+
`${outputDir}/**/*.{js,ts,mts,cts,d.ts}`,
|
|
6448
|
+
`${outputDir}/*.node`,
|
|
6449
|
+
`${outputDir}/{query,schema}-engine-*`,
|
|
6450
|
+
`${outputDir}/package.json`,
|
|
6451
|
+
`${outputDir}/**/*.prisma`
|
|
6452
|
+
],
|
|
6453
|
+
{
|
|
6454
|
+
followSymbolicLinks: false
|
|
6455
|
+
}
|
|
6456
|
+
)).map(import_promises.default.unlink)
|
|
6448
6457
|
);
|
|
6449
6458
|
} catch (error) {
|
|
6450
6459
|
if (error.code !== "ENOENT") {
|
|
@@ -6461,7 +6470,7 @@ var import_get_tsconfig = require("get-tsconfig");
|
|
|
6461
6470
|
var import_ts_pattern2 = require("ts-pattern");
|
|
6462
6471
|
|
|
6463
6472
|
// package.json
|
|
6464
|
-
var version = "6.7.0-dev.
|
|
6473
|
+
var version = "6.7.0-dev.52";
|
|
6465
6474
|
|
|
6466
6475
|
// src/module-format.ts
|
|
6467
6476
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -6435,15 +6435,24 @@ async function deleteOutputDir(outputDir) {
|
|
|
6435
6435
|
if (files.length === 0) {
|
|
6436
6436
|
return;
|
|
6437
6437
|
}
|
|
6438
|
-
if (!files.includes("client.ts") && !files.includes("client.mts") && !files.includes("client.cts")) {
|
|
6438
|
+
if (!files.includes("client.ts") && !files.includes("client.mts") && !files.includes("client.cts") && !files.includes("client.d.ts")) {
|
|
6439
6439
|
throw new Error(
|
|
6440
6440
|
`${outputDir} exists and is not empty but doesn't look like a generated Prisma Client. Please check your output path and remove the existing directory if you indeed want to generate the Prisma Client in that location.`
|
|
6441
6441
|
);
|
|
6442
6442
|
}
|
|
6443
6443
|
await Promise.allSettled(
|
|
6444
|
-
(await glob(
|
|
6445
|
-
|
|
6446
|
-
|
|
6444
|
+
(await glob(
|
|
6445
|
+
[
|
|
6446
|
+
`${outputDir}/**/*.{js,ts,mts,cts,d.ts}`,
|
|
6447
|
+
`${outputDir}/*.node`,
|
|
6448
|
+
`${outputDir}/{query,schema}-engine-*`,
|
|
6449
|
+
`${outputDir}/package.json`,
|
|
6450
|
+
`${outputDir}/**/*.prisma`
|
|
6451
|
+
],
|
|
6452
|
+
{
|
|
6453
|
+
followSymbolicLinks: false
|
|
6454
|
+
}
|
|
6455
|
+
)).map(fs.unlink)
|
|
6447
6456
|
);
|
|
6448
6457
|
} catch (error) {
|
|
6449
6458
|
if (error.code !== "ENOENT") {
|
|
@@ -6460,7 +6469,7 @@ import { getTsconfig } from "get-tsconfig";
|
|
|
6460
6469
|
import { match as match2 } from "ts-pattern";
|
|
6461
6470
|
|
|
6462
6471
|
// package.json
|
|
6463
|
-
var version = "6.7.0-dev.
|
|
6472
|
+
var version = "6.7.0-dev.52";
|
|
6464
6473
|
|
|
6465
6474
|
// src/module-format.ts
|
|
6466
6475
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "6.7.0-dev.
|
|
3
|
+
"version": "6.7.0-dev.52",
|
|
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.7.0-
|
|
28
|
+
"@prisma/engines-version": "6.7.0-35.4c3b5e465cbd74dbef4c80ce5927278cf48f7770",
|
|
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/
|
|
38
|
-
"@prisma/
|
|
39
|
-
"@prisma/
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/ts-builders": "6.7.0-dev.
|
|
44
|
-
"@prisma/
|
|
37
|
+
"@prisma/fetch-engine": "6.7.0-dev.52",
|
|
38
|
+
"@prisma/client-common": "6.7.0-dev.52",
|
|
39
|
+
"@prisma/debug": "6.7.0-dev.52",
|
|
40
|
+
"@prisma/generator": "6.7.0-dev.52",
|
|
41
|
+
"@prisma/dmmf": "6.7.0-dev.52",
|
|
42
|
+
"@prisma/get-platform": "6.7.0-dev.52",
|
|
43
|
+
"@prisma/ts-builders": "6.7.0-dev.52",
|
|
44
|
+
"@prisma/internals": "6.7.0-dev.52"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|