@fern-api/fern-api-dev 4.62.2-35-gae6f79190ad → 4.62.2-37-g40f8f6b21d3
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 +22 -10
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -602754,7 +602754,7 @@ var AccessTokenPosthogManager = class {
|
|
|
602754
602754
|
properties: {
|
|
602755
602755
|
...event,
|
|
602756
602756
|
...event.properties,
|
|
602757
|
-
version: "4.62.2-
|
|
602757
|
+
version: "4.62.2-37-g40f8f6b21d3",
|
|
602758
602758
|
usingAccessToken: true
|
|
602759
602759
|
}
|
|
602760
602760
|
});
|
|
@@ -602805,7 +602805,7 @@ var UserPosthogManager = class {
|
|
|
602805
602805
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
602806
602806
|
event: "CLI",
|
|
602807
602807
|
properties: {
|
|
602808
|
-
version: "4.62.2-
|
|
602808
|
+
version: "4.62.2-37-g40f8f6b21d3",
|
|
602809
602809
|
...event,
|
|
602810
602810
|
...event.properties,
|
|
602811
602811
|
usingAccessToken: false,
|
|
@@ -840093,7 +840093,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
840093
840093
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
840094
840094
|
var LOGS_FOLDER_NAME = "logs";
|
|
840095
840095
|
function getCliSource() {
|
|
840096
|
-
const version7 = "4.62.2-
|
|
840096
|
+
const version7 = "4.62.2-37-g40f8f6b21d3";
|
|
840097
840097
|
return `cli@${version7}`;
|
|
840098
840098
|
}
|
|
840099
840099
|
var DebugLogger = class {
|
|
@@ -851201,7 +851201,7 @@ var LegacyDocsPublisher = class {
|
|
|
851201
851201
|
previewId,
|
|
851202
851202
|
disableTemplates: void 0,
|
|
851203
851203
|
skipUpload,
|
|
851204
|
-
cliVersion: "4.62.2-
|
|
851204
|
+
cliVersion: "4.62.2-37-g40f8f6b21d3"
|
|
851205
851205
|
});
|
|
851206
851206
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
851207
851207
|
return { success: false };
|
|
@@ -903898,7 +903898,8 @@ var LegacyLocalGenerationRunner = class {
|
|
|
903898
903898
|
absolutePathToPreview: void 0,
|
|
903899
903899
|
inspect: false,
|
|
903900
903900
|
ai: void 0,
|
|
903901
|
-
skipFernignore: args.skipFernignore
|
|
903901
|
+
skipFernignore: args.skipFernignore,
|
|
903902
|
+
requireEnvVars: args.requireEnvVars
|
|
903902
903903
|
});
|
|
903903
903904
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
903904
903905
|
return {
|
|
@@ -904006,7 +904007,7 @@ var LegacyRemoteGenerationRunner = class {
|
|
|
904006
904007
|
whitelabel: void 0,
|
|
904007
904008
|
dynamicIrOnly: false,
|
|
904008
904009
|
retryRateLimited: false,
|
|
904009
|
-
requireEnvVars: true
|
|
904010
|
+
requireEnvVars: args.requireEnvVars ?? true
|
|
904010
904011
|
});
|
|
904011
904012
|
if (this.isLocalGitCombo(args) && absolutePathToPreview != null) {
|
|
904012
904013
|
const generatorName = basename2(generatorInvocation.name);
|
|
@@ -904144,7 +904145,8 @@ var GeneratorPipeline = class {
|
|
|
904144
904145
|
outputPath: args.outputPath,
|
|
904145
904146
|
containerEngine: args.containerEngine,
|
|
904146
904147
|
token: args.token,
|
|
904147
|
-
skipFernignore: args.skipFernignore
|
|
904148
|
+
skipFernignore: args.skipFernignore,
|
|
904149
|
+
requireEnvVars: args.requireEnvVars
|
|
904148
904150
|
});
|
|
904149
904151
|
if (!result.success) {
|
|
904150
904152
|
return {
|
|
@@ -904180,7 +904182,8 @@ var GeneratorPipeline = class {
|
|
|
904180
904182
|
preview: args.preview,
|
|
904181
904183
|
outputPath: args.outputPath,
|
|
904182
904184
|
fernignorePath: args.fernignorePath,
|
|
904183
|
-
skipFernignore: args.skipFernignore
|
|
904185
|
+
skipFernignore: args.skipFernignore,
|
|
904186
|
+
requireEnvVars: args.requireEnvVars
|
|
904184
904187
|
});
|
|
904185
904188
|
if (!result.success) {
|
|
904186
904189
|
return {
|
|
@@ -904555,7 +904558,8 @@ var GenerateCommand = class {
|
|
|
904555
904558
|
token,
|
|
904556
904559
|
version: args["output-version"],
|
|
904557
904560
|
fernignorePath: args.fernignore,
|
|
904558
|
-
skipFernignore: args["skip-fernignore"]
|
|
904561
|
+
skipFernignore: args["skip-fernignore"],
|
|
904562
|
+
requireEnvVars: args["require-env-vars"]
|
|
904559
904563
|
});
|
|
904560
904564
|
if (!pipelineResult.success) {
|
|
904561
904565
|
task.stage.generator.fail(pipelineResult.error);
|
|
@@ -904829,6 +904833,10 @@ function addGenerateCommand(cli) {
|
|
|
904829
904833
|
type: "boolean",
|
|
904830
904834
|
default: false,
|
|
904831
904835
|
description: "Skip the .fernignore file and generate all files. For remote generation, uploads an empty .fernignore. For local generation, skips reading .fernignore from the output directory."
|
|
904836
|
+
}).option("require-env-vars", {
|
|
904837
|
+
type: "boolean",
|
|
904838
|
+
default: true,
|
|
904839
|
+
description: "Require all referenced environment variables to be defined (use --no-require-env-vars to substitute empty strings for missing variables)"
|
|
904832
904840
|
}));
|
|
904833
904841
|
}
|
|
904834
904842
|
|
|
@@ -904893,6 +904901,10 @@ function addPreviewCommand2(cli) {
|
|
|
904893
904901
|
type: "string",
|
|
904894
904902
|
description: "Path to .fernignore file",
|
|
904895
904903
|
hidden: true
|
|
904904
|
+
}).option("require-env-vars", {
|
|
904905
|
+
type: "boolean",
|
|
904906
|
+
default: true,
|
|
904907
|
+
description: "Require all referenced environment variables to be defined (use --no-require-env-vars to substitute empty strings for missing variables)"
|
|
904896
904908
|
}));
|
|
904897
904909
|
}
|
|
904898
904910
|
|
|
@@ -924489,7 +924501,7 @@ var CliContext = class {
|
|
|
924489
924501
|
if (false) {
|
|
924490
924502
|
this.logger.error("CLI_VERSION is not defined");
|
|
924491
924503
|
}
|
|
924492
|
-
return "4.62.2-
|
|
924504
|
+
return "4.62.2-37-g40f8f6b21d3";
|
|
924493
924505
|
}
|
|
924494
924506
|
getCliName() {
|
|
924495
924507
|
if (false) {
|
package/package.json
CHANGED