@maiyunnet/kebab 2.0.0 → 2.0.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/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  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;
4
- exports.VER = '2.0.0';
4
+ exports.VER = '2.0.1';
5
5
  const dirname = __dirname.replace(/\\/g, '/');
6
6
  exports.ROOT_PATH = dirname + '/';
7
7
  exports.LIB_PATH = exports.ROOT_PATH + 'lib/';
package/index.ts CHANGED
@@ -6,7 +6,7 @@
6
6
  */
7
7
 
8
8
  /** --- 当前系统版本号 --- */
9
- export const VER = '2.0.0';
9
+ export const VER = '2.0.1';
10
10
 
11
11
  // --- 服务端用的路径 ---
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maiyunnet/kebab",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
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",
package/tsconfig.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "CommonJS",
4
+ "removeComments": true,
5
+ "preserveConstEnums": true, // 保留 const 和 enum 声明
6
+ // "outDir": "./dist/",
7
+ "sourceMap": false,
8
+ "target": "ES2021",
9
+ "strict": true, // 严格模式
10
+ "declaration": false, // d.ts
11
+ "declarationMap": false, // d.ts 的 map
12
+ "newLine": "LF",
13
+ "paths": {
14
+ "~/*": ["./*"]
15
+ },
16
+ "resolveJsonModule": true,
17
+ "esModuleInterop": true,
18
+ "baseUrl": "./",
19
+ "rootDir": "./"
20
+ },
21
+ "include": [
22
+ "./**/*.ts"
23
+ ],
24
+ "exclude": [
25
+ "node_modules"
26
+ ]
27
+ }