@fern-api/fern-api-dev 5.23.3-750-g1245ade58d7 → 5.23.3-753-g54d1158768f
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 +8 -11
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -397124,7 +397124,6 @@ var require_pushSignedCommit = __commonJS({
|
|
|
397124
397124
|
exports2.pushSignedCommit = pushSignedCommit;
|
|
397125
397125
|
exports2.isNonFastForwardError = isNonFastForwardError;
|
|
397126
397126
|
var core_utils_1 = (init_lib4(), __toCommonJS(lib_exports));
|
|
397127
|
-
var constants_1 = require_constants8();
|
|
397128
397127
|
var MAX_CONCURRENT_PUSH_RETRIES = 3;
|
|
397129
397128
|
async function pushSignedCommit({ repository, octokit, owner, repo, branch, force, rebaseOnConflict = false, author, logger: logger4 }) {
|
|
397130
397129
|
const tempRef = `refs/temp/fern-${Date.now()}`;
|
|
@@ -397139,16 +397138,14 @@ var require_pushSignedCommit = __commonJS({
|
|
|
397139
397138
|
await repository.pushObjectToRef(localHeadSha, tempRef);
|
|
397140
397139
|
tempRefPushed = true;
|
|
397141
397140
|
for (let attempt = 0; attempt < MAX_CONCURRENT_PUSH_RETRIES; attempt++) {
|
|
397142
|
-
const
|
|
397143
|
-
const committerField = author != null ? { committer: author } : {};
|
|
397141
|
+
const identityFields = author != null ? { author, committer: author } : {};
|
|
397144
397142
|
const { data: signedCommit } = await octokit.git.createCommit({
|
|
397145
397143
|
owner,
|
|
397146
397144
|
repo,
|
|
397147
397145
|
message,
|
|
397148
397146
|
tree: treeSha,
|
|
397149
397147
|
parents,
|
|
397150
|
-
|
|
397151
|
-
...committerField
|
|
397148
|
+
...identityFields
|
|
397152
397149
|
});
|
|
397153
397150
|
const signedSha = signedCommit.sha;
|
|
397154
397151
|
try {
|
|
@@ -628742,7 +628739,7 @@ var AccessTokenPosthogManager = class {
|
|
|
628742
628739
|
properties: {
|
|
628743
628740
|
...event,
|
|
628744
628741
|
...event.properties,
|
|
628745
|
-
version: "5.23.3-
|
|
628742
|
+
version: "5.23.3-753-g54d1158768f",
|
|
628746
628743
|
usingAccessToken: true,
|
|
628747
628744
|
...getRunIdProperties()
|
|
628748
628745
|
}
|
|
@@ -628806,7 +628803,7 @@ var UserPosthogManager = class {
|
|
|
628806
628803
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
628807
628804
|
event: "CLI",
|
|
628808
628805
|
properties: {
|
|
628809
|
-
version: "5.23.3-
|
|
628806
|
+
version: "5.23.3-753-g54d1158768f",
|
|
628810
628807
|
...event,
|
|
628811
628808
|
...event.properties,
|
|
628812
628809
|
usingAccessToken: false,
|
|
@@ -820821,7 +820818,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
820821
820818
|
var LOGS_FOLDER_NAME = "logs";
|
|
820822
820819
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
820823
820820
|
function getCliSource() {
|
|
820824
|
-
const version7 = "5.23.3-
|
|
820821
|
+
const version7 = "5.23.3-753-g54d1158768f";
|
|
820825
820822
|
return `cli@${version7}`;
|
|
820826
820823
|
}
|
|
820827
820824
|
var DebugLogger = class {
|
|
@@ -852154,7 +852151,7 @@ var LegacyDocsPublisher = class {
|
|
|
852154
852151
|
previewId,
|
|
852155
852152
|
disableTemplates: void 0,
|
|
852156
852153
|
skipUpload,
|
|
852157
|
-
cliVersion: "5.23.3-
|
|
852154
|
+
cliVersion: "5.23.3-753-g54d1158768f",
|
|
852158
852155
|
loginCommand: "fern auth login"
|
|
852159
852156
|
});
|
|
852160
852157
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -917540,7 +917537,7 @@ function getAutomationContextFromEnv() {
|
|
|
917540
917537
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
917541
917538
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
917542
917539
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
917543
|
-
cli_version: "5.23.3-
|
|
917540
|
+
cli_version: "5.23.3-753-g54d1158768f"
|
|
917544
917541
|
};
|
|
917545
917542
|
}
|
|
917546
917543
|
function isAutomationMode() {
|
|
@@ -918366,7 +918363,7 @@ var CliContext = class _CliContext {
|
|
|
918366
918363
|
if (false) {
|
|
918367
918364
|
this.logger.error("CLI_VERSION is not defined");
|
|
918368
918365
|
}
|
|
918369
|
-
return "5.23.3-
|
|
918366
|
+
return "5.23.3-753-g54d1158768f";
|
|
918370
918367
|
}
|
|
918371
918368
|
getCliName() {
|
|
918372
918369
|
if (false) {
|
package/package.json
CHANGED