@a_team/prisma 3.2.1-win → 3.2.2-linux-debian
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/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@a_team/prisma-win": "npm:@a_team/prisma@X.Y.Z-win",
|
|
15
15
|
"@a_team/prisma-macos": "npm:@a_team/prisma@X.Y.Z-macos",
|
|
16
16
|
"@a_team/prisma-linux": "npm:@a_team/prisma@X.Y.Z-linux",
|
|
17
|
-
"@a_team/prisma-linux": "npm:@a_team/prisma@X.Y.Z-linux-debian"
|
|
17
|
+
"@a_team/prisma-linux-debian": "npm:@a_team/prisma@X.Y.Z-linux-debian"
|
|
18
18
|
}
|
|
19
19
|
```
|
|
20
20
|
|
|
@@ -42,7 +42,7 @@ const getPlatformPackage = () => {
|
|
|
42
42
|
case 'win32':
|
|
43
43
|
return '@a_team/prisma-win';
|
|
44
44
|
default:
|
|
45
|
-
const
|
|
45
|
+
const linuxDistro = getLinuxDistribution();
|
|
46
46
|
|
|
47
47
|
if (linuxDistro === 'debian') {
|
|
48
48
|
return '@a_team/prisma-linux-debian';
|
|
@@ -68,7 +68,6 @@ if (fs.existsSync(sourcePath)) {
|
|
|
68
68
|
console.error(`Platform-specific package ${platformPackage} not found`);
|
|
69
69
|
process.exit(1);
|
|
70
70
|
}
|
|
71
|
-
|
|
72
71
|
```
|
|
73
72
|
|
|
74
73
|
- The script above will link the required OS dependency as the main one.
|
package/dist/client/edge.js
CHANGED
package/dist/client/index.js
CHANGED
|
@@ -359,7 +359,7 @@ const config = {
|
|
|
359
359
|
"binaryTargets": [
|
|
360
360
|
{
|
|
361
361
|
"fromEnvVar": null,
|
|
362
|
-
"value": "
|
|
362
|
+
"value": "debian-openssl-3.0.x"
|
|
363
363
|
}
|
|
364
364
|
],
|
|
365
365
|
"previewFeatures": [
|
|
@@ -427,8 +427,8 @@ exports.PrismaClient = PrismaClient
|
|
|
427
427
|
Object.assign(exports, Prisma)
|
|
428
428
|
|
|
429
429
|
// file annotations for bundling tools to include these files
|
|
430
|
-
path.join(__dirname, "
|
|
431
|
-
path.join(process.cwd(), "src/client/
|
|
430
|
+
path.join(__dirname, "libquery_engine-debian-openssl-3.0.x.so.node");
|
|
431
|
+
path.join(process.cwd(), "src/client/libquery_engine-debian-openssl-3.0.x.so.node")
|
|
432
432
|
// file annotations for bundling tools to include these files
|
|
433
433
|
path.join(__dirname, "schema.prisma");
|
|
434
434
|
path.join(process.cwd(), "src/client/schema.prisma")
|