mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 22:47:14 +01:00
Some checks are pending
crdt_sync_flutter tests / test (push) Waiting to run
design_system tests / test (push) Waiting to run
file length / file-length (push) Waiting to run
github_device_auth tests / test (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
palette drift / palette (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
sync_settings_ui tests / test (push) Waiting to run
Exact-pins every registry dependency (crypto 3.0.7, google_sign_in 7.2.0, http 1.6.0, shared_preferences 2.5.5, url_launcher 6.3.2, uuid 4.6.0) and takes flutter_secure_storage 10.3.1 -> 11.0.0, a major. The major is safe here for a specific reason, not by assumption. 11.0.0 removes the algorithms deprecated in v10 and makes data written by them unreadable -- but this package has been on ^10.x throughout, and v10 migrated that data automatically. It also removes `encryptedSharedPreferences` and `sharedPreferencesName` from `AndroidOptions`; keystore.dart constructs a bare `FlutterSecureStorage()` and passes no AndroidOptions at all, so neither is reachable from here. The remaining break is minSdk 24 / compileSdk 37, which consuming apps inherit from `flutter.minSdkVersion` (Flutter 3.35 already raised its own floor to 24) and which fails a Gradle build loudly if wrong. Analyze clean, 88 tests green, coverage held at 202/202 (100%). Also installs the dependency-freshness gate in pre-commit -- the first repo to carry it. Pre-commit only, not CI: the other ten manifests here are not upgraded yet, and `--all` in CI would be permanently red until they are. The `files:` regex means a source-only commit makes zero network requests. Proven in both directions through the hook itself, not just the CLI: crdt_sync_flutter/pubspec.yaml passes, github_device_auth/pubspec.yaml fails and names http ^1.2.0 and url_launcher ^6.3.0, and a .dart path is skipped by the filter. Version 0.2.1 -> 0.3.0; consumers move their git pins after the tag. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CRykabMwPgDzFHcARoqpaK
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: crdt_sync_flutter
|
|
description: >-
|
|
The Flutter half of crdt_sync: keystore-backed Firebase credentials, a
|
|
persisted per-install device id, and a one-call bootstrap. Removes the
|
|
~150 lines of firebase_backend.dart every consuming app was copying.
|
|
publish_to: 'none'
|
|
version: 0.3.0
|
|
|
|
environment:
|
|
sdk: ^3.12.2
|
|
|
|
dependencies:
|
|
crdt_sync:
|
|
git:
|
|
url: https://github.com/kuhyx/utils
|
|
ref: crdt_sync_dart-v0.11.0
|
|
path: crdt_sync_dart
|
|
crypto: 3.0.7
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_secure_storage: 11.0.0
|
|
# A real dependency, not a dev one: lib/testing/ ships the keystore fake so
|
|
# consuming apps can test their own sync wiring without rebuilding it.
|
|
flutter_test:
|
|
sdk: flutter
|
|
# The one-tap Google plugin. Android/iOS/web only -- there is no Linux
|
|
# implementation -- so desktop reaches Google through the loopback flow in
|
|
# google_desktop_sign_in.dart instead. See google_platform.dart.
|
|
google_sign_in: 7.2.0
|
|
http: 1.6.0
|
|
shared_preferences: 2.5.5
|
|
# Opens the system browser for the desktop loopback sign-in.
|
|
url_launcher: 6.3.2
|
|
uuid: 4.6.0
|
|
|
|
dev_dependencies:
|
|
very_good_analysis: ^10.3.0
|