From 469effd9efc68d1b44ce658c94645efebb6d3de8 Mon Sep 17 00:00:00 2001 From: M Date: Mon, 10 Jan 2022 15:27:36 +0200 Subject: [PATCH] Generation of pubspec.yaml file --- pubspec.lock | 1100 +-------------------- pubspec.yaml | 106 +- pubspec_default.yaml => pubspec_base.yaml | 9 +- pubspec_description.yaml | 6 + tool/generate_pubspec.dart | 25 + 5 files changed, 36 insertions(+), 1210 deletions(-) rename pubspec_default.yaml => pubspec_base.yaml (93%) create mode 100644 pubspec_description.yaml create mode 100644 tool/generate_pubspec.dart diff --git a/pubspec.lock b/pubspec.lock index 54c99aa4..0902e0ea 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,1101 +1,5 @@ # Generated by pub # See https://dart.dev/tools/pub/glossary#lockfile -packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - url: "https://pub.dartlang.org" - source: hosted - version: "14.0.0" - analyzer: - dependency: transitive - description: - name: analyzer - url: "https://pub.dartlang.org" - source: hosted - version: "0.41.2" - animate_do: - dependency: "direct main" - description: - name: animate_do - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - archive: - dependency: "direct main" - description: - name: archive - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.13" - args: - dependency: transitive - description: - name: args - url: "https://pub.dartlang.org" - source: hosted - version: "1.6.0" - asn1lib: - dependency: transitive - description: - name: asn1lib - url: "https://pub.dartlang.org" - source: hosted - version: "0.6.5" - async: - dependency: transitive - description: - name: async - url: "https://pub.dartlang.org" - source: hosted - version: "2.5.0" - auto_size_text: - dependency: "direct main" - description: - name: auto_size_text - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - barcode_scan: - dependency: "direct main" - description: - name: barcode_scan - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.1" - basic_utils: - dependency: "direct main" - description: - name: basic_utils - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.3" - bech32: - dependency: transitive - description: - path: "." - ref: cake - resolved-ref: "02fef082f20af13de00b4e64efb93a2c1e5e1cf2" - url: "https://github.com/cake-tech/bech32.git" - source: git - version: "0.2.0" - bip32: - dependency: transitive - description: - name: bip32 - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.7" - bip39: - dependency: transitive - description: - name: bip39 - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.3" - bitcoin_flutter: - dependency: "direct main" - description: - path: "." - ref: cake - resolved-ref: cbabfd87b6ce3cae6051a3e86ddb56e7a934e188 - url: "https://github.com/cake-tech/bitcoin_flutter.git" - source: git - version: "2.0.2" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - bs58check: - dependency: transitive - description: - name: bs58check - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1" - build: - dependency: transitive - description: - name: build - url: "https://pub.dartlang.org" - source: hosted - version: "1.6.2" - build_config: - dependency: transitive - description: - name: build_config - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.6" - build_daemon: - dependency: transitive - description: - name: build_daemon - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.10" - build_resolvers: - dependency: "direct dev" - description: - name: build_resolvers - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.3" - build_runner: - dependency: "direct dev" - description: - name: build_runner - url: "https://pub.dartlang.org" - source: hosted - version: "1.11.5" - build_runner_core: - dependency: transitive - description: - name: build_runner_core - url: "https://pub.dartlang.org" - source: hosted - version: "6.1.10" - built_collection: - dependency: transitive - description: - name: built_collection - url: "https://pub.dartlang.org" - source: hosted - version: "4.3.2" - built_value: - dependency: transitive - description: - name: built_value - url: "https://pub.dartlang.org" - source: hosted - version: "7.1.0" - characters: - dependency: transitive - description: - name: characters - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" - checked_yaml: - dependency: transitive - description: - name: checked_yaml - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.4" - cli_util: - dependency: transitive - description: - name: cli_util - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.5" - clock: - dependency: transitive - description: - name: clock - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - code_builder: - dependency: transitive - description: - name: code_builder - url: "https://pub.dartlang.org" - source: hosted - version: "3.7.0" - collection: - dependency: transitive - description: - name: collection - url: "https://pub.dartlang.org" - source: hosted - version: "1.15.0" - connectivity: - dependency: "direct main" - description: - name: connectivity - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.6" - connectivity_for_web: - dependency: transitive - description: - name: connectivity_for_web - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.0+1" - connectivity_macos: - dependency: transitive - description: - name: connectivity_macos - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.1+2" - connectivity_platform_interface: - dependency: transitive - description: - name: connectivity_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - convert: - dependency: transitive - description: - name: convert - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.1" - crypto: - dependency: "direct main" - description: - name: crypto - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.5" - cryptography: - dependency: "direct main" - description: - name: cryptography - url: "https://pub.dartlang.org" - source: hosted - version: "1.4.1" - cupertino_icons: - dependency: "direct main" - description: - name: cupertino_icons - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.4" - cw_core: - dependency: "direct main" - description: - path: cw_core - relative: true - source: path - version: "0.0.1" - cw_monero: - dependency: "direct main" - description: - path: cw_monero - relative: true - source: path - version: "0.0.1" - dart_style: - dependency: transitive - description: - name: dart_style - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.12" - dartx: - dependency: transitive - description: - name: dartx - url: "https://pub.dartlang.org" - source: hosted - version: "0.5.0" - date_range_picker: - dependency: "direct main" - description: - name: date_range_picker - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.7" - devicelocale: - dependency: "direct main" - description: - name: devicelocale - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.3" - dio: - dependency: "direct main" - description: - name: dio - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.10" - dotted_border: - dependency: "direct main" - description: - name: dotted_border - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.7" - encrypt: - dependency: "direct main" - description: - name: encrypt - url: "https://pub.dartlang.org" - source: hosted - version: "4.0.3" - esys_flutter_share: - dependency: "direct main" - description: - name: esys_flutter_share - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.2" - fake_async: - dependency: transitive - description: - name: fake_async - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" - ffi: - dependency: transitive - description: - name: ffi - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.3" - file: - dependency: transitive - description: - name: file - url: "https://pub.dartlang.org" - source: hosted - version: "6.1.2" - file_picker: - dependency: "direct main" - description: - name: file_picker - url: "https://pub.dartlang.org" - source: hosted - version: "3.0.0-nullsafety.2" - fixnum: - dependency: transitive - description: - name: fixnum - url: "https://pub.dartlang.org" - source: hosted - version: "0.10.11" - flushbar: - dependency: "direct main" - description: - name: flushbar - url: "https://pub.dartlang.org" - source: hosted - version: "1.10.4" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_cupertino_localizations: - dependency: "direct main" - description: - name: flutter_cupertino_localizations - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1" - flutter_launcher_icons: - dependency: "direct dev" - description: - name: flutter_launcher_icons - url: "https://pub.dartlang.org" - source: hosted - version: "0.8.1" - flutter_localizations: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_mobx: - dependency: "direct main" - description: - name: flutter_mobx - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0+2" - flutter_plugin_android_lifecycle: - dependency: transitive - description: - name: flutter_plugin_android_lifecycle - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.5" - flutter_secure_storage: - dependency: "direct main" - description: - path: "." - ref: cake - resolved-ref: d4d68a9c1e4c45eb236cd7a5a2fac84c394a7605 - url: "https://github.com/cake-tech/flutter_secure_storage.git" - source: git - version: "3.3.57" - flutter_slidable: - dependency: "direct main" - description: - name: flutter_slidable - url: "https://pub.dartlang.org" - source: hosted - version: "0.5.7" - flutter_spinkit: - dependency: "direct main" - description: - name: flutter_spinkit - url: "https://pub.dartlang.org" - source: hosted - version: "5.1.0" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - flutter_web_plugins: - dependency: transitive - description: flutter - source: sdk - version: "0.0.0" - get_it: - dependency: "direct main" - description: - name: get_it - url: "https://pub.dartlang.org" - source: hosted - version: "6.1.1" - glob: - dependency: transitive - description: - name: glob - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.1" - graphs: - dependency: transitive - description: - name: graphs - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.0" - hex: - dependency: transitive - description: - name: hex - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.2" - hive: - dependency: "direct main" - description: - name: hive - url: "https://pub.dartlang.org" - source: hosted - version: "1.4.4+1" - hive_flutter: - dependency: "direct main" - description: - name: hive_flutter - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.1" - hive_generator: - dependency: "direct dev" - description: - name: hive_generator - url: "https://pub.dartlang.org" - source: hosted - version: "0.8.2" - http: - dependency: "direct main" - description: - name: http - url: "https://pub.dartlang.org" - source: hosted - version: "0.12.2" - http_multi_server: - dependency: transitive - description: - name: http_multi_server - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.0" - http_parser: - dependency: transitive - description: - name: http_parser - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.4" - image: - dependency: transitive - description: - name: image - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.19" - intl: - dependency: "direct main" - description: - name: intl - url: "https://pub.dartlang.org" - source: hosted - version: "0.17.0" - io: - dependency: transitive - description: - name: io - url: "https://pub.dartlang.org" - source: hosted - version: "0.3.5" - js: - dependency: transitive - description: - name: js - url: "https://pub.dartlang.org" - source: hosted - version: "0.6.3" - json_annotation: - dependency: transitive - description: - name: json_annotation - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.1" - keyboard_actions: - dependency: "direct main" - description: - name: keyboard_actions - url: "https://pub.dartlang.org" - source: hosted - version: "3.4.5" - local_auth: - dependency: "direct main" - description: - name: local_auth - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.7" - logging: - dependency: transitive - description: - name: logging - url: "https://pub.dartlang.org" - source: hosted - version: "0.11.4" - lottie: - dependency: "direct main" - description: - name: lottie - url: "https://pub.dartlang.org" - source: hosted - version: "0.7.0+1" - matcher: - dependency: transitive - description: - name: matcher - url: "https://pub.dartlang.org" - source: hosted - version: "0.12.10" - meta: - dependency: transitive - description: - name: meta - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0" - mime: - dependency: transitive - description: - name: mime - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.1" - mobx: - dependency: "direct main" - description: - name: mobx - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.1+4" - mobx_codegen: - dependency: "direct dev" - description: - name: mobx_codegen - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.2" - nested: - dependency: transitive - description: - name: nested - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.0" - package_config: - dependency: transitive - description: - name: package_config - url: "https://pub.dartlang.org" - source: hosted - version: "1.9.3" - package_info: - dependency: "direct main" - description: - name: package_info - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.2" - password: - dependency: "direct main" - description: - name: password - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.0" - path: - dependency: transitive - description: - name: path - url: "https://pub.dartlang.org" - source: hosted - version: "1.8.0" - path_drawing: - dependency: transitive - description: - name: path_drawing - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.1+1" - path_parsing: - dependency: transitive - description: - name: path_parsing - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.4" - path_provider: - dependency: "direct main" - description: - name: path_provider - url: "https://pub.dartlang.org" - source: hosted - version: "1.6.28" - path_provider_linux: - dependency: transitive - description: - name: path_provider_linux - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.1+2" - path_provider_macos: - dependency: transitive - description: - name: path_provider_macos - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.4+8" - path_provider_platform_interface: - dependency: transitive - description: - name: path_provider_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.4" - path_provider_windows: - dependency: transitive - description: - name: path_provider_windows - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.4+3" - pedantic: - dependency: "direct dev" - description: - name: pedantic - url: "https://pub.dartlang.org" - source: hosted - version: "1.11.1" - permission_handler: - dependency: "direct main" - description: - name: permission_handler - url: "https://pub.dartlang.org" - source: hosted - version: "5.1.0+2" - permission_handler_platform_interface: - dependency: transitive - description: - name: permission_handler_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.2" - petitparser: - dependency: transitive - description: - name: petitparser - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.0" - platform: - dependency: transitive - description: - name: platform - url: "https://pub.dartlang.org" - source: hosted - version: "3.1.0" - plugin_platform_interface: - dependency: transitive - description: - name: plugin_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0-nullsafety.2" - pointycastle: - dependency: transitive - description: - name: pointycastle - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.2" - pool: - dependency: transitive - description: - name: pool - url: "https://pub.dartlang.org" - source: hosted - version: "1.5.0" - process: - dependency: transitive - description: - name: process - url: "https://pub.dartlang.org" - source: hosted - version: "4.2.3" - protobuf: - dependency: transitive - description: - name: protobuf - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.4" - provider: - dependency: "direct main" - description: - name: provider - url: "https://pub.dartlang.org" - source: hosted - version: "5.0.0" - pub_semver: - dependency: transitive - description: - name: pub_semver - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - pubspec_parse: - dependency: transitive - description: - name: pubspec_parse - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.8" - qr: - dependency: "direct main" - description: - name: qr - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - quiver: - dependency: transitive - description: - name: quiver - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.5" - rxdart: - dependency: "direct main" - description: - name: rxdart - url: "https://pub.dartlang.org" - source: hosted - version: "0.26.0" - share: - dependency: "direct main" - description: - name: share - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.4" - shared_preferences: - dependency: "direct main" - description: - name: shared_preferences - url: "https://pub.dartlang.org" - source: hosted - version: "0.5.12+4" - shared_preferences_linux: - dependency: transitive - description: - name: shared_preferences_linux - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.2+4" - shared_preferences_macos: - dependency: transitive - description: - name: shared_preferences_macos - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.1+11" - shared_preferences_platform_interface: - dependency: transitive - description: - name: shared_preferences_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.4" - shared_preferences_web: - dependency: transitive - description: - name: shared_preferences_web - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.2+7" - shared_preferences_windows: - dependency: transitive - description: - name: shared_preferences_windows - url: "https://pub.dartlang.org" - source: hosted - version: "0.0.2+3" - shelf: - dependency: transitive - description: - name: shelf - url: "https://pub.dartlang.org" - source: hosted - version: "0.7.9" - shelf_web_socket: - dependency: transitive - description: - name: shelf_web_socket - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.4+1" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - smooth_page_indicator: - dependency: "direct main" - description: - name: smooth_page_indicator - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.3" - source_gen: - dependency: transitive - description: - name: source_gen - url: "https://pub.dartlang.org" - source: hosted - version: "0.9.10+3" - source_span: - dependency: transitive - description: - name: source_span - url: "https://pub.dartlang.org" - source: hosted - version: "1.8.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - url: "https://pub.dartlang.org" - source: hosted - version: "1.10.0" - stream_channel: - dependency: transitive - description: - name: stream_channel - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - stream_transform: - dependency: transitive - description: - name: stream_transform - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" - test_api: - dependency: transitive - description: - name: test_api - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.19" - time: - dependency: transitive - description: - name: time - url: "https://pub.dartlang.org" - source: hosted - version: "1.4.1" - timing: - dependency: transitive - description: - name: timing - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.1+3" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.0" - uni_links: - dependency: "direct main" - description: - name: uni_links - url: "https://pub.dartlang.org" - source: hosted - version: "0.4.0" - unorm_dart: - dependency: "direct main" - description: - name: unorm_dart - url: "https://pub.dartlang.org" - source: hosted - version: "0.2.0" - url_launcher: - dependency: "direct main" - description: - name: url_launcher - url: "https://pub.dartlang.org" - source: hosted - version: "6.0.5" - url_launcher_linux: - dependency: transitive - description: - name: url_launcher_linux - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.2" - url_launcher_macos: - dependency: transitive - description: - name: url_launcher_macos - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.2" - url_launcher_platform_interface: - dependency: transitive - description: - name: url_launcher_platform_interface - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.1" - url_launcher_web: - dependency: transitive - description: - name: url_launcher_web - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.5" - url_launcher_windows: - dependency: transitive - description: - name: url_launcher_windows - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.2" - uuid: - dependency: "direct main" - description: - name: uuid - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.2" - vector_math: - dependency: transitive - description: - name: vector_math - url: "https://pub.dartlang.org" - source: hosted - version: "2.1.0" - watcher: - dependency: transitive - description: - name: watcher - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.0" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - url: "https://pub.dartlang.org" - source: hosted - version: "1.2.0" - webview_flutter: - dependency: "direct main" - description: - name: webview_flutter - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.13" - win32: - dependency: transitive - description: - name: win32 - url: "https://pub.dartlang.org" - source: hosted - version: "1.7.4+1" - xdg_directories: - dependency: transitive - description: - name: xdg_directories - url: "https://pub.dartlang.org" - source: hosted - version: "0.1.2" - xml: - dependency: transitive - description: - name: xml - url: "https://pub.dartlang.org" - source: hosted - version: "4.5.1" - yaml: - dependency: "direct main" - description: - name: yaml - url: "https://pub.dartlang.org" - source: hosted - version: "2.2.1" +packages: {} sdks: - dart: ">=2.12.0 <3.0.0" - flutter: ">=2.0.0" + dart: ">=2.7.0 <3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index f9c9a7a9..8c7e0777 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,108 +1,6 @@ name: cake_wallet description: Cake Wallet. -version: 4.2.8+69 +version: 0.0.0 environment: - sdk: ">=2.7.0 <3.0.0" - -dependencies: - cw_core: - path: ./cw_core - - cw_monero: - path: ./cw_monero - - flutter: - sdk: flutter - flutter_localizations: - sdk: flutter - flutter_cupertino_localizations: ^1.0.1 - intl: ^0.17.0 - url_launcher: ^6.0.3 - qr: ^2.0.0 - uuid: ^2.2.2 - shared_preferences: ^0.5.3+4 - flutter_secure_storage: - git: - url: https://github.com/cake-tech/flutter_secure_storage.git - ref: cake - version: 3.3.57 - provider: ^5.0.0 - rxdart: ^0.26.0 - yaml: ^2.1.16 - barcode_scan: any - http: ^0.12.0+2 - path_provider: ^1.3.0 - mobx: ^1.2.1+2 - flutter_mobx: ^1.1.0+2 - flutter_slidable: ^0.5.3 - share: ^2.0.1 - esys_flutter_share: ^1.0.2 - date_range_picker: ^1.0.6 - dio: ^3.0.10 - hive: ^1.4.4+1 - hive_flutter: ^0.3.1 - local_auth: ^1.1.6 - package_info: ^2.0.0 - devicelocale: ^0.4.1 - auto_size_text: ^2.1.0 - dotted_border: ^1.0.5 - smooth_page_indicator: ^0.2.0 - webview_flutter: ^2.0.2 - flutter_spinkit: ^5.0.0 - uni_links: ^0.4.0 - lottie: ^0.7.0 - animate_do: ^2.0.0 - cupertino_icons: ^1.0.2 - encrypt: ^4.0.0 - crypto: ^2.1.5 - password: ^1.0.0 - basic_utils: ^2.0.3 - bitcoin_flutter: - git: - url: https://github.com/cake-tech/bitcoin_flutter.git - ref: cake - get_it: ^6.0.0 - connectivity: ^3.0.3 - keyboard_actions: ^3.3.0 - flushbar: ^1.10.4 - archive: ^2.0.13 - cryptography: ^1.4.0 - file_picker: ^3.0.0-nullsafety.2 - unorm_dart: ^0.2.0 - permission_handler: ^5.0.1+1 - -dev_dependencies: - flutter_test: - sdk: flutter - build_runner: ^1.10.3 - build_resolvers: ^1.3.10 - mobx_codegen: ^1.1.0+1 - hive_generator: ^0.8.1 - flutter_launcher_icons: ^0.8.1 - pedantic: ^1.8.0 - -flutter_icons: - image_path: "assets/images/app_logo.png" - android: true - ios: true - -flutter: - uses-material-design: true - - assets: - - assets/images/ - - assets/node_list.yml - - assets/bitcoin_electrum_server_list.yml - - assets/litecoin_electrum_server_list.yml - - assets/text/ - - assets/faq/ - - assets/animation/ - - fonts: - - family: Lato - fonts: - - asset: assets/fonts/Lato-Regular.ttf - - asset: assets/fonts/Lato-Medium.ttf - - asset: assets/fonts/Lato-Semibold.ttf - - asset: assets/fonts/Lato-Bold.ttf + sdk: ">=2.7.0 <3.0.0" \ No newline at end of file diff --git a/pubspec_default.yaml b/pubspec_base.yaml similarity index 93% rename from pubspec_default.yaml rename to pubspec_base.yaml index 2588bb53..b0a4c1c2 100644 --- a/pubspec_default.yaml +++ b/pubspec_base.yaml @@ -1,10 +1,3 @@ -name: cake_wallet -description: Cake Wallet. -version: 4.2.7+62 - -environment: - sdk: ">=2.7.0 <3.0.0" - dependencies: flutter: sdk: flutter @@ -99,4 +92,4 @@ flutter: - asset: assets/fonts/Lato-Regular.ttf - asset: assets/fonts/Lato-Medium.ttf - asset: assets/fonts/Lato-Semibold.ttf - - asset: assets/fonts/Lato-Bold.ttf + - asset: assets/fonts/Lato-Bold.ttf \ No newline at end of file diff --git a/pubspec_description.yaml b/pubspec_description.yaml new file mode 100644 index 00000000..8c7e0777 --- /dev/null +++ b/pubspec_description.yaml @@ -0,0 +1,6 @@ +name: cake_wallet +description: Cake Wallet. +version: 0.0.0 + +environment: + sdk: ">=2.7.0 <3.0.0" \ No newline at end of file diff --git a/tool/generate_pubspec.dart b/tool/generate_pubspec.dart new file mode 100644 index 00000000..6ac46411 --- /dev/null +++ b/tool/generate_pubspec.dart @@ -0,0 +1,25 @@ +import 'dart:io'; + +const pubspecBasePath = 'pubspec_base.yaml'; +const pubspecDescriptionPath = 'pubspec_description.yaml'; +const outputPubspecPath = 'pubspec.yaml'; + +Future main(List args) async { + final pubspecBase = File(pubspecBasePath); + final pubspecDescription = File(pubspecDescriptionPath); + + if (!pubspecBase.existsSync() || !pubspecDescription.existsSync()) { + throw('$pubspecBasePath or $pubspecDescriptionPath doesn't exists'); + } + + final pubspecBaseContent = await pubspecBase.readAsString(); + final pubspecDescriptionContent = await pubspecDescription.readAsString(); + final pubSpecContent = pubspecDescriptionContent + '\n\n' + pubspecBaseContent; + final outputPubspec = File(outputPubspecPath); + + if (outputPubspec.existsSync()) { + await outputPubspec.delete(); + } + + await outputPubspec.writeAsString(pubSpecContent); +}