@fern-api/fern-api-dev 4.80.3-6-gb713c9bd958 → 4.80.4-1-gc11eebc7322
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 +56 -23
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -330613,6 +330613,50 @@ var require_constants3 = __commonJS({
|
|
|
330613
330613
|
}
|
|
330614
330614
|
});
|
|
330615
330615
|
|
|
330616
|
+
// ../../generator-cli/lib/pipeline/steps/BaseStep.js
|
|
330617
|
+
var require_BaseStep = __commonJS({
|
|
330618
|
+
"../../generator-cli/lib/pipeline/steps/BaseStep.js"(exports2) {
|
|
330619
|
+
"use strict";
|
|
330620
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
330621
|
+
exports2.BaseStep = void 0;
|
|
330622
|
+
var BaseStep = class {
|
|
330623
|
+
outputDir;
|
|
330624
|
+
logger;
|
|
330625
|
+
constructor(outputDir, logger4) {
|
|
330626
|
+
this.outputDir = outputDir;
|
|
330627
|
+
this.logger = logger4;
|
|
330628
|
+
}
|
|
330629
|
+
};
|
|
330630
|
+
exports2.BaseStep = BaseStep;
|
|
330631
|
+
}
|
|
330632
|
+
});
|
|
330633
|
+
|
|
330634
|
+
// ../../generator-cli/lib/pipeline/steps/AutoVersionStep.js
|
|
330635
|
+
var require_AutoVersionStep = __commonJS({
|
|
330636
|
+
"../../generator-cli/lib/pipeline/steps/AutoVersionStep.js"(exports2) {
|
|
330637
|
+
"use strict";
|
|
330638
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
330639
|
+
exports2.AutoVersionStep = void 0;
|
|
330640
|
+
var BaseStep_1 = require_BaseStep();
|
|
330641
|
+
var AutoVersionStep = class extends BaseStep_1.BaseStep {
|
|
330642
|
+
config;
|
|
330643
|
+
name = "autoVersion";
|
|
330644
|
+
constructor(outputDir, logger4, config5) {
|
|
330645
|
+
super(outputDir, logger4);
|
|
330646
|
+
this.config = config5;
|
|
330647
|
+
}
|
|
330648
|
+
async execute(_context) {
|
|
330649
|
+
this.logger.info(`AutoVersionStep: no-op scaffold for language=${this.config.language} (logic lands in FER-9980)`);
|
|
330650
|
+
return {
|
|
330651
|
+
executed: true,
|
|
330652
|
+
success: true
|
|
330653
|
+
};
|
|
330654
|
+
}
|
|
330655
|
+
};
|
|
330656
|
+
exports2.AutoVersionStep = AutoVersionStep;
|
|
330657
|
+
}
|
|
330658
|
+
});
|
|
330659
|
+
|
|
330616
330660
|
// ../../generator-cli/lib/pipeline/github/createReplayBranch.js
|
|
330617
330661
|
var require_createReplayBranch = __commonJS({
|
|
330618
330662
|
"../../generator-cli/lib/pipeline/github/createReplayBranch.js"(exports2) {
|
|
@@ -330879,24 +330923,6 @@ var require_replay_summary = __commonJS({
|
|
|
330879
330923
|
}
|
|
330880
330924
|
});
|
|
330881
330925
|
|
|
330882
|
-
// ../../generator-cli/lib/pipeline/steps/BaseStep.js
|
|
330883
|
-
var require_BaseStep = __commonJS({
|
|
330884
|
-
"../../generator-cli/lib/pipeline/steps/BaseStep.js"(exports2) {
|
|
330885
|
-
"use strict";
|
|
330886
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
330887
|
-
exports2.BaseStep = void 0;
|
|
330888
|
-
var BaseStep = class {
|
|
330889
|
-
outputDir;
|
|
330890
|
-
logger;
|
|
330891
|
-
constructor(outputDir, logger4) {
|
|
330892
|
-
this.outputDir = outputDir;
|
|
330893
|
-
this.logger = logger4;
|
|
330894
|
-
}
|
|
330895
|
-
};
|
|
330896
|
-
exports2.BaseStep = BaseStep;
|
|
330897
|
-
}
|
|
330898
|
-
});
|
|
330899
|
-
|
|
330900
330926
|
// ../../generator-cli/lib/pipeline/steps/GithubStep.js
|
|
330901
330927
|
var require_GithubStep = __commonJS({
|
|
330902
330928
|
"../../generator-cli/lib/pipeline/steps/GithubStep.js"(exports2) {
|
|
@@ -340634,6 +340660,7 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
340634
340660
|
var child_process_1 = require("child_process");
|
|
340635
340661
|
var constants_1 = require_constants3();
|
|
340636
340662
|
var PipelineLogger_1 = require_PipelineLogger();
|
|
340663
|
+
var AutoVersionStep_1 = require_AutoVersionStep();
|
|
340637
340664
|
var GithubStep_1 = require_GithubStep();
|
|
340638
340665
|
var ReplayStep_1 = require_ReplayStep();
|
|
340639
340666
|
var PostGenerationPipeline2 = class {
|
|
@@ -340647,6 +340674,9 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
340647
340674
|
this.logger.warn("Replay is not supported with GitHub push mode. Disabling replay to prevent force push to base branch.");
|
|
340648
340675
|
config5.replay.enabled = false;
|
|
340649
340676
|
}
|
|
340677
|
+
if (config5.autoVersion?.enabled) {
|
|
340678
|
+
this.steps.push(new AutoVersionStep_1.AutoVersionStep(config5.outputDir, this.logger, config5.autoVersion));
|
|
340679
|
+
}
|
|
340650
340680
|
if (config5.replay?.enabled) {
|
|
340651
340681
|
this.steps.push(new ReplayStep_1.ReplayStep(config5.outputDir, this.logger, config5.replay, config5.cliVersion, config5.generatorVersions, config5.generatorName));
|
|
340652
340682
|
}
|
|
@@ -340675,6 +340705,9 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
340675
340705
|
if (step.name === "replay") {
|
|
340676
340706
|
result.steps.replay = stepResult;
|
|
340677
340707
|
pipelineContext.previousStepResults.replay = stepResult;
|
|
340708
|
+
} else if (step.name === "autoVersion") {
|
|
340709
|
+
result.steps.autoVersion = stepResult;
|
|
340710
|
+
pipelineContext.previousStepResults.autoVersion = stepResult;
|
|
340678
340711
|
} else if (step.name === "fernignore") {
|
|
340679
340712
|
result.steps.fernignore = stepResult;
|
|
340680
340713
|
} else if (step.name === "github") {
|
|
@@ -614298,7 +614331,7 @@ var AccessTokenPosthogManager = class {
|
|
|
614298
614331
|
properties: {
|
|
614299
614332
|
...event,
|
|
614300
614333
|
...event.properties,
|
|
614301
|
-
version: "4.80.
|
|
614334
|
+
version: "4.80.4-1-gc11eebc7322",
|
|
614302
614335
|
usingAccessToken: true
|
|
614303
614336
|
}
|
|
614304
614337
|
});
|
|
@@ -614352,7 +614385,7 @@ var UserPosthogManager = class {
|
|
|
614352
614385
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
614353
614386
|
event: "CLI",
|
|
614354
614387
|
properties: {
|
|
614355
|
-
version: "4.80.
|
|
614388
|
+
version: "4.80.4-1-gc11eebc7322",
|
|
614356
614389
|
...event,
|
|
614357
614390
|
...event.properties,
|
|
614358
614391
|
usingAccessToken: false,
|
|
@@ -831633,7 +831666,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
831633
831666
|
var LOGS_FOLDER_NAME = "logs";
|
|
831634
831667
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
831635
831668
|
function getCliSource() {
|
|
831636
|
-
const version7 = "4.80.
|
|
831669
|
+
const version7 = "4.80.4-1-gc11eebc7322";
|
|
831637
831670
|
return `cli@${version7}`;
|
|
831638
831671
|
}
|
|
831639
831672
|
var DebugLogger = class {
|
|
@@ -843147,7 +843180,7 @@ var LegacyDocsPublisher = class {
|
|
|
843147
843180
|
previewId,
|
|
843148
843181
|
disableTemplates: void 0,
|
|
843149
843182
|
skipUpload,
|
|
843150
|
-
cliVersion: "4.80.
|
|
843183
|
+
cliVersion: "4.80.4-1-gc11eebc7322"
|
|
843151
843184
|
});
|
|
843152
843185
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
843153
843186
|
return { success: false };
|
|
@@ -918236,7 +918269,7 @@ var CliContext = class _CliContext {
|
|
|
918236
918269
|
if (false) {
|
|
918237
918270
|
this.logger.error("CLI_VERSION is not defined");
|
|
918238
918271
|
}
|
|
918239
|
-
return "4.80.
|
|
918272
|
+
return "4.80.4-1-gc11eebc7322";
|
|
918240
918273
|
}
|
|
918241
918274
|
getCliName() {
|
|
918242
918275
|
if (false) {
|
package/package.json
CHANGED