@kengic/vue 0.32.4 → 0.32.5-beta.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.
@@ -0,0 +1,29 @@
1
+ const REQUIRED_NODE_VERSION = '24.14.1';
2
+ const REQUIRED_PNPM_VERSION = '10.33.0';
3
+
4
+ function fail(message) {
5
+ console.error(`[${new Date().toISOString()}] [@kengic/vue] PRE-INSTALL | ${message}`);
6
+ process.exit(1);
7
+ }
8
+
9
+ function getPnpmVersion(userAgent) {
10
+ const match = /^pnpm\/(\S+)\s/.exec(userAgent);
11
+ return match?.[1] ?? null;
12
+ }
13
+
14
+ const currentNodeVersion = process.versions.node;
15
+
16
+ if (currentNodeVersion !== REQUIRED_NODE_VERSION) {
17
+ fail(`Node.js version must be ${REQUIRED_NODE_VERSION}, but got ${currentNodeVersion}. Run "nvm use ${REQUIRED_NODE_VERSION}".`);
18
+ }
19
+
20
+ const userAgent = process.env.npm_config_user_agent ?? '';
21
+ const currentPnpmVersion = getPnpmVersion(userAgent);
22
+
23
+ if (!currentPnpmVersion) {
24
+ fail(`This project must be installed with pnpm ${REQUIRED_PNPM_VERSION}. Run "corepack use pnpm@${REQUIRED_PNPM_VERSION}" first.`);
25
+ }
26
+
27
+ if (currentPnpmVersion !== REQUIRED_PNPM_VERSION) {
28
+ fail(`pnpm version must be ${REQUIRED_PNPM_VERSION}, but got ${currentPnpmVersion}. Run "corepack use pnpm@${REQUIRED_PNPM_VERSION}".`);
29
+ }
@@ -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.4", cs_CZ$1 = {}, en$2 = {
100070
+ const version = "0.32.5-beta.0", 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,15 +1,21 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.32.4",
3
+ "version": "0.32.5-beta.0",
4
+ "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
5
+ "engines": {
6
+ "node": "24.14.1",
7
+ "pnpm": "10.33.0"
8
+ },
4
9
  "scripts": {
5
10
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
11
  "build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
7
12
  "--------------------------------------------------": "",
8
13
  "gen-apis--WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
9
14
  "- ------------------------------------------------": "",
10
- "use-node": "npm cache clean -f && nvm use 24.12.0 && corepack enable && corepack use pnpm@10.27.0",
15
+ "use-node": "npm cache clean -f && nvm use 24.14.1 && corepack enable && corepack use pnpm@10.33.0",
11
16
  "cnpm--sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
12
17
  "------ -------------------------------------------": "",
18
+ "preinstall": "node bin/preinstall.mjs",
13
19
  "postinstall": "node bin/postinstall.mjs",
14
20
  "-- -----------------------------------------------": "",
15
21
  "bump-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to--luotao.smartfactory.product.wms.wms--dev-3.2.ts",