diff --git a/analysis_options.yaml b/analysis_options.yaml deleted file mode 100644 index 9cc472ea..00000000 --- a/analysis_options.yaml +++ /dev/null @@ -1,224 +0,0 @@ -include: package:lints/recommended.yaml - -linter: - rules: - # - always_declare_return_types - # - always_put_control_body_on_new_line - # - always_put_required_named_parameters_first - # - always_specify_types - - always_use_package_imports - - annotate_overrides - # - annotate_redeclares - # - avoid_annotating_with_dynamic - # - avoid_bool_literals_in_conditional_expressions - # - avoid_catches_without_on_clauses - # - avoid_catching_errors - # - avoid_classes_with_only_static_members - # - avoid_double_and_int_checks - # - avoid_dynamic_calls - - avoid_empty_else - # - avoid_equals_and_hash_code_on_mutable_classes - # - avoid_escaping_inner_quotes - # - avoid_field_initializers_in_const_classes - - avoid_final_parameters - - avoid_function_literals_in_foreach_calls - # - avoid_implementing_value_types - - avoid_init_to_null - # - avoid_js_rounded_ints - # - avoid_multiple_declarations_per_line - - avoid_null_checks_in_equality_operators - # - avoid_positional_boolean_parameters - # - avoid_print - # - avoid_private_typedef_functions - # - avoid_redundant_argument_values - - avoid_relative_lib_imports - - avoid_renaming_method_parameters - - avoid_return_types_on_setters - - avoid_returning_null_for_void - # - avoid_returning_this - # - avoid_setters_without_getters - - avoid_shadowing_type_parameters - - avoid_single_cascade_in_expression_statements - # - avoid_slow_async_io - # - avoid_type_to_string - - avoid_types_as_parameter_names - # - avoid_types_on_closure_parameters - - avoid_unnecessary_containers - # - avoid_unused_constructor_parameters - - avoid_void_async - - avoid_web_libraries_in_flutter - - await_only_futures - - camel_case_extensions - - camel_case_types - # - cancel_subscriptions - # - cascade_invocations - # - cast_nullable_to_non_nullable - # - close_sinks - # - collection_methods_unrelated_type - - combinators_ordering - # - comment_references - # - conditional_uri_does_not_exist - # - constant_identifier_names - - control_flow_in_finally - - curly_braces_in_flow_control_structures - # - dangling_library_doc_comments - - depend_on_referenced_packages - # - deprecated_consistency - # - deprecated_member_use_from_same_package - # - diagnostic_describe_all_properties - - directives_ordering - # - discarded_futures - # - do_not_use_environment - - empty_catches - - empty_constructor_bodies - - empty_statements - - eol_at_end_of_file - - exhaustive_cases - - file_names - - flutter_style_todos - - hash_and_equals - - implementation_imports - # - implicit_call_tearoffs - # - implicit_reopen - # - invalid_case_patterns - # - join_return_with_assignment - # - leading_newlines_in_multiline_strings - # - library_annotations - - library_names - - library_prefixes - - library_private_types_in_public_api - # - lines_longer_than_80_chars - # - literal_only_boolean_expressions - # - matching_super_parameters - # - missing_code_block_language_in_doc_comment - # - missing_whitespace_between_adjacent_strings - # - no_adjacent_strings_in_list - # - no_default_cases - - no_duplicate_case_values - - no_leading_underscores_for_library_prefixes - - no_leading_underscores_for_local_identifiers - # - no_literal_bool_comparisons - - no_logic_in_create_state - # - no_runtimeType_toString - # - no_self_assignments - # - no_wildcard_variable_uses - - non_constant_identifier_names - # - noop_primitive_operations - - null_check_on_nullable_type_parameter - - null_closures - # - omit_local_variable_types - # - one_member_abstracts - # - only_throw_errors - - overridden_fields - # - package_api_docs - - package_names - - package_prefixed_library_names - # - parameter_assignments - - prefer_adjacent_string_concatenation - # - prefer_asserts_in_initializer_lists - # - prefer_asserts_with_message - - prefer_collection_literals - - prefer_conditional_assignment - - prefer_const_constructors - - prefer_const_constructors_in_immutables - - prefer_const_declarations - - prefer_const_literals_to_create_immutables - # - prefer_constructors_over_static_methods - - prefer_contains - # - prefer_double_quotes - # - prefer_expression_function_bodies - - prefer_final_fields - # - prefer_final_in_for_each - # - prefer_final_locals - # - prefer_final_parameters - - prefer_for_elements_to_map_fromIterable - # - prefer_foreach - - prefer_function_declarations_over_variables - - prefer_generic_function_type_aliases - # - prefer_if_elements_to_conditional_expressions - - prefer_if_null_operators - - prefer_initializing_formals - - prefer_inlined_adds - # - prefer_int_literals - - prefer_interpolation_to_compose_strings - - prefer_is_empty - - prefer_is_not_empty - - prefer_is_not_operator - - prefer_iterable_whereType - # - prefer_mixin - - prefer_null_aware_method_calls - - prefer_null_aware_operators - # - prefer_relative_imports - - prefer_single_quotes - - prefer_spread_collections - - prefer_typing_uninitialized_variables - - prefer_void_to_null - - provide_deprecation_message - # - public_member_api_docs - - recursive_getters - - require_trailing_commas - # - secure_pubspec_urls - - sized_box_for_whitespace - # - sized_box_shrink_expand - - slash_for_doc_comments - - sort_child_properties_last - - sort_constructors_first - - sort_pub_dependencies - - sort_unnamed_constructors_first - # - test_types_in_equals - # - throw_in_finally - # - tighten_type_of_initializing_formals - # - type_annotate_public_apis - - type_init_formals - # - type_literal_in_constant_pattern - # - unawaited_futures - # - unintended_html_in_doc_comment - # - unnecessary_await_in_return - - unnecessary_brace_in_string_interps - # - unnecessary_breaks - - unnecessary_const - - unnecessary_constructor_name - # - unnecessary_final - - unnecessary_getters_setters - # - unnecessary_lambdas - - unnecessary_late - # - unnecessary_library_directive - # - unnecessary_library_name - - unnecessary_new - - unnecessary_null_aware_assignments - # - unnecessary_null_aware_operator_on_extension_on_nullable - # - unnecessary_null_checks - - unnecessary_null_in_if_null_operators - - unnecessary_nullable_for_final_variable_declarations - - unnecessary_overrides - # - unnecessary_parenthesis - # - unnecessary_raw_strings - # - unnecessary_statements - - unnecessary_string_escapes - - unnecessary_string_interpolations - - unnecessary_this - # - unnecessary_to_list_in_spreads - # - unreachable_from_main - - unrelated_type_equality_checks - # - unsafe_html - - use_build_context_synchronously - - use_colored_box - - use_decorated_box - # - use_enums - - use_full_hex_values_for_flutter_colors - - use_function_type_syntax_for_parameters - # - use_if_null_to_convert_nulls_to_bools - # - use_is_even_rather_than_modulo - - use_key_in_widget_constructors - # - use_late_for_private_fields_and_variables - # - use_named_constants - # - use_raw_strings - - use_rethrow_when_possible - # - use_setters_to_change_properties - # - use_string_buffers - # - use_string_in_part_of_directives - # - use_super_parameters - # - use_test_throws_matchers - # - use_to_and_as_if_applicable - - valid_regexps - # - void_checks diff --git a/packages/flutter_app_builder/CHANGELOG.md b/packages/flutter_app_builder/CHANGELOG.md index 8e67ac5c..d7a312cd 100644 --- a/packages/flutter_app_builder/CHANGELOG.md +++ b/packages/flutter_app_builder/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.4.4 * feat: macOS builder support flavor arg. #133 +* fix: Fixed android builder not supporting flavor as upper case. (#197) ## 0.4.2 diff --git a/packages/flutter_app_builder/analysis_options.yaml b/packages/flutter_app_builder/analysis_options.yaml new file mode 100644 index 00000000..d42ee439 --- /dev/null +++ b/packages/flutter_app_builder/analysis_options.yaml @@ -0,0 +1,5 @@ +include: package:mostly_reasonable_lints/analysis_options.yaml + +linter: + rules: + avoid_print: false diff --git a/packages/flutter_app_builder/pubspec.yaml b/packages/flutter_app_builder/pubspec.yaml index b35854e1..6049c246 100644 --- a/packages/flutter_app_builder/pubspec.yaml +++ b/packages/flutter_app_builder/pubspec.yaml @@ -17,4 +17,5 @@ dependencies: dev_dependencies: dependency_validator: ^3.0.0 + mostly_reasonable_lints: ^0.1.2 test: ^1.23.1 diff --git a/packages/flutter_app_packager/CHANGELOG.md b/packages/flutter_app_packager/CHANGELOG.md index 5bf00827..7cc94498 100644 --- a/packages/flutter_app_packager/CHANGELOG.md +++ b/packages/flutter_app_packager/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.4 + +* [Linux] Add MimeType for appimage and metainfo file support (#195) + ## 0.4.2 * some fixes diff --git a/packages/flutter_app_packager/analysis_options.yaml b/packages/flutter_app_packager/analysis_options.yaml new file mode 100644 index 00000000..d42ee439 --- /dev/null +++ b/packages/flutter_app_packager/analysis_options.yaml @@ -0,0 +1,5 @@ +include: package:mostly_reasonable_lints/analysis_options.yaml + +linter: + rules: + avoid_print: false diff --git a/packages/flutter_app_packager/pubspec.yaml b/packages/flutter_app_packager/pubspec.yaml index c68f62e3..420ae9ec 100644 --- a/packages/flutter_app_packager/pubspec.yaml +++ b/packages/flutter_app_packager/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_app_packager description: Package your Flutter app into OS-specific bundles (.dmg, .exe, etc.) via Dart or the command line. -version: 0.4.3 +version: 0.4.4 homepage: https://github.com/leanflutter/flutter_distributor environment: @@ -20,3 +20,4 @@ dependencies: dev_dependencies: dependency_validator: ^3.0.0 + mostly_reasonable_lints: ^0.1.2 diff --git a/packages/flutter_app_publisher/CHANGELOG.md b/packages/flutter_app_publisher/CHANGELOG.md index d1d02141..62fc48ba 100644 --- a/packages/flutter_app_publisher/CHANGELOG.md +++ b/packages/flutter_app_publisher/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.4.4 + +* Support set track for playstore deployment (#185) + ## 0.4.2 * some fixes diff --git a/packages/flutter_app_publisher/analysis_options.yaml b/packages/flutter_app_publisher/analysis_options.yaml new file mode 100644 index 00000000..d42ee439 --- /dev/null +++ b/packages/flutter_app_publisher/analysis_options.yaml @@ -0,0 +1,5 @@ +include: package:mostly_reasonable_lints/analysis_options.yaml + +linter: + rules: + avoid_print: false diff --git a/packages/flutter_app_publisher/pubspec.yaml b/packages/flutter_app_publisher/pubspec.yaml index e42e7efa..6ff31417 100644 --- a/packages/flutter_app_publisher/pubspec.yaml +++ b/packages/flutter_app_publisher/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_app_publisher description: Flutter app publisher -version: 0.4.3 +version: 0.4.4 homepage: https://distributor.leanflutter.dev repository: https://github.com/leanflutter/flutter_distributor/tree/main/packages/flutter_app_publisher @@ -18,3 +18,4 @@ dependencies: dev_dependencies: dependency_validator: ^3.0.0 + mostly_reasonable_lints: ^0.1.2 diff --git a/packages/flutter_distributor/CHANGELOG.md b/packages/flutter_distributor/CHANGELOG.md index 2fbb5c8f..b6648d17 100644 --- a/packages/flutter_distributor/CHANGELOG.md +++ b/packages/flutter_distributor/CHANGELOG.md @@ -1,6 +1,9 @@ ## 0.4.4 -* feat: macOS builder support flavor arg. #133 +* fix: Fixed android builder not supporting flavor as upper case. (#197) +* feat: macOS builder support flavor arg. (#196) +* [Linux] Add MimeType for appimage and metainfo file support (#195) +* Support set track for playstore deployment (#185) ## 0.4.3 diff --git a/packages/flutter_distributor/analysis_options.yaml b/packages/flutter_distributor/analysis_options.yaml new file mode 100644 index 00000000..d42ee439 --- /dev/null +++ b/packages/flutter_distributor/analysis_options.yaml @@ -0,0 +1,5 @@ +include: package:mostly_reasonable_lints/analysis_options.yaml + +linter: + rules: + avoid_print: false diff --git a/packages/flutter_distributor/pubspec.yaml b/packages/flutter_distributor/pubspec.yaml index 30c55b3c..75d46582 100644 --- a/packages/flutter_distributor/pubspec.yaml +++ b/packages/flutter_distributor/pubspec.yaml @@ -19,8 +19,8 @@ dependencies: charset: ^2.0.1 dio: ^5.3.4 flutter_app_builder: ^0.4.4 - flutter_app_packager: ^0.4.2 - flutter_app_publisher: ^0.4.2 + flutter_app_packager: ^0.4.4 + flutter_app_publisher: ^0.4.4 logging: ^1.0.2 path: ^1.8.1 pubspec_parse: ^1.1.0 @@ -30,6 +30,7 @@ dependencies: dev_dependencies: dependency_validator: ^3.0.0 + mostly_reasonable_lints: ^0.1.2 test: ^1.23.1 executables: diff --git a/pubspec.lock b/pubspec.lock deleted file mode 100644 index 3700b6a5..00000000 --- a/pubspec.lock +++ /dev/null @@ -1,341 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - ansi_styles: - dependency: transitive - description: - name: ansi_styles - sha256: "9c656cc12b3c27b17dd982b2cc5c0cfdfbdabd7bc8f3ae5e8542d9867b47ce8a" - url: "https://pub.dev" - source: hosted - version: "0.3.2+1" - args: - dependency: transitive - description: - name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" - url: "https://pub.dev" - source: hosted - version: "2.5.0" - async: - dependency: transitive - description: - name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" - url: "https://pub.dev" - source: hosted - version: "2.11.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - charcode: - dependency: transitive - description: - name: charcode - sha256: fb98c0f6d12c920a02ee2d998da788bca066ca5f148492b7085ee23372b12306 - url: "https://pub.dev" - source: hosted - version: "1.3.1" - cli_launcher: - dependency: transitive - description: - name: cli_launcher - sha256: "5e7e0282b79e8642edd6510ee468ae2976d847a0a29b3916e85f5fa1bfe24005" - url: "https://pub.dev" - source: hosted - version: "0.3.1" - cli_util: - dependency: transitive - description: - name: cli_util - sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19 - url: "https://pub.dev" - source: hosted - version: "0.4.1" - collection: - dependency: transitive - description: - name: collection - sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf - url: "https://pub.dev" - source: hosted - version: "1.19.0" - conventional_commit: - dependency: transitive - description: - name: conventional_commit - sha256: dec15ad1118f029c618651a4359eb9135d8b88f761aa24e4016d061cd45948f2 - url: "https://pub.dev" - source: hosted - version: "0.6.0+1" - file: - dependency: transitive - description: - name: file - sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" - url: "https://pub.dev" - source: hosted - version: "7.0.0" - flutter_lints: - dependency: "direct dev" - description: - name: flutter_lints - sha256: aeb0b80a8b3709709c9cc496cdc027c5b3216796bc0af0ce1007eaf24464fd4c - url: "https://pub.dev" - source: hosted - version: "2.0.1" - glob: - dependency: transitive - description: - name: glob - sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - graphs: - dependency: transitive - description: - name: graphs - sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 - url: "https://pub.dev" - source: hosted - version: "2.3.1" - http: - dependency: transitive - description: - name: http - sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" - url: "https://pub.dev" - source: hosted - version: "1.2.1" - http_parser: - dependency: transitive - description: - name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" - url: "https://pub.dev" - source: hosted - version: "4.0.2" - io: - dependency: transitive - description: - name: io - sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 - url: "https://pub.dev" - source: hosted - version: "4.8.1" - lints: - dependency: transitive - description: - name: lints - sha256: "6b0206b0bf4f04961fc5438198ccb3a885685cd67d4d4a32cc20ad7f8adbe015" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" - url: "https://pub.dev" - source: hosted - version: "0.12.16" - melos: - dependency: "direct dev" - description: - name: melos - sha256: f9a6fc4f4842b7edfca2e00ab3b5b06928584f24bdc3d776ab0b30be7d599450 - url: "https://pub.dev" - source: hosted - version: "6.0.0" - meta: - dependency: transitive - description: - name: meta - sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 - url: "https://pub.dev" - source: hosted - version: "1.15.0" - mustache_template: - dependency: transitive - description: - name: mustache_template - sha256: a46e26f91445bfb0b60519be280555b06792460b27b19e2b19ad5b9740df5d1c - url: "https://pub.dev" - source: hosted - version: "2.0.0" - path: - dependency: transitive - description: - name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" - url: "https://pub.dev" - source: hosted - version: "1.8.3" - platform: - dependency: transitive - description: - name: platform - sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" - url: "https://pub.dev" - source: hosted - version: "3.1.5" - pool: - dependency: transitive - description: - name: pool - sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" - url: "https://pub.dev" - source: hosted - version: "1.5.1" - process: - dependency: transitive - description: - name: process - sha256: "21e54fd2faf1b5bdd5102afd25012184a6793927648ea81eea80552ac9405b32" - url: "https://pub.dev" - source: hosted - version: "5.0.2" - prompts: - dependency: transitive - description: - name: prompts - sha256: "3773b845e85a849f01e793c4fc18a45d52d7783b4cb6c0569fad19f9d0a774a1" - url: "https://pub.dev" - source: hosted - version: "2.0.0" - pub_semver: - dependency: transitive - description: - name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - pub_updater: - dependency: transitive - description: - name: pub_updater - sha256: "54e8dc865349059ebe7f163d6acce7c89eb958b8047e6d6e80ce93b13d7c9e60" - url: "https://pub.dev" - source: hosted - version: "0.4.0" - pubspec: - dependency: transitive - description: - name: pubspec - sha256: f534a50a2b4d48dc3bc0ec147c8bd7c304280fff23b153f3f11803c4d49d927e - url: "https://pub.dev" - source: hosted - version: "2.3.0" - quiver: - dependency: transitive - description: - name: quiver - sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 - url: "https://pub.dev" - source: hosted - version: "3.2.1" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 - url: "https://pub.dev" - source: hosted - version: "1.11.0" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test_api: - dependency: transitive - description: - name: test_api - sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8" - url: "https://pub.dev" - source: hosted - version: "0.6.0" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c - url: "https://pub.dev" - source: hosted - version: "1.3.2" - uri: - dependency: transitive - description: - name: uri - sha256: "889eea21e953187c6099802b7b4cf5219ba8f3518f604a1033064d45b1b8268a" - url: "https://pub.dev" - source: hosted - version: "1.0.0" - web: - dependency: transitive - description: - name: web - sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27" - url: "https://pub.dev" - source: hosted - version: "0.5.1" - yaml: - dependency: transitive - description: - name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" - url: "https://pub.dev" - source: hosted - version: "3.1.2" - yaml_edit: - dependency: transitive - description: - name: yaml_edit - sha256: "1579d4a0340a83cf9e4d580ea51a16329c916973bffd5bd4b45e911b25d46bfd" - url: "https://pub.dev" - source: hosted - version: "2.1.1" -sdks: - dart: ">=3.4.0 <4.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index c5eb000f..136e8aae 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -5,5 +5,4 @@ environment: sdk: ">=2.16.0 <4.0.0" dev_dependencies: - flutter_lints: ^2.0.0 melos: ^6.0.0