@kengic/vue 0.32.5-beta.2 → 0.32.5-beta.3

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.
@@ -4,7 +4,7 @@ const REQUIRED_NODE_VERSION = '24.14.1';
4
4
  const REQUIRED_PNPM_VERSION = '10.33.0';
5
5
 
6
6
  function fail(message) {
7
- console.error(chalk.redBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL | ${message}`));
7
+ console.log(chalk.redBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL | ${message}`));
8
8
  process.exit(1);
9
9
  }
10
10
 
@@ -13,19 +13,21 @@ function getPnpmVersion(userAgent) {
13
13
  return match?.[1] ?? null;
14
14
  }
15
15
 
16
+ console.log(chalk.blueBright(`[${new Date(Date.now() + 1000 * 60 * 60 * 8).toISOString().substring(0, 23).replace('T', ' ')}] [@kengic/vue] PRE-INSTALL | 开始检查 NODE.JS 和 PNPM 的版本`));
17
+
16
18
  const currentNodeVersion = process.versions.node;
17
19
 
18
20
  if (currentNodeVersion !== REQUIRED_NODE_VERSION) {
19
- fail(`NODE.JS VERSION MUST BE ${REQUIRED_NODE_VERSION}, BUT GOT ${currentNodeVersion}`);
21
+ fail(`NODE.JS 版本必须为 ${REQUIRED_NODE_VERSION}, 当前为 ${currentNodeVersion}`);
20
22
  }
21
23
 
22
24
  const userAgent = process.env.npm_config_user_agent ?? '';
23
25
  const currentPnpmVersion = getPnpmVersion(userAgent);
24
26
 
25
27
  if (!currentPnpmVersion) {
26
- fail(`THIS PROJECT MUST BE INSTALLED WITH pnpm ${REQUIRED_PNPM_VERSION}`);
28
+ fail(`请先安装 pnpm@${REQUIRED_PNPM_VERSION}`);
27
29
  }
28
30
 
29
31
  if (currentPnpmVersion !== REQUIRED_PNPM_VERSION) {
30
- fail(`PNPM VERSION MUST BE ${REQUIRED_PNPM_VERSION}, BUT GOT ${currentPnpmVersion}`);
32
+ fail(`PNPM 版本必须为 ${REQUIRED_PNPM_VERSION}, 当前为 ${currentPnpmVersion}`);
31
33
  }
@@ -100067,7 +100067,7 @@ function _interopRequireDefault(re) {
100067
100067
  return re && re.__esModule ? re : { default: re };
100068
100068
  }
100069
100069
  default_1 = zhTW.default = _zhCHT.default;
100070
- const version = "0.32.5-beta.2", cs_CZ$1 = {}, en$2 = {
100070
+ const version = "0.32.5-beta.3", cs_CZ$1 = {}, en$2 = {
100071
100071
  "kg.KgAppSelect.businessManager": "Business Manager",
100072
100072
  "kg.KgAppSelect.dataManager": "Data Manager",
100073
100073
  "kg.KgAppSelect.sys": "System Config",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.32.5-beta.2",
3
+ "version": "0.32.5-beta.3",
4
4
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
5
5
  "engines": {
6
6
  "node": "24.14.1",