@vocoder/cli 0.12.2 → 0.13.0
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/lib.d.mts
CHANGED
|
@@ -94,7 +94,7 @@ interface LocalConfig {
|
|
|
94
94
|
apiKey: string;
|
|
95
95
|
apiUrl: string;
|
|
96
96
|
}
|
|
97
|
-
interface
|
|
97
|
+
interface APIAppConfig {
|
|
98
98
|
projectName: string;
|
|
99
99
|
organizationName: string;
|
|
100
100
|
shortCode: string;
|
|
@@ -254,7 +254,7 @@ declare class VocoderAPI {
|
|
|
254
254
|
* Fetch project configuration from API
|
|
255
255
|
* Project is determined from the API key
|
|
256
256
|
*/
|
|
257
|
-
|
|
257
|
+
getAppConfig(): Promise<APIAppConfig>;
|
|
258
258
|
/**
|
|
259
259
|
* Submit strings for translation
|
|
260
260
|
* Project is determined from the API key
|
|
@@ -353,7 +353,7 @@ declare class VocoderAPI {
|
|
|
353
353
|
}>;
|
|
354
354
|
canCreateWorkspace: boolean;
|
|
355
355
|
}>;
|
|
356
|
-
|
|
356
|
+
listApps(userToken: string, organizationId: string): Promise<Array<{
|
|
357
357
|
id: string;
|
|
358
358
|
name: string;
|
|
359
359
|
sourceLocale: string;
|
|
@@ -462,7 +462,7 @@ declare class VocoderAPI {
|
|
|
462
462
|
* existing apps in other scopes, and whether a whole-repo app exists.
|
|
463
463
|
* No auth required.
|
|
464
464
|
*/
|
|
465
|
-
|
|
465
|
+
lookupAppByRepo(params: {
|
|
466
466
|
repoCanonical: string;
|
|
467
467
|
appDir: string;
|
|
468
468
|
}): Promise<{
|
|
@@ -564,4 +564,4 @@ declare function getSetupSnippets(params: {
|
|
|
564
564
|
appDir?: string;
|
|
565
565
|
}): SetupSnippets;
|
|
566
566
|
|
|
567
|
-
export { type
|
|
567
|
+
export { type APIAppConfig, type AuthData, type DetectedEcosystem, type DetectedFramework, type ExtractedString, type LimitErrorResponse, type LocalDetectionResult, type LocaleInfo, type LocalesMap, type PackageManager, type SetupSnippets, type StoredAuthStatus, StringExtractor, type SyncPolicyConfig, type SyncPolicyErrorResponse, type TranslationBatchResponse, type TranslationSnapshotResponse, type TranslationStatusResponse, VocoderAPI, VocoderAPIError, type VocoderConfig, buildInstallCommand, clearAuthData, defineConfig, detectLocalEcosystem, getPackagesToInstall, getSetupSnippets, loadVocoderConfig, readAuthData, verifyStoredAuth, writeAuthData };
|
package/dist/lib.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vocoder/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "CLI tool for Vocoder translation workflow",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"tsup": "^8.0.0",
|
|
52
52
|
"typescript": "^5.4.0",
|
|
53
53
|
"vitest": "^1.0.0",
|
|
54
|
-
"@vocoder/extractor": "0.
|
|
55
|
-
"@vocoder/config": "0.
|
|
54
|
+
"@vocoder/extractor": "0.13.0",
|
|
55
|
+
"@vocoder/config": "0.13.0"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|
|
58
58
|
"node": ">=18"
|