@prisma/internals 6.19.0-integration-engines-6-19-0-32-next-568b222d0ab829bbbe5f2fd48ed587836813346c.1 → 6.19.0-integration-feat-remove-library-engine.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/{chunk-DK5SCKNO.js → chunk-2KREE2OX.js} +5 -5
- package/dist/{chunk-JOIIWB3U.js → chunk-2LOGW45F.js} +68 -33
- package/dist/{chunk-ZKW5OHDA.js → chunk-2RRPXN7D.js} +5 -5
- package/dist/{chunk-BVJP43JS.js → chunk-32LLAKF4.js} +13 -784
- package/dist/{chunk-4HCWAIVZ.js → chunk-33FYCEWF.js} +14 -20
- package/dist/{chunk-FYZCPL2Z.js → chunk-3CAPLXKF.js} +5 -8
- package/dist/{chunk-I6WLABB2.js → chunk-3WXUQZS7.js} +14 -5
- package/dist/{chunk-JD36HS5L.js → chunk-3XBUWR5Q.js} +14 -20
- package/dist/{chunk-OAT7ZJED.js → chunk-4YDN7W7B.js} +7 -20
- package/dist/{chunk-SH2TNBI6.js → chunk-5B5U2HVK.js} +7 -8
- package/dist/{chunk-RS2R7COT.js → chunk-5I4ERIIY.js} +3 -9
- package/dist/{chunk-F2OZV76L.js → chunk-5MHUYAV3.js} +9 -9
- package/dist/{chunk-HO5HRHFZ.js → chunk-5W3BSMTH.js} +3 -6
- package/dist/{chunk-2MJTY4KQ.js → chunk-6FP5PMMX.js} +5 -5
- package/dist/{chunk-ISSTUMGH.js → chunk-6QTJ35DP.js} +12 -12
- package/dist/{chunk-TGOAMULH.js → chunk-AH4RJ3ZD.js} +8 -9
- package/dist/{chunk-WFNB7VRA.js → chunk-ARC7TW3L.js} +4 -14
- package/dist/{chunk-HFFWZTVM.js → chunk-BUQN4WLU.js} +7 -9
- package/dist/{chunk-HHG4DGHC.js → chunk-CGLLQXZE.js} +11 -12
- package/dist/{chunk-GMW36QQF.js → chunk-DOO45FN6.js} +7 -7
- package/dist/chunk-DYV47NUW.js +796 -0
- package/dist/{chunk-IDINCQMN.js → chunk-FF7OLLBP.js} +12 -784
- package/dist/{chunk-4CGPN5SR.js → chunk-GJSFP4V4.js} +3 -9
- package/dist/{chunk-4JCVHBYR.js → chunk-GL7OANR6.js} +5 -5
- package/dist/{chunk-VDOBMNYY.js → chunk-HBU4ZVCA.js} +11 -11
- package/dist/{chunk-DSG2XXJJ.js → chunk-HQE53CGA.js} +11 -11
- package/dist/{chunk-UHI6VYFX.js → chunk-IHC4ZVPQ.js} +5 -5
- package/dist/{chunk-D4VDA2TZ.js → chunk-IRWX4FCC.js} +6 -6
- package/dist/{chunk-UQUWZJVN.js → chunk-IU77SCOB.js} +9 -9
- package/dist/{chunk-RKDOMYIG.js → chunk-KMMKQUIO.js} +38 -71
- package/dist/{chunk-NVNI2SRU.js → chunk-KNNTV7IN.js} +687 -213
- package/dist/{chunk-PWLNUJDJ.js → chunk-KZ5SMOBR.js} +5 -5
- package/dist/{chunk-AX5N26KG.js → chunk-L2CX3ZWZ.js} +6 -6
- package/dist/{chunk-U2GOPCRA.js → chunk-M6EEXN7F.js} +5 -5
- package/dist/{chunk-N3UPGHTD.js → chunk-M6PZRD57.js} +38 -71
- package/dist/{chunk-DX7WJ45H.js → chunk-MEBZK5AR.js} +5 -5
- package/dist/{chunk-5AI4FIZ3.js → chunk-MEOOYUIZ.js} +10 -10
- package/dist/{chunk-TQFONRJP.js → chunk-MXAUURHG.js} +5 -5
- package/dist/{chunk-7QC5VORA.js → chunk-MYLPCGTT.js} +5 -5
- package/dist/{chunk-PZEUONUZ.js → chunk-NHHVDNJP.js} +11 -11
- package/dist/{chunk-EYVG6XQS.js → chunk-OKVM3CW4.js} +3 -39
- package/dist/{chunk-LBEUT2S6.js → chunk-PLUTM2U3.js} +5 -5
- package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
- package/dist/{chunk-75BIJ5PX.js → chunk-UB2X7DGZ.js} +9 -9
- package/dist/{chunk-IKIW52QS.js → chunk-VNACSIGX.js} +11 -11
- package/dist/{chunk-RIACS7RB.js → chunk-WL7623RR.js} +5 -5
- package/dist/{chunk-TZJROXB3.js → chunk-WSZXPLJQ.js} +4 -4
- package/dist/{chunk-YU52YNDP.js → chunk-WU7O7E3V.js} +12 -12
- package/dist/cli/checkUnsupportedDataProxy.js +56 -62
- package/dist/cli/checkUnsupportedSchemaEngineWasm.js +56 -62
- package/dist/cli/getGeneratorSuccessMessage.js +2 -3
- package/dist/cli/getSchema.d.ts +1 -15
- package/dist/cli/getSchema.js +4 -5
- package/dist/cli/hashes.js +4 -4
- package/dist/cli/schemaContext.d.ts +1 -3
- package/dist/cli/schemaContext.js +56 -62
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +55 -61
- package/dist/engine-commands/getConfig.d.ts +0 -1
- package/dist/engine-commands/getConfig.js +13 -13
- package/dist/engine-commands/getDmmf.js +10 -10
- package/dist/engine-commands/getEngineVersion.js +6 -9
- package/dist/engine-commands/getEnginesInfo.d.ts +0 -1
- package/dist/engine-commands/getEnginesInfo.js +7 -9
- package/dist/engine-commands/index.js +67 -73
- package/dist/engine-commands/lintSchema.js +9 -9
- package/dist/engine-commands/mergeSchemas.js +10 -10
- package/dist/engine-commands/queryEngineCommons.js +6 -6
- package/dist/engine-commands/validate.js +10 -10
- package/dist/errorReporting.js +6 -6
- package/dist/get-generators/getGenerators.d.ts +0 -1
- package/dist/get-generators/getGenerators.js +58 -64
- package/dist/get-generators/utils/binaryTypeToEngineType.js +2 -2
- package/dist/get-generators/utils/engineTypeToBinaryType.js +2 -2
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +6 -5
- package/dist/getPackedPackage.js +4 -3
- package/dist/index.d.ts +1 -8
- package/dist/index.js +101 -115
- package/dist/{multipart-parser-3AFJFP6K.js → multipart-parser-UV3WZSWW.js} +6 -6
- package/dist/resolveBinary.js +8 -7
- package/dist/schemaEngineCommands.js +9 -8
- package/dist/sendPanic.js +4 -4
- package/dist/utils/canPrompt.js +3 -3
- package/dist/utils/cloudflareD1.js +3 -3
- package/dist/utils/drawBox.js +2 -2
- package/dist/utils/fs-functional.js +10 -10
- package/dist/utils/fs-utils.js +8 -8
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +8 -8
- package/dist/utils/link.js +2 -2
- package/dist/utils/missingDatasource.js +3 -3
- package/dist/utils/missingGeneratorMessage.js +5 -5
- package/dist/utils/serializeQueryEngineName.js +2 -2
- package/dist/wasm.js +5 -5
- package/package.json +15 -16
- package/dist/chunk-3FP46GUV.js +0 -471
- package/dist/chunk-46ABODUM.js +0 -186
- package/dist/chunk-6TTRTZXU.js +0 -37
- package/dist/chunk-DZYINYAA.js +0 -68
- package/dist/chunk-ERSH2BQA.js +0 -58
- package/dist/chunk-PZMRR772.js +0 -41
- package/dist/chunk-T2PM5TKT.js +0 -55
- package/dist/client/getClientEngineType.d.ts +0 -7
- package/dist/client/getClientEngineType.js +0 -26
- package/dist/dotenvExpand.d.ts +0 -35
- package/dist/dotenvExpand.js +0 -25
- package/dist/utils/getEnvPaths.d.ts +0 -14
- package/dist/utils/getEnvPaths.js +0 -29
- package/dist/utils/handleEngineLoadingErrors.d.ts +0 -8
- package/dist/utils/handleEngineLoadingErrors.js +0 -27
- package/dist/utils/load.d.ts +0 -6
- package/dist/utils/load.js +0 -28
- package/dist/utils/loadEnvFile.d.ts +0 -10
- package/dist/utils/loadEnvFile.js +0 -30
- package/dist/utils/tryLoadEnvs.d.ts +0 -25
- package/dist/utils/tryLoadEnvs.js +0 -30
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { PrismaConfigInternal } from '@prisma/config';
|
|
2
|
-
/**
|
|
3
|
-
* Read .env file only if next to schema.prisma
|
|
4
|
-
* .env found: print to console its relative path
|
|
5
|
-
*/
|
|
6
|
-
export declare function loadEnvFile({ schemaPath, config, printMessage, }: {
|
|
7
|
-
schemaPath?: string;
|
|
8
|
-
printMessage?: boolean;
|
|
9
|
-
config: PrismaConfigInternal;
|
|
10
|
-
}): Promise<void>;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var loadEnvFile_exports = {};
|
|
20
|
-
__export(loadEnvFile_exports, {
|
|
21
|
-
loadEnvFile: () => import_chunk_PZMRR772.loadEnvFile
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(loadEnvFile_exports);
|
|
24
|
-
var import_chunk_PZMRR772 = require("../chunk-PZMRR772.js");
|
|
25
|
-
var import_chunk_46ABODUM = require("../chunk-46ABODUM.js");
|
|
26
|
-
var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
|
|
27
|
-
var import_chunk_EYVG6XQS = require("../chunk-EYVG6XQS.js");
|
|
28
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
29
|
-
var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
|
|
30
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import dotenv from 'dotenv';
|
|
2
|
-
type DotenvResult = dotenv.DotenvConfigOutput & {
|
|
3
|
-
ignoreProcessEnv?: boolean | undefined;
|
|
4
|
-
};
|
|
5
|
-
interface DotenvLoadEnvResult {
|
|
6
|
-
message: string;
|
|
7
|
-
path: string;
|
|
8
|
-
dotenvResult: DotenvResult;
|
|
9
|
-
}
|
|
10
|
-
export type LoadedEnv = {
|
|
11
|
-
message?: string;
|
|
12
|
-
parsed: {
|
|
13
|
-
[x: string]: string;
|
|
14
|
-
};
|
|
15
|
-
} | undefined;
|
|
16
|
-
export declare function tryLoadEnvs({ rootEnvPath, schemaEnvPath, }: {
|
|
17
|
-
rootEnvPath: string | null | undefined;
|
|
18
|
-
schemaEnvPath: string | null | undefined;
|
|
19
|
-
}, opts?: {
|
|
20
|
-
conflictCheck: 'warn' | 'error' | 'none';
|
|
21
|
-
}): LoadedEnv;
|
|
22
|
-
export declare function loadEnv(envPath: string | null | undefined): DotenvLoadEnvResult | null;
|
|
23
|
-
export declare function pathsEqual(path1: string | null | undefined, path2: string | null | undefined): boolean | "" | null | undefined;
|
|
24
|
-
export declare function exists(p: string | null | undefined): p is string;
|
|
25
|
-
export {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var tryLoadEnvs_exports = {};
|
|
20
|
-
__export(tryLoadEnvs_exports, {
|
|
21
|
-
exists: () => import_chunk_3FP46GUV.exists,
|
|
22
|
-
loadEnv: () => import_chunk_3FP46GUV.loadEnv,
|
|
23
|
-
pathsEqual: () => import_chunk_3FP46GUV.pathsEqual,
|
|
24
|
-
tryLoadEnvs: () => import_chunk_3FP46GUV.tryLoadEnvs
|
|
25
|
-
});
|
|
26
|
-
module.exports = __toCommonJS(tryLoadEnvs_exports);
|
|
27
|
-
var import_chunk_3FP46GUV = require("../chunk-3FP46GUV.js");
|
|
28
|
-
var import_chunk_PG5FDKSF = require("../chunk-PG5FDKSF.js");
|
|
29
|
-
var import_chunk_T2PM5TKT = require("../chunk-T2PM5TKT.js");
|
|
30
|
-
var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
|