Skip to content

Releases: iamgarriTech/easwitch

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 14:45
c11510d

Added

  • easw eas <args>: run EAS CLI the way the shell hook does (the linked account inside linked projects, your normal login elsewhere), as a documented command for scripts and CI. The hook now calls it; hooks installed earlier keep working.
  • easw env: prints shell code that sets EXPO_TOKEN to the account easw would use here, for eval "$(easw env)" (plus fish, PowerShell and cmd variants, and --unset). It won't print the token straight into a terminal.
  • easw current warns when plain eas won't follow the project's link: when the hook isn't set up, or it's set up but the terminal hasn't loaded it. easw current --json adds hook and plainEasFollowsLink.

Changed

  • The shell hook sets EASWITCH_HOOK=1 in terminals that load it. On Command Prompt, run easw hook again to update the hook file.

v0.8.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 13:33
0434d5b

Fixed

  • A custom EASWITCH_CONFIG_DIR now keeps its tokens separate from your real accounts' tokens. Before, adding or removing an account with the same name there (for example in a test or demo) also overwrote or deleted your real token for that account.

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 12:12
8ee87bf

Added

  • easw link offers to set up the shell hook when it isn't set up yet, so plain eas commands follow project links too. Press Enter to accept, or pass --no-hook-prompt to skip the question. Without a terminal it only prints a tip.

Changed

  • The README, docs website and demo GIF lead with keeping plain eas: add your accounts, run easw hook once, link each project, then use eas as usual. Typing easw instead is shown as the alternative.
  • Detecting an existing hook on Windows no longer needs to start PowerShell.

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 11:08
a58a7c8

Added

  • "Example: working at Acme" in the README and on the docs website: a full walkthrough of using work, client and personal Expo accounts, including the difference between an Expo user and an organization.
  • easw link says that easw commands now use the linked account, and suggests easw hook when plain eas isn't set up to follow links yet.
  • Documentation website at https://iamgarritech.github.io/easwitch/, with a getting started guide, pages on linking projects, the shell hook, how it works and scripting, a full command reference, and an FAQ.

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 10:02
da903e9

Added

  • easw hook turns on the shell hook with one command. It detects your shell and adds a marked line to its config file; easw unhook removes it. easw shell-init still prints the script for manual setup.
  • The shell hook supports Command Prompt (cmd) through a doskey macro loaded by cmd's AutoRun setting. On Windows, easw hook sets up both PowerShell and Command Prompt.
  • easw --help includes quick start examples.

Changed

  • The README has a quick start, a full command reference with every option, and sections on the shell hook, environment variables and exit codes.

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 09:38
d889beb

Added

  • easw shell-init: an opt-in shell hook (zsh, bash, fish, PowerShell) so plain eas runs as the linked account inside projects linked with easw link, and as your normal login everywhere else. eas login/eas logout always use your normal session.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 05:22
9e67b15

Changed

  • The README on npm now includes a demo GIF.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 26 Sep 05:00
35800f6

Added

  • easw use without a name shows a picker of your accounts.
  • easw list --check tests each stored token with Expo and flags revoked or expired ones. It exits with code 1 if any are invalid, and fills in missing usernames.

v0.4.1

Choose a tag to compare

@github-actions github-actions released this 26 Sep 04:50
c6b68e0

Changed

  • Releases are published from GitHub Actions with npm trusted publishing, so each version on npm has a provenance attestation.

v0.4.0

Choose a tag to compare

@iamgarriTech iamgarriTech released this 26 Sep 04:33
25b7379

Added

  • easw add can log in to Expo (browser, email and password, or SSO) instead of asking you to paste a token. The login runs in a temporary, separate session, so your normal Expo login isn't affected. EASwitch uses it to create an access token, then logs the temporary session out. --login [browser|password|sso] skips the menu; pasting a token still works.

Fixed

  • The Expo username saved for a pasted token no longer includes "(authenticated using EXPO_TOKEN)", which newer EAS CLI versions add to eas whoami.

Also includes 0.3.0 (--json output and a more prominent token link), which wasn't published to npm separately.

npm install -g easwitch@latest