@jayfong/x-server 2.0.0 → 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/download/index.js')], {
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
@@ -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/download/index.js')], {
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": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "lib/_cjs/index.js",