@fern-api/fern-api-dev 4.80.4-1-gc11eebc7322 → 4.80.4
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 +23 -56
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -330613,50 +330613,6 @@ 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
|
-
|
|
330660
330616
|
// ../../generator-cli/lib/pipeline/github/createReplayBranch.js
|
|
330661
330617
|
var require_createReplayBranch = __commonJS({
|
|
330662
330618
|
"../../generator-cli/lib/pipeline/github/createReplayBranch.js"(exports2) {
|
|
@@ -330923,6 +330879,24 @@ var require_replay_summary = __commonJS({
|
|
|
330923
330879
|
}
|
|
330924
330880
|
});
|
|
330925
330881
|
|
|
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
|
+
|
|
330926
330900
|
// ../../generator-cli/lib/pipeline/steps/GithubStep.js
|
|
330927
330901
|
var require_GithubStep = __commonJS({
|
|
330928
330902
|
"../../generator-cli/lib/pipeline/steps/GithubStep.js"(exports2) {
|
|
@@ -340660,7 +340634,6 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
340660
340634
|
var child_process_1 = require("child_process");
|
|
340661
340635
|
var constants_1 = require_constants3();
|
|
340662
340636
|
var PipelineLogger_1 = require_PipelineLogger();
|
|
340663
|
-
var AutoVersionStep_1 = require_AutoVersionStep();
|
|
340664
340637
|
var GithubStep_1 = require_GithubStep();
|
|
340665
340638
|
var ReplayStep_1 = require_ReplayStep();
|
|
340666
340639
|
var PostGenerationPipeline2 = class {
|
|
@@ -340674,9 +340647,6 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
340674
340647
|
this.logger.warn("Replay is not supported with GitHub push mode. Disabling replay to prevent force push to base branch.");
|
|
340675
340648
|
config5.replay.enabled = false;
|
|
340676
340649
|
}
|
|
340677
|
-
if (config5.autoVersion?.enabled) {
|
|
340678
|
-
this.steps.push(new AutoVersionStep_1.AutoVersionStep(config5.outputDir, this.logger, config5.autoVersion));
|
|
340679
|
-
}
|
|
340680
340650
|
if (config5.replay?.enabled) {
|
|
340681
340651
|
this.steps.push(new ReplayStep_1.ReplayStep(config5.outputDir, this.logger, config5.replay, config5.cliVersion, config5.generatorVersions, config5.generatorName));
|
|
340682
340652
|
}
|
|
@@ -340705,9 +340675,6 @@ var require_PostGenerationPipeline = __commonJS({
|
|
|
340705
340675
|
if (step.name === "replay") {
|
|
340706
340676
|
result.steps.replay = stepResult;
|
|
340707
340677
|
pipelineContext.previousStepResults.replay = stepResult;
|
|
340708
|
-
} else if (step.name === "autoVersion") {
|
|
340709
|
-
result.steps.autoVersion = stepResult;
|
|
340710
|
-
pipelineContext.previousStepResults.autoVersion = stepResult;
|
|
340711
340678
|
} else if (step.name === "fernignore") {
|
|
340712
340679
|
result.steps.fernignore = stepResult;
|
|
340713
340680
|
} else if (step.name === "github") {
|
|
@@ -614331,7 +614298,7 @@ var AccessTokenPosthogManager = class {
|
|
|
614331
614298
|
properties: {
|
|
614332
614299
|
...event,
|
|
614333
614300
|
...event.properties,
|
|
614334
|
-
version: "4.80.4
|
|
614301
|
+
version: "4.80.4",
|
|
614335
614302
|
usingAccessToken: true
|
|
614336
614303
|
}
|
|
614337
614304
|
});
|
|
@@ -614385,7 +614352,7 @@ var UserPosthogManager = class {
|
|
|
614385
614352
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
614386
614353
|
event: "CLI",
|
|
614387
614354
|
properties: {
|
|
614388
|
-
version: "4.80.4
|
|
614355
|
+
version: "4.80.4",
|
|
614389
614356
|
...event,
|
|
614390
614357
|
...event.properties,
|
|
614391
614358
|
usingAccessToken: false,
|
|
@@ -831666,7 +831633,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
831666
831633
|
var LOGS_FOLDER_NAME = "logs";
|
|
831667
831634
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
831668
831635
|
function getCliSource() {
|
|
831669
|
-
const version7 = "4.80.4
|
|
831636
|
+
const version7 = "4.80.4";
|
|
831670
831637
|
return `cli@${version7}`;
|
|
831671
831638
|
}
|
|
831672
831639
|
var DebugLogger = class {
|
|
@@ -843180,7 +843147,7 @@ var LegacyDocsPublisher = class {
|
|
|
843180
843147
|
previewId,
|
|
843181
843148
|
disableTemplates: void 0,
|
|
843182
843149
|
skipUpload,
|
|
843183
|
-
cliVersion: "4.80.4
|
|
843150
|
+
cliVersion: "4.80.4"
|
|
843184
843151
|
});
|
|
843185
843152
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
843186
843153
|
return { success: false };
|
|
@@ -918269,7 +918236,7 @@ var CliContext = class _CliContext {
|
|
|
918269
918236
|
if (false) {
|
|
918270
918237
|
this.logger.error("CLI_VERSION is not defined");
|
|
918271
918238
|
}
|
|
918272
|
-
return "4.80.4
|
|
918239
|
+
return "4.80.4";
|
|
918273
918240
|
}
|
|
918274
918241
|
getCliName() {
|
|
918275
918242
|
if (false) {
|
package/package.json
CHANGED