@fern-api/fern-api-dev 5.44.2 → 5.44.3
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 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -669396,7 +669396,7 @@ var AccessTokenPosthogManager = class {
|
|
|
669396
669396
|
properties: {
|
|
669397
669397
|
...event,
|
|
669398
669398
|
...event.properties,
|
|
669399
|
-
version: "5.44.
|
|
669399
|
+
version: "5.44.3",
|
|
669400
669400
|
usingAccessToken: true,
|
|
669401
669401
|
...getRunIdProperties()
|
|
669402
669402
|
}
|
|
@@ -669460,7 +669460,7 @@ var UserPosthogManager = class {
|
|
|
669460
669460
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
669461
669461
|
event: "CLI",
|
|
669462
669462
|
properties: {
|
|
669463
|
-
version: "5.44.
|
|
669463
|
+
version: "5.44.3",
|
|
669464
669464
|
...event,
|
|
669465
669465
|
...event.properties,
|
|
669466
669466
|
usingAccessToken: false,
|
|
@@ -860901,7 +860901,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
860901
860901
|
var LOGS_FOLDER_NAME = "logs";
|
|
860902
860902
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
860903
860903
|
function getCliSource() {
|
|
860904
|
-
const version7 = "5.44.
|
|
860904
|
+
const version7 = "5.44.3";
|
|
860905
860905
|
return `cli@${version7}`;
|
|
860906
860906
|
}
|
|
860907
860907
|
var DebugLogger = class {
|
|
@@ -891876,7 +891876,7 @@ var LegacyDocsPublisher = class {
|
|
|
891876
891876
|
previewId,
|
|
891877
891877
|
disableTemplates: void 0,
|
|
891878
891878
|
skipUpload,
|
|
891879
|
-
cliVersion: "5.44.
|
|
891879
|
+
cliVersion: "5.44.3",
|
|
891880
891880
|
loginCommand: "fern auth login"
|
|
891881
891881
|
});
|
|
891882
891882
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -944174,6 +944174,7 @@ var LocalTaskHandler = class {
|
|
|
944174
944174
|
const pathsToPreserve = await this.getPathsToPreserve(fernIgnorePaths);
|
|
944175
944175
|
await (0, import_promises129.cp)(this.absolutePathToLocalOutput, tmpOutputResolutionDir, { recursive: true });
|
|
944176
944176
|
await this.runThrowawayGitCommand(["init"], tmpOutputResolutionDir);
|
|
944177
|
+
await this.runThrowawayGitCommand(["config", "gc.auto", "0"], tmpOutputResolutionDir);
|
|
944177
944178
|
await this.runThrowawayGitCommand(["add", "."], tmpOutputResolutionDir);
|
|
944178
944179
|
await this.runThrowawayGitCommand([
|
|
944179
944180
|
"-c",
|
|
@@ -944192,7 +944193,12 @@ var LocalTaskHandler = class {
|
|
|
944192
944193
|
await this.runThrowawayGitCommand(["reset", "--", ...pathsToPreserve], tmpOutputResolutionDir);
|
|
944193
944194
|
await this.runThrowawayGitCommand(["clean", "-fd", "--", ...pathsToPreserve], tmpOutputResolutionDir);
|
|
944194
944195
|
await this.runThrowawayGitCommand(["restore", "."], tmpOutputResolutionDir);
|
|
944195
|
-
await (0, import_promises129.rm)(join8(tmpOutputResolutionDir, RelativeFilePath2.of(".git")), {
|
|
944196
|
+
await (0, import_promises129.rm)(join8(tmpOutputResolutionDir, RelativeFilePath2.of(".git")), {
|
|
944197
|
+
recursive: true,
|
|
944198
|
+
force: true,
|
|
944199
|
+
maxRetries: 3,
|
|
944200
|
+
retryDelay: 100
|
|
944201
|
+
});
|
|
944196
944202
|
await (0, import_promises129.rm)(this.absolutePathToLocalOutput, { recursive: true });
|
|
944197
944203
|
await (0, import_promises129.cp)(tmpOutputResolutionDir, this.absolutePathToLocalOutput, { recursive: true });
|
|
944198
944204
|
}
|
|
@@ -956957,7 +956963,7 @@ function getAutomationContextFromEnv() {
|
|
|
956957
956963
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
956958
956964
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
956959
956965
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
956960
|
-
cli_version: "5.44.
|
|
956966
|
+
cli_version: "5.44.3"
|
|
956961
956967
|
};
|
|
956962
956968
|
}
|
|
956963
956969
|
function isAutomationMode() {
|
|
@@ -957783,7 +957789,7 @@ var CliContext = class _CliContext {
|
|
|
957783
957789
|
if (false) {
|
|
957784
957790
|
this.logger.error("CLI_VERSION is not defined");
|
|
957785
957791
|
}
|
|
957786
|
-
return "5.44.
|
|
957792
|
+
return "5.44.3";
|
|
957787
957793
|
}
|
|
957788
957794
|
getCliName() {
|
|
957789
957795
|
if (false) {
|
package/package.json
CHANGED