@fern-api/fern-api-dev 4.58.0-2-g7897b571c7b → 4.58.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 +9 -11
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -602681,7 +602681,7 @@ var AccessTokenPosthogManager = class {
602681
602681
  properties: {
602682
602682
  ...event,
602683
602683
  ...event.properties,
602684
- version: "4.58.0-2-g7897b571c7b",
602684
+ version: "4.58.0",
602685
602685
  usingAccessToken: true
602686
602686
  }
602687
602687
  });
@@ -602732,7 +602732,7 @@ var UserPosthogManager = class {
602732
602732
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
602733
602733
  event: "CLI",
602734
602734
  properties: {
602735
- version: "4.58.0-2-g7897b571c7b",
602735
+ version: "4.58.0",
602736
602736
  ...event,
602737
602737
  ...event.properties,
602738
602738
  usingAccessToken: false,
@@ -839962,7 +839962,7 @@ var import_path54 = __toESM(require("path"), 1);
839962
839962
  var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
839963
839963
  var LOGS_FOLDER_NAME = "logs";
839964
839964
  function getCliSource() {
839965
- const version7 = "4.58.0-2-g7897b571c7b";
839965
+ const version7 = "4.58.0";
839966
839966
  return `cli@${version7}`;
839967
839967
  }
839968
839968
  var DebugLogger = class {
@@ -851063,7 +851063,7 @@ var LegacyDocsPublisher = class {
851063
851063
  previewId: void 0,
851064
851064
  disableTemplates: void 0,
851065
851065
  skipUpload,
851066
- cliVersion: "4.58.0-2-g7897b571c7b"
851066
+ cliVersion: "4.58.0"
851067
851067
  });
851068
851068
  if (taskContext.getResult() === TaskResult.Failure) {
851069
851069
  return { success: false };
@@ -903109,7 +903109,7 @@ var GenerationRunner = class {
903109
903109
  constructor(executionEnvironment) {
903110
903110
  this.executionEnvironment = executionEnvironment;
903111
903111
  }
903112
- async run({ organization, absolutePathToFernConfig, workspace, generatorGroup, context: context3, irVersionOverride, outputVersionOverride, shouldGenerateDynamicSnippetTests, skipUnstableDynamicSnippetTests, inspect: inspect6, skipFernignore, skipAutogenerationIfManualExamplesExist }) {
903112
+ async run({ organization, absolutePathToFernConfig, workspace, generatorGroup, context: context3, irVersionOverride, outputVersionOverride, shouldGenerateDynamicSnippetTests, skipUnstableDynamicSnippetTests, inspect: inspect6, skipFernignore }) {
903113
903113
  const results = await Promise.all(generatorGroup.generators.map(async (generatorInvocation) => {
903114
903114
  return context3.runInteractiveTask({ name: generatorInvocation.name }, async (interactiveTaskContext) => {
903115
903115
  if (generatorInvocation.absolutePathToLocalOutput == null) {
@@ -903127,8 +903127,7 @@ var GenerationRunner = class {
903127
903127
  outputVersionOverride,
903128
903128
  absolutePathToFernConfig,
903129
903129
  inspect: inspect6,
903130
- skipFernignore,
903131
- skipAutogenerationIfManualExamplesExist
903130
+ skipFernignore
903132
903131
  });
903133
903132
  interactiveTaskContext.logger.info(source_default.green("Wrote files to " + generatorInvocation.absolutePathToLocalOutput));
903134
903133
  if (shouldGenerateDynamicSnippetTests && generatorInvocation.language != null) {
@@ -903155,7 +903154,7 @@ var GenerationRunner = class {
903155
903154
  });
903156
903155
  }));
903157
903156
  }
903158
- async executeGenerator({ generatorGroup, generatorInvocation, context: context3, workspace, organization, irVersionOverride, outputVersionOverride, absolutePathToFernConfig, inspect: inspect6, skipFernignore, skipAutogenerationIfManualExamplesExist }) {
903157
+ async executeGenerator({ generatorGroup, generatorInvocation, context: context3, workspace, organization, irVersionOverride, outputVersionOverride, absolutePathToFernConfig, inspect: inspect6, skipFernignore }) {
903159
903158
  context3.logger.info(`Starting generation for ${generatorInvocation.name}`);
903160
903159
  if (generatorInvocation.absolutePathToLocalOutput == null) {
903161
903160
  throw new Error("Output path is required for generation");
@@ -903168,8 +903167,7 @@ var GenerationRunner = class {
903168
903167
  smartCasing: generatorInvocation.smartCasing,
903169
903168
  exampleGeneration: {
903170
903169
  includeOptionalRequestPropertyExamples: true,
903171
- disabled: generatorInvocation.disableExamples,
903172
- skipAutogenerationIfManualExamplesExist: skipAutogenerationIfManualExamplesExist ?? false
903170
+ disabled: generatorInvocation.disableExamples
903173
903171
  },
903174
903172
  readme: generatorInvocation.readme,
903175
903173
  version: outputVersionOverride,
@@ -924219,7 +924217,7 @@ var CliContext = class {
924219
924217
  if (false) {
924220
924218
  this.logger.error("CLI_VERSION is not defined");
924221
924219
  }
924222
- return "4.58.0-2-g7897b571c7b";
924220
+ return "4.58.0";
924223
924221
  }
924224
924222
  getCliName() {
924225
924223
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.58.0-2-g7897b571c7b",
2
+ "version": "4.58.0",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",