grekt outdated
Check for outdated artifacts in your project.
bash
grekt outdatedPublic Registry Only
This command only checks artifacts from the public registry. GitHub and GitLab sources are skipped (check repository releases directly).
Output
bash
$ grekt outdated
Outdated artifacts:
Artifact Current Latest
@scope/my-artifact 1.0.0 2.1.0
@scope/utils 2.0.0 2.5.0
Run 'grekt upgrade' to upgrade
2 artifact(s) up to dateWhen all artifacts are current:
bash
$ grekt outdated
All artifacts are up to dateHow it works
- Reads your
grekt.lockfile - Filters out
github:andgitlab:sources - Checks the registry for the latest version of each artifact
- Compares versions using semantic versioning
Updating artifacts
Upgrade all outdated artifacts at once:
bash
grekt upgradeOr update a specific artifact:
bash
grekt upgrade @scope/my-artifact
grekt add @scope/my-artifactBoth upgrade and add preserve component selections from --choose.
Related commands
- grekt upgrade - Upgrade outdated artifacts
- grekt add - Add or update an artifact
- grekt versions - List all versions
- grekt list - List installed artifacts