@ai-translate/cli 0.2.0 → 0.2.2
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/dist/index.d.mts +5 -5
- package/dist/index.d.mts.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineConfig } from "@ai-translate/core";
|
|
2
2
|
import { AiTranslateConfig } from "@ai-translate/core/types";
|
|
3
3
|
//#region src/config.d.ts
|
|
4
|
-
declare function findConfigPath(cwd: string, explicitPath?: string): string;
|
|
5
|
-
declare function loadEnvFiles(cwd: string): Promise<Record<string, string>>;
|
|
6
|
-
declare function loadConfig(cwd: string, explicitPath?: string): Promise<{
|
|
4
|
+
export declare function findConfigPath(cwd: string, explicitPath?: string): string;
|
|
5
|
+
export declare function loadEnvFiles(cwd: string): Promise<Record<string, string>>;
|
|
6
|
+
export declare function loadConfig(cwd: string, explicitPath?: string): Promise<{
|
|
7
7
|
config: AiTranslateConfig;
|
|
8
8
|
configPath: string;
|
|
9
9
|
}>;
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/index.d.ts
|
|
12
|
-
declare function runCli(argv?: readonly string[], cwd?: string): Promise<number>;
|
|
12
|
+
export declare function runCli(argv?: readonly string[], cwd?: string): Promise<number>;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { defineConfig
|
|
14
|
+
export { defineConfig };
|
|
15
15
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/config.ts","../src/index.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/config.ts","../src/index.ts"],"mappings":";;;wBA4BgB,eAAe,aAAa;wBAiBtB,aAAa,cAAc,QAAQ;wBA+BnC,WACpB,aACA,wBACC;EAAU,QAAQ;EAAmB;;;;wBCkflB,OACpB,0BACA,eACC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-translate/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Command-line interface for ai-translate: validate, check, audit, and sync localized content generated from a single source locale.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"dotenv": "17.4.2",
|
|
48
48
|
"jiti": "2.7.0",
|
|
49
|
-
"@ai-translate/core": "0.
|
|
50
|
-
"@ai-translate/fs-json": "0.2.
|
|
49
|
+
"@ai-translate/core": "0.3.1",
|
|
50
|
+
"@ai-translate/fs-json": "0.2.2",
|
|
51
51
|
"@ai-translate/next": "0.1.1"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|