Files
coze-studio/common/autoinstallers/rush-commands/package.json
tecvan-fe 3e498d032a feat(rush-commands): add revert-useless-changes tool with functional programming design
Implement a comprehensive tool to automatically detect and revert files with only
cosmetic changes (whitespace or comments) in Git repositories.

Features:
- Functional programming architecture with pure functions
- Rule-based analysis system (whitespace and AST comment detection)
- Commander.js CLI with comprehensive options
- ESM module system throughout
- Proper handling of new/added files
- TypeScript with strict typing
- Comprehensive documentation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-25 14:25:17 +08:00

30 lines
674 B
JSON

{
"name": "rush-commands",
"version": "1.0.0",
"private": true,
"description": "Rush command tools and utilities",
"keywords": [],
"license": "Apache-2.0",
"author": "",
"main": "index.js",
"scripts": {
"build": "tsc",
"clean": "rimraf lib/",
"revert-useless-changes": "node lib/revert-useless-changes/cli.js"
},
"dependencies": {
"@typescript-eslint/parser": "^8.0.0",
"chalk": "^4.1.2",
"commander": "^12.0.0",
"glob": "^10.3.10",
"simple-git": "^3.20.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"rimraf": "^5.0.0",
"sucrase": "^3.32.0",
"tsx": "^4.19.2",
"typescript": "^5.0.0"
}
}