@fern-api/fern-api-dev 5.23.3-1814-g1168c63f172 → 5.23.3-1815-g37a404b34e1

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 -7
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -84773,6 +84773,10 @@ function getPackageNameFromGeneratorConfig(generatorInvocation) {
84773
84773
  if (packageName != null) {
84774
84774
  return packageName;
84775
84775
  }
84776
+ const kebabCasePackageName = generatorInvocation.raw.config["package-name"];
84777
+ if (typeof kebabCasePackageName === "string") {
84778
+ return kebabCasePackageName;
84779
+ }
84776
84780
  const modulePath = generatorInvocation.raw.config.module?.path;
84777
84781
  if (modulePath != null) {
84778
84782
  return modulePath;
@@ -103311,7 +103315,7 @@ function getFilesystemPublishTarget({ generatorInvocation, version: version7, us
103311
103315
  artifactId: packageName
103312
103316
  };
103313
103317
  } else if (typeof configObj["package-prefix"] === "string" && !packageName) {
103314
- context3.logger.warn("Java generator has package-prefix configured but packageName is missing");
103318
+ context3.logger.warn("Java generator has package-prefix configured but no package name could be resolved. Set 'package-name' (or 'group' and 'artifact') in the generator config to stamp Maven coordinates.");
103315
103319
  }
103316
103320
  return void 0;
103317
103321
  })();
@@ -702673,7 +702677,7 @@ var AccessTokenPosthogManager = class {
702673
702677
  properties: {
702674
702678
  ...event,
702675
702679
  ...event.properties,
702676
- version: "5.23.3-1814-g1168c63f172",
702680
+ version: "5.23.3-1815-g37a404b34e1",
702677
702681
  usingAccessToken: true,
702678
702682
  ...getRunIdProperties()
702679
702683
  }
@@ -702739,7 +702743,7 @@ var UserPosthogManager = class {
702739
702743
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
702740
702744
  event: "CLI",
702741
702745
  properties: {
702742
- version: "5.23.3-1814-g1168c63f172",
702746
+ version: "5.23.3-1815-g37a404b34e1",
702743
702747
  ...event,
702744
702748
  ...event.properties,
702745
702749
  usingAccessToken: false,
@@ -883905,7 +883909,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
883905
883909
  var LOGS_FOLDER_NAME = "logs";
883906
883910
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
883907
883911
  function getCliSource() {
883908
- const version7 = "5.23.3-1814-g1168c63f172";
883912
+ const version7 = "5.23.3-1815-g37a404b34e1";
883909
883913
  return `cli@${version7}`;
883910
883914
  }
883911
883915
  var DebugLogger = class {
@@ -909221,7 +909225,7 @@ var LegacyDocsPublisher = class {
909221
909225
  previewId,
909222
909226
  disableTemplates: void 0,
909223
909227
  skipUpload,
909224
- cliVersion: "5.23.3-1814-g1168c63f172",
909228
+ cliVersion: "5.23.3-1815-g37a404b34e1",
909225
909229
  loginCommand: "fern auth login"
909226
909230
  });
909227
909231
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -976137,7 +976141,7 @@ function getAutomationContextFromEnv() {
976137
976141
  config_branch: process.env.FERN_CONFIG_BRANCH,
976138
976142
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
976139
976143
  trigger: process.env.GITHUB_EVENT_NAME,
976140
- cli_version: "5.23.3-1814-g1168c63f172"
976144
+ cli_version: "5.23.3-1815-g37a404b34e1"
976141
976145
  };
976142
976146
  }
976143
976147
  function isAutomationMode() {
@@ -976969,7 +976973,7 @@ var CliContext = class _CliContext {
976969
976973
  if (false) {
976970
976974
  this.logger.error("CLI_VERSION is not defined");
976971
976975
  }
976972
- return "5.23.3-1814-g1168c63f172";
976976
+ return "5.23.3-1815-g37a404b34e1";
976973
976977
  }
976974
976978
  getCliName() {
976975
976979
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-1814-g1168c63f172",
2
+ "version": "5.23.3-1815-g37a404b34e1",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",