mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-19 11:34:25 +01:00
Wrapper imports the passphrase path, not Flutter
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file-length / file length <= 250 lines (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
file-length / file length <= 250 lines (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
dart build cli failed: wrapper_server pulled crdt_sync_flutter (dart:ui) through e2e_passphrase_source. The path const moves to a dart-only file. Todo: 656f0d08 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWXgrX1QxVjqMiz6KFs
This commit is contained in:
parent
19f930a93a
commit
cd50fd0ae2
@ -7,11 +7,9 @@ import 'package:path/path.dart' as p;
|
||||
|
||||
import 'package:todo/desktop/static_content_type.dart';
|
||||
import 'package:todo/desktop/wrapper_image_routes.dart';
|
||||
import 'package:todo/sync/e2e_passphrase_source.dart'
|
||||
show kSyncE2ePassphrasePath;
|
||||
import 'package:todo/sync/e2e_passphrase_path.dart';
|
||||
|
||||
export 'package:todo/sync/e2e_passphrase_source.dart'
|
||||
show kSyncE2ePassphrasePath;
|
||||
export 'package:todo/sync/e2e_passphrase_path.dart';
|
||||
|
||||
export 'wrapper_paths.dart';
|
||||
|
||||
|
||||
8
lib/sync/e2e_passphrase_path.dart
Normal file
8
lib/sync/e2e_passphrase_path.dart
Normal file
@ -0,0 +1,8 @@
|
||||
/// Path of the wrapper's one-shot passphrase route.
|
||||
///
|
||||
/// Kept apart from `e2e_passphrase_source.dart` (which needs Flutter) so the
|
||||
/// dart-only desktop wrapper can import it; `dart build cli` fails on any
|
||||
/// transitive `dart:ui`.
|
||||
library;
|
||||
|
||||
const kSyncE2ePassphrasePath = '/sync-e2e-passphrase';
|
||||
@ -10,9 +10,9 @@ library;
|
||||
import 'package:crdt_sync_flutter/crdt_sync_flutter.dart'
|
||||
show kE2ePassphraseKey, kSecureStorage, saveE2ePassphrase;
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:todo/sync/e2e_passphrase_path.dart';
|
||||
|
||||
/// Path of the wrapper's one-shot passphrase route.
|
||||
const kSyncE2ePassphrasePath = '/sync-e2e-passphrase';
|
||||
export 'package:todo/sync/e2e_passphrase_path.dart';
|
||||
|
||||
/// Returns the passphrase, adopting the wrapper's once; null when none.
|
||||
Future<String?> readE2ePassphrase({Uri? base, http.Client? client}) async {
|
||||
|
||||
@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.0.87+1
|
||||
version: 1.0.88+1
|
||||
|
||||
environment:
|
||||
sdk: ^3.12.2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user