All Projects → kiliankoe → swift-outdated

kiliankoe / swift-outdated

Licence: MIT license
A swift subcommand for displaying when your dependencies (SwiftPM or Xcode) are out of date

Programming Languages

swift
15916 projects
Makefile
30231 projects

Projects that are alternatives of or similar to swift-outdated

MMActionSheet
An actionSheet view implement with pure swift
Stars: ✭ 25 (-84.18%)
Mutual labels:  swift-package-manager
swift-buildpack
IBM Cloud buildpack for Swift
Stars: ✭ 33 (-79.11%)
Mutual labels:  swift-package-manager
Degu
🐭 Degu is debug utility for iOS, tvOS and macOS.
Stars: ✭ 24 (-84.81%)
Mutual labels:  swift-package-manager
Networking
Low-level Swift package for POSIX sockets and Epoll/Kqueue.
Stars: ✭ 21 (-86.71%)
Mutual labels:  swift-package-manager
ecs
A dependency free, lightweight, fast Entity-Component System (ECS) implementation in Swift
Stars: ✭ 79 (-50%)
Mutual labels:  swift-package-manager
SwiftSimctl
Swift client-server tool to call xcrun simctl from your simulator. Automate push notification testing!
Stars: ✭ 50 (-68.35%)
Mutual labels:  swift-package-manager
swift-html
An awesome Swift HTML DSL library using result builders.
Stars: ✭ 187 (+18.35%)
Mutual labels:  swift-package-manager
SwiftUI-Shapes
Commonly Used Shapes and Utilities In SwiftUI
Stars: ✭ 52 (-67.09%)
Mutual labels:  swift-package-manager
Glob
Glob for Swift 5
Stars: ✭ 20 (-87.34%)
Mutual labels:  swift-package-manager
SwiftUI-Color-Kit
SwiftUI Color Pickers, Gradient Pickers And All The Utilities Needed To Make Your Own!
Stars: ✭ 120 (-24.05%)
Mutual labels:  swift-package-manager
core-data-model-description
Declarative way to describe a Core Data model in code.
Stars: ✭ 60 (-62.03%)
Mutual labels:  swift-package-manager
bow-openapi
🌐 Functional HTTP client generator from an OpenAPI/Swagger specification.
Stars: ✭ 47 (-70.25%)
Mutual labels:  swift-package-manager
Combinative
UI event handling using Apple's combine framework.
Stars: ✭ 106 (-32.91%)
Mutual labels:  swift-package-manager
Sensor
A fresh look at iOS development
Stars: ✭ 37 (-76.58%)
Mutual labels:  swift-package-manager
ScrollViewProxy
ScrollViewProxy for SwiftUI on iOS 13 and up
Stars: ✭ 135 (-14.56%)
Mutual labels:  swift-package-manager
izzyparser-ios
IzzyParser is an iOS library for serializing and deserializing JSON:API objects
Stars: ✭ 19 (-87.97%)
Mutual labels:  swift-package-manager
Mechanica
A cross-platform library of Swift utils to ease your iOS | macOS | watchOS | tvOS and Linux development.
Stars: ✭ 27 (-82.91%)
Mutual labels:  swift-package-manager
PackageBuilder
PackageBuilder builds a simple command-line structure by SwiftPM.
Stars: ✭ 27 (-82.91%)
Mutual labels:  swift-package-manager
swift-composable-app-example
Example iOS app built with module composition in mind.
Stars: ✭ 79 (-50%)
Mutual labels:  swift-package-manager
JSONPreview
🎨 A view that previews JSON in highlighted form, it also provides the ability to format and collapse nodes.
Stars: ✭ 21 (-86.71%)
Mutual labels:  swift-package-manager

swift-outdated

A swift subcommand for checking if your dependencies have an update available. This especially applies to updates outside of your version requirements.

Heavily inspired by cargo-outdated.

Calling swift package update will only update to the latest available requirements inside your specified version requirements, which totally makes sense, but you might miss that there's a new major version available if you don't check the dependency's repository regularly.

This tool aims to help with that by allowing to quickly check if any requirements might be outdated, it does this by checking the remote git tags of your dependencies to see if something outside of your version requirements is available.

Installing

Mint

swift-outdated can be installed via Mint.

$ mint install kiliankoe/swift-outdated

Homebrew

swift-outdated can be installed via Homebrew, although for the time being via a custom tap.

$ brew tap kiliankoe/formulae
$ brew install swift-outdated

Usage

Since swift-outdated installs with its name, it can be called just like a subcommand of Swift itself via swift outdated.

$ swift outdated

----------------------- --------- --------
 Package                 Current   Latest
----------------------- --------- --------
 Files                   4.1.1     4.2.0
 Rainbow                 3.1.5     3.2.0
 swift-argument-parser   0.0.5     0.3.2
----------------------- --------- --------

This lists all your outdated dependencies, the currently resolved version and the latest version available in their upstream repository.

Xcode

swift-outdated also supports Xcode projects that use Swift packages for their dependency management. Either run it manually inside your repo or set up a Run Script Phase. In the latter case swift-outdated emits warnings for your outdated dependencies.

Xcode warnings screenshot

Be aware however that using a Run Script Phase in this way will fetch available versions for all of your dependencies on every build, which will increase your build time by a second or two. You're probably better off running this manually every now and then.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].