swift-outdated
swift-outdated copied to clipboard
Package Registry support on output instead of URL
SPM support registries therefore it would be nice to have the registry ID (instead of the url) listed in the output.
example:
% swift outdated
| Package | Current | Latest | URL |
|-------------------|---------|---------|-----|
| george.formatting | 0.2.3 | 24.6.21 | |
https://github.com/apple/swift-evolution/blob/main/proposals/0292-package-registry-service.md
extension Package.Dependency {
/// Adds a dependency on a package with the specified identifier
/// that uses the provided version requirement.
public static func package(
id: String,
_ requirement: Package.Dependency.VersionBasedRequirement
) -> Package.Dependency
}