@fern-api/fern-api-dev 4.71.4-7-g884f369236f → 4.71.4-9-g148ea34676d
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 +29 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -621394,7 +621394,7 @@ var AccessTokenPosthogManager = class {
|
|
|
621394
621394
|
properties: {
|
|
621395
621395
|
...event,
|
|
621396
621396
|
...event.properties,
|
|
621397
|
-
version: "4.71.4-
|
|
621397
|
+
version: "4.71.4-9-g148ea34676d",
|
|
621398
621398
|
usingAccessToken: true
|
|
621399
621399
|
}
|
|
621400
621400
|
});
|
|
@@ -621448,7 +621448,7 @@ var UserPosthogManager = class {
|
|
|
621448
621448
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
621449
621449
|
event: "CLI",
|
|
621450
621450
|
properties: {
|
|
621451
|
-
version: "4.71.4-
|
|
621451
|
+
version: "4.71.4-9-g148ea34676d",
|
|
621452
621452
|
...event,
|
|
621453
621453
|
...event.properties,
|
|
621454
621454
|
usingAccessToken: false,
|
|
@@ -838547,7 +838547,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
838547
838547
|
var LOGS_FOLDER_NAME = "logs";
|
|
838548
838548
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
838549
838549
|
function getCliSource() {
|
|
838550
|
-
const version7 = "4.71.4-
|
|
838550
|
+
const version7 = "4.71.4-9-g148ea34676d";
|
|
838551
838551
|
return `cli@${version7}`;
|
|
838552
838552
|
}
|
|
838553
838553
|
var DebugLogger = class {
|
|
@@ -849794,7 +849794,7 @@ var LegacyDocsPublisher = class {
|
|
|
849794
849794
|
previewId,
|
|
849795
849795
|
disableTemplates: void 0,
|
|
849796
849796
|
skipUpload,
|
|
849797
|
-
cliVersion: "4.71.4-
|
|
849797
|
+
cliVersion: "4.71.4-9-g148ea34676d"
|
|
849798
849798
|
});
|
|
849799
849799
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
849800
849800
|
return { success: false };
|
|
@@ -924147,7 +924147,7 @@ var CliContext = class _CliContext {
|
|
|
924147
924147
|
if (false) {
|
|
924148
924148
|
this.logger.error("CLI_VERSION is not defined");
|
|
924149
924149
|
}
|
|
924150
|
-
return "4.71.4-
|
|
924150
|
+
return "4.71.4-9-g148ea34676d";
|
|
924151
924151
|
}
|
|
924152
924152
|
getCliName() {
|
|
924153
924153
|
if (false) {
|
|
@@ -934228,6 +934228,26 @@ function getExcludeRules(brokenLinks, strictBrokenLinks) {
|
|
|
934228
934228
|
return excludeRules;
|
|
934229
934229
|
}
|
|
934230
934230
|
|
|
934231
|
+
// src/commands/generate/shouldSkipGenerator.ts
|
|
934232
|
+
function shouldSkipGenerator({
|
|
934233
|
+
generator,
|
|
934234
|
+
rootAutorelease
|
|
934235
|
+
}) {
|
|
934236
|
+
if (!generator.automation.generate) {
|
|
934237
|
+
return true;
|
|
934238
|
+
}
|
|
934239
|
+
if (generator.absolutePathToLocalOutput != null) {
|
|
934240
|
+
return true;
|
|
934241
|
+
}
|
|
934242
|
+
if (generator.raw?.autorelease === false) {
|
|
934243
|
+
return true;
|
|
934244
|
+
}
|
|
934245
|
+
if (generator.raw?.autorelease == null && rootAutorelease === false) {
|
|
934246
|
+
return true;
|
|
934247
|
+
}
|
|
934248
|
+
return false;
|
|
934249
|
+
}
|
|
934250
|
+
|
|
934231
934251
|
// src/commands/generate-dynamic-ir/generateDynamicIrForWorkspaces.ts
|
|
934232
934252
|
init_lib6();
|
|
934233
934253
|
var import_path83 = __toESM(require("path"), 1);
|
|
@@ -944504,14 +944524,16 @@ function addAutomationsListGenerateCommand(cli, cliContext) {
|
|
|
944504
944524
|
});
|
|
944505
944525
|
const commands = [];
|
|
944506
944526
|
for (const workspace of project.apiWorkspaces) {
|
|
944507
|
-
const
|
|
944527
|
+
const generatorsConfiguration = workspace.generatorsConfiguration;
|
|
944528
|
+
const groups2 = generatorsConfiguration?.groups ?? [];
|
|
944529
|
+
const rootAutorelease = generatorsConfiguration?.rawConfiguration.autorelease;
|
|
944508
944530
|
for (const group of groups2) {
|
|
944509
944531
|
if (argv.group != null && group.groupName !== argv.group) {
|
|
944510
944532
|
continue;
|
|
944511
944533
|
}
|
|
944512
944534
|
for (let i11 = 0; i11 < group.generators.length; i11++) {
|
|
944513
944535
|
const generator = group.generators[i11];
|
|
944514
|
-
if (generator == null ||
|
|
944536
|
+
if (generator == null || shouldSkipGenerator({ generator, rootAutorelease })) {
|
|
944515
944537
|
continue;
|
|
944516
944538
|
}
|
|
944517
944539
|
const parts = ["fern", "automations", "generate"];
|
package/package.json
CHANGED