diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a9410b85d..b32f23dfc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/eas-cli/src/commandUtils/new/__tests__/configs.test.ts b/packages/eas-cli/src/commandUtils/new/__tests__/configs.test.ts index 0aed1e39b3..15c7452012 100644 --- a/packages/eas-cli/src/commandUtils/new/__tests__/configs.test.ts +++ b/packages/eas-cli/src/commandUtils/new/__tests__/configs.test.ts @@ -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' }, }, ]); diff --git a/packages/eas-cli/src/commandUtils/new/configs.ts b/packages/eas-cli/src/commandUtils/new/configs.ts index 22e21844ad..4dbadf6b48 100644 --- a/packages/eas-cli/src/commandUtils/new/configs.ts +++ b/packages/eas-cli/src/commandUtils/new/configs.ts @@ -120,14 +120,14 @@ export function getAccountChoices(actor: Actor, permissionsMap?: Map (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);