@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 +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/tsconfig.json +27 -0
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.
|
|
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
package/package.json
CHANGED
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
|
+
}
|