@localess/cli 0.0.1-dev.20260222174722 → 0.0.1-dev.20260224115109
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -591,7 +591,7 @@ var zTranslationUpdateSchema = import_zod.z.object({
|
|
|
591
591
|
});
|
|
592
592
|
|
|
593
593
|
// src/commands/translations/push/index.ts
|
|
594
|
-
var translationsPushCommand = new import_commander5.Command("push").argument("<locale>", "Locale to push").description("Push locale translations to Localess").requiredOption("-p, --path <path>", "Path to the translations file to push").option("-f, --format <format>", `File format. Possible values are : ${Object.values(TranslationFileFormat)}`, "flat" /* FLAT */).option("-t, --type <type>", `Push type. Possible values are : ${Object.values(TranslationUpdateType)}`, "add-missing" /* ADD_MISSING */).option("
|
|
594
|
+
var translationsPushCommand = new import_commander5.Command("push").argument("<locale>", "Locale to push").description("Push locale translations to Localess").requiredOption("-p, --path <path>", "Path to the translations file to push").option("-f, --format <format>", `File format. Possible values are : ${Object.values(TranslationFileFormat)}`, "flat" /* FLAT */).option("-t, --type <type>", `Push type. Possible values are : ${Object.values(TranslationUpdateType)}`, "add-missing" /* ADD_MISSING */).option("--dry-run", "Preview changes without applying them to Localess").action(async (locale, options) => {
|
|
595
595
|
console.log("Pushing translations with arguments:", locale);
|
|
596
596
|
console.log("Pushing translations with options:", options);
|
|
597
597
|
if (!zTranslationUpdateTypeSchema.safeParse(options.type).success) {
|
package/dist/index.mjs
CHANGED
|
@@ -568,7 +568,7 @@ var zTranslationUpdateSchema = z.object({
|
|
|
568
568
|
});
|
|
569
569
|
|
|
570
570
|
// src/commands/translations/push/index.ts
|
|
571
|
-
var translationsPushCommand = new Command5("push").argument("<locale>", "Locale to push").description("Push locale translations to Localess").requiredOption("-p, --path <path>", "Path to the translations file to push").option("-f, --format <format>", `File format. Possible values are : ${Object.values(TranslationFileFormat)}`, "flat" /* FLAT */).option("-t, --type <type>", `Push type. Possible values are : ${Object.values(TranslationUpdateType)}`, "add-missing" /* ADD_MISSING */).option("
|
|
571
|
+
var translationsPushCommand = new Command5("push").argument("<locale>", "Locale to push").description("Push locale translations to Localess").requiredOption("-p, --path <path>", "Path to the translations file to push").option("-f, --format <format>", `File format. Possible values are : ${Object.values(TranslationFileFormat)}`, "flat" /* FLAT */).option("-t, --type <type>", `Push type. Possible values are : ${Object.values(TranslationUpdateType)}`, "add-missing" /* ADD_MISSING */).option("--dry-run", "Preview changes without applying them to Localess").action(async (locale, options) => {
|
|
572
572
|
console.log("Pushing translations with arguments:", locale);
|
|
573
573
|
console.log("Pushing translations with options:", options);
|
|
574
574
|
if (!zTranslationUpdateTypeSchema.safeParse(options.type).success) {
|