Skip to content

Commit

Permalink
feat: enhance CLI with interactive package management
Browse files Browse the repository at this point in the history
- Add interactive package search and selection using inquirer
- Implement fuzzy search functionality for package discovery
- Add colored output and improved package display formatting
- Support direct package installation and source URL opening
- Update project structure for ES modules
- Add new dependencies for improved CLI experience
- Enhance scripts in package.json for development workflow
  • Loading branch information
michaellatman committed Nov 27, 2024
1 parent ac2259e commit dcb5aae
Show file tree
Hide file tree
Showing 15 changed files with 1,452 additions and 53 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/update-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Update Package List

on:
schedule:
- cron: '0 0 * * *' # Runs daily at midnight
workflow_dispatch: # Allows manual triggering

jobs:
update-packages:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm install

- name: Run package extractor
run: npm run extract

- name: Check for changes
id: git-check
run: |
git diff --exit-code packages/package-list.json || echo "changes=true" >> $GITHUB_OUTPUT
- name: Create Pull Request
if: steps.git-check.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update package list'
title: 'Update MCP Package List'
body: |
This PR updates the package list with new or modified MCP servers.
Changes were automatically detected and generated.
branch: update-package-list
base: main
delete-branch: true
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Dependencies
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Build output
dist/
build/
*.tsbuildinfo

# Environment variables
.env
.env.local
.env.*.local

# IDE and editor files
.idea/
.vscode/
*.swp
*.swo
.DS_Store
Thumbs.db

# Temporary files
temp/
tmp/
*.tmp
*.temp

# Logs
logs/
*.log

# Test coverage
coverage/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity
Loading

0 comments on commit dcb5aae

Please sign in to comment.