@prisma/engines 6.20.0-integration-feat-prisma-7-config.1 → 6.20.0-integration-next.3
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.d.ts +2 -1
- package/dist/index.js +5 -4
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,10 @@ import { enginesVersion } from '@prisma/engines-version';
|
|
|
4
4
|
|
|
5
5
|
export { enginesVersion }
|
|
6
6
|
|
|
7
|
-
export declare function ensureNeededBinariesExist({ download }: EnsureSomeBinariesExistInput): Promise<void>;
|
|
7
|
+
export declare function ensureNeededBinariesExist({ download, hasMigrateAdapterInConfig }: EnsureSomeBinariesExistInput): Promise<void>;
|
|
8
8
|
|
|
9
9
|
declare type EnsureSomeBinariesExistInput = {
|
|
10
|
+
hasMigrateAdapterInConfig: boolean;
|
|
10
11
|
download: (options: DownloadOptions) => Promise<BinaryPaths>;
|
|
11
12
|
};
|
|
12
13
|
|
package/dist/index.js
CHANGED
|
@@ -44,11 +44,12 @@ var debug = (0, import_debug.Debug)("prisma:engines");
|
|
|
44
44
|
function getEnginesPath() {
|
|
45
45
|
return import_path.default.join(__dirname, "../");
|
|
46
46
|
}
|
|
47
|
-
async function ensureNeededBinariesExist({ download }) {
|
|
47
|
+
async function ensureNeededBinariesExist({ download, hasMigrateAdapterInConfig }) {
|
|
48
48
|
const binaryDir = import_path.default.join(__dirname, "../");
|
|
49
|
-
const binaries = {
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
const binaries = {};
|
|
50
|
+
if (!hasMigrateAdapterInConfig) {
|
|
51
|
+
binaries[import_fetch_engine.BinaryType.SchemaEngineBinary] = binaryDir;
|
|
52
|
+
}
|
|
52
53
|
debug(`binaries to download ${Object.keys(binaries).join(", ")}`);
|
|
53
54
|
const binaryTargets = process.env.PRISMA_CLI_BINARY_TARGETS ? process.env.PRISMA_CLI_BINARY_TARGETS.split(",") : void 0;
|
|
54
55
|
await download({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/engines",
|
|
3
|
-
"version": "6.20.0-integration-
|
|
3
|
+
"version": "6.20.0-integration-next.3",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@prisma/engines-version": "6.19.0-33.next-fca7ed8aa5fe6347594ad793adb59b37f021379a",
|
|
25
|
-
"@prisma/debug": "6.20.0-integration-
|
|
26
|
-
"@prisma/fetch-engine": "6.20.0-integration-
|
|
27
|
-
"@prisma/get-platform": "6.20.0-integration-
|
|
25
|
+
"@prisma/debug": "6.20.0-integration-next.3",
|
|
26
|
+
"@prisma/fetch-engine": "6.20.0-integration-next.3",
|
|
27
|
+
"@prisma/get-platform": "6.20.0-integration-next.3"
|
|
28
28
|
},
|
|
29
29
|
"files": [
|
|
30
30
|
"dist",
|