@fern-api/fern-api-dev 3.30.5 → 3.30.6
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 +23 -22
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1413665,7 +1413665,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1413665
1413665
|
properties: {
|
|
1413666
1413666
|
...event,
|
|
1413667
1413667
|
...event.properties,
|
|
1413668
|
-
version: "3.30.
|
|
1413668
|
+
version: "3.30.6",
|
|
1413669
1413669
|
usingAccessToken: true
|
|
1413670
1413670
|
}
|
|
1413671
1413671
|
});
|
|
@@ -1413764,7 +1413764,7 @@ var UserPosthogManager = class {
|
|
|
1413764
1413764
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1413765
1413765
|
event: "CLI",
|
|
1413766
1413766
|
properties: {
|
|
1413767
|
-
version: "3.30.
|
|
1413767
|
+
version: "3.30.6",
|
|
1413768
1413768
|
...event,
|
|
1413769
1413769
|
...event.properties,
|
|
1413770
1413770
|
usingAccessToken: false,
|
|
@@ -1493831,7 +1493831,7 @@ var CliContext = class {
|
|
|
1493831
1493831
|
if (false) {
|
|
1493832
1493832
|
this.logger.error("CLI_VERSION is not defined");
|
|
1493833
1493833
|
}
|
|
1493834
|
-
return "3.30.
|
|
1493834
|
+
return "3.30.6";
|
|
1493835
1493835
|
}
|
|
1493836
1493836
|
getCliName() {
|
|
1493837
1493837
|
if (false) {
|
|
@@ -1588688,7 +1588688,7 @@ var import_path35 = __toESM(require("path"), 1);
|
|
|
1588688
1588688
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1588689
1588689
|
var LOGS_FOLDER_NAME = "logs";
|
|
1588690
1588690
|
function getCliSource() {
|
|
1588691
|
-
const version6 = "3.30.
|
|
1588691
|
+
const version6 = "3.30.6";
|
|
1588692
1588692
|
return `cli@${version6}`;
|
|
1588693
1588693
|
}
|
|
1588694
1588694
|
var DebugLogger = class {
|
|
@@ -1622722,23 +1622722,6 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
|
|
|
1622722
1622722
|
interactiveTaskContext.logger.debug("Setting IR source configuration ...");
|
|
1622723
1622723
|
ir14.sourceConfig = sourceConfig;
|
|
1622724
1622724
|
}
|
|
1622725
|
-
if (generatorInvocation.language != null && packageName != null && resolvedVersion != null && !isPreview) {
|
|
1622726
|
-
try {
|
|
1622727
|
-
await uploadDynamicIRForSdkGeneration({
|
|
1622728
|
-
fdr,
|
|
1622729
|
-
organization,
|
|
1622730
|
-
version: resolvedVersion,
|
|
1622731
|
-
language: generatorInvocation.language,
|
|
1622732
|
-
packageName,
|
|
1622733
|
-
ir: ir14,
|
|
1622734
|
-
smartCasing: generatorInvocation.smartCasing,
|
|
1622735
|
-
dynamicGeneratorConfig,
|
|
1622736
|
-
context: interactiveTaskContext
|
|
1622737
|
-
});
|
|
1622738
|
-
} catch (error2) {
|
|
1622739
|
-
interactiveTaskContext.logger.warn(`Failed to upload dynamic IR for SDK generation: ${error2 instanceof Error ? error2.message : String(error2)}`);
|
|
1622740
|
-
}
|
|
1622741
|
-
}
|
|
1622742
1622725
|
const job = await createAndStartJob({
|
|
1622743
1622726
|
projectConfig,
|
|
1622744
1622727
|
workspace,
|
|
@@ -1622772,12 +1622755,30 @@ async function runRemoteGenerationForGenerator({ projectConfig, organization, wo
|
|
|
1622772
1622755
|
interactiveTaskContext,
|
|
1622773
1622756
|
absolutePathToPreview
|
|
1622774
1622757
|
});
|
|
1622775
|
-
|
|
1622758
|
+
const result = await pollJobAndReportStatus({
|
|
1622776
1622759
|
job,
|
|
1622777
1622760
|
taskHandler,
|
|
1622778
1622761
|
taskId,
|
|
1622779
1622762
|
context: interactiveTaskContext
|
|
1622780
1622763
|
});
|
|
1622764
|
+
if (result != null && generatorInvocation.language != null && packageName != null && resolvedVersion != null && !isPreview) {
|
|
1622765
|
+
try {
|
|
1622766
|
+
await uploadDynamicIRForSdkGeneration({
|
|
1622767
|
+
fdr,
|
|
1622768
|
+
organization,
|
|
1622769
|
+
version: resolvedVersion,
|
|
1622770
|
+
language: generatorInvocation.language,
|
|
1622771
|
+
packageName,
|
|
1622772
|
+
ir: ir14,
|
|
1622773
|
+
smartCasing: generatorInvocation.smartCasing,
|
|
1622774
|
+
dynamicGeneratorConfig,
|
|
1622775
|
+
context: interactiveTaskContext
|
|
1622776
|
+
});
|
|
1622777
|
+
} catch (error2) {
|
|
1622778
|
+
interactiveTaskContext.logger.warn(`Failed to upload dynamic IR for SDK generation: ${error2 instanceof Error ? error2.message : String(error2)}`);
|
|
1622779
|
+
}
|
|
1622780
|
+
}
|
|
1622781
|
+
return result;
|
|
1622781
1622782
|
}
|
|
1622782
1622783
|
function getPublishConfig({ generatorInvocation }) {
|
|
1622783
1622784
|
return generatorInvocation.outputMode._visit({
|
package/package.json
CHANGED