Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ This is the log of notable changes to EAS CLI and related packages.

### 🧹 Chores

- [eas-cli] Drop confusing `Limited` prefix and add `(Organization)` label in the account picker shown by `eas new`. ([#3829](https://github.com/expo/eas-cli/pull/3829) by [@davidmokos](https://github.com/davidmokos))

## [20.1.0](https://github.com/expo/eas-cli/releases/tag/v20.1.0) - 2026-06-05

### 🎉 New features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,14 +159,14 @@ describe('configs', () => {

expect(result).toEqual([
{
title: 'other',
title: 'other (Organization)',
value: { name: 'other' },
disabled: true,
description:
'You do not have the required permissions to create projects on this account.',
},
{
title: 'jester',
title: 'jester (Organization)',
value: { name: 'jester' },
},
]);
Expand Down
16 changes: 8 additions & 8 deletions packages/eas-cli/src/commandUtils/new/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,14 @@ export function getAccountChoices(actor: Actor, permissionsMap?: Map<string, boo
const sortedAccounts = [...actor.accounts].sort((a, _b) => (a.ownerUserActor ? 1 : -1));

return sortedAccounts.map(account => {
const isPersonalAccount = !!account.ownerUserActor && account.ownerUserActor.id === actor.id;
const isTeamAccount = !!account.ownerUserActor && account.ownerUserActor.id !== actor.id;

const accountDisplayName = isPersonalAccount
? `${account.name} (Limited - Personal Account)`
: isTeamAccount
? `${account.name} (Limited - Team Account)`
: account.name;
// Team accounts are a legacy setup - a personal (user-owned) account with
// additional collaborators. New multi-user setups use Organizations instead.
const accountKindSuffix = !account.ownerUserActor
? '(Organization)'
: account.ownerUserActor.id === actor.id
? '(Personal)'
: '(Team)';
const accountDisplayName = `${account.name} ${accountKindSuffix}`;

const disabled = !permissions.get(account.name);

Expand Down
Loading