@jayfong/x-server 1.35.6 → 2.1.0
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.
|
@@ -135,7 +135,7 @@ class BuildUtil {
|
|
|
135
135
|
|
|
136
136
|
if (await _fsExtra.default.pathExists(prismaSchemaFile)) {
|
|
137
137
|
// 下载 centos (rhel-openssl-1.0.x,rhel-openssl-1.1.x) 的可执行文件
|
|
138
|
-
await (0, _execa.default)('tbify', ['node', require.resolve('@prisma/engines/
|
|
138
|
+
await (0, _execa.default)('tbify', ['node', require.resolve('@prisma/engines/scripts/postinstall.js')], {
|
|
139
139
|
env: {
|
|
140
140
|
// https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_cli_binary_targets
|
|
141
141
|
// https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
|
package/lib/cli/build_util.js
CHANGED
|
@@ -109,7 +109,7 @@ export class BuildUtil {
|
|
|
109
109
|
|
|
110
110
|
if (await fs.pathExists(prismaSchemaFile)) {
|
|
111
111
|
// 下载 centos (rhel-openssl-1.0.x,rhel-openssl-1.1.x) 的可执行文件
|
|
112
|
-
await execa('tbify', ['node', require.resolve('@prisma/engines/
|
|
112
|
+
await execa('tbify', ['node', require.resolve('@prisma/engines/scripts/postinstall.js')], {
|
|
113
113
|
env: {
|
|
114
114
|
// https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_cli_binary_targets
|
|
115
115
|
// https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jayfong/x-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "lib/_cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@fastify/formbody": "^6.0.0",
|
|
30
30
|
"@fastify/websocket": "^7.0.1",
|
|
31
|
-
"@prisma/client": "^
|
|
31
|
+
"@prisma/client": "^4.8.0",
|
|
32
32
|
"@types/bull": "^3.15.8",
|
|
33
33
|
"@types/busboy": "^0.3.2",
|
|
34
34
|
"@types/cron": "^2.0.0",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"node-ssh": "^12.0.4",
|
|
65
65
|
"nodemailer": "^6.7.3",
|
|
66
66
|
"pino-pretty": "^7.6.1",
|
|
67
|
-
"prisma": "^
|
|
67
|
+
"prisma": "^4.8.0",
|
|
68
68
|
"select-run": "^1.1.2",
|
|
69
69
|
"supports-color": "^8",
|
|
70
70
|
"svg-captcha": "^1.4.0",
|
|
71
71
|
"ts-morph": "^12.2.0",
|
|
72
72
|
"utf-8-validate": "^5.0.9",
|
|
73
|
-
"vscode-generate-index-standalone": "^1.
|
|
74
|
-
"vtils": "^4.67.
|
|
73
|
+
"vscode-generate-index-standalone": "^1.7.1",
|
|
74
|
+
"vtils": "^4.67.1",
|
|
75
75
|
"yargs": "^17.4.1"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|