@fern-api/fern-api-dev 5.53.1 → 5.54.0

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 +16 -11
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -686793,7 +686793,7 @@ var AccessTokenPosthogManager = class {
686793
686793
  properties: {
686794
686794
  ...event,
686795
686795
  ...event.properties,
686796
- version: "5.53.1",
686796
+ version: "5.54.0",
686797
686797
  usingAccessToken: true,
686798
686798
  ...getRunIdProperties()
686799
686799
  }
@@ -686859,7 +686859,7 @@ var UserPosthogManager = class {
686859
686859
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
686860
686860
  event: "CLI",
686861
686861
  properties: {
686862
- version: "5.53.1",
686862
+ version: "5.54.0",
686863
686863
  ...event,
686864
686864
  ...event.properties,
686865
686865
  usingAccessToken: false,
@@ -867953,7 +867953,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
867953
867953
  var LOGS_FOLDER_NAME = "logs";
867954
867954
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
867955
867955
  function getCliSource() {
867956
- const version7 = "5.53.1";
867956
+ const version7 = "5.54.0";
867957
867957
  return `cli@${version7}`;
867958
867958
  }
867959
867959
  var DebugLogger = class {
@@ -900272,7 +900272,7 @@ var LegacyDocsPublisher = class {
900272
900272
  previewId,
900273
900273
  disableTemplates: void 0,
900274
900274
  skipUpload,
900275
- cliVersion: "5.53.1",
900275
+ cliVersion: "5.54.0",
900276
900276
  loginCommand: "fern auth login"
900277
900277
  });
900278
900278
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -952636,11 +952636,16 @@ function getGithubPublishConfig(githubPublishInfo) {
952636
952636
  apiKeyEnvironmentVariable: (0, import_api50.EnvironmentVariable)(value2.apiKey ?? ""),
952637
952637
  workspaceIdEnvironmentVariable: (0, import_api50.EnvironmentVariable)(value2.workspaceId ?? "")
952638
952638
  }),
952639
- nuget: (value2) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.nuget({
952640
- registryUrl: value2.registryUrl,
952641
- packageName: value2.packageName,
952642
- apiKeyEnvironmentVariable: (0, import_api50.EnvironmentVariable)(value2.apiKey ?? "")
952643
- }),
952639
+ nuget: (value2) => {
952640
+ const apiKey = (value2.apiKey ?? "").trim();
952641
+ const useOidc = apiKey === "<USE_OIDC>" || apiKey === "OIDC";
952642
+ return import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.nuget({
952643
+ registryUrl: value2.registryUrl,
952644
+ packageName: value2.packageName,
952645
+ apiKeyEnvironmentVariable: (0, import_api50.EnvironmentVariable)(useOidc ? "<USE_OIDC>" : apiKey.startsWith("${") && apiKey.endsWith("}") ? apiKey.slice(2, -1).trim() : ""),
952646
+ shouldGeneratePublishWorkflow: useOidc ? true : void 0
952647
+ });
952648
+ },
952644
952649
  crates: (value2) => import_generator_exec_sdk.FernGeneratorExec.GithubPublishInfo.crates({
952645
952650
  registryUrl: value2.registryUrl,
952646
952651
  packageName: value2.packageName,
@@ -966463,7 +966468,7 @@ function getAutomationContextFromEnv() {
966463
966468
  config_branch: process.env.FERN_CONFIG_BRANCH,
966464
966469
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
966465
966470
  trigger: process.env.GITHUB_EVENT_NAME,
966466
- cli_version: "5.53.1"
966471
+ cli_version: "5.54.0"
966467
966472
  };
966468
966473
  }
966469
966474
  function isAutomationMode() {
@@ -967295,7 +967300,7 @@ var CliContext = class _CliContext {
967295
967300
  if (false) {
967296
967301
  this.logger.error("CLI_VERSION is not defined");
967297
967302
  }
967298
- return "5.53.1";
967303
+ return "5.54.0";
967299
967304
  }
967300
967305
  getCliName() {
967301
967306
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.53.1",
2
+ "version": "5.54.0",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",