@fern-api/fern-api-dev 5.23.3-1039-gfedf1cfd939 → 5.23.3-1045-gf285a91aac6
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 +15 -9
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -686971,7 +686971,7 @@ var AccessTokenPosthogManager = class {
|
|
|
686971
686971
|
properties: {
|
|
686972
686972
|
...event,
|
|
686973
686973
|
...event.properties,
|
|
686974
|
-
version: "5.23.3-
|
|
686974
|
+
version: "5.23.3-1045-gf285a91aac6",
|
|
686975
686975
|
usingAccessToken: true,
|
|
686976
686976
|
...getRunIdProperties()
|
|
686977
686977
|
}
|
|
@@ -687037,7 +687037,7 @@ var UserPosthogManager = class {
|
|
|
687037
687037
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
687038
687038
|
event: "CLI",
|
|
687039
687039
|
properties: {
|
|
687040
|
-
version: "5.23.3-
|
|
687040
|
+
version: "5.23.3-1045-gf285a91aac6",
|
|
687041
687041
|
...event,
|
|
687042
687042
|
...event.properties,
|
|
687043
687043
|
usingAccessToken: false,
|
|
@@ -868132,7 +868132,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
868132
868132
|
var LOGS_FOLDER_NAME = "logs";
|
|
868133
868133
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
868134
868134
|
function getCliSource() {
|
|
868135
|
-
const version7 = "5.23.3-
|
|
868135
|
+
const version7 = "5.23.3-1045-gf285a91aac6";
|
|
868136
868136
|
return `cli@${version7}`;
|
|
868137
868137
|
}
|
|
868138
868138
|
var DebugLogger = class {
|
|
@@ -870553,11 +870553,17 @@ async function downloadBundle({ bucketUrl, logger: logger4, preferCached, app =
|
|
|
870553
870553
|
}
|
|
870554
870554
|
const workspaceConfigPath = import_path69.default.join(absolutePathToBundleFolder, "pnpm-workspace.yaml");
|
|
870555
870555
|
if (!(0, import_fs28.existsSync)(workspaceConfigPath)) {
|
|
870556
|
-
await (0, import_promises97.writeFile)(workspaceConfigPath, "
|
|
870556
|
+
await (0, import_promises97.writeFile)(workspaceConfigPath, "packages: []\nonlyBuiltDependencies:\n - esbuild\n");
|
|
870557
|
+
} else {
|
|
870558
|
+
const existingWorkspaceConfig = await (0, import_promises97.readFile)(workspaceConfigPath, "utf-8");
|
|
870559
|
+
if (!existingWorkspaceConfig.includes("packages:")) {
|
|
870560
|
+
await (0, import_promises97.writeFile)(workspaceConfigPath, `packages: []
|
|
870561
|
+
${existingWorkspaceConfig}`);
|
|
870562
|
+
}
|
|
870557
870563
|
}
|
|
870558
870564
|
try {
|
|
870559
870565
|
logger4.debug("Installing esbuild");
|
|
870560
|
-
await loggingExeca(logger4, "pnpm", ["i", "esbuild"], {
|
|
870566
|
+
await loggingExeca(logger4, "pnpm", ["i", "-w", "esbuild"], {
|
|
870561
870567
|
cwd: absolutePathToBundleFolder,
|
|
870562
870568
|
doNotPipeOutput: true
|
|
870563
870569
|
});
|
|
@@ -870576,7 +870582,7 @@ async function downloadBundle({ bucketUrl, logger: logger4, preferCached, app =
|
|
|
870576
870582
|
}
|
|
870577
870583
|
try {
|
|
870578
870584
|
logger4.debug("Installing esbuild after upgrading corepack");
|
|
870579
|
-
await loggingExeca(logger4, "pnpm", ["i", "esbuild"], {
|
|
870585
|
+
await loggingExeca(logger4, "pnpm", ["i", "-w", "esbuild"], {
|
|
870580
870586
|
cwd: absolutePathToBundleFolder,
|
|
870581
870587
|
doNotPipeOutput: true
|
|
870582
870588
|
});
|
|
@@ -900526,7 +900532,7 @@ var LegacyDocsPublisher = class {
|
|
|
900526
900532
|
previewId,
|
|
900527
900533
|
disableTemplates: void 0,
|
|
900528
900534
|
skipUpload,
|
|
900529
|
-
cliVersion: "5.23.3-
|
|
900535
|
+
cliVersion: "5.23.3-1045-gf285a91aac6",
|
|
900530
900536
|
loginCommand: "fern auth login"
|
|
900531
900537
|
});
|
|
900532
900538
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -966795,7 +966801,7 @@ function getAutomationContextFromEnv() {
|
|
|
966795
966801
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
966796
966802
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
966797
966803
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
966798
|
-
cli_version: "5.23.3-
|
|
966804
|
+
cli_version: "5.23.3-1045-gf285a91aac6"
|
|
966799
966805
|
};
|
|
966800
966806
|
}
|
|
966801
966807
|
function isAutomationMode() {
|
|
@@ -967627,7 +967633,7 @@ var CliContext = class _CliContext {
|
|
|
967627
967633
|
if (false) {
|
|
967628
967634
|
this.logger.error("CLI_VERSION is not defined");
|
|
967629
967635
|
}
|
|
967630
|
-
return "5.23.3-
|
|
967636
|
+
return "5.23.3-1045-gf285a91aac6";
|
|
967631
967637
|
}
|
|
967632
967638
|
getCliName() {
|
|
967633
967639
|
if (false) {
|
package/package.json
CHANGED