fern-api 0.17.4 → 0.17.5
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/bundle.cjs +5 -7
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -731637,7 +731637,6 @@ async function convertOutputMode({ absolutePathToGeneratorsConfiguration, genera
|
|
|
731637
731637
|
coordinate: generator.output["package-name"]
|
|
731638
731638
|
}));
|
|
731639
731639
|
case "nuget":
|
|
731640
|
-
throw new Error("Nuget is not supported");
|
|
731641
731640
|
case "rubygems":
|
|
731642
731641
|
return import_fiddle_sdk.FernFiddle.OutputMode.publishV2(import_fiddle_sdk.FernFiddle.remoteGen.PublishOutputModeV2.rubyGemsOverride({
|
|
731643
731642
|
registryUrl: generator.output.url ?? "https://rubygems.org/",
|
|
@@ -735189,7 +735188,7 @@ var AccessTokenPosthogManager = class {
|
|
|
735189
735188
|
properties: {
|
|
735190
735189
|
...event,
|
|
735191
735190
|
...event.properties,
|
|
735192
|
-
version: "0.17.
|
|
735191
|
+
version: "0.17.5",
|
|
735193
735192
|
usingAccessToken: true
|
|
735194
735193
|
}
|
|
735195
735194
|
});
|
|
@@ -735251,7 +735250,7 @@ var UserPosthogManager = class {
|
|
|
735251
735250
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
735252
735251
|
event: "CLI",
|
|
735253
735252
|
properties: {
|
|
735254
|
-
version: "0.17.
|
|
735253
|
+
version: "0.17.5",
|
|
735255
735254
|
...event,
|
|
735256
735255
|
...event.properties
|
|
735257
735256
|
}
|
|
@@ -761103,10 +761102,10 @@ var CliContext = class {
|
|
|
761103
761102
|
return "fern-api";
|
|
761104
761103
|
}
|
|
761105
761104
|
getPackageVersion() {
|
|
761106
|
-
if ("0.17.
|
|
761105
|
+
if ("0.17.5" == null) {
|
|
761107
761106
|
this.logger.error("CLI_VERSION is not defined");
|
|
761108
761107
|
}
|
|
761109
|
-
return "0.17.
|
|
761108
|
+
return "0.17.5";
|
|
761110
761109
|
}
|
|
761111
761110
|
getCliName() {
|
|
761112
761111
|
if ("fern" == null) {
|
|
@@ -762405,7 +762404,6 @@ var RESERVED_KEYWORDS = {
|
|
|
762405
762404
|
};
|
|
762406
762405
|
|
|
762407
762406
|
// pnp:/home/circleci/project/packages/cli/generation/ir-generator/lib/casings/CasingsGenerator.js
|
|
762408
|
-
var CAPITALIZE_INITIALISM = ["go", "ruby"];
|
|
762409
762407
|
function constructCasingsGenerator({ generationLanguage, smartCasing }) {
|
|
762410
762408
|
const casingsGenerator = {
|
|
762411
762409
|
generateName: (name2) => {
|
|
@@ -762418,7 +762416,7 @@ function constructCasingsGenerator({ generationLanguage, smartCasing }) {
|
|
|
762418
762416
|
let snakeCaseName = snakeCase_default(name2);
|
|
762419
762417
|
const camelCaseWords = words_default(camelCaseName);
|
|
762420
762418
|
if (smartCasing) {
|
|
762421
|
-
if (!hasAdjacentCommonInitialisms(camelCaseWords)
|
|
762419
|
+
if (!hasAdjacentCommonInitialisms(camelCaseWords)) {
|
|
762422
762420
|
camelCaseName = camelCaseWords.map((word, index2) => {
|
|
762423
762421
|
if (index2 > 0) {
|
|
762424
762422
|
const pluralInitialism = maybeGetPluralInitialism(word);
|