td-web-cli 0.1.2 → 0.1.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.
|
@@ -100,7 +100,7 @@ async function batchCheckTexts(texts, language) {
|
|
|
100
100
|
export async function excel2json(program) {
|
|
101
101
|
var _a;
|
|
102
102
|
// 配置文件默认路径
|
|
103
|
-
const configPath = path.join(
|
|
103
|
+
const configPath = path.join(__dirname, '../setting.json');
|
|
104
104
|
let i18nConfig;
|
|
105
105
|
// 加载配置文件
|
|
106
106
|
try {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "td-web-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "A CLI tool for efficiency",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
|
-
"td-web-cli": "
|
|
8
|
+
"td-web-cli": "dist/index.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "tsc",
|
|
@@ -138,7 +138,7 @@ async function batchCheckTexts(
|
|
|
138
138
|
*/
|
|
139
139
|
export async function excel2json(program: Command) {
|
|
140
140
|
// 配置文件默认路径
|
|
141
|
-
const configPath = path.join(
|
|
141
|
+
const configPath = path.join(__dirname, '../setting.json');
|
|
142
142
|
let i18nConfig: I18nConfig;
|
|
143
143
|
|
|
144
144
|
// 加载配置文件
|
|
File without changes
|