chore: sync mise deps, gh copilot extension

This commit is contained in:
2026-02-02 15:59:55 +00:00
parent d872eda9ee
commit 6e58b3e95d
3 changed files with 11 additions and 33 deletions

View File

@@ -42,12 +42,12 @@ mise --version
# Define all tools to install
typeset -a MISE_TOOLS=(
"python@3"
"poetry@latest"
"node@lts"
"gh@latest"
"terraform@latest"
"firebase@latest"
"python@3.14.2"
"poetry@2.3.2"
"node@25.5.0"
"gh@2.86.0"
"terraform@1.14.4"
"firebase@15.5.1"
)
# Install all tools in parallel
@@ -56,12 +56,9 @@ mise install "${MISE_TOOLS[@]}"
# Set global versions
log_info "Setting global versions..."
mise use -g python@3
mise use -g poetry@latest
mise use -g node@lts
mise use -g gh@latest
mise use -g terraform@latest
mise use -g firebase@latest
for tool in "${MISE_TOOLS[@]}"; do
mise use -g "$tool"
done
# Activate mise environment for current session
eval "$(mise activate bash)"

View File

@@ -1,20 +0,0 @@
#!/usr/bin/env bash
# -----------------------------------------------------------------------------
# Description:
# Install GitHub Copilot CLI (globally via npm).
#
if ! command -v npm &>/dev/null; then
log_warn "npm not found, skipping"
return 0
fi
# Install if not present
if ! command -v copilot &>/dev/null; then
log_info "Installing GitHub Copilot CLI..."
npm install -g @github/copilot --silent
fi
# Verify installation
log_info "GitHub Copilot CLI: $(copilot --version 2>&1 | head -1)"