@localess/cli 0.0.1-dev.20260222174414 → 0.0.1-dev.20260222174722

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.js CHANGED
@@ -624,12 +624,15 @@ var translationsPushCommand = new import_commander5.Command("push").argument("<l
624
624
  return;
625
625
  }
626
626
  console.log("Pushing translations to Localess with locale:", locale, "and type:", options.type);
627
- const message = await client.updateTranslations(locale, options.type, translationValues, options.dryRun);
628
- if (message) {
627
+ const response = await client.updateTranslations(locale, options.type, translationValues, options.dryRun);
628
+ if (response) {
629
+ if (response.dryRun) {
630
+ console.log("Dry run results:");
631
+ }
629
632
  console.log("Successfully pushed translations to Localess");
630
- console.log("Summary:", message.message);
631
- if (message.ids) {
632
- console.log("Updated translation IDs:", message.ids);
633
+ console.log("Summary:", response.message);
634
+ if (response.ids) {
635
+ console.log("Updated translation IDs:", response.ids);
633
636
  }
634
637
  } else {
635
638
  console.log("Something went wrong while pushing translations to Localess");
package/dist/index.mjs CHANGED
@@ -601,12 +601,15 @@ var translationsPushCommand = new Command5("push").argument("<locale>", "Locale
601
601
  return;
602
602
  }
603
603
  console.log("Pushing translations to Localess with locale:", locale, "and type:", options.type);
604
- const message = await client.updateTranslations(locale, options.type, translationValues, options.dryRun);
605
- if (message) {
604
+ const response = await client.updateTranslations(locale, options.type, translationValues, options.dryRun);
605
+ if (response) {
606
+ if (response.dryRun) {
607
+ console.log("Dry run results:");
608
+ }
606
609
  console.log("Successfully pushed translations to Localess");
607
- console.log("Summary:", message.message);
608
- if (message.ids) {
609
- console.log("Updated translation IDs:", message.ids);
610
+ console.log("Summary:", response.message);
611
+ if (response.ids) {
612
+ console.log("Updated translation IDs:", response.ids);
610
613
  }
611
614
  } else {
612
615
  console.log("Something went wrong while pushing translations to Localess");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/cli",
3
- "version": "0.0.1-dev.20260222174414",
3
+ "version": "0.0.1-dev.20260222174722",
4
4
  "description": "Localess Command Line.",
5
5
  "keywords": [
6
6
  "localess",