From 6183f67f3219ac3ef98745e605e421e97bf72a16 Mon Sep 17 00:00:00 2001 From: Alec Rust Date: Mon, 22 Jul 2024 19:39:22 +0100 Subject: [PATCH] Add Expo development tooling --- dotfiles/.default-npm-packages | 1 + dotfiles/.zshrc | 7 +++++++ scripts/brew.sh | 1 + scripts/cask.sh | 5 +++++ 4 files changed, 14 insertions(+) diff --git a/dotfiles/.default-npm-packages b/dotfiles/.default-npm-packages index d5bbbe9..9654778 100755 --- a/dotfiles/.default-npm-packages +++ b/dotfiles/.default-npm-packages @@ -9,6 +9,7 @@ trash-cli del-cli retry-cli gulp-cli +eas-cli stylelint renovate wrangler diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 7a5dce5..8c5cb6f 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -9,9 +9,14 @@ setopt histignorespace # Set VSCode as the default editor export EDITOR="code" +# Set vars for React Native development +export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home +export ANDROID_HOME=$HOME/Library/Android/sdk + # Extend PATH # 1. Add GNU versions of core utilities to start of PATH to override defaults # 2. Add X11 (XQuartz) to end of PATH +# 3. Add Android SDK paths to end of PATH # NOTE: Overriding core utils with GNU equivalents causes 'brew doctor' warnings export PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH" export PATH="$HOMEBREW_PREFIX/opt/findutils/libexec/gnubin:$PATH" @@ -19,6 +24,8 @@ export PATH="$HOMEBREW_PREFIX/opt/gnu-sed/libexec/gnubin:$PATH" export PATH="$HOMEBREW_PREFIX/opt/gnu-tar/libexec/gnubin:$PATH" export PATH="$HOMEBREW_PREFIX/opt/grep/libexec/gnubin:$PATH" export PATH="$PATH:/opt/X11/bin" +export PATH="$PATH:$ANDROID_HOME/emulator" +export PATH="$PATH:$ANDROID_HOME/platform-tools" # Load Antidote and plugins source "$HOMEBREW_PREFIX/opt/antidote/share/antidote/antidote.zsh" diff --git a/scripts/brew.sh b/scripts/brew.sh index ce9d1b2..cd51bf0 100755 --- a/scripts/brew.sh +++ b/scripts/brew.sh @@ -34,6 +34,7 @@ brew install httpie brew install wp-cli brew install composer brew install yamllint +brew install watchman brew install git-cliff brew install git-delta brew install hyperfine diff --git a/scripts/cask.sh b/scripts/cask.sh index 6c85d30..b4d3689 100755 --- a/scripts/cask.sh +++ b/scripts/cask.sh @@ -33,6 +33,11 @@ brew install --cask imageoptim brew install --cask kaleidoscope brew install --cask google-chrome +# App development +brew install --cask zulu@17 +brew install --cask expo-orbit +brew install --cask android-studio + # Personal machine only brew install --cask transmission brew install --cask balenaetcher