lingo.dev 0.117.18 → 0.117.20
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/build/cli.cjs +10 -2
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +10 -2
- package/build/cli.mjs.map +1 -1
- package/package.json +4 -4
package/build/cli.mjs
CHANGED
|
@@ -10866,7 +10866,7 @@ var { machineIdSync } = pkg;
|
|
|
10866
10866
|
var POSTHOG_API_KEY = "phc_eR0iSoQufBxNY36k0f0T15UvHJdTfHlh8rJcxsfhfXk";
|
|
10867
10867
|
var POSTHOG_HOST = "eu.i.posthog.com";
|
|
10868
10868
|
var POSTHOG_PATH = "/i/v0/e/";
|
|
10869
|
-
var REQUEST_TIMEOUT_MS =
|
|
10869
|
+
var REQUEST_TIMEOUT_MS = 3e3;
|
|
10870
10870
|
var TRACKING_VERSION = "2.0";
|
|
10871
10871
|
function determineDistinctId(providedId) {
|
|
10872
10872
|
if (providedId) {
|
|
@@ -11138,6 +11138,7 @@ var i18n_default = new Command14().command("i18n").description(
|
|
|
11138
11138
|
errorCount: 1,
|
|
11139
11139
|
stage: "flag_validation"
|
|
11140
11140
|
});
|
|
11141
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
11141
11142
|
throw parseError;
|
|
11142
11143
|
}
|
|
11143
11144
|
if (flags.debug) {
|
|
@@ -11527,6 +11528,7 @@ var i18n_default = new Command14().command("i18n").description(
|
|
|
11527
11528
|
localeCount: targetLocales.length,
|
|
11528
11529
|
processedSuccessfully: true
|
|
11529
11530
|
});
|
|
11531
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
11530
11532
|
} else {
|
|
11531
11533
|
ora.warn("Localization completed with errors.");
|
|
11532
11534
|
await trackEvent(authId, "cmd.i18n.error", {
|
|
@@ -11538,6 +11540,7 @@ var i18n_default = new Command14().command("i18n").description(
|
|
|
11538
11540
|
i18nConfig
|
|
11539
11541
|
)
|
|
11540
11542
|
});
|
|
11543
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
11541
11544
|
}
|
|
11542
11545
|
} catch (error) {
|
|
11543
11546
|
ora.fail(error.message);
|
|
@@ -11566,6 +11569,7 @@ var i18n_default = new Command14().command("i18n").description(
|
|
|
11566
11569
|
errorCount: errorDetails.length + 1,
|
|
11567
11570
|
previousErrors: createPreviousErrorContext(errorDetails)
|
|
11568
11571
|
});
|
|
11572
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
11569
11573
|
}
|
|
11570
11574
|
});
|
|
11571
11575
|
function parseFlags(options) {
|
|
@@ -13310,8 +13314,10 @@ var run_default = new Command18().command("run").description("Run localization p
|
|
|
13310
13314
|
config: ctx.config,
|
|
13311
13315
|
flags: ctx.flags
|
|
13312
13316
|
});
|
|
13317
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
13313
13318
|
} catch (error) {
|
|
13314
13319
|
await trackEvent(authId, "cmd.run.error", {});
|
|
13320
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
13315
13321
|
if (args.sound) {
|
|
13316
13322
|
await playSound("failure");
|
|
13317
13323
|
}
|
|
@@ -14561,6 +14567,7 @@ var status_default = new Command20().command("status").description("Show the sta
|
|
|
14561
14567
|
totalWordsToTranslate,
|
|
14562
14568
|
authenticated: !!authId
|
|
14563
14569
|
});
|
|
14570
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
14564
14571
|
exitGracefully();
|
|
14565
14572
|
} catch (error) {
|
|
14566
14573
|
ora.fail(error.message);
|
|
@@ -14569,6 +14576,7 @@ var status_default = new Command20().command("status").description("Show the sta
|
|
|
14569
14576
|
error: error.message,
|
|
14570
14577
|
authenticated: !!authId
|
|
14571
14578
|
});
|
|
14579
|
+
await new Promise((resolve) => setTimeout(resolve, 50));
|
|
14572
14580
|
process.exit(1);
|
|
14573
14581
|
}
|
|
14574
14582
|
});
|
|
@@ -14706,7 +14714,7 @@ async function renderHero2() {
|
|
|
14706
14714
|
// package.json
|
|
14707
14715
|
var package_default = {
|
|
14708
14716
|
name: "lingo.dev",
|
|
14709
|
-
version: "0.117.
|
|
14717
|
+
version: "0.117.20",
|
|
14710
14718
|
description: "Lingo.dev CLI",
|
|
14711
14719
|
private: false,
|
|
14712
14720
|
repository: {
|