🤖 一个由 AI 驱动的现代化 NPM 包升级助手,帮助开发者轻松管理和升级项目依赖。
🤖 An AI-powered modern NPM package upgrade assistant to help developers easily manage and upgrade project dependencies.
- 🎯 自动检测过时的依赖包 Automatically detect outdated dependencies
- 🔍 深度分析依赖关系 Deep analysis of dependency relationships
- 📊 生成详细的依赖报告 Generate detailed dependency reports
- 🛡️ 识别安全漏洞 Identify security vulnerabilities
⚠️ 提供修复建议 Provide repair suggestions- ✅ 验证更新兼容性 Verify update compatibility
- 🔄 一键批量更新 One-click batch updates
- 📦 版本锁定管理 Version lock management
- ⚡ 快速回滚功能 Quick rollback feature
# 克隆项目 Clone the project
git clone https://github.com/your-username/npm-upgrade.git
# 进入项目目录 Enter project directory
cd npm-upgrade
# 安装依赖 Install dependencies
pnpm install# 启动开发服务器 Start development server
pnpm dev
# 构建生产版本 Build for production
pnpm build
# 启动生产服务器 Start production server
pnpm start-
前端框架 Frontend Framework
- Next.js 15
- React 19
- TypeScript
-
样式与UI Styling & UI
- Tailwind CSS
- Radix UI
- Lucide Icons
-
AI 集成 AI Integration
- OpenAI API
├── app/ # 应用主目录 Main application directory
├── components/ # React 组件 React components
├── lib/ # 工具函数和库 Utility functions and libraries
├── public/ # 静态资源 Static assets
└── ...
- 复制环境配置文件 Copy environment configuration
cp .env.local.example .env.local- 配置必要的环境变量 Configure required environment variables
OPENAI_API_KEY=your_api_key_here- 启动项目 Start the project
pnpm dev- 访问应用 Access the application
http://localhost:3000
- 上传 package.json Upload package.json
- 查看分析结果 View analysis results
- 执行更新操作 Perform updates
- 自定义更新规则 Custom update rules
- 依赖关系图可视化 Dependency graph visualization
- 更新历史记录 Update history tracking
欢迎提交 Pull Request 或创建 Issue! Contributions are welcome! Feel free to submit Pull Requests or create Issues.
MIT License
感谢所有贡献者和用户的支持! Thanks to all contributors and users for their support!