@fern-api/fern-api-dev 5.22.0-8-gbbdfd35c2e0 → 5.22.1
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 +9 -5
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -661339,7 +661339,7 @@ var AccessTokenPosthogManager = class {
|
|
|
661339
661339
|
properties: {
|
|
661340
661340
|
...event,
|
|
661341
661341
|
...event.properties,
|
|
661342
|
-
version: "5.22.
|
|
661342
|
+
version: "5.22.1",
|
|
661343
661343
|
usingAccessToken: true,
|
|
661344
661344
|
...getRunIdProperties()
|
|
661345
661345
|
}
|
|
@@ -661394,7 +661394,7 @@ var UserPosthogManager = class {
|
|
|
661394
661394
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
661395
661395
|
event: "CLI",
|
|
661396
661396
|
properties: {
|
|
661397
|
-
version: "5.22.
|
|
661397
|
+
version: "5.22.1",
|
|
661398
661398
|
...event,
|
|
661399
661399
|
...event.properties,
|
|
661400
661400
|
usingAccessToken: false,
|
|
@@ -852667,7 +852667,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
852667
852667
|
var LOGS_FOLDER_NAME = "logs";
|
|
852668
852668
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
852669
852669
|
function getCliSource() {
|
|
852670
|
-
const version7 = "5.22.
|
|
852670
|
+
const version7 = "5.22.1";
|
|
852671
852671
|
return `cli@${version7}`;
|
|
852672
852672
|
}
|
|
852673
852673
|
var DebugLogger = class {
|
|
@@ -853366,6 +853366,10 @@ async function downloadBundle({ bucketUrl, logger: logger4, preferCached, app =
|
|
|
853366
853366
|
code: CliError.Code.EnvironmentError
|
|
853367
853367
|
});
|
|
853368
853368
|
}
|
|
853369
|
+
const workspaceConfigPath = import_path63.default.join(absolutePathToBundleFolder, "pnpm-workspace.yaml");
|
|
853370
|
+
if (!(0, import_fs27.existsSync)(workspaceConfigPath)) {
|
|
853371
|
+
await (0, import_promises87.writeFile)(workspaceConfigPath, "onlyBuiltDependencies:\n - esbuild\n");
|
|
853372
|
+
}
|
|
853369
853373
|
try {
|
|
853370
853374
|
logger4.debug("Installing esbuild");
|
|
853371
853375
|
await loggingExeca(logger4, "pnpm", ["i", "esbuild"], {
|
|
@@ -865476,7 +865480,7 @@ var LegacyDocsPublisher = class {
|
|
|
865476
865480
|
previewId,
|
|
865477
865481
|
disableTemplates: void 0,
|
|
865478
865482
|
skipUpload,
|
|
865479
|
-
cliVersion: "5.22.
|
|
865483
|
+
cliVersion: "5.22.1",
|
|
865480
865484
|
loginCommand: "fern auth login"
|
|
865481
865485
|
});
|
|
865482
865486
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -940279,7 +940283,7 @@ var CliContext = class _CliContext {
|
|
|
940279
940283
|
if (false) {
|
|
940280
940284
|
this.logger.error("CLI_VERSION is not defined");
|
|
940281
940285
|
}
|
|
940282
|
-
return "5.22.
|
|
940286
|
+
return "5.22.1";
|
|
940283
940287
|
}
|
|
940284
940288
|
getCliName() {
|
|
940285
940289
|
if (false) {
|
package/package.json
CHANGED