@fern-api/fern-api-dev 4.81.0-10-gfa789527325 → 4.81.0-11-gc0c2550bc58

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.
Files changed (2) hide show
  1. package/cli.cjs +25 -15
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -614666,7 +614666,7 @@ var AccessTokenPosthogManager = class {
614666
614666
  properties: {
614667
614667
  ...event,
614668
614668
  ...event.properties,
614669
- version: "4.81.0-10-gfa789527325",
614669
+ version: "4.81.0-11-gc0c2550bc58",
614670
614670
  usingAccessToken: true
614671
614671
  }
614672
614672
  });
@@ -614720,7 +614720,7 @@ var UserPosthogManager = class {
614720
614720
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
614721
614721
  event: "CLI",
614722
614722
  properties: {
614723
- version: "4.81.0-10-gfa789527325",
614723
+ version: "4.81.0-11-gc0c2550bc58",
614724
614724
  ...event,
614725
614725
  ...event.properties,
614726
614726
  usingAccessToken: false,
@@ -832071,7 +832071,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
832071
832071
  var LOGS_FOLDER_NAME = "logs";
832072
832072
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
832073
832073
  function getCliSource() {
832074
- const version7 = "4.81.0-10-gfa789527325";
832074
+ const version7 = "4.81.0-11-gc0c2550bc58";
832075
832075
  return `cli@${version7}`;
832076
832076
  }
832077
832077
  var DebugLogger = class {
@@ -843638,7 +843638,7 @@ var LegacyDocsPublisher = class {
843638
843638
  previewId,
843639
843639
  disableTemplates: void 0,
843640
843640
  skipUpload,
843641
- cliVersion: "4.81.0-10-gfa789527325"
843641
+ cliVersion: "4.81.0-11-gc0c2550bc58"
843642
843642
  });
843643
843643
  if (taskContext.getResult() === TaskResult.Failure) {
843644
843644
  return { success: false };
@@ -848069,16 +848069,26 @@ var ContainerExecutionEnvironment = class {
848069
848069
  envVars["NODE_OPTIONS"] = `--inspect-brk=0.0.0.0:${DEFAULT_NODE_DEBUG_PORT}`;
848070
848070
  ports[DEFAULT_NODE_DEBUG_PORT] = DEFAULT_NODE_DEBUG_PORT;
848071
848071
  }
848072
- await runContainer({
848073
- logger: context3.logger,
848074
- imageName: this.containerImage,
848075
- args: [CONTAINER_GENERATOR_CONFIG_PATH],
848076
- binds,
848077
- envVars,
848078
- ports,
848079
- removeAfterCompletion: !this.keepContainer,
848080
- runner: this.runner ?? runner
848081
- });
848072
+ try {
848073
+ await runContainer({
848074
+ logger: context3.logger,
848075
+ imageName: this.containerImage,
848076
+ args: [CONTAINER_GENERATOR_CONFIG_PATH],
848077
+ binds,
848078
+ envVars,
848079
+ ports,
848080
+ removeAfterCompletion: !this.keepContainer,
848081
+ runner: this.runner ?? runner
848082
+ });
848083
+ } catch (error50) {
848084
+ if (error50 instanceof CliError) {
848085
+ throw error50;
848086
+ }
848087
+ throw new CliError({
848088
+ message: `Container execution failed: ${error50 instanceof Error ? error50.message : String(error50)}`,
848089
+ code: CliError.Code.ContainerError
848090
+ });
848091
+ }
848082
848092
  }
848083
848093
  };
848084
848094
 
@@ -918803,7 +918813,7 @@ var CliContext = class _CliContext {
918803
918813
  if (false) {
918804
918814
  this.logger.error("CLI_VERSION is not defined");
918805
918815
  }
918806
- return "4.81.0-10-gfa789527325";
918816
+ return "4.81.0-11-gc0c2550bc58";
918807
918817
  }
918808
918818
  getCliName() {
918809
918819
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.81.0-10-gfa789527325",
2
+ "version": "4.81.0-11-gc0c2550bc58",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",