@fern-api/fern-api-dev 5.23.3-140-gcaa65403562 → 5.23.3-142-gc0facdfbf43

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 +11 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -667955,7 +667955,7 @@ var AccessTokenPosthogManager = class {
667955
667955
  properties: {
667956
667956
  ...event,
667957
667957
  ...event.properties,
667958
- version: "5.23.3-140-gcaa65403562",
667958
+ version: "5.23.3-142-gc0facdfbf43",
667959
667959
  usingAccessToken: true,
667960
667960
  ...getRunIdProperties()
667961
667961
  }
@@ -668019,7 +668019,7 @@ var UserPosthogManager = class {
668019
668019
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
668020
668020
  event: "CLI",
668021
668021
  properties: {
668022
- version: "5.23.3-140-gcaa65403562",
668022
+ version: "5.23.3-142-gc0facdfbf43",
668023
668023
  ...event,
668024
668024
  ...event.properties,
668025
668025
  usingAccessToken: false,
@@ -670818,6 +670818,8 @@ var Cache = class _Cache {
670818
670818
  docsPreview;
670819
670819
  /** Directory for downloaded generator migration packages. */
670820
670820
  migrations;
670821
+ /** Directory for downloaded tool binaries (buf, protoc-gen-openapi). Shared with CLI v1. */
670822
+ bin;
670821
670823
  constructor({ logger: logger4 } = {}) {
670822
670824
  this.absoluteFilePath = _Cache.resolveAbsoluteFilePathStatic();
670823
670825
  this.ir = new IrCache({
@@ -670832,6 +670834,9 @@ var Cache = class _Cache {
670832
670834
  this.migrations = {
670833
670835
  absoluteFilePath: join8(this.getVersionedPath(), RelativeFilePath2.of("migrations"))
670834
670836
  };
670837
+ this.bin = {
670838
+ absoluteFilePath: join8(this.absoluteFilePath, RelativeFilePath2.of("bin"))
670839
+ };
670835
670840
  }
670836
670841
  /**
670837
670842
  * Get the versioned cache directory path.
@@ -859710,7 +859715,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
859710
859715
  var LOGS_FOLDER_NAME = "logs";
859711
859716
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
859712
859717
  function getCliSource() {
859713
- const version7 = "5.23.3-140-gcaa65403562";
859718
+ const version7 = "5.23.3-142-gc0facdfbf43";
859714
859719
  return `cli@${version7}`;
859715
859720
  }
859716
859721
  var DebugLogger = class {
@@ -873719,7 +873724,7 @@ var LegacyDocsPublisher = class {
873719
873724
  previewId,
873720
873725
  disableTemplates: void 0,
873721
873726
  skipUpload,
873722
- cliVersion: "5.23.3-140-gcaa65403562",
873727
+ cliVersion: "5.23.3-142-gc0facdfbf43",
873723
873728
  loginCommand: "fern auth login"
873724
873729
  });
873725
873730
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -948124,7 +948129,7 @@ function getAutomationContextFromEnv() {
948124
948129
  config_branch: process.env.FERN_CONFIG_BRANCH,
948125
948130
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
948126
948131
  trigger: process.env.GITHUB_EVENT_NAME,
948127
- cli_version: "5.23.3-140-gcaa65403562"
948132
+ cli_version: "5.23.3-142-gc0facdfbf43"
948128
948133
  };
948129
948134
  }
948130
948135
  function isAutomationMode() {
@@ -948950,7 +948955,7 @@ var CliContext = class _CliContext {
948950
948955
  if (false) {
948951
948956
  this.logger.error("CLI_VERSION is not defined");
948952
948957
  }
948953
- return "5.23.3-140-gcaa65403562";
948958
+ return "5.23.3-142-gc0facdfbf43";
948954
948959
  }
948955
948960
  getCliName() {
948956
948961
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-140-gcaa65403562",
2
+ "version": "5.23.3-142-gc0facdfbf43",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",