@fern-api/fern-api-dev 3.51.3-2-gc87b26eb5c9 → 3.51.3-4-gd9f8fe64b6b
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 +11 -11
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1414776,7 +1414776,7 @@ ${description}`);
|
|
|
1414776
1414776
|
}, withContext(handler3));
|
|
1414777
1414777
|
}
|
|
1414778
1414778
|
|
|
1414779
|
-
// ../cli-v2/lib/commands/auth/login.js
|
|
1414779
|
+
// ../cli-v2/lib/commands/auth/login/command.js
|
|
1414780
1414780
|
function addLoginCommand(cli) {
|
|
1414781
1414781
|
command2(cli, "login", "Log in to fern", handleLogin);
|
|
1414782
1414782
|
}
|
|
@@ -1414784,7 +1414784,7 @@ async function handleLogin(context2, _args) {
|
|
|
1414784
1414784
|
context2.stdout.info("Logging in...");
|
|
1414785
1414785
|
}
|
|
1414786
1414786
|
|
|
1414787
|
-
// ../cli-v2/lib/commands/auth/logout.js
|
|
1414787
|
+
// ../cli-v2/lib/commands/auth/logout/command.js
|
|
1414788
1414788
|
function addLogoutCommand(cli) {
|
|
1414789
1414789
|
command2(cli, "logout", "Log out of fern", handleLogout);
|
|
1414790
1414790
|
}
|
|
@@ -1414792,7 +1414792,7 @@ async function handleLogout(context2, _args) {
|
|
|
1414792
1414792
|
context2.stdout.info("Logging out...");
|
|
1414793
1414793
|
}
|
|
1414794
1414794
|
|
|
1414795
|
-
// ../cli-v2/lib/commands/auth/token.js
|
|
1414795
|
+
// ../cli-v2/lib/commands/auth/token/command.js
|
|
1414796
1414796
|
function addTokenCommand(cli) {
|
|
1414797
1414797
|
command2(cli, "token", "Print the user's authentication token", handleToken);
|
|
1414798
1414798
|
}
|
|
@@ -1414800,7 +1414800,7 @@ async function handleToken(context2, _args) {
|
|
|
1414800
1414800
|
context2.stdout.info("unimplemented");
|
|
1414801
1414801
|
}
|
|
1414802
1414802
|
|
|
1414803
|
-
// ../cli-v2/lib/commands/auth.js
|
|
1414803
|
+
// ../cli-v2/lib/commands/auth/command.js
|
|
1414804
1414804
|
function addAuthCommand(cli) {
|
|
1414805
1414805
|
commandGroup(cli, "auth <command>", "Authenticate fern", [addLoginCommand, addLogoutCommand, addTokenCommand]);
|
|
1414806
1414806
|
}
|
|
@@ -1430009,7 +1430009,7 @@ async function loadFernYml({ cwd: cwd2 }) {
|
|
|
1430009
1430009
|
return result;
|
|
1430010
1430010
|
}
|
|
1430011
1430011
|
|
|
1430012
|
-
// ../cli-v2/lib/commands/check.js
|
|
1430012
|
+
// ../cli-v2/lib/commands/check/command.js
|
|
1430013
1430013
|
function addCheckCommand(cli) {
|
|
1430014
1430014
|
command2(cli, "check", "Validate your API, docs, and SDK configuration", handleCheck);
|
|
1430015
1430015
|
}
|
|
@@ -1656439,7 +1656439,7 @@ var WorkspaceLoader = class {
|
|
|
1656439
1656439
|
}
|
|
1656440
1656440
|
};
|
|
1656441
1656441
|
|
|
1656442
|
-
// ../cli-v2/lib/commands/sdk/generate.js
|
|
1656442
|
+
// ../cli-v2/lib/commands/sdk/generate/command.js
|
|
1656443
1656443
|
function addGenerateCommand(cli) {
|
|
1656444
1656444
|
command2(
|
|
1656445
1656445
|
cli,
|
|
@@ -1656599,7 +1656599,7 @@ function maybePluralSdks(targets2) {
|
|
|
1656599
1656599
|
return targets2.length === 1 ? "SDK" : "SDKs";
|
|
1656600
1656600
|
}
|
|
1656601
1656601
|
|
|
1656602
|
-
// ../cli-v2/lib/commands/sdk.js
|
|
1656602
|
+
// ../cli-v2/lib/commands/sdk/command.js
|
|
1656603
1656603
|
function addSdkCommand(cli) {
|
|
1656604
1656604
|
commandGroup(cli, "sdk <command>", "Configure and generate SDKs", [addGenerateCommand]);
|
|
1656605
1656605
|
}
|
|
@@ -1662559,7 +1662559,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1662559
1662559
|
properties: {
|
|
1662560
1662560
|
...event,
|
|
1662561
1662561
|
...event.properties,
|
|
1662562
|
-
version: "3.51.3-
|
|
1662562
|
+
version: "3.51.3-4-gd9f8fe64b6b",
|
|
1662563
1662563
|
usingAccessToken: true
|
|
1662564
1662564
|
}
|
|
1662565
1662565
|
});
|
|
@@ -1662609,7 +1662609,7 @@ var UserPosthogManager = class {
|
|
|
1662609
1662609
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1662610
1662610
|
event: "CLI",
|
|
1662611
1662611
|
properties: {
|
|
1662612
|
-
version: "3.51.3-
|
|
1662612
|
+
version: "3.51.3-4-gd9f8fe64b6b",
|
|
1662613
1662613
|
...event,
|
|
1662614
1662614
|
...event.properties,
|
|
1662615
1662615
|
usingAccessToken: false,
|
|
@@ -1695751,7 +1695751,7 @@ var CliContext = class {
|
|
|
1695751
1695751
|
if (false) {
|
|
1695752
1695752
|
this.logger.error("CLI_VERSION is not defined");
|
|
1695753
1695753
|
}
|
|
1695754
|
-
return "3.51.3-
|
|
1695754
|
+
return "3.51.3-4-gd9f8fe64b6b";
|
|
1695755
1695755
|
}
|
|
1695756
1695756
|
getCliName() {
|
|
1695757
1695757
|
if (false) {
|
|
@@ -1698864,7 +1698864,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
1698864
1698864
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1698865
1698865
|
var LOGS_FOLDER_NAME = "logs";
|
|
1698866
1698866
|
function getCliSource() {
|
|
1698867
|
-
const version7 = "3.51.3-
|
|
1698867
|
+
const version7 = "3.51.3-4-gd9f8fe64b6b";
|
|
1698868
1698868
|
return `cli@${version7}`;
|
|
1698869
1698869
|
}
|
|
1698870
1698870
|
var DebugLogger = class {
|
package/package.json
CHANGED