@fern-api/fern-api-dev 3.33.0 → 3.34.0
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 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1413765,7 +1413765,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1413765
1413765
|
properties: {
|
|
1413766
1413766
|
...event,
|
|
1413767
1413767
|
...event.properties,
|
|
1413768
|
-
version: "3.
|
|
1413768
|
+
version: "3.34.0",
|
|
1413769
1413769
|
usingAccessToken: true
|
|
1413770
1413770
|
}
|
|
1413771
1413771
|
});
|
|
@@ -1413864,7 +1413864,7 @@ var UserPosthogManager = class {
|
|
|
1413864
1413864
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1413865
1413865
|
event: "CLI",
|
|
1413866
1413866
|
properties: {
|
|
1413867
|
-
version: "3.
|
|
1413867
|
+
version: "3.34.0",
|
|
1413868
1413868
|
...event,
|
|
1413869
1413869
|
...event.properties,
|
|
1413870
1413870
|
usingAccessToken: false,
|
|
@@ -1493968,7 +1493968,7 @@ var CliContext = class {
|
|
|
1493968
1493968
|
if (false) {
|
|
1493969
1493969
|
this.logger.error("CLI_VERSION is not defined");
|
|
1493970
1493970
|
}
|
|
1493971
|
-
return "3.
|
|
1493971
|
+
return "3.34.0";
|
|
1493972
1493972
|
}
|
|
1493973
1493973
|
getCliName() {
|
|
1493974
1493974
|
if (false) {
|
|
@@ -1588848,7 +1588848,7 @@ var import_path35 = __toESM(require("path"), 1);
|
|
|
1588848
1588848
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1588849
1588849
|
var LOGS_FOLDER_NAME = "logs";
|
|
1588850
1588850
|
function getCliSource() {
|
|
1588851
|
-
const version6 = "3.
|
|
1588851
|
+
const version6 = "3.34.0";
|
|
1588852
1588852
|
return `cli@${version6}`;
|
|
1588853
1588853
|
}
|
|
1588854
1588854
|
var DebugLogger = class {
|
|
@@ -1623287,8 +1623287,7 @@ async function publishDocs({ token, organization, docsWorkspace, domain: domain2
|
|
|
1623287
1623287
|
let docsRegistrationId;
|
|
1623288
1623288
|
let urlToOutput = customDomains[0] ?? domain2;
|
|
1623289
1623289
|
const basePath = parseBasePath(domain2);
|
|
1623290
|
-
const
|
|
1623291
|
-
const disableSnippetGen = preview || useDynamicSnippets;
|
|
1623290
|
+
const disableDynamicSnippets = docsWorkspace.config.experimental && !docsWorkspace.config.experimental.dynamicSnippets;
|
|
1623292
1623291
|
const resolver2 = new DocsDefinitionResolver({
|
|
1623293
1623292
|
domain: domain2,
|
|
1623294
1623293
|
docsWorkspace,
|
|
@@ -1623411,7 +1623410,7 @@ async function publishDocs({ token, organization, docsWorkspace, domain: domain2
|
|
|
1623411
1623410
|
}
|
|
1623412
1623411
|
let dynamicIRsByLanguage;
|
|
1623413
1623412
|
let languagesWithExistingSdkDynamicIr = /* @__PURE__ */ new Set();
|
|
1623414
|
-
if (
|
|
1623413
|
+
if (!disableDynamicSnippets) {
|
|
1623415
1623414
|
const existingSdkDynamicIrs = await checkAndDownloadExistingSdkDynamicIRs({
|
|
1623416
1623415
|
fdr,
|
|
1623417
1623416
|
workspace,
|
package/package.json
CHANGED