Usage:
/lib-upgrade
lib-upgrade
Upgrade the repository’s dependencies safely. A thin delegator to the dependency-upgrade addon.
What it does
lib-upgrade routes to the dependency-upgrade addon. The addon reasons about the repo’s actual package manager — never assuming npm — classifies upgrades by semver, upgrades in safe batches, runs the repo’s real validation gate after each batch, reverts a failing batch, and summarizes.
Usage
/lib-upgrade
Behavior
- Require a clean (or backed-up) working tree.
- Detect the real package manager from the manifest and lockfile that exist.
- Classify upgrades (patch / minor / major); majors require approval.
- Upgrade in small batches; validate the repo’s real gate after each.
- Revert any batch that fails the gate; summarize and let the developer commit.
Notes
This command is installed only when the dependency-upgrade addon is accepted. Package-manager agnostic; it never auto-commits.