From 4595f619615d6ecc4e6f7cc610e3f3d4051e2b1d Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Mon, 17 Oct 2022 00:13:46 +0800 Subject: [PATCH] build: update deps --- ios/Podfile.lock | 12 +-- packages/github_trending/pubspec.yaml | 4 +- packages/gql_github/pubspec.lock | 20 ++--- packages/gql_github/pubspec.yaml | 6 +- packages/gql_gitlab/pubspec.lock | 2 +- packages/gql_gitlab/pubspec.yaml | 4 +- pubspec.lock | 65 ++++++++------ pubspec.yaml | 89 +++++++++---------- .../flutter/generated_plugin_registrant.cc | 3 + windows/flutter/generated_plugins.cmake | 1 + 10 files changed, 105 insertions(+), 101 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index a7a9f0d..a6f5d45 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -8,13 +8,13 @@ PODS: - Flutter - path_provider_ios (0.0.1): - Flutter - - Sentry (7.26.0): - - Sentry/Core (= 7.26.0) - - Sentry/Core (7.26.0) + - Sentry (7.27.1): + - Sentry/Core (= 7.27.1) + - Sentry/Core (7.27.1) - sentry_flutter (0.0.1): - Flutter - FlutterMacOS - - Sentry (~> 7.26.0) + - Sentry (~> 7.27.1) - share_plus (0.0.1): - Flutter - shared_preferences_ios (0.0.1): @@ -73,8 +73,8 @@ SPEC CHECKSUMS: maps_launcher: 2e5b6a2d664ec6c27f82ffa81b74228d770ab203 package_info_plus: 6c92f08e1f853dc01228d6f553146438dafcd14e path_provider_ios: 14f3d2fd28c4fdb42f44e0f751d12861c43cee02 - Sentry: 6b8f4a4f93c2471b0d73819c52da0c0ce4f0323c - sentry_flutter: 6604b70e74bfb15522c23788295e1debdbc86676 + Sentry: bc644307e2eb6a4c9c55cf117a80b895bb2a25a7 + sentry_flutter: 649559f0512e00d3f6fc92cf51f74bc2fe68d1d3 share_plus: 056a1e8ac890df3e33cb503afffaf1e9b4fbae68 shared_preferences_ios: 548a61f8053b9b8a49ac19c1ffbc8b92c50d68ad uni_links: d97da20c7701486ba192624d99bffaaffcfc298a diff --git a/packages/github_trending/pubspec.yaml b/packages/github_trending/pubspec.yaml index 82a60ec..92e38e0 100644 --- a/packages/github_trending/pubspec.yaml +++ b/packages/github_trending/pubspec.yaml @@ -12,5 +12,5 @@ dependencies: dev_dependencies: test: ^1.16.5 - build_runner: ^1.11.5 - json_serializable: ^4.0.2 + build_runner: ^2.3.0 + json_serializable: ^6.5.1 diff --git a/packages/gql_github/pubspec.lock b/packages/gql_github/pubspec.lock index 74a7142..2044fa5 100644 --- a/packages/gql_github/pubspec.lock +++ b/packages/gql_github/pubspec.lock @@ -63,7 +63,7 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.3.0" build_runner_core: dependency: transitive description: @@ -112,14 +112,14 @@ packages: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.16.0" + version: "1.17.0" convert: dependency: transitive description: name: convert url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.1.1" crypto: dependency: transitive description: @@ -224,7 +224,7 @@ packages: name: http_parser url: "https://pub.dartlang.org" source: hosted - version: "4.0.1" + version: "4.0.2" io: dependency: transitive description: @@ -252,7 +252,7 @@ packages: name: logging url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.1.0" matcher: dependency: transitive description: @@ -301,7 +301,7 @@ packages: name: pub_semver url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" pubspec_parse: dependency: transitive description: @@ -336,7 +336,7 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "1.2.5" + version: "1.2.6" source_span: dependency: transitive description: @@ -364,7 +364,7 @@ packages: name: stream_transform url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" string_scanner: dependency: transitive description: @@ -399,7 +399,7 @@ packages: name: watcher url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.2" web_socket_channel: dependency: transitive description: @@ -415,4 +415,4 @@ packages: source: hosted version: "3.1.1" sdks: - dart: ">=2.17.5 <3.0.0" + dart: ">=2.18.0 <3.0.0" diff --git a/packages/gql_github/pubspec.yaml b/packages/gql_github/pubspec.yaml index 05c8b6f..ee73c28 100644 --- a/packages/gql_github/pubspec.yaml +++ b/packages/gql_github/pubspec.yaml @@ -2,6 +2,6 @@ name: gql_github publish_to: none environment: sdk: ">=2.17.5 <3.0.0" -dev_dependencies: - ferry_generator: - build_runner: +dev_dependencies: + build_runner: ^2.3.0 + ferry_generator: ^0.6.1 diff --git a/packages/gql_gitlab/pubspec.lock b/packages/gql_gitlab/pubspec.lock index 74a7142..9ed60e6 100644 --- a/packages/gql_gitlab/pubspec.lock +++ b/packages/gql_gitlab/pubspec.lock @@ -63,7 +63,7 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.3.0" build_runner_core: dependency: transitive description: diff --git a/packages/gql_gitlab/pubspec.yaml b/packages/gql_gitlab/pubspec.yaml index 6bec923..f34aac9 100644 --- a/packages/gql_gitlab/pubspec.yaml +++ b/packages/gql_gitlab/pubspec.yaml @@ -3,5 +3,5 @@ publish_to: none environment: sdk: ">=2.17.5 <3.0.0" dev_dependencies: - ferry_generator: - build_runner: + build_runner: ^2.3.0 + ferry_generator: ^0.6.1 diff --git a/pubspec.lock b/pubspec.lock index ddfe763..ac265e3 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -77,7 +77,7 @@ packages: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "2.2.1" + version: "2.3.0" build_runner_core: dependency: transitive description: @@ -147,7 +147,14 @@ packages: name: convert url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.1.1" + cross_file: + dependency: transitive + description: + name: cross_file + url: "https://pub.dartlang.org" + source: hosted + version: "0.3.3+2" crypto: dependency: transitive description: @@ -356,7 +363,7 @@ packages: name: go_router url: "https://pub.dartlang.org" source: hosted - version: "5.0.4" + version: "5.1.0" google_fonts: dependency: "direct main" description: @@ -454,7 +461,7 @@ packages: name: http_parser url: "https://pub.dartlang.org" source: hosted - version: "4.0.1" + version: "4.0.2" intl: dependency: "direct main" description: @@ -489,7 +496,7 @@ packages: name: json_serializable url: "https://pub.dartlang.org" source: hosted - version: "6.4.1" + version: "6.5.1" launch_review: dependency: "direct main" description: @@ -510,7 +517,7 @@ packages: name: logging url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "1.1.0" maps_launcher: dependency: "direct main" description: @@ -587,42 +594,42 @@ packages: name: package_info_plus url: "https://pub.dartlang.org" source: hosted - version: "1.4.3+1" + version: "2.0.0" package_info_plus_linux: dependency: transitive description: name: package_info_plus_linux url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "2.0.0" package_info_plus_macos: dependency: transitive description: name: package_info_plus_macos url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "2.0.0" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "1.0.2" + version: "2.0.0" package_info_plus_web: dependency: transitive description: name: package_info_plus_web url: "https://pub.dartlang.org" source: hosted - version: "1.0.5" + version: "2.0.0" package_info_plus_windows: dependency: transitive description: name: package_info_plus_windows url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "3.0.0" path: dependency: "direct main" description: @@ -748,14 +755,14 @@ packages: name: provider url: "https://pub.dartlang.org" source: hosted - version: "6.0.3" + version: "6.0.4" pub_semver: dependency: "direct main" description: name: pub_semver url: "https://pub.dartlang.org" source: hosted - version: "2.1.1" + version: "2.1.2" pubspec_parse: dependency: transitive description: @@ -783,28 +790,28 @@ packages: name: sentry url: "https://pub.dartlang.org" source: hosted - version: "6.11.1" + version: "6.12.2" sentry_flutter: dependency: "direct main" description: name: sentry_flutter url: "https://pub.dartlang.org" source: hosted - version: "6.11.1" + version: "6.12.2" share_plus: dependency: "direct main" description: name: share_plus url: "https://pub.dartlang.org" source: hosted - version: "4.4.0" + version: "5.0.0" share_plus_linux: dependency: transitive description: name: share_plus_linux url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "3.0.1" share_plus_macos: dependency: transitive description: @@ -818,21 +825,21 @@ packages: name: share_plus_platform_interface url: "https://pub.dartlang.org" source: hosted - version: "3.0.3" + version: "3.1.1" share_plus_web: dependency: transitive description: name: share_plus_web url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "3.1.0" share_plus_windows: dependency: transitive description: name: share_plus_windows url: "https://pub.dartlang.org" source: hosted - version: "3.0.1" + version: "4.0.0" shared_preferences: dependency: "direct main" description: @@ -846,7 +853,7 @@ packages: name: shared_preferences_android url: "https://pub.dartlang.org" source: hosted - version: "2.0.13" + version: "2.0.14" shared_preferences_ios: dependency: transitive description: @@ -914,7 +921,7 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "1.2.5" + version: "1.2.6" source_helper: dependency: transitive description: @@ -949,7 +956,7 @@ packages: name: stream_transform url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" string_scanner: dependency: transitive description: @@ -991,7 +998,7 @@ packages: name: tuple url: "https://pub.dartlang.org" source: hosted - version: "2.0.0" + version: "2.0.1" typed_data: dependency: transitive description: @@ -1110,7 +1117,7 @@ packages: name: watcher url: "https://pub.dartlang.org" source: hosted - version: "1.0.1" + version: "1.0.2" web_socket_channel: dependency: transitive description: @@ -1131,7 +1138,7 @@ packages: name: webview_flutter_android url: "https://pub.dartlang.org" source: hosted - version: "2.10.3" + version: "2.10.4" webview_flutter_platform_interface: dependency: transitive description: @@ -1152,7 +1159,7 @@ packages: name: win32 url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "2.7.0" xdg_directories: dependency: transitive description: @@ -1175,5 +1182,5 @@ packages: source: hosted version: "3.1.1" sdks: - dart: ">=2.17.6 <3.0.0" + dart: ">=2.18.0 <3.0.0" flutter: ">=3.3.0" diff --git a/pubspec.yaml b/pubspec.yaml index e085e03..02eda32 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -37,60 +37,53 @@ dependencies: path: ./packages/gql_gitlab github_trending: path: ./packages/github_trending - cupertino_icons: - ferry: - ferry_flutter: - file_icon: - filesize: - fimber: - flutter_highlight: - flutter_markdown: - flutter_svg: - flutter_vector_icons: - github: - gql: - gql_http_link: - http: - # in_app_review: - intl: - json_annotation: - launch_review: - nanoid: - package_info_plus: - primer: - provider: - share_plus: - shared_preferences: - timeago: - tuple: - uni_links: - universal_io: - uri: - url_launcher: - webview_flutter: - sentry_flutter: - pub_semver: - google_fonts: - go_router: - from_css_color: - maps_launcher: - path: antd_mobile: path: ../ant-design-mobile-flutter + cupertino_icons: ^1.0.5 + ferry: ^0.11.2+1 + ferry_flutter: ^0.6.2 + file_icon: ^1.0.0 + filesize: ^2.0.1 + fimber: ^0.6.6 + flutter_highlight: ^0.7.0 + flutter_markdown: ^0.6.12 + flutter_svg: ^1.1.5 + flutter_vector_icons: ^2.0.0 + github: ^9.4.0 + gql: ^0.14.0 + gql_http_link: ^0.4.4+1 + http: ^0.13.5 + intl: ^0.17.0 + json_annotation: ^4.7.0 + launch_review: ^3.0.1 + nanoid: ^1.0.0 + package_info_plus: ^2.0.0 + primer: ^0.1.0 + provider: ^6.0.4 + share_plus: ^5.0.0 + shared_preferences: ^2.0.15 + timeago: ^3.3.0 + tuple: ^2.0.1 + uni_links: ^0.5.1 + universal_io: ^2.0.4 + uri: ^1.0.0 + url_launcher: ^6.1.6 + webview_flutter: ^3.0.4 + sentry_flutter: ^6.12.2 + pub_semver: ^2.1.2 + google_fonts: ^3.0.1 + go_router: ^5.1.0 + from_css_color: ^2.0.0 + maps_launcher: ^2.0.1 + path: ^1.8.2 dev_dependencies: + build_runner: ^2.3.0 + ferry_generator: ^0.6.1 + flutter_lints: ^2.0.1 flutter_test: sdk: flutter - build_runner: - ferry_generator: - json_serializable: - - # The "flutter_lints" package below contains a set of recommended lints to - # encourage good coding practices. The lint set provided by the package is - # activated in the `analysis_options.yaml` file located at the root of your - # package. See that file for information about deactivating specific lint - # rules and activating additional ones. - flutter_lints: ^2.0.0 + json_serializable: ^6.5.1 # For information on the generic Dart part of this file, see the # following page: https://dart.dev/tools/pub/pubspec diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index c6993f7..40a3ffa 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -8,6 +8,7 @@ #include #include +#include #include void RegisterPlugins(flutter::PluginRegistry* registry) { @@ -15,6 +16,8 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { registry->GetRegistrarForPlugin("MapsLauncherPlugin")); SentryFlutterPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("SentryFlutterPlugin")); + SharePlusWindowsPluginCApiRegisterWithRegistrar( + registry->GetRegistrarForPlugin("SharePlusWindowsPluginCApi")); UrlLauncherWindowsRegisterWithRegistrar( registry->GetRegistrarForPlugin("UrlLauncherWindows")); } diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index 61ba726..485daf2 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -5,6 +5,7 @@ list(APPEND FLUTTER_PLUGIN_LIST maps_launcher sentry_flutter + share_plus_windows url_launcher_windows )