@maiyunnet/kebab 2.0.8 → 2.0.9

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/index.d.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  * --- npx tsc-alias -w ---
7
7
  */
8
8
  /** --- 当前系统版本号 --- */
9
- export declare const VER = "2.0.8";
9
+ export declare const VER = "2.0.9";
10
10
  /** --- 框架根目录,以 / 结尾 --- */
11
11
  export declare const ROOT_PATH: string;
12
12
  export declare const LIB_PATH: string;
package/index.js CHANGED
@@ -9,7 +9,7 @@
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.MOD_CWD = exports.FTMP_CWD = exports.IND_CWD = exports.WWW_CWD = exports.LOG_CWD = exports.LIB_CWD = exports.VHOST_CWD = exports.CERT_CWD = exports.CONF_CWD = exports.ROOT_CWD = exports.SYS_PATH = exports.LIB_PATH = exports.ROOT_PATH = exports.VER = void 0;
11
11
  /** --- 当前系统版本号 --- */
12
- exports.VER = '2.0.8';
12
+ exports.VER = '2.0.9';
13
13
  // --- 服务端用的路径 ---
14
14
  /** --- /xxx/xxx --- */
15
15
  const dirname = __dirname.replace(/\\/g, '/');
package/main.d.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * Date: 2019-3-29 18:55:35
4
4
  * Last: 2020-3-6 22:19:37, 2022-3-30 01:01:22, 2022-9-27 16:11:40, 2025-6-13 12:56:18
5
5
  */
6
- export {};
6
+ import 'ts-alias-loader';
package/main.js CHANGED
@@ -44,6 +44,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
46
  const cluster_1 = __importDefault(require("cluster"));
47
+ // --- 虽然框架本身不用,但是业务侧会用到,所以这个库不能删 ---
48
+ require("ts-alias-loader");
47
49
  // --- 初始化 ---
48
50
  // --- 一定要分别隔离加载 Master 和 Child 代码,防止执行串了 ---
49
51
  if (cluster_1.default.isPrimary) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maiyunnet/kebab",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "Simple, easy-to-use, and fully-featured Node.js framework that is ready-to-use out of the box.",
5
5
  "keywords": [
6
6
  "kebab",
@@ -25,7 +25,8 @@
25
25
  "jszip": "^3.10.1",
26
26
  "mysql2": "^3.14.1",
27
27
  "ssh2": "^1.16.0",
28
- "svg-captcha": "^1.4.0"
28
+ "svg-captcha": "^1.4.0",
29
+ "ts-alias-loader": "^0.1.5"
29
30
  },
30
31
  "devDependencies": {
31
32
  "@litert/eslint-plugin-rules": "^0.3.1",