Skip to content

Commit

Permalink
chore(deps): update dependencies
Browse files Browse the repository at this point in the history
- Add `@std/fmt@1.0.3` dependency
- Update `@anthropic-ai/sdk` to `0.30.0`
- Update `chalk` to `5.3.0`
- Add checks for required dependencies and GitHub CLI authentication in the install script
  • Loading branch information
sidedwards committed Oct 27, 2024
1 parent 99954a2 commit 5fcf717
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
6 changes: 6 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ async function searchAndSelectIssue(): Promise<{ number: number, title: string }
}

console.log(`\n${COLORS.header("Found issues:")}`);
console.log('┌──────┬────────┬───────────────────────��──────────────────────────────────┐');
console.log('┌──────┬────────┬─────────────────────────────────────────────────────────┐');
console.log('│ Sel# │ ID │ Title │');
console.log('├──────┼────────┼──────────────────────────────────────────────────────────┤');

Expand Down
14 changes: 14 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
set -e

main() {
# Check for required dependencies
if ! command -v gh &> /dev/null; then
echo "GitHub CLI (gh) is required but not found."
echo "Install instructions: https://cli.github.com/manual/installation"
exit 1
}

# Check if gh is authenticated
if ! gh auth status &> /dev/null; then
echo "GitHub CLI is not authenticated. Please run:"
echo " gh auth login"
exit 1
fi

BIN_DIR=${BIN_DIR-"$HOME/.bin"}
mkdir -p $BIN_DIR

Expand Down

0 comments on commit 5fcf717

Please sign in to comment.