@jayfong/x-server 1.11.4 → 1.11.5
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/CHANGELOG.md +7 -0
- package/lib/_cjs/cli/build_util.js +1 -1
- package/lib/cli/build_util.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.11.5](https://github.com/jfWorks/x-server/compare/v1.11.4...v1.11.5) (2022-04-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* tbify node ([f732b68](https://github.com/jfWorks/x-server/commit/f732b6895895bd6f751e32d7cf04d5ed5ebacd61))
|
|
11
|
+
|
|
5
12
|
### [1.11.4](https://github.com/jfWorks/x-server/compare/v1.11.3...v1.11.4) (2022-04-20)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -112,7 +112,7 @@ class BuildUtil {
|
|
|
112
112
|
|
|
113
113
|
if (await _fsExtra.default.pathExists(prismaSchemaFile)) {
|
|
114
114
|
// 下载 centos (rhel-openssl-1.0.x) 的可执行文件
|
|
115
|
-
await (0, _execa.default)('node',
|
|
115
|
+
await (0, _execa.default)('tbify', ['node', require.resolve('@prisma/engines/download/index.js')], {
|
|
116
116
|
env: {
|
|
117
117
|
// https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_cli_binary_targets
|
|
118
118
|
// https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
|
package/lib/cli/build_util.js
CHANGED
|
@@ -88,7 +88,7 @@ export class BuildUtil {
|
|
|
88
88
|
|
|
89
89
|
if (await fs.pathExists(prismaSchemaFile)) {
|
|
90
90
|
// 下载 centos (rhel-openssl-1.0.x) 的可执行文件
|
|
91
|
-
await execa('node',
|
|
91
|
+
await execa('tbify', ['node', require.resolve('@prisma/engines/download/index.js')], {
|
|
92
92
|
env: {
|
|
93
93
|
// https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_cli_binary_targets
|
|
94
94
|
// https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
|