@fern-api/fern-api-dev 5.42.0 → 5.43.0
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 +20 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -669384,7 +669384,7 @@ var AccessTokenPosthogManager = class {
|
|
|
669384
669384
|
properties: {
|
|
669385
669385
|
...event,
|
|
669386
669386
|
...event.properties,
|
|
669387
|
-
version: "5.
|
|
669387
|
+
version: "5.43.0",
|
|
669388
669388
|
usingAccessToken: true,
|
|
669389
669389
|
...getRunIdProperties()
|
|
669390
669390
|
}
|
|
@@ -669448,7 +669448,7 @@ var UserPosthogManager = class {
|
|
|
669448
669448
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
669449
669449
|
event: "CLI",
|
|
669450
669450
|
properties: {
|
|
669451
|
-
version: "5.
|
|
669451
|
+
version: "5.43.0",
|
|
669452
669452
|
...event,
|
|
669453
669453
|
...event.properties,
|
|
669454
669454
|
usingAccessToken: false,
|
|
@@ -860411,7 +860411,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
860411
860411
|
var LOGS_FOLDER_NAME = "logs";
|
|
860412
860412
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
860413
860413
|
function getCliSource() {
|
|
860414
|
-
const version7 = "5.
|
|
860414
|
+
const version7 = "5.43.0";
|
|
860415
860415
|
return `cli@${version7}`;
|
|
860416
860416
|
}
|
|
860417
860417
|
var DebugLogger = class {
|
|
@@ -891386,7 +891386,7 @@ var LegacyDocsPublisher = class {
|
|
|
891386
891386
|
previewId,
|
|
891387
891387
|
disableTemplates: void 0,
|
|
891388
891388
|
skipUpload,
|
|
891389
|
-
cliVersion: "5.
|
|
891389
|
+
cliVersion: "5.43.0",
|
|
891390
891390
|
loginCommand: "fern auth login"
|
|
891391
891391
|
});
|
|
891392
891392
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -893753,11 +893753,24 @@ var CreateTokenCommand = class {
|
|
|
893753
893753
|
return;
|
|
893754
893754
|
}
|
|
893755
893755
|
const auth0OrgId = orgLookup.body.auth0Id;
|
|
893756
|
+
let description = args.description;
|
|
893757
|
+
if (description == null && context3.isTTY) {
|
|
893758
|
+
const { desc } = await lib_default4.prompt([
|
|
893759
|
+
{
|
|
893760
|
+
type: "input",
|
|
893761
|
+
name: "desc",
|
|
893762
|
+
message: `Description ${source_default.dim("(optional, press Enter to skip)")}:`
|
|
893763
|
+
}
|
|
893764
|
+
]);
|
|
893765
|
+
if (desc.trim().length > 0) {
|
|
893766
|
+
description = desc.trim();
|
|
893767
|
+
}
|
|
893768
|
+
}
|
|
893756
893769
|
const response = await withSpinner({
|
|
893757
893770
|
message: `Creating token for organization "${args.org}"`,
|
|
893758
893771
|
operation: () => venus.apiKeys.create({
|
|
893759
893772
|
organizationId: auth0OrgId,
|
|
893760
|
-
description
|
|
893773
|
+
description
|
|
893761
893774
|
})
|
|
893762
893775
|
});
|
|
893763
893776
|
if (response.ok) {
|
|
@@ -956454,7 +956467,7 @@ function getAutomationContextFromEnv() {
|
|
|
956454
956467
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
956455
956468
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
956456
956469
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
956457
|
-
cli_version: "5.
|
|
956470
|
+
cli_version: "5.43.0"
|
|
956458
956471
|
};
|
|
956459
956472
|
}
|
|
956460
956473
|
function isAutomationMode() {
|
|
@@ -957280,7 +957293,7 @@ var CliContext = class _CliContext {
|
|
|
957280
957293
|
if (false) {
|
|
957281
957294
|
this.logger.error("CLI_VERSION is not defined");
|
|
957282
957295
|
}
|
|
957283
|
-
return "5.
|
|
957296
|
+
return "5.43.0";
|
|
957284
957297
|
}
|
|
957285
957298
|
getCliName() {
|
|
957286
957299
|
if (false) {
|
package/package.json
CHANGED