@localess/cli 0.0.1-dev.20260217111809 → 0.0.1-dev.20260217120300

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
@@ -553,8 +553,15 @@ var translationsPushCommand = new import_commander4.Command("push").argument("<l
553
553
  }
554
554
  console.log("Pushing translations to Localess with locale:", locale, "and type:", options.type);
555
555
  const message = await client.updateTranslations(locale, options.type, translationValues);
556
- console.log("Successfully pushed translations to Localess");
557
- console.log("Summary:", message);
556
+ if (message) {
557
+ console.log("Successfully pushed translations to Localess");
558
+ console.log("Summary:", message.message);
559
+ if (message.ids) {
560
+ console.log("Updated translation IDs:", message.ids);
561
+ }
562
+ } else {
563
+ console.log("Something went wrong while pushing translations to Localess");
564
+ }
558
565
  });
559
566
 
560
567
  // src/commands/translations/index.ts
package/dist/index.mjs CHANGED
@@ -530,8 +530,15 @@ var translationsPushCommand = new Command4("push").argument("<locale>", "Locale
530
530
  }
531
531
  console.log("Pushing translations to Localess with locale:", locale, "and type:", options.type);
532
532
  const message = await client.updateTranslations(locale, options.type, translationValues);
533
- console.log("Successfully pushed translations to Localess");
534
- console.log("Summary:", message);
533
+ if (message) {
534
+ console.log("Successfully pushed translations to Localess");
535
+ console.log("Summary:", message.message);
536
+ if (message.ids) {
537
+ console.log("Updated translation IDs:", message.ids);
538
+ }
539
+ } else {
540
+ console.log("Something went wrong while pushing translations to Localess");
541
+ }
535
542
  });
536
543
 
537
544
  // src/commands/translations/index.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localess/cli",
3
- "version": "0.0.1-dev.20260217111809",
3
+ "version": "0.0.1-dev.20260217120300",
4
4
  "description": "Localess Command Line.",
5
5
  "keywords": [
6
6
  "localess",