@fern-api/fern-api-dev 5.17.0 → 5.17.1
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 +6 -6
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -660880,7 +660880,7 @@ var AccessTokenPosthogManager = class {
|
|
|
660880
660880
|
properties: {
|
|
660881
660881
|
...event,
|
|
660882
660882
|
...event.properties,
|
|
660883
|
-
version: "5.17.
|
|
660883
|
+
version: "5.17.1",
|
|
660884
660884
|
usingAccessToken: true,
|
|
660885
660885
|
...getRunIdProperties()
|
|
660886
660886
|
}
|
|
@@ -660935,7 +660935,7 @@ var UserPosthogManager = class {
|
|
|
660935
660935
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
660936
660936
|
event: "CLI",
|
|
660937
660937
|
properties: {
|
|
660938
|
-
version: "5.17.
|
|
660938
|
+
version: "5.17.1",
|
|
660939
660939
|
...event,
|
|
660940
660940
|
...event.properties,
|
|
660941
660941
|
usingAccessToken: false,
|
|
@@ -851918,7 +851918,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
851918
851918
|
var LOGS_FOLDER_NAME = "logs";
|
|
851919
851919
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
851920
851920
|
function getCliSource() {
|
|
851921
|
-
const version7 = "5.17.
|
|
851921
|
+
const version7 = "5.17.1";
|
|
851922
851922
|
return `cli@${version7}`;
|
|
851923
851923
|
}
|
|
851924
851924
|
var DebugLogger = class {
|
|
@@ -863567,7 +863567,7 @@ function sanitizeRelativePathForS3(relativeFilePath) {
|
|
|
863567
863567
|
return relativeFilePath.replace(/\.\.\//g, "_dot_dot_/");
|
|
863568
863568
|
}
|
|
863569
863569
|
async function publishDocs({ token, organization, docsWorkspace, domain: domain3, customDomains, apiWorkspaces, ossWorkspaces, context: context3, preview, previewId, editThisPage, disableTemplates = false, skipUpload = false, withAiExamples = true, excludeApis = false, targetAudiences, docsUrl, cliVersion, ciSource, deployerAuthor, loginCommand = "fern login", multiSource = false }) {
|
|
863570
|
-
const fdrOrigin = "https://registry-dev2.buildwithfern.com";
|
|
863570
|
+
const fdrOrigin = process.env.FERN_FDR_ORIGIN ?? process.env.OVERRIDE_FDR_ORIGIN ?? "https://registry-dev2.buildwithfern.com" ?? "https://registry.buildwithfern.com";
|
|
863571
863571
|
const isAirGapped = await detectAirGappedMode(`${fdrOrigin}/health`, context3.logger);
|
|
863572
863572
|
if (isAirGapped) {
|
|
863573
863573
|
context3.logger.debug("Detected air-gapped environment - skipping external FDR service calls");
|
|
@@ -864727,7 +864727,7 @@ var LegacyDocsPublisher = class {
|
|
|
864727
864727
|
previewId,
|
|
864728
864728
|
disableTemplates: void 0,
|
|
864729
864729
|
skipUpload,
|
|
864730
|
-
cliVersion: "5.17.
|
|
864730
|
+
cliVersion: "5.17.1",
|
|
864731
864731
|
loginCommand: "fern auth login"
|
|
864732
864732
|
});
|
|
864733
864733
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -939305,7 +939305,7 @@ var CliContext = class _CliContext {
|
|
|
939305
939305
|
if (false) {
|
|
939306
939306
|
this.logger.error("CLI_VERSION is not defined");
|
|
939307
939307
|
}
|
|
939308
|
-
return "5.17.
|
|
939308
|
+
return "5.17.1";
|
|
939309
939309
|
}
|
|
939310
939310
|
getCliName() {
|
|
939311
939311
|
if (false) {
|
package/package.json
CHANGED