@fern-api/fern-api-dev 5.23.3-1220-g1df406742cc → 5.23.3-1224-g52fda336127

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 +33 -28
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -688639,7 +688639,7 @@ var AccessTokenPosthogManager = class {
688639
688639
  properties: {
688640
688640
  ...event,
688641
688641
  ...event.properties,
688642
- version: "5.23.3-1220-g1df406742cc",
688642
+ version: "5.23.3-1224-g52fda336127",
688643
688643
  usingAccessToken: true,
688644
688644
  ...getRunIdProperties()
688645
688645
  }
@@ -688705,7 +688705,7 @@ var UserPosthogManager = class {
688705
688705
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
688706
688706
  event: "CLI",
688707
688707
  properties: {
688708
- version: "5.23.3-1220-g1df406742cc",
688708
+ version: "5.23.3-1224-g52fda336127",
688709
688709
  ...event,
688710
688710
  ...event.properties,
688711
688711
  usingAccessToken: false,
@@ -841880,8 +841880,8 @@ __export(rules_exports, {
841880
841880
  CHANGELOG_FEED_ALLOWED_SLUGS: () => CHANGELOG_FEED_ALLOWED_SLUGS,
841881
841881
  FilepathsExistRule: () => FilepathsExistRule,
841882
841882
  MissingRedirectsRule: () => MissingRedirectsRule,
841883
+ NavigationConflicts: () => NavigationConflicts,
841883
841884
  NoCircularRedirectsRule: () => NoCircularRedirectsRule,
841884
- OnlyVersionedNavigation: () => OnlyVersionedNavigation,
841885
841885
  TabWithHrefRule: () => TabWithHrefRule,
841886
841886
  TranslationDirectoriesExistRule: () => TranslationDirectoriesExistRule,
841887
841887
  ValidChangelogSlugRule: () => ValidChangelogSlugRule,
@@ -842747,6 +842747,31 @@ function makeSkipVisitor(fetchResult) {
842747
842747
  }
842748
842748
  }
842749
842749
 
842750
+ // ../yaml/docs-validator/lib/rules/navigation-conflicts/navigation-conflicts.js
842751
+ var NavigationConflicts = {
842752
+ name: "navigation-conflicts",
842753
+ create: () => {
842754
+ return {
842755
+ file: async ({ config: config5 }) => {
842756
+ const violations = [];
842757
+ if (config5.navigation != null && config5.versions != null) {
842758
+ violations.push({
842759
+ severity: "fatal",
842760
+ message: "Cannot contain both navigation and versions. If you want versioned docs, use versions. Otherwise use navigation."
842761
+ });
842762
+ }
842763
+ if (config5.navigation != null && config5.products != null) {
842764
+ violations.push({
842765
+ severity: "fatal",
842766
+ message: "Cannot contain both navigation and products. If you want multi-product docs, define navigation inside each product file. Otherwise use navigation."
842767
+ });
842768
+ }
842769
+ return violations;
842770
+ }
842771
+ };
842772
+ }
842773
+ };
842774
+
842750
842775
  // ../yaml/docs-validator/lib/rules/no-circular-redirects/no-circular-redirects.js
842751
842776
  function normalizeRedirectPath(path119) {
842752
842777
  if (path119 !== "/" && path119.endsWith("/")) {
@@ -842844,26 +842869,6 @@ var NoCircularRedirectsRule = {
842844
842869
  }
842845
842870
  };
842846
842871
 
842847
- // ../yaml/docs-validator/lib/rules/only-versioned-navigation/only-versioned-navigation.js
842848
- var OnlyVersionedNavigation = {
842849
- name: "only-versioned-navigation",
842850
- create: () => {
842851
- return {
842852
- file: async ({ config: config5 }) => {
842853
- if (config5.navigation != null && config5.versions != null) {
842854
- return [
842855
- {
842856
- severity: "fatal",
842857
- message: "Cannot contain both navigation and versions. If you want versioned docs, use versions. Otherwise use navigation."
842858
- }
842859
- ];
842860
- }
842861
- return [];
842862
- }
842863
- };
842864
- }
842865
- };
842866
-
842867
842872
  // ../yaml/docs-validator/lib/rules/tab-with-href/index.js
842868
842873
  var TabWithHrefRule = {
842869
842874
  name: "tab-with-href",
@@ -865977,7 +865982,7 @@ var allRules = [
865977
865982
  // Check non-component references (will skip v2 files)
865978
865983
  ValidLocalReferencesRule,
865979
865984
  // Validate that local references actually exist
865980
- OnlyVersionedNavigation,
865985
+ NavigationConflicts,
865981
865986
  ValidateVersionFileRule,
865982
865987
  ValidateProductFileRule,
865983
865988
  ValidInstanceUrlRule,
@@ -869801,7 +869806,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
869801
869806
  var LOGS_FOLDER_NAME = "logs";
869802
869807
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
869803
869808
  function getCliSource() {
869804
- const version7 = "5.23.3-1220-g1df406742cc";
869809
+ const version7 = "5.23.3-1224-g52fda336127";
869805
869810
  return `cli@${version7}`;
869806
869811
  }
869807
869812
  var DebugLogger = class {
@@ -902363,7 +902368,7 @@ var LegacyDocsPublisher = class {
902363
902368
  previewId,
902364
902369
  disableTemplates: void 0,
902365
902370
  skipUpload,
902366
- cliVersion: "5.23.3-1220-g1df406742cc",
902371
+ cliVersion: "5.23.3-1224-g52fda336127",
902367
902372
  loginCommand: "fern auth login"
902368
902373
  });
902369
902374
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -968692,7 +968697,7 @@ function getAutomationContextFromEnv() {
968692
968697
  config_branch: process.env.FERN_CONFIG_BRANCH,
968693
968698
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
968694
968699
  trigger: process.env.GITHUB_EVENT_NAME,
968695
- cli_version: "5.23.3-1220-g1df406742cc"
968700
+ cli_version: "5.23.3-1224-g52fda336127"
968696
968701
  };
968697
968702
  }
968698
968703
  function isAutomationMode() {
@@ -969524,7 +969529,7 @@ var CliContext = class _CliContext {
969524
969529
  if (false) {
969525
969530
  this.logger.error("CLI_VERSION is not defined");
969526
969531
  }
969527
- return "5.23.3-1220-g1df406742cc";
969532
+ return "5.23.3-1224-g52fda336127";
969528
969533
  }
969529
969534
  getCliName() {
969530
969535
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-1220-g1df406742cc",
2
+ "version": "5.23.3-1224-g52fda336127",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",