Skip to content

Releases: ceasarXuu/CleanMyProj

v1.3.0

19 Mar 08:41

Choose a tag to compare

✨ 新功能

  • 每个缓存项目新增「影响说明」,清理前了解后果
    • node_modules: 需重新运行 npm install
    • npm cache: 无影响,下次 install 自动重建
    • .next: 需重新运行 next dev/build
    • 等等

🔧 变更

  • 升级至 ESM 依赖:chalk@5, commander@12, ora@8, trash@10
  • 替换 inquirer 为 @inquirer/prompts
  • CLI 命令为 cmpj
  • 完全消除 npm deprecation warnings

📦 升级

npm install -g cleanmyproj@latest

v1.2.0

19 Mar 08:41

Choose a tag to compare

🔧 变更

  • CLI 命令从 cmp 改为 cmpj,避免与系统内置 cmp(文件比较命令)冲突

📦 使用

cmpj --check

v1.1.0

19 Mar 08:40

Choose a tag to compare

🔧 变更

  • 项目全面 ESM 化(type: module)
  • 升级依赖:chalk@5, commander@12, ora@8, trash@9
  • 替换 inquirer@8 为 @inquirer/prompts
  • tsconfig 使用 NodeNext 模块解析

📦 安装

npm install -g cleanmyproj