@fern-api/fern-api-dev 5.23.3-144-gf5c0db9c361 → 5.23.3-146-g1ff699af452
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 +10 -12
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -369696,18 +369696,16 @@ var require_pushSignedCommit = __commonJS({
|
|
|
369696
369696
|
await repository.pushObjectToRef(localHeadSha, tempRef);
|
|
369697
369697
|
tempRefPushed = true;
|
|
369698
369698
|
for (let attempt = 0; attempt < MAX_CONCURRENT_PUSH_RETRIES; attempt++) {
|
|
369699
|
-
const
|
|
369700
|
-
|
|
369701
|
-
email: author?.email ?? constants_1.FERN_BOT_EMAIL
|
|
369702
|
-
};
|
|
369699
|
+
const resolvedAuthor = author ?? { name: constants_1.FERN_BOT_NAME, email: constants_1.FERN_BOT_EMAIL };
|
|
369700
|
+
const committerField = author != null ? { committer: author } : {};
|
|
369703
369701
|
const { data: signedCommit } = await octokit.git.createCommit({
|
|
369704
369702
|
owner,
|
|
369705
369703
|
repo,
|
|
369706
369704
|
message,
|
|
369707
369705
|
tree: treeSha,
|
|
369708
369706
|
parents,
|
|
369709
|
-
author:
|
|
369710
|
-
|
|
369707
|
+
author: resolvedAuthor,
|
|
369708
|
+
...committerField
|
|
369711
369709
|
});
|
|
369712
369710
|
const signedSha = signedCommit.sha;
|
|
369713
369711
|
try {
|
|
@@ -667961,7 +667959,7 @@ var AccessTokenPosthogManager = class {
|
|
|
667961
667959
|
properties: {
|
|
667962
667960
|
...event,
|
|
667963
667961
|
...event.properties,
|
|
667964
|
-
version: "5.23.3-
|
|
667962
|
+
version: "5.23.3-146-g1ff699af452",
|
|
667965
667963
|
usingAccessToken: true,
|
|
667966
667964
|
...getRunIdProperties()
|
|
667967
667965
|
}
|
|
@@ -668025,7 +668023,7 @@ var UserPosthogManager = class {
|
|
|
668025
668023
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
668026
668024
|
event: "CLI",
|
|
668027
668025
|
properties: {
|
|
668028
|
-
version: "5.23.3-
|
|
668026
|
+
version: "5.23.3-146-g1ff699af452",
|
|
668029
668027
|
...event,
|
|
668030
668028
|
...event.properties,
|
|
668031
668029
|
usingAccessToken: false,
|
|
@@ -859736,7 +859734,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
859736
859734
|
var LOGS_FOLDER_NAME = "logs";
|
|
859737
859735
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
859738
859736
|
function getCliSource() {
|
|
859739
|
-
const version7 = "5.23.3-
|
|
859737
|
+
const version7 = "5.23.3-146-g1ff699af452";
|
|
859740
859738
|
return `cli@${version7}`;
|
|
859741
859739
|
}
|
|
859742
859740
|
var DebugLogger = class {
|
|
@@ -878472,7 +878470,7 @@ var LegacyDocsPublisher = class {
|
|
|
878472
878470
|
previewId,
|
|
878473
878471
|
disableTemplates: void 0,
|
|
878474
878472
|
skipUpload,
|
|
878475
|
-
cliVersion: "5.23.3-
|
|
878473
|
+
cliVersion: "5.23.3-146-g1ff699af452",
|
|
878476
878474
|
loginCommand: "fern auth login"
|
|
878477
878475
|
});
|
|
878478
878476
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -952872,7 +952870,7 @@ function getAutomationContextFromEnv() {
|
|
|
952872
952870
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
952873
952871
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
952874
952872
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
952875
|
-
cli_version: "5.23.3-
|
|
952873
|
+
cli_version: "5.23.3-146-g1ff699af452"
|
|
952876
952874
|
};
|
|
952877
952875
|
}
|
|
952878
952876
|
function isAutomationMode() {
|
|
@@ -953698,7 +953696,7 @@ var CliContext = class _CliContext {
|
|
|
953698
953696
|
if (false) {
|
|
953699
953697
|
this.logger.error("CLI_VERSION is not defined");
|
|
953700
953698
|
}
|
|
953701
|
-
return "5.23.3-
|
|
953699
|
+
return "5.23.3-146-g1ff699af452";
|
|
953702
953700
|
}
|
|
953703
953701
|
getCliName() {
|
|
953704
953702
|
if (false) {
|
package/package.json
CHANGED