fern-api 0.17.4 → 0.17.6

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.
Files changed (2) hide show
  1. package/bundle.cjs +5 -8
  2. 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/",
@@ -731706,7 +731705,6 @@ function getGithubPublishInfo(output) {
731706
731705
  }
731707
731706
  });
731708
731707
  case "nuget":
731709
- throw new Error("Nuget is not supported");
731710
731708
  case "rubygems":
731711
731709
  return import_fiddle_sdk.FernFiddle.GithubPublishInfo.rubygems({
731712
731710
  registryUrl: output.url ?? "https://rubygems.org/",
@@ -735189,7 +735187,7 @@ var AccessTokenPosthogManager = class {
735189
735187
  properties: {
735190
735188
  ...event,
735191
735189
  ...event.properties,
735192
- version: "0.17.4",
735190
+ version: "0.17.6",
735193
735191
  usingAccessToken: true
735194
735192
  }
735195
735193
  });
@@ -735251,7 +735249,7 @@ var UserPosthogManager = class {
735251
735249
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
735252
735250
  event: "CLI",
735253
735251
  properties: {
735254
- version: "0.17.4",
735252
+ version: "0.17.6",
735255
735253
  ...event,
735256
735254
  ...event.properties
735257
735255
  }
@@ -761103,10 +761101,10 @@ var CliContext = class {
761103
761101
  return "fern-api";
761104
761102
  }
761105
761103
  getPackageVersion() {
761106
- if ("0.17.4" == null) {
761104
+ if ("0.17.6" == null) {
761107
761105
  this.logger.error("CLI_VERSION is not defined");
761108
761106
  }
761109
- return "0.17.4";
761107
+ return "0.17.6";
761110
761108
  }
761111
761109
  getCliName() {
761112
761110
  if ("fern" == null) {
@@ -762405,7 +762403,6 @@ var RESERVED_KEYWORDS = {
762405
762403
  };
762406
762404
 
762407
762405
  // pnp:/home/circleci/project/packages/cli/generation/ir-generator/lib/casings/CasingsGenerator.js
762408
- var CAPITALIZE_INITIALISM = ["go", "ruby"];
762409
762406
  function constructCasingsGenerator({ generationLanguage, smartCasing }) {
762410
762407
  const casingsGenerator = {
762411
762408
  generateName: (name2) => {
@@ -762418,7 +762415,7 @@ function constructCasingsGenerator({ generationLanguage, smartCasing }) {
762418
762415
  let snakeCaseName = snakeCase_default(name2);
762419
762416
  const camelCaseWords = words_default(camelCaseName);
762420
762417
  if (smartCasing) {
762421
- if (!hasAdjacentCommonInitialisms(camelCaseWords) && (generationLanguage == null || CAPITALIZE_INITIALISM.includes(generationLanguage))) {
762418
+ if (!hasAdjacentCommonInitialisms(camelCaseWords)) {
762422
762419
  camelCaseName = camelCaseWords.map((word, index2) => {
762423
762420
  if (index2 > 0) {
762424
762421
  const pluralInitialism = maybeGetPluralInitialism(word);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fern-api",
3
- "version": "0.17.4",
3
+ "version": "0.17.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/fern-api/fern.git",