@vocoder/cli 0.13.2 → 0.13.4

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/bin.mjs CHANGED
@@ -2553,7 +2553,7 @@ async function fetchApiSnapshot(api, params) {
2553
2553
  async function sync(options = {}) {
2554
2554
  const startTime = Date.now();
2555
2555
  const projectRoot = process.cwd();
2556
- p7.intro("Vocoder Sync");
2556
+ p7.intro(chalk6.bold("Vocoder Sync"));
2557
2557
  const mergedConfig = await getMergedConfig(options, options.verbose);
2558
2558
  if (!mergedConfig.apiKey) {
2559
2559
  p7.log.warn("No API key found. Run init to get started:");
@@ -2597,7 +2597,7 @@ async function sync(options = {}) {
2597
2597
  p7.log.warn(
2598
2598
  `Skipping translations (${highlight(branch)} is not a target branch)`
2599
2599
  );
2600
- p7.log.info(`Target branches: ${config.targetBranches.join(", ")}`);
2600
+ p7.log.info(`Target branches: ${config.targetBranches.map((b) => highlight(b)).join(", ")}`);
2601
2601
  p7.log.info("Use --force to translate anyway");
2602
2602
  p7.outro("");
2603
2603
  return 0;
@@ -2633,7 +2633,7 @@ async function sync(options = {}) {
2633
2633
  [
2634
2634
  `Strings: ${extractedStrings.length}`,
2635
2635
  `Branch: ${branch}`,
2636
- `Target locales: ${config.targetLocales.join(", ")}`,
2636
+ `Target locales: ${config.targetLocales.map((l) => highlight(l)).join(", ")}`,
2637
2637
  `Requested mode: ${requestedMode}`,
2638
2638
  `Max wait: ${waitTimeoutMs}ms`,
2639
2639
  `No fallback: ${mergedConfig.noFallback ? "yes" : "no"}`
@@ -2713,7 +2713,7 @@ async function sync(options = {}) {
2713
2713
  statParts.push(`${chalk6.yellow(batchResponse.deletedStrings)} archived`);
2714
2714
  }
2715
2715
  const estTime = batchResponse.estimatedTime ? ` (~${batchResponse.estimatedTime}s)` : "";
2716
- p7.log.info(`${statParts.join(", ")} \u2192 syncing to ${config.targetLocales.join(", ")}${estTime}`);
2716
+ p7.log.info(`${statParts.join(", ")} \u2192 syncing to ${config.targetLocales.map((l) => highlight(l)).join(", ")}${estTime}`);
2717
2717
  }
2718
2718
  let artifacts = null;
2719
2719
  if (batchResponse.translations) {
@@ -2816,7 +2816,7 @@ async function sync(options = {}) {
2816
2816
  });
2817
2817
  const cachePath = writeCache({ projectRoot, fingerprint, data });
2818
2818
  if (options.verbose) {
2819
- p7.log.info(`Cache written: ${cachePath}`);
2819
+ p7.log.info(`Cache written: ${highlight(cachePath)}`);
2820
2820
  }
2821
2821
  } catch (error) {
2822
2822
  if (options.verbose) {