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

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
@@ -280,10 +280,10 @@ function localessClient(options) {
280
280
  },
281
281
  body: JSON.stringify(body)
282
282
  });
283
- console.log(LOG_GROUP, "updateTranslations : ", await response.json());
284
283
  if (options.debug) {
285
284
  console.log(LOG_GROUP, "updateTranslations status : ", response.status);
286
285
  }
286
+ return response.json();
287
287
  } catch (error) {
288
288
  console.error(LOG_GROUP, "updateTranslations error : ", error);
289
289
  }
@@ -552,8 +552,9 @@ var translationsPushCommand = new import_commander4.Command("push").argument("<l
552
552
  return;
553
553
  }
554
554
  console.log("Pushing translations to Localess with locale:", locale, "and type:", options.type);
555
- await client.updateTranslations(locale, options.type, translationValues);
555
+ const message = await client.updateTranslations(locale, options.type, translationValues);
556
556
  console.log("Successfully pushed translations to Localess");
557
+ console.log("Summary:", message);
557
558
  });
558
559
 
559
560
  // src/commands/translations/index.ts
package/dist/index.mjs CHANGED
@@ -257,10 +257,10 @@ function localessClient(options) {
257
257
  },
258
258
  body: JSON.stringify(body)
259
259
  });
260
- console.log(LOG_GROUP, "updateTranslations : ", await response.json());
261
260
  if (options.debug) {
262
261
  console.log(LOG_GROUP, "updateTranslations status : ", response.status);
263
262
  }
263
+ return response.json();
264
264
  } catch (error) {
265
265
  console.error(LOG_GROUP, "updateTranslations error : ", error);
266
266
  }
@@ -529,8 +529,9 @@ var translationsPushCommand = new Command4("push").argument("<locale>", "Locale
529
529
  return;
530
530
  }
531
531
  console.log("Pushing translations to Localess with locale:", locale, "and type:", options.type);
532
- await client.updateTranslations(locale, options.type, translationValues);
532
+ const message = await client.updateTranslations(locale, options.type, translationValues);
533
533
  console.log("Successfully pushed translations to Localess");
534
+ console.log("Summary:", message);
534
535
  });
535
536
 
536
537
  // 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.20260217105008",
3
+ "version": "0.0.1-dev.20260217111809",
4
4
  "description": "Localess Command Line.",
5
5
  "keywords": [
6
6
  "localess",