diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d27bb8e802..fb8c997417 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -18,7 +18,7 @@ updates: directory: / schedule: interval: weekly - open-pull-requests-limit: 100 + open-pull-requests-limit: 10 rebase-strategy: disabled ignore: - dependency-name: "com.android.application" @@ -27,3 +27,19 @@ updates: update-types: ["version-update:semver-major", "version-update:semver-minor"] cooldown: default-days: 7 + - package-ecosystem: pre-commit + directory: / + schedule: + interval: weekly + open-pull-requests-limit: 10 + rebase-strategy: disabled + cooldown: + default-days: 7 + - package-ecosystem: swift + directory: /iosApp + schedule: + interval: weekly + open-pull-requests-limit: 10 + rebase-strategy: disabled + cooldown: + default-days: 7 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89908ee4b4..6c7c2a5bdc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: entry: gradle-task :buildSrc:spotlessCheck :buildSrc:spotlessApply -w files: ^buildSrc/.*\.(kt|kts)$ - repo: https://github.com/nicklockwood/SwiftFormat - rev: 0.57.2 + rev: 0.61.1 hooks: - id: swiftformat stages: [pre-commit] diff --git a/config.swiftformat b/config.swiftformat index d563fddef3..46cf2bae7c 100644 --- a/config.swiftformat +++ b/config.swiftformat @@ -1,2 +1,6 @@ --disable wrapMultilineStatementBraces +--disable trailingCommas +--disable redundantViewBuilder +--disable wrapFunctionBodies +--disable wrapPropertyBodies --maxwidth 120 diff --git a/iosApp/iosApp.xcworkspace/xcshareddata/swiftpm/Package.resolved b/iosApp/iosApp.xcworkspace/xcshareddata/swiftpm/Package.resolved index 6021c1c019..ec1ac9e2a9 100644 --- a/iosApp/iosApp.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/iosApp/iosApp.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -33,8 +33,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/firebase-ios-sdk", "state" : { - "revision" : "d10045cace0b4c335c4efa8f7df7e9a9fc5a7c60", - "version" : "12.13.0" + "revision" : "8d5b4189f1f482df8d5c58c9985ea70491ef5382", + "version" : "12.14.0" } }, { @@ -42,8 +42,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/googleads/google-ads-on-device-conversion-ios-sdk", "state" : { - "revision" : "19dffda9a9caf8d86570ff846535902d8509d7bf", - "version" : "3.5.0" + "revision" : "9bfcc6cf435b2e7c5562c1900b8680c594fa9a64", + "version" : "3.6.0" } }, { @@ -51,8 +51,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/GoogleAppMeasurement.git", "state" : { - "revision" : "c2c76bebcfbb90d90ea10599f934f9af160e1604", - "version" : "12.13.0" + "revision" : "219e564a8510e983e675c94f77f7f7c50049f22d", + "version" : "12.14.0" } }, { @@ -78,8 +78,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/grpc-binary.git", "state" : { - "revision" : "cc0001a0cf963aa40501d9c2b181e7fc9fd8ec71", - "version" : "1.69.0" + "revision" : "75b31c842f664a0f46a2e590a570e370249fd8f6", + "version" : "1.69.1" } }, { @@ -87,8 +87,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/gtm-session-fetcher.git", "state" : { - "revision" : "c756a29784521063b6a1202907e2cc47f41b667c", - "version" : "4.5.0" + "revision" : "c0ac7575d70050c2973ba2318bd5af47f8e8153a", + "version" : "5.3.0" } }, { @@ -132,8 +132,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/mapbox/mapbox-common-ios.git", "state" : { - "revision" : "47aae9d6f49154805ef890bba6d26c6bae198332", - "version" : "24.23.0" + "revision" : "0903177afad61e293d420de4f0032a0d09a73f26", + "version" : "24.24.3" } }, { @@ -141,8 +141,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/mapbox/mapbox-core-maps-ios.git", "state" : { - "revision" : "f4ec6c2c00a4d72737823cb02c57a7d1a0fa506c", - "version" : "11.23.0" + "revision" : "62e6c66055e66f34e0e80b75e9b8cd18a6bba7ec", + "version" : "11.24.3" } }, { @@ -150,8 +150,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/mapbox/mapbox-maps-ios.git", "state" : { - "revision" : "19cb3f3e81a5e3a3cc454b8985cba2816fe49dd2", - "version" : "11.23.0" + "revision" : "90c6b2e36a8e8118c67236974d57d96cfbdc44c0", + "version" : "11.24.3" } }, { @@ -159,8 +159,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/firebase/nanopb.git", "state" : { - "revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1", - "version" : "2.30910.0" + "revision" : "3851d94a41890dea16dc3db34caf60e585cb4163", + "version" : "2.30910.1" } }, { @@ -168,8 +168,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/google/promises.git", "state" : { - "revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac", - "version" : "2.4.0" + "revision" : "f4a19a3c313dc2616c70bb49d29a799fb16be837", + "version" : "2.4.1" } }, { @@ -186,8 +186,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections.git", "state" : { - "revision" : "8c0c0a8b49e080e54e5e328cc552821ff07cd341", - "version" : "1.2.1" + "revision" : "a0cb0954ecb21e4e31b0070e6ed5674e8556685a", + "version" : "1.6.0" } }, { diff --git a/iosApp/iosApp/ComponentViews/OptionalNavigationLink.swift b/iosApp/iosApp/ComponentViews/OptionalNavigationLink.swift index 631c80efcf..15e1ca3d68 100644 --- a/iosApp/iosApp/ComponentViews/OptionalNavigationLink.swift +++ b/iosApp/iosApp/ComponentViews/OptionalNavigationLink.swift @@ -11,7 +11,7 @@ import SwiftUI /// In the filtered stop details state, non-vehicle-based upcoming trips should not link to the trip details page. /// This will render a button if there there is a SheetNavigationStackEntry to navigate to, otherwise it renders a /// regular label. -struct OptionalNavigationLink