@jayfong/x-server 1.28.0 → 1.28.1

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 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.28.1](https://github.com/jfWorks/x-server/compare/v1.28.0...v1.28.1) (2022-05-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * rhel-openssl-1.1.x ([38bbf2f](https://github.com/jfWorks/x-server/commit/38bbf2ff3b1b22eaf37eebb7bca5bc95ee8c90a0))
11
+
5
12
  ## [1.28.0](https://github.com/jfWorks/x-server/compare/v1.27.4...v1.28.0) (2022-05-15)
6
13
 
7
14
 
@@ -123,12 +123,12 @@ class BuildUtil {
123
123
  const prismaSchemaFile = _nodePath.default.join(options.cwd, 'src/db/schema.prisma');
124
124
 
125
125
  if (await _fsExtra.default.pathExists(prismaSchemaFile)) {
126
- // 下载 centos (rhel-openssl-1.0.x) 的可执行文件
126
+ // 下载 centos (rhel-openssl-1.0.x,rhel-openssl-1.1.x) 的可执行文件
127
127
  await (0, _execa.default)('tbify', ['node', require.resolve('@prisma/engines/download/index.js')], {
128
128
  env: {
129
129
  // https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_cli_binary_targets
130
130
  // https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
131
- PRISMA_CLI_BINARY_TARGETS: `${_os.default.platform() === 'darwin' ? 'darwin' : 'windows'},rhel-openssl-1.0.x`
131
+ PRISMA_CLI_BINARY_TARGETS: `${_os.default.platform() === 'darwin' ? 'darwin' : 'windows'},rhel-openssl-1.0.x,rhel-openssl-1.1.x`
132
132
  }
133
133
  });
134
134
 
@@ -99,12 +99,12 @@ export class BuildUtil {
99
99
  const prismaSchemaFile = path.join(options.cwd, 'src/db/schema.prisma');
100
100
 
101
101
  if (await fs.pathExists(prismaSchemaFile)) {
102
- // 下载 centos (rhel-openssl-1.0.x) 的可执行文件
102
+ // 下载 centos (rhel-openssl-1.0.x,rhel-openssl-1.1.x) 的可执行文件
103
103
  await execa('tbify', ['node', require.resolve('@prisma/engines/download/index.js')], {
104
104
  env: {
105
105
  // https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_cli_binary_targets
106
106
  // https://www.prisma.io/docs/reference/api-reference/prisma-schema-reference#binarytargets-options
107
- PRISMA_CLI_BINARY_TARGETS: `${os.platform() === 'darwin' ? 'darwin' : 'windows'},rhel-openssl-1.0.x`
107
+ PRISMA_CLI_BINARY_TARGETS: `${os.platform() === 'darwin' ? 'darwin' : 'windows'},rhel-openssl-1.0.x,rhel-openssl-1.1.x`
108
108
  }
109
109
  });
110
110
  const distPrismaSchemaFile = path.join(distDir, 'schema.prisma');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jayfong/x-server",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
4
4
  "license": "ISC",
5
5
  "sideEffects": false,
6
6
  "main": "lib/_cjs/index.js",