@prisma/client-generator-ts 6.16.0-dev.3 → 6.16.0-dev.31
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 +12 -13
package/dist/index.js
CHANGED
|
@@ -2278,7 +2278,7 @@ var bgCyan = init(46, 49);
|
|
|
2278
2278
|
var bgWhite = init(47, 49);
|
|
2279
2279
|
|
|
2280
2280
|
// src/generateClient.ts
|
|
2281
|
-
var
|
|
2281
|
+
var import_package_up = require("package-up");
|
|
2282
2282
|
|
|
2283
2283
|
// src/file-extensions.ts
|
|
2284
2284
|
var import_client_common2 = require("@prisma/client-common");
|
|
@@ -6480,7 +6480,7 @@ function validateDmmfAgainstDenylists(prismaClientDmmf) {
|
|
|
6480
6480
|
async function getGenerationDirs({ runtimeBase, outputDir }) {
|
|
6481
6481
|
const normalizedOutputDir = import_node_path4.default.normalize(outputDir);
|
|
6482
6482
|
const normalizedRuntimeBase = (0, import_internals9.pathToPosix)(runtimeBase);
|
|
6483
|
-
const userPackageRoot = await (0,
|
|
6483
|
+
const userPackageRoot = await (0, import_package_up.packageUp)({ cwd: import_node_path4.default.dirname(normalizedOutputDir) });
|
|
6484
6484
|
const userProjectRoot = userPackageRoot ? import_node_path4.default.dirname(userPackageRoot) : process.cwd();
|
|
6485
6485
|
return {
|
|
6486
6486
|
runtimeBase: normalizedRuntimeBase,
|
|
@@ -6559,7 +6559,7 @@ var import_get_tsconfig = require("get-tsconfig");
|
|
|
6559
6559
|
var import_ts_pattern2 = require("ts-pattern");
|
|
6560
6560
|
|
|
6561
6561
|
// package.json
|
|
6562
|
-
var version = "6.16.0-dev.
|
|
6562
|
+
var version = "6.16.0-dev.31";
|
|
6563
6563
|
|
|
6564
6564
|
// src/module-format.ts
|
|
6565
6565
|
function parseModuleFormat(format) {
|
package/dist/index.mjs
CHANGED
|
@@ -2274,7 +2274,7 @@ var bgCyan = init(46, 49);
|
|
|
2274
2274
|
var bgWhite = init(47, 49);
|
|
2275
2275
|
|
|
2276
2276
|
// src/generateClient.ts
|
|
2277
|
-
import
|
|
2277
|
+
import { packageUp } from "package-up";
|
|
2278
2278
|
|
|
2279
2279
|
// src/file-extensions.ts
|
|
2280
2280
|
import { capitalize as capitalize2 } from "@prisma/client-common";
|
|
@@ -6479,7 +6479,7 @@ function validateDmmfAgainstDenylists(prismaClientDmmf) {
|
|
|
6479
6479
|
async function getGenerationDirs({ runtimeBase, outputDir }) {
|
|
6480
6480
|
const normalizedOutputDir = path5.normalize(outputDir);
|
|
6481
6481
|
const normalizedRuntimeBase = pathToPosix3(runtimeBase);
|
|
6482
|
-
const userPackageRoot = await
|
|
6482
|
+
const userPackageRoot = await packageUp({ cwd: path5.dirname(normalizedOutputDir) });
|
|
6483
6483
|
const userProjectRoot = userPackageRoot ? path5.dirname(userPackageRoot) : process.cwd();
|
|
6484
6484
|
return {
|
|
6485
6485
|
runtimeBase: normalizedRuntimeBase,
|
|
@@ -6558,7 +6558,7 @@ import { getTsconfig } from "get-tsconfig";
|
|
|
6558
6558
|
import { match as match2 } from "ts-pattern";
|
|
6559
6559
|
|
|
6560
6560
|
// package.json
|
|
6561
|
-
var version = "6.16.0-dev.
|
|
6561
|
+
var version = "6.16.0-dev.31";
|
|
6562
6562
|
|
|
6563
6563
|
// src/module-format.ts
|
|
6564
6564
|
function parseModuleFormat(format) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-generator-ts",
|
|
3
|
-
"version": "6.16.0-dev.
|
|
3
|
+
"version": "6.16.0-dev.31",
|
|
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,28 +25,27 @@
|
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@antfu/ni": "0.21.12",
|
|
28
|
-
"@prisma/engines-version": "6.16.0-
|
|
28
|
+
"@prisma/engines-version": "6.16.0-6.42747065991212ea20d86c4732cf122c34af160b",
|
|
29
29
|
"ci-info": "4.2.0",
|
|
30
30
|
"fast-glob": "3.3.3",
|
|
31
31
|
"get-tsconfig": "4.10.0",
|
|
32
32
|
"indent-string": "4.0.0",
|
|
33
33
|
"klona": "2.0.6",
|
|
34
|
-
"
|
|
34
|
+
"package-up": "5.0.0",
|
|
35
35
|
"pluralize": "8.0.0",
|
|
36
36
|
"ts-pattern": "5.6.2",
|
|
37
|
-
"@prisma/client-common": "6.16.0-dev.
|
|
38
|
-
"@prisma/debug": "6.16.0-dev.
|
|
39
|
-
"@prisma/dmmf": "6.16.0-dev.
|
|
40
|
-
"@prisma/
|
|
41
|
-
"@prisma/
|
|
42
|
-
"@prisma/
|
|
43
|
-
"@prisma/
|
|
44
|
-
"@prisma/ts-builders": "6.16.0-dev.
|
|
37
|
+
"@prisma/client-common": "6.16.0-dev.31",
|
|
38
|
+
"@prisma/debug": "6.16.0-dev.31",
|
|
39
|
+
"@prisma/dmmf": "6.16.0-dev.31",
|
|
40
|
+
"@prisma/get-platform": "6.16.0-dev.31",
|
|
41
|
+
"@prisma/generator": "6.16.0-dev.31",
|
|
42
|
+
"@prisma/fetch-engine": "6.16.0-dev.31",
|
|
43
|
+
"@prisma/internals": "6.16.0-dev.31",
|
|
44
|
+
"@prisma/ts-builders": "6.16.0-dev.31"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/pluralize": "0.0.33",
|
|
48
|
-
"
|
|
49
|
-
"vitest": "3.0.9"
|
|
48
|
+
"vitest": "3.2.4"
|
|
50
49
|
},
|
|
51
50
|
"files": [
|
|
52
51
|
"dist"
|