@vocoder/cli 0.8.0 → 0.9.0
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.
|
@@ -43584,7 +43584,8 @@ function detectLocalEcosystem(cwd = process.cwd()) {
|
|
|
43584
43584
|
hasExtractor: false,
|
|
43585
43585
|
hasConfig: false,
|
|
43586
43586
|
hasUiPackage: false,
|
|
43587
|
-
sourceLocale: null
|
|
43587
|
+
sourceLocale: null,
|
|
43588
|
+
isTypeScript: existsSync(join(cwd, "tsconfig.json"))
|
|
43588
43589
|
};
|
|
43589
43590
|
}
|
|
43590
43591
|
const allDeps = {
|
|
@@ -43594,6 +43595,7 @@ function detectLocalEcosystem(cwd = process.cwd()) {
|
|
|
43594
43595
|
const hasUnplugin = "@vocoder/plugin" in allDeps;
|
|
43595
43596
|
const hasExtractor = "@vocoder/extractor" in allDeps;
|
|
43596
43597
|
const hasConfig = "@vocoder/config" in allDeps;
|
|
43598
|
+
const isTypeScript = existsSync(join(cwd, "tsconfig.json")) || "typescript" in allDeps;
|
|
43597
43599
|
const { ecosystem, framework, uiPackage } = detectFromDeps(allDeps, cwd);
|
|
43598
43600
|
const hasUiPackage = uiPackage !== null && uiPackage in allDeps;
|
|
43599
43601
|
return {
|
|
@@ -43605,7 +43607,8 @@ function detectLocalEcosystem(cwd = process.cwd()) {
|
|
|
43605
43607
|
hasExtractor,
|
|
43606
43608
|
hasConfig,
|
|
43607
43609
|
hasUiPackage,
|
|
43608
|
-
sourceLocale: null
|
|
43610
|
+
sourceLocale: null,
|
|
43611
|
+
isTypeScript
|
|
43609
43612
|
};
|
|
43610
43613
|
}
|
|
43611
43614
|
function detectPackageManager(cwd) {
|
|
@@ -50562,7 +50565,7 @@ var StringExtractor = class {
|
|
|
50562
50565
|
}
|
|
50563
50566
|
}
|
|
50564
50567
|
if (isOrdinal) {
|
|
50565
|
-
const ordinalICU = "{count, selectordinal,
|
|
50568
|
+
const ordinalICU = "{count, selectordinal, other {#}}";
|
|
50566
50569
|
if (hasGender) {
|
|
50567
50570
|
return `{gender, select, masculine {${ordinalICU}} feminine {${ordinalICU}} other {${ordinalICU}}}`;
|
|
50568
50571
|
}
|
|
@@ -50635,4 +50638,4 @@ export {
|
|
|
50635
50638
|
loadVocoderConfig,
|
|
50636
50639
|
StringExtractor
|
|
50637
50640
|
};
|
|
50638
|
-
//# sourceMappingURL=chunk-
|
|
50641
|
+
//# sourceMappingURL=chunk-IZN5HVYD.mjs.map
|