@vocoder/cli 0.12.3 → 0.13.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/dist/lib.d.mts CHANGED
@@ -94,7 +94,7 @@ interface LocalConfig {
94
94
  apiKey: string;
95
95
  apiUrl: string;
96
96
  }
97
- interface APIProjectConfig {
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
- getProjectConfig(): Promise<APIProjectConfig>;
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
- listProjects(userToken: string, organizationId: string): Promise<Array<{
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
- lookupProjectByRepo(params: {
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 APIProjectConfig, 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 };
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
@@ -12,7 +12,7 @@ import {
12
12
  readAuthData,
13
13
  verifyStoredAuth,
14
14
  writeAuthData
15
- } from "./chunk-2Q3JPWWV.mjs";
15
+ } from "./chunk-ZHRKJ2KZ.mjs";
16
16
 
17
17
  // ../config/src/index.ts
18
18
  function defineConfig(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocoder/cli",
3
- "version": "0.12.3",
3
+ "version": "0.13.1",
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.12.3",
55
- "@vocoder/config": "0.12.3"
54
+ "@vocoder/config": "0.13.1",
55
+ "@vocoder/extractor": "0.13.1"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=18"