@fern-api/fern-api-dev 5.65.6 → 5.65.7
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/cli.cjs +39 -29
- 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.65.
|
|
688642
|
+
version: "5.65.7",
|
|
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.65.
|
|
688708
|
+
version: "5.65.7",
|
|
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
|
-
|
|
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.65.
|
|
869809
|
+
const version7 = "5.65.7";
|
|
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.65.
|
|
902371
|
+
cliVersion: "5.65.7",
|
|
902367
902372
|
loginCommand: "fern auth login"
|
|
902368
902373
|
});
|
|
902369
902374
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -952320,7 +952325,9 @@ var TypescriptCustomConfigSchema = external_exports2.strictObject({
|
|
|
952320
952325
|
bundle: external_exports2.optional(external_exports2.boolean()),
|
|
952321
952326
|
allowCustomFetcher: external_exports2.optional(external_exports2.boolean()),
|
|
952322
952327
|
generateWebSocketClients: external_exports2.optional(external_exports2.boolean()),
|
|
952323
|
-
|
|
952328
|
+
// Default request timeout, expressed in milliseconds (idiomatic for JS/TS, e.g.
|
|
952329
|
+
// `setTimeout` / `AbortSignal.timeout(ms)`). Use "infinity" to disable the timeout.
|
|
952330
|
+
defaultTimeout: external_exports2.optional(external_exports2.union([external_exports2.literal("infinity"), external_exports2.number()])),
|
|
952324
952331
|
skipResponseValidation: external_exports2.optional(external_exports2.boolean()),
|
|
952325
952332
|
extraDependencies: external_exports2.optional(external_exports2.record(external_exports2.string())),
|
|
952326
952333
|
extraDevDependencies: external_exports2.optional(external_exports2.record(external_exports2.string())),
|
|
@@ -952384,6 +952391,9 @@ var TypescriptCustomConfigSchema = external_exports2.strictObject({
|
|
|
952384
952391
|
skipNpmPkgFix: external_exports2.optional(external_exports2.boolean()),
|
|
952385
952392
|
experimentalGenerateReadWriteOnlyTypes: external_exports2.optional(external_exports2.boolean()),
|
|
952386
952393
|
// deprecated
|
|
952394
|
+
// @deprecated Use `defaultTimeout` (milliseconds) instead. Converted to milliseconds (× 1000).
|
|
952395
|
+
defaultTimeoutInSeconds: external_exports2.optional(external_exports2.union([external_exports2.literal("infinity"), external_exports2.number()])),
|
|
952396
|
+
// @deprecated Use `defaultTimeout` (milliseconds) instead. Converted to milliseconds (× 1000).
|
|
952387
952397
|
timeoutInSeconds: external_exports2.optional(external_exports2.union([external_exports2.literal("infinity"), external_exports2.number()])),
|
|
952388
952398
|
includeApiReference: external_exports2.optional(external_exports2.boolean()),
|
|
952389
952399
|
// @deprecated Use generateWebSocketClients instead
|
|
@@ -968687,7 +968697,7 @@ function getAutomationContextFromEnv() {
|
|
|
968687
968697
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
968688
968698
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
968689
968699
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
968690
|
-
cli_version: "5.65.
|
|
968700
|
+
cli_version: "5.65.7"
|
|
968691
968701
|
};
|
|
968692
968702
|
}
|
|
968693
968703
|
function isAutomationMode() {
|
|
@@ -969519,7 +969529,7 @@ var CliContext = class _CliContext {
|
|
|
969519
969529
|
if (false) {
|
|
969520
969530
|
this.logger.error("CLI_VERSION is not defined");
|
|
969521
969531
|
}
|
|
969522
|
-
return "5.65.
|
|
969532
|
+
return "5.65.7";
|
|
969523
969533
|
}
|
|
969524
969534
|
getCliName() {
|
|
969525
969535
|
if (false) {
|
package/package.json
CHANGED