@fern-api/fern-api-dev 4.58.0-1-ga7b7d9f6f6a → 4.58.0-2-g7897b571c7b
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.
- package/cli.cjs +11 -9
- 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-
|
|
602684
|
+
version: "4.58.0-2-g7897b571c7b",
|
|
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-
|
|
602735
|
+
version: "4.58.0-2-g7897b571c7b",
|
|
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-
|
|
839965
|
+
const version7 = "4.58.0-2-g7897b571c7b";
|
|
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-
|
|
851066
|
+
cliVersion: "4.58.0-2-g7897b571c7b"
|
|
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 }) {
|
|
903112
|
+
async run({ organization, absolutePathToFernConfig, workspace, generatorGroup, context: context3, irVersionOverride, outputVersionOverride, shouldGenerateDynamicSnippetTests, skipUnstableDynamicSnippetTests, inspect: inspect6, skipFernignore, skipAutogenerationIfManualExamplesExist }) {
|
|
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,7 +903127,8 @@ var GenerationRunner = class {
|
|
|
903127
903127
|
outputVersionOverride,
|
|
903128
903128
|
absolutePathToFernConfig,
|
|
903129
903129
|
inspect: inspect6,
|
|
903130
|
-
skipFernignore
|
|
903130
|
+
skipFernignore,
|
|
903131
|
+
skipAutogenerationIfManualExamplesExist
|
|
903131
903132
|
});
|
|
903132
903133
|
interactiveTaskContext.logger.info(source_default.green("Wrote files to " + generatorInvocation.absolutePathToLocalOutput));
|
|
903133
903134
|
if (shouldGenerateDynamicSnippetTests && generatorInvocation.language != null) {
|
|
@@ -903154,7 +903155,7 @@ var GenerationRunner = class {
|
|
|
903154
903155
|
});
|
|
903155
903156
|
}));
|
|
903156
903157
|
}
|
|
903157
|
-
async executeGenerator({ generatorGroup, generatorInvocation, context: context3, workspace, organization, irVersionOverride, outputVersionOverride, absolutePathToFernConfig, inspect: inspect6, skipFernignore }) {
|
|
903158
|
+
async executeGenerator({ generatorGroup, generatorInvocation, context: context3, workspace, organization, irVersionOverride, outputVersionOverride, absolutePathToFernConfig, inspect: inspect6, skipFernignore, skipAutogenerationIfManualExamplesExist }) {
|
|
903158
903159
|
context3.logger.info(`Starting generation for ${generatorInvocation.name}`);
|
|
903159
903160
|
if (generatorInvocation.absolutePathToLocalOutput == null) {
|
|
903160
903161
|
throw new Error("Output path is required for generation");
|
|
@@ -903167,7 +903168,8 @@ var GenerationRunner = class {
|
|
|
903167
903168
|
smartCasing: generatorInvocation.smartCasing,
|
|
903168
903169
|
exampleGeneration: {
|
|
903169
903170
|
includeOptionalRequestPropertyExamples: true,
|
|
903170
|
-
disabled: generatorInvocation.disableExamples
|
|
903171
|
+
disabled: generatorInvocation.disableExamples,
|
|
903172
|
+
skipAutogenerationIfManualExamplesExist: skipAutogenerationIfManualExamplesExist ?? false
|
|
903171
903173
|
},
|
|
903172
903174
|
readme: generatorInvocation.readme,
|
|
903173
903175
|
version: outputVersionOverride,
|
|
@@ -924217,7 +924219,7 @@ var CliContext = class {
|
|
|
924217
924219
|
if (false) {
|
|
924218
924220
|
this.logger.error("CLI_VERSION is not defined");
|
|
924219
924221
|
}
|
|
924220
|
-
return "4.58.0-
|
|
924222
|
+
return "4.58.0-2-g7897b571c7b";
|
|
924221
924223
|
}
|
|
924222
924224
|
getCliName() {
|
|
924223
924225
|
if (false) {
|
package/package.json
CHANGED