@fern-api/fern-api-dev 5.120.4 → 5.120.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.
Files changed (2) hide show
  1. package/cli.cjs +18 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -475537,6 +475537,16 @@ function createEditThisPageUrl(editThisPage, pageFilepath) {
475537
475537
  const url3 = `${wrapWithHttps(host)}/${owner}/${repo}/blob/${branch}/fern/${pageFilepath}?plain=1`;
475538
475538
  return { url: url3, launch: launch4 };
475539
475539
  }
475540
+ function convertThemeTabs(tabs) {
475541
+ if (tabs == null || typeof tabs === "string") {
475542
+ return tabs;
475543
+ }
475544
+ return {
475545
+ style: tabs.style,
475546
+ alignment: tabs.alignment?.toUpperCase(),
475547
+ placement: tabs.placement?.toUpperCase()
475548
+ };
475549
+ }
475540
475550
  function convertAvailability5(availability) {
475541
475551
  switch (availability) {
475542
475552
  case "beta":
@@ -476287,7 +476297,7 @@ var init_DocsDefinitionResolver = __esm({
476287
476297
  theme: this.parsedDocsConfig.theme != null ? {
476288
476298
  sidebar: this.parsedDocsConfig.theme.sidebar,
476289
476299
  body: this.parsedDocsConfig.theme.body,
476290
- tabs: this.parsedDocsConfig.theme.tabs,
476300
+ tabs: convertThemeTabs(this.parsedDocsConfig.theme.tabs),
476291
476301
  "page-actions": this.parsedDocsConfig.theme.pageActions,
476292
476302
  footerNav: this.parsedDocsConfig.theme.footerNav,
476293
476303
  "language-switcher": this.parsedDocsConfig.theme.languageSwitcher,
@@ -706740,7 +706750,7 @@ var AccessTokenPosthogManager = class {
706740
706750
  properties: {
706741
706751
  ...event,
706742
706752
  ...event.properties,
706743
- version: "5.120.4",
706753
+ version: "5.120.5",
706744
706754
  usingAccessToken: true,
706745
706755
  ...getRunIdProperties()
706746
706756
  }
@@ -706806,7 +706816,7 @@ var UserPosthogManager = class {
706806
706816
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
706807
706817
  event: "CLI",
706808
706818
  properties: {
706809
- version: "5.120.4",
706819
+ version: "5.120.5",
706810
706820
  ...event,
706811
706821
  ...event.properties,
706812
706822
  usingAccessToken: false,
@@ -888509,7 +888519,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
888509
888519
  var LOGS_FOLDER_NAME = "logs";
888510
888520
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
888511
888521
  function getCliSource() {
888512
- const version7 = "5.120.4";
888522
+ const version7 = "5.120.5";
888513
888523
  return `cli@${version7}`;
888514
888524
  }
888515
888525
  var DebugLogger = class {
@@ -915857,7 +915867,7 @@ var LegacyDocsPublisher = class {
915857
915867
  previewId,
915858
915868
  disableTemplates: void 0,
915859
915869
  skipUpload,
915860
- cliVersion: "5.120.4",
915870
+ cliVersion: "5.120.5",
915861
915871
  loginCommand: "fern auth login"
915862
915872
  });
915863
915873
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -966885,6 +966895,7 @@ var NamingConfigSchema = external_exports2.union([jsIdentifier, NamingObjectSche
966885
966895
  var TypescriptCustomConfigSchema = external_exports2.strictObject({
966886
966896
  neverThrowErrors: external_exports2.optional(external_exports2.boolean()),
966887
966897
  outputEsm: external_exports2.optional(external_exports2.boolean()),
966898
+ esmOnly: external_exports2.optional(external_exports2.boolean()),
966888
966899
  outputSourceFiles: external_exports2.optional(external_exports2.boolean()),
966889
966900
  outputSrcOnly: external_exports2.optional(external_exports2.boolean()),
966890
966901
  includeCredentialsOnCrossOriginRequests: external_exports2.optional(external_exports2.boolean()),
@@ -983281,7 +983292,7 @@ function getAutomationContextFromEnv() {
983281
983292
  config_branch: process.env.FERN_CONFIG_BRANCH,
983282
983293
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
983283
983294
  trigger: process.env.GITHUB_EVENT_NAME,
983284
- cli_version: "5.120.4"
983295
+ cli_version: "5.120.5"
983285
983296
  };
983286
983297
  }
983287
983298
  function isAutomationMode() {
@@ -984113,7 +984124,7 @@ var CliContext = class _CliContext {
984113
984124
  if (false) {
984114
984125
  this.logger.error("CLI_VERSION is not defined");
984115
984126
  }
984116
- return "5.120.4";
984127
+ return "5.120.5";
984117
984128
  }
984118
984129
  getCliName() {
984119
984130
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.120.4",
2
+ "version": "5.120.5",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",