feat(cli): add update command to check and update globally installed @git.zone packages

This commit is contained in:
2026-02-03 22:47:08 +00:00
parent abaeb7be6c
commit 019f7e2d88
14 changed files with 397 additions and 19 deletions

View File

@@ -1,5 +1,17 @@
# Changelog
## 2026-02-03 - 3.1.0 - feat(cli)
add update command to check and update globally installed @git.zone packages
- Adds a new mod_update module and PackageManagerUtil to detect installed @git.zone packages and fetch latest versions
- Supports npm, yarn and pnpm: detection, listing, version comparison and executing updates
- Interactive confirmation via @push.rocks/smartinteract with a -y flag to skip prompt
- Uses @push.rocks/smartshell to run shell commands for listing and updating packages
- Wires the new 'update' command into the CLI (tools.cli) and updates CLI version to 3.0.0
- Adds CLI helper files (cli.child.js, adjusts cli.js and cli.ts.js) to run TypeScript CLI via tsrun/runPath
- Updates package.json to include new dependencies and npmextra.json with release registries and @git.zone/cli metadata
- Updates .gitignore to exclude local AI tool dirs (.claude, .serena)
## 2026-02-03 - 3.0.0 - BREAKING CHANGE(tools)
replace install functionality with a minimal placeholder CLI; remove installer, logging, path utilities, and related assets