@fern-api/fern-api-dev 5.23.4 → 5.23.5
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 +13 -8
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -369328,9 +369328,14 @@ var require_createReplayBranch = __commonJS({
|
|
|
369328
369328
|
}
|
|
369329
369329
|
const parentSha = replayConflictInfo.previousGenerationSha;
|
|
369330
369330
|
await repository.createBranchFromHead(branchName);
|
|
369331
|
-
|
|
369332
|
-
|
|
369333
|
-
|
|
369331
|
+
try {
|
|
369332
|
+
const genTreeHash = await repository.getCommitTreeHash(replayConflictInfo.currentGenerationSha);
|
|
369333
|
+
const tagCommitSha = await repository.commitTree(genTreeHash, parentSha, `[fern-generated] ${commitMessage ?? "Update SDK"}`);
|
|
369334
|
+
return tagCommitSha;
|
|
369335
|
+
} catch (error50) {
|
|
369336
|
+
logger4.warn(`Could not create fern-generation-base tag commit: parent ${parentSha} is unreachable in this clone (likely on a squash-merged + deleted branch). Continuing without tag update. Underlying error: ${String(error50)}`);
|
|
369337
|
+
return void 0;
|
|
369338
|
+
}
|
|
369334
369339
|
}
|
|
369335
369340
|
}
|
|
369336
369341
|
});
|
|
@@ -667562,7 +667567,7 @@ var AccessTokenPosthogManager = class {
|
|
|
667562
667567
|
properties: {
|
|
667563
667568
|
...event,
|
|
667564
667569
|
...event.properties,
|
|
667565
|
-
version: "5.23.
|
|
667570
|
+
version: "5.23.5",
|
|
667566
667571
|
usingAccessToken: true,
|
|
667567
667572
|
...getRunIdProperties()
|
|
667568
667573
|
}
|
|
@@ -667617,7 +667622,7 @@ var UserPosthogManager = class {
|
|
|
667617
667622
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
667618
667623
|
event: "CLI",
|
|
667619
667624
|
properties: {
|
|
667620
|
-
version: "5.23.
|
|
667625
|
+
version: "5.23.5",
|
|
667621
667626
|
...event,
|
|
667622
667627
|
...event.properties,
|
|
667623
667628
|
usingAccessToken: false,
|
|
@@ -858897,7 +858902,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
858897
858902
|
var LOGS_FOLDER_NAME = "logs";
|
|
858898
858903
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
858899
858904
|
function getCliSource() {
|
|
858900
|
-
const version7 = "5.23.
|
|
858905
|
+
const version7 = "5.23.5";
|
|
858901
858906
|
return `cli@${version7}`;
|
|
858902
858907
|
}
|
|
858903
858908
|
var DebugLogger = class {
|
|
@@ -871721,7 +871726,7 @@ var LegacyDocsPublisher = class {
|
|
|
871721
871726
|
previewId,
|
|
871722
871727
|
disableTemplates: void 0,
|
|
871723
871728
|
skipUpload,
|
|
871724
|
-
cliVersion: "5.23.
|
|
871729
|
+
cliVersion: "5.23.5",
|
|
871725
871730
|
loginCommand: "fern auth login"
|
|
871726
871731
|
});
|
|
871727
871732
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -946466,7 +946471,7 @@ var CliContext = class _CliContext {
|
|
|
946466
946471
|
if (false) {
|
|
946467
946472
|
this.logger.error("CLI_VERSION is not defined");
|
|
946468
946473
|
}
|
|
946469
|
-
return "5.23.
|
|
946474
|
+
return "5.23.5";
|
|
946470
946475
|
}
|
|
946471
946476
|
getCliName() {
|
|
946472
946477
|
if (false) {
|
package/package.json
CHANGED