advanced-dev-kit
v1.0.2
Published
A comprehensive CLI toolkit for modern development workflows - featuring task automation, project cleaning, and developer utilities
Maintainers
Readme
🚀 Advanced Development Kit (ADK)
A comprehensive CLI toolkit for modern development workflows - featuring task automation, project cleaning, and developer utilities built with TypeScript.
✨ Features
- 🧹 Project Cleanup - Clean temporary files and build artifacts
- 🚀 Smart Deployment - Automated deployment workflows with version management
- 🩺 Health Diagnostics - System and environment health checks
- ⚡ Fast & Modern - Built with TypeScript and optimized for performance
- 🎨 Beautiful UI - Rich terminal interface with colors and animations
📦 Quick Start
Option 1: Global Installation (Recommended)
npm install -g advanced-dev-kitAfter global installation, use adk directly from anywhere:
adk --help
adk doctor
adk cleanOption 2: Local Project Usage
# Install locally
npm install advanced-dev-kit
# Use with npx
npx adk --help
npx adk cleanOption 3: Development Setup
# Clone and setup for development
git clone https://github.com/AdarshHatkar/advanced-dev-kit.git
cd advanced-dev-kit
npm install
npm run build
# Install globally from source
npm install -g .🎯 Quick Commands
Once installed globally, here are the most common commands:
# Check system health and ADK installation
adk doctor
# Clean your project
adk clean
# Deploy to development
adk deploy dev
# Deploy to production (with version management)
adk deploy prod
# Get help
adk --help📖 Detailed Usage
🧹 adk clean
Clean temporary folders and files from your project.
What it cleans:
node_modules/directories- Build artifacts (
dist/,build/) - Temporary files and caches
- Log files
Usage:
adk clean🚀 adk deploy
Deployment commands with smart workflows and version management.
Deploy to Development
adk deploy dev- Pushes main branch to dev branch with force
- Quick and simple development deployment
Deploy to Production
adk deploy prodComprehensive production workflow:
- ✅ Pulls latest changes from stable branch
- ✅ Checks for uncommitted changes
- ✅ Ensures you're on the main branch
- ✅ Auto-increments version if needed
- ✅ Creates deployment commit with timestamp
- ✅ Pushes changes to main branch
- ✅ Creates pull request from main to stable
- ✅ Opens PR in browser
🩺 adk doctor
Run comprehensive system and environment diagnostics.
Checks:
- ADK installation status
- Node.js and npm compatibility
- Git availability and repository status
- Available ADK commands
- Current project status
Usage:
adk doctor⚙️ Configuration
Deployment Tracking
ADK uses a deploy.json file to track deployment history and manage versions:
{
"last_deploy": "2025-07-05 14:30:00",
"hash": "abc123def456",
"version": "1.2.3"
}This file is automatically created and updated during production deployments.
🔧 Prerequisites for Production Deployment
Before using adk deploy prod, ensure you have:
✅ Git Repository
- Must be a git repository
- Requires
mainandstablebranches
✅ GitHub CLI
# Install GitHub CLI npm install -g @github/cli # Authenticate gh auth login✅ Clean Working Directory
- No uncommitted changes
- All changes should be committed
✅ Correct Branch
- Must be on
mainbranch for production deployment
- Must be on
🛠️ Development
Building the Project
npm run build # Build once
npm run dev # Build and watch for changesAvailable Scripts
npm run build # Build the project
npm run dev # Build and watch for changes
npm run clean # Clean build artifacts
npm run deploy:dev # Alias for 'adk deploy dev'
npm run deploy:prod # Alias for 'adk deploy prod'🐛 Troubleshooting
Common Issues
1. adk: command not found
# Reinstall globally
npm install -g advanced-dev-kit
# Or check if npm global bin is in PATH
npm config get prefix2. Permission errors on Windows
# Run PowerShell as Administrator, then:
npm install -g advanced-dev-kit3. Deploy command fails
# Check prerequisites
adk doctor
# Ensure GitHub CLI is authenticated
gh auth statusGetting Help
# Show help
adk --help
# Run diagnostics
adk doctor
# Check version
adk --versionNeed more help?
🤝 Contributing
We welcome contributions! Here's how to get started:
- Fork the repository
- Clone your fork
git clone https://github.com/your-username/advanced-dev-kit.git cd advanced-dev-kit - Install dependencies
npm install - Make your changes
- Build and test
npm run build npm install -g . # Install your changes globally adk doctor # Test the installation - Submit a pull request
Development Guidelines
- Use TypeScript for all new code
- Follow the existing code style
- Add tests for new features
- Update documentation as needed
📄 License
MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Built with TypeScript
- CLI framework powered by Commander.js
- Beautiful terminal UI with Boxen and Chalk
Made with ❤️ for developers who love beautiful and efficient tools
