From cb44c6b7080fa7cb0ff3e768107f8177fcbfd8bb Mon Sep 17 00:00:00 2001 From: krawieck Date: Tue, 26 Jan 2021 23:16:56 +0100 Subject: [PATCH] upgrade to api v2 --- pubspec.lock | 67 +++++++++++++++++++++++++++++----------------------- pubspec.yaml | 15 ++++++++---- 2 files changed, 47 insertions(+), 35 deletions(-) diff --git a/pubspec.lock b/pubspec.lock index bb4a5b4..e79c585 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -35,7 +35,7 @@ packages: name: cached_network_image url: "https://pub.dartlang.org" source: hosted - version: "2.3.3" + version: "2.5.0" characters: dependency: transitive description: @@ -91,7 +91,7 @@ packages: name: effective_dart url: "https://pub.dartlang.org" source: hosted - version: "1.2.4" + version: "1.3.0" esys_flutter_share: dependency: "direct main" description: @@ -138,7 +138,7 @@ packages: name: flutter_cache_manager url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.1.1" flutter_hooks: dependency: "direct main" description: @@ -191,13 +191,20 @@ packages: description: flutter source: sdk version: "0.0.0" + freezed_annotation: + dependency: transitive + description: + name: freezed_annotation + url: "https://pub.dartlang.org" + source: hosted + version: "0.12.0" fuzzy: dependency: "direct main" description: name: fuzzy url: "https://pub.dartlang.org" source: hosted - version: "0.2.3" + version: "0.3.0" http: dependency: transitive description: @@ -225,7 +232,7 @@ packages: name: image_picker url: "https://pub.dartlang.org" source: hosted - version: "0.6.7+12" + version: "0.6.7+21" image_picker_platform_interface: dependency: transitive description: @@ -246,7 +253,7 @@ packages: name: json_annotation url: "https://pub.dartlang.org" source: hosted - version: "3.1.0" + version: "3.1.1" latinize: dependency: transitive description: @@ -260,7 +267,7 @@ packages: name: lemmy_api_client url: "https://pub.dartlang.org" source: hosted - version: "0.9.0" + version: "0.10.0" markdown: dependency: "direct main" description: @@ -302,7 +309,7 @@ packages: name: package_info url: "https://pub.dartlang.org" source: hosted - version: "0.4.3" + version: "0.4.3+2" path: dependency: transitive description: @@ -316,7 +323,7 @@ packages: name: path_provider url: "https://pub.dartlang.org" source: hosted - version: "1.6.22" + version: "1.6.27" path_provider_linux: dependency: transitive description: @@ -330,21 +337,21 @@ packages: name: path_provider_macos url: "https://pub.dartlang.org" source: hosted - version: "0.0.4+4" + 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.3" + 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+1" + version: "0.0.4+3" pedantic: dependency: transitive description: @@ -365,7 +372,7 @@ packages: name: photo_view url: "https://pub.dartlang.org" source: hosted - version: "0.10.2" + version: "0.10.3" platform: dependency: transitive description: @@ -393,35 +400,35 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "4.3.2+2" + version: "4.3.3" rxdart: dependency: transitive description: name: rxdart url: "https://pub.dartlang.org" source: hosted - version: "0.24.1" + version: "0.25.0" shared_preferences: dependency: "direct main" description: name: shared_preferences url: "https://pub.dartlang.org" source: hosted - version: "0.5.12+2" + 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+2" + 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+10" + version: "0.0.1+11" shared_preferences_platform_interface: dependency: transitive description: @@ -442,7 +449,7 @@ packages: name: shared_preferences_windows url: "https://pub.dartlang.org" source: hosted - version: "0.0.1+1" + version: "0.0.2+2" sky_engine: dependency: transitive description: flutter @@ -461,14 +468,14 @@ packages: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "1.3.1+2" + version: "1.3.2+2" sqflite_common: dependency: transitive description: name: sqflite_common url: "https://pub.dartlang.org" source: hosted - version: "1.0.2+1" + version: "1.0.3+1" stack_trace: dependency: transitive description: @@ -517,7 +524,7 @@ packages: name: timeago url: "https://pub.dartlang.org" source: hosted - version: "2.0.28" + version: "2.0.29" typed_data: dependency: transitive description: @@ -531,21 +538,21 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "5.7.8" + version: "5.7.10" url_launcher_linux: dependency: transitive description: name: url_launcher_linux url: "https://pub.dartlang.org" source: hosted - version: "0.0.1+3" + version: "0.0.1+4" url_launcher_macos: dependency: transitive description: name: url_launcher_macos url: "https://pub.dartlang.org" source: hosted - version: "0.0.1+8" + version: "0.0.1+9" url_launcher_platform_interface: dependency: transitive description: @@ -559,14 +566,14 @@ packages: name: url_launcher_web url: "https://pub.dartlang.org" source: hosted - version: "0.1.5" + version: "0.1.5+1" url_launcher_windows: dependency: transitive description: name: url_launcher_windows url: "https://pub.dartlang.org" source: hosted - version: "0.0.1+1" + version: "0.0.1+3" uuid: dependency: transitive description: @@ -587,7 +594,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "1.7.3" + version: "1.7.4" xdg_directories: dependency: transitive description: @@ -610,5 +617,5 @@ packages: source: hosted version: "2.2.1" sdks: - dart: ">=2.10.0 <2.11.0" - flutter: ">=1.22.0 <2.0.0" + dart: ">=2.10.2 <2.11.0" + flutter: ">=1.22.2 <2.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index fd1b109..24ba2aa 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. -publish_to: "none" # Remove this line if you wish to publish to pub.dev +publish_to: 'none' # Remove this line if you wish to publish to pub.dev # The following defines the version and build number for your application. # A version number is three numbers separated by dots, like 1.2.43 @@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 0.1.0 environment: - sdk: ">=2.7.0 <3.0.0" + sdk: '>=2.7.0 <3.0.0' dependencies: # widgets @@ -32,7 +32,7 @@ dependencies: # native esys_flutter_share: ^1.0.2 url_launcher: ^5.5.1 - shared_preferences: ">=0.5.0 <2.0.0" + shared_preferences: '>=0.5.0 <2.0.0' package_info: ^0.4.3 image_picker: ^0.6.7 @@ -43,7 +43,12 @@ dependencies: # utils timeago: ^2.0.27 fuzzy: <1.0.0 - lemmy_api_client: ^0.9.0 + lemmy_api_client: ^0.10.0 + # TEMPORARY IMPORT remove before pull request! + # lemmy_api_client: + # git: + # url: git://github.com/krawieck/lemmy_api_client.git + # ref: v2 flutter: sdk: flutter @@ -62,7 +67,7 @@ flutter_icons: android: true ios: true image_path: assets/app_icon.png - adaptive_icon_background: "#ffffff" + adaptive_icon_background: '#ffffff' adaptive_icon_foreground: assets/adaptive_icon_fg.png # For information on the generic Dart part of this file, see the