From 035da13b3eafea563bf8eaf221c221f1c2f1df21 Mon Sep 17 00:00:00 2001 From: Artur Stepniewski Date: Thu, 13 Aug 2020 09:54:42 +0200 Subject: [PATCH] Feature/bump freezed (#4) Bump dependencies --- .travis.yml | 1 + CHANGELOG.md | 4 + analysis_options.yaml | 4 +- example/lib/main.dart | 1 + lib/flutter_lokalise.dart | 1 + .../files_download_request_body.freezed.dart | 3 +- .../files_download_response_body.freezed.dart | 3 +- .../lokalise_config.freezed.dart | 3 +- pubspec.lock | 76 +++++++++---------- pubspec.yaml | 28 +++---- 10 files changed, 66 insertions(+), 58 deletions(-) create mode 100644 example/lib/main.dart diff --git a/.travis.yml b/.travis.yml index 0be1679..a087a04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ install: - flutter pub get script: + - flutter pub run build_runner build --delete-conflicting-outputs --fail-on-severe - flutter analyze - flutter pub run test_coverage --no-badge - flutter pub run remove_from_coverage -f coverage/lcov.info -r ".g.dart$" -r ".freezed.dart$" diff --git a/CHANGELOG.md b/CHANGELOG.md index b0734d4..d9875ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.2 + +* Bump dependencies + ## 0.1.1 * Handle newline characters in JSON diff --git a/analysis_options.yaml b/analysis_options.yaml index b3a5b84..55444a6 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -9,6 +9,4 @@ analyzer: include_file_not_found: ignore linter: - # Rules: http://dart-lang.github.io/linter/lints - rules: - prefer_single_quotes: false + # Rules: http://dart-lang.github.io/linter/lints= diff --git a/example/lib/main.dart b/example/lib/main.dart new file mode 100644 index 0000000..0418f5b --- /dev/null +++ b/example/lib/main.dart @@ -0,0 +1 @@ +// Look into pubspec.yaml for an example diff --git a/lib/flutter_lokalise.dart b/lib/flutter_lokalise.dart index 71594dc..9dfbff7 100644 --- a/lib/flutter_lokalise.dart +++ b/lib/flutter_lokalise.dart @@ -1 +1,2 @@ +/// Currently, flutter_lokalise provides a command line tool only. library flutter_lokalise; diff --git a/lib/src/client/files_download_request_body.freezed.dart b/lib/src/client/files_download_request_body.freezed.dart index 8927505..c94f8e0 100644 --- a/lib/src/client/files_download_request_body.freezed.dart +++ b/lib/src/client/files_download_request_body.freezed.dart @@ -1,5 +1,5 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named +// ignore_for_file: deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies part of 'files_download_request_body.dart'; @@ -16,6 +16,7 @@ FilesDownloadRequestBody _$FilesDownloadRequestBodyFromJson( class _$FilesDownloadRequestBodyTearOff { const _$FilesDownloadRequestBodyTearOff(); +// ignore: unused_element _FilesDownloadRequestBody call( {@required String format, diff --git a/lib/src/client/files_download_response_body.freezed.dart b/lib/src/client/files_download_response_body.freezed.dart index 370462c..be1747f 100644 --- a/lib/src/client/files_download_response_body.freezed.dart +++ b/lib/src/client/files_download_response_body.freezed.dart @@ -1,5 +1,5 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named +// ignore_for_file: deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies part of 'files_download_response_body.dart'; @@ -16,6 +16,7 @@ FilesDownloadResponseBody _$FilesDownloadResponseBodyFromJson( class _$FilesDownloadResponseBodyTearOff { const _$FilesDownloadResponseBodyTearOff(); +// ignore: unused_element _FilesDownloadResponseBody call( {@JsonKey(name: 'project_id') String projectId, @JsonKey(name: 'bundle_url') String bundleUrl}) { diff --git a/lib/src/lokalise_config/lokalise_config.freezed.dart b/lib/src/lokalise_config/lokalise_config.freezed.dart index fb8029f..d267b48 100644 --- a/lib/src/lokalise_config/lokalise_config.freezed.dart +++ b/lib/src/lokalise_config/lokalise_config.freezed.dart @@ -1,5 +1,5 @@ // GENERATED CODE - DO NOT MODIFY BY HAND -// ignore_for_file: deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named +// ignore_for_file: deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies part of 'lokalise_config.dart'; @@ -12,6 +12,7 @@ T _$identity(T value) => value; class _$LokaliseConfigTearOff { const _$LokaliseConfigTearOff(); +// ignore: unused_element _LokaliseConfig call( {String projectId, String apiToken, diff --git a/pubspec.lock b/pubspec.lock index de16b5e..5abc6d5 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "3.0.0" + version: "6.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.39.8" + version: "0.39.14" archive: dependency: "direct main" description: @@ -35,7 +35,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.4.1" + version: "2.4.2" boolean_selector: dependency: transitive description: @@ -70,21 +70,21 @@ packages: name: build_resolvers url: "https://pub.dartlang.org" source: hosted - version: "1.3.8" + version: "1.3.11" build_runner: dependency: "direct dev" description: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "1.10.0" + version: "1.10.1" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "5.2.0" + version: "6.0.1" built_collection: dependency: transitive description: @@ -113,20 +113,27 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.2" + cli_util: + dependency: transitive + description: + name: cli_util + url: "https://pub.dartlang.org" + source: hosted + version: "0.1.4" code_builder: dependency: transitive description: name: code_builder url: "https://pub.dartlang.org" source: hosted - version: "3.2.1" + version: "3.4.0" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.14.12" + version: "1.14.13" convert: dependency: transitive description: @@ -140,21 +147,21 @@ packages: name: coverage url: "https://pub.dartlang.org" source: hosted - version: "0.13.9" + version: "0.13.11" crypto: dependency: transitive description: name: crypto url: "https://pub.dartlang.org" source: hosted - version: "2.1.4" + version: "2.1.5" csslib: dependency: transitive description: name: csslib url: "https://pub.dartlang.org" source: hosted - version: "0.16.1" + version: "0.16.2" dart_style: dependency: transitive description: @@ -175,14 +182,14 @@ packages: name: freezed url: "https://pub.dartlang.org" source: hosted - version: "0.10.8" + version: "0.11.5" freezed_annotation: dependency: "direct main" description: name: freezed_annotation url: "https://pub.dartlang.org" source: hosted - version: "0.7.1" + version: "0.11.0+1" glob: dependency: transitive description: @@ -210,7 +217,7 @@ packages: name: http url: "https://pub.dartlang.org" source: hosted - version: "0.12.1" + version: "0.12.2" http_multi_server: dependency: transitive description: @@ -238,7 +245,7 @@ packages: name: js url: "https://pub.dartlang.org" source: hosted - version: "0.6.1+1" + version: "0.6.2" json_annotation: dependency: "direct main" description: @@ -252,7 +259,7 @@ packages: name: json_serializable url: "https://pub.dartlang.org" source: hosted - version: "3.3.0" + version: "3.4.0" lcov: dependency: transitive description: @@ -273,21 +280,21 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.6" + version: "0.12.9" meta: dependency: "direct main" description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.1.8" + version: "1.2.2" mime: dependency: transitive description: name: mime url: "https://pub.dartlang.org" source: hosted - version: "0.9.6+3" + version: "0.9.7" mock_web_server: dependency: "direct dev" description: @@ -302,13 +309,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "4.1.1" - multi_server_socket: - dependency: transitive - description: - name: multi_server_socket - url: "https://pub.dartlang.org" - source: hosted - version: "1.0.2" node_interop: dependency: transitive description: @@ -329,7 +329,7 @@ packages: name: node_preamble url: "https://pub.dartlang.org" source: hosted - version: "1.4.8" + version: "1.4.12" package_config: dependency: transitive description: @@ -350,7 +350,7 @@ packages: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.9.0" + version: "1.9.2" pool: dependency: transitive description: @@ -392,7 +392,7 @@ packages: name: shelf url: "https://pub.dartlang.org" source: hosted - version: "0.7.5" + version: "0.7.8" shelf_packages_handler: dependency: transitive description: @@ -420,7 +420,7 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "0.9.5" + version: "0.9.6" source_map_stack_trace: dependency: transitive description: @@ -448,7 +448,7 @@ packages: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.9.3" + version: "1.9.5" stream_channel: dependency: transitive description: @@ -490,28 +490,28 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.14.3" + version: "1.15.3" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.15" + version: "0.2.18" test_core: dependency: transitive description: name: test_core url: "https://pub.dartlang.org" source: hosted - version: "0.3.4" + version: "0.3.11" test_coverage: dependency: "direct dev" description: name: test_coverage url: "https://pub.dartlang.org" source: hosted - version: "0.4.1" + version: "0.4.3" timing: dependency: transitive description: @@ -525,14 +525,14 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.1.6" + version: "1.2.0" vm_service: dependency: transitive description: name: vm_service url: "https://pub.dartlang.org" source: hosted - version: "4.0.4" + version: "4.2.0" watcher: dependency: transitive description: @@ -553,7 +553,7 @@ packages: name: webkit_inspection_protocol url: "https://pub.dartlang.org" source: hosted - version: "0.5.4" + version: "0.7.3" yaml: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 278746e..04bea8c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: flutter_lokalise -version: 0.1.1 +version: 0.1.2 description: > A tool to download translation files from Lokalise and convert them to .arb files. homepage: https://github.com/meniga/flutter_lokalise @@ -11,26 +11,26 @@ executables: flutter_lokalise: dependencies: - archive: ^2.0.11 - args: ^1.5.2 + archive: ^2.0.13 + args: ^1.6.0 json_annotation: ^3.0.1 - freezed_annotation: ^0.7.1 - http: ^0.12.1 + freezed_annotation: ^0.11.0+1 + http: ^0.12.2 logging: ^0.11.4 meta: ^1.1.8 - path: ^1.6.4 - quiver: ^2.0.5 + path: ^1.7.0 + quiver: ^2.1.3 string_unescape: ^1.5.1 yaml: ^2.2.1 dev_dependencies: - build_runner: ^1.10.0 - json_serializable: ^3.3.0 - freezed: ^0.10.8 - matcher: ^0.12.6 + build_runner: ^1.10.1 + json_serializable: ^3.4.0 + freezed: ^0.11.5 + matcher: ^0.12.9 mock_web_server: ^4.1.1 mockito: ^4.1.1 - pedantic: ^1.9.0 + pedantic: ^1.9.2 remove_from_coverage: ^1.0.7 - test: ^1.14.3 - test_coverage: ^0.4.1 + test: ^1.15.2 + test_coverage: ^0.4.3