eas-cli 18.2.0 → 18.3.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/README.md +88 -88
- package/build/commands/account/view.js +6 -2
- package/build/graphql/generated.d.ts +1 -0
- package/build/graphql/queries/UserQuery.js +3 -0
- package/oclif.manifest.json +1954 -1954
- package/package.json +2 -2
|
@@ -16,10 +16,14 @@ class AccountView extends EasCommand_1.default {
|
|
|
16
16
|
async runAsync() {
|
|
17
17
|
const { maybeLoggedIn: { actor, authenticationInfo }, } = await this.getContextAsync(AccountView, { nonInteractive: true });
|
|
18
18
|
if (actor) {
|
|
19
|
+
const displayName = (0, User_1.getActorDisplayName)(actor);
|
|
19
20
|
const loggedInAs = authenticationInfo.accessToken
|
|
20
|
-
? `${
|
|
21
|
-
:
|
|
21
|
+
? `${displayName} (authenticated using EXPO_TOKEN)`
|
|
22
|
+
: displayName;
|
|
22
23
|
log_1.default.log(chalk_1.default.green(loggedInAs));
|
|
24
|
+
if ('email' in actor) {
|
|
25
|
+
log_1.default.log(actor.email);
|
|
26
|
+
}
|
|
23
27
|
// personal account is included, only show if more accounts that personal account
|
|
24
28
|
// but do show personal account in list if there are more
|
|
25
29
|
const accountExcludingPersonalAccount = actor.accounts.filter(account => !('username' in actor) || account.name !== actor.username);
|
|
@@ -15915,6 +15915,7 @@ export type CurrentUserQuery = {
|
|
|
15915
15915
|
}>;
|
|
15916
15916
|
} | {
|
|
15917
15917
|
__typename: 'User';
|
|
15918
|
+
email: string;
|
|
15918
15919
|
username: string;
|
|
15919
15920
|
id: string;
|
|
15920
15921
|
featureGates: any;
|