From 95c492e977640bab67e15438201f5dc6717a4483 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Thu, 13 Apr 2023 22:01:23 +0200 Subject: [PATCH] style: update some analysis files --- .../wyatt_architecture/analysis_options.yaml | 14 +++++-------- .../wyatt_bloc_helper/analysis_options.yaml | 3 --- .../wyatt_crud_bloc/analysis_options.yaml | 3 --- packages/wyatt_crud_bloc/pubspec.yaml | 4 ++-- packages/wyatt_i18n/README.md | 2 +- packages/wyatt_i18n/analysis_options.yaml | 1 + packages/wyatt_i18n/pubspec.yaml | 20 +++++++++---------- 7 files changed, 18 insertions(+), 29 deletions(-) diff --git a/packages/wyatt_architecture/analysis_options.yaml b/packages/wyatt_architecture/analysis_options.yaml index 9f5b6860..53aca98a 100644 --- a/packages/wyatt_architecture/analysis_options.yaml +++ b/packages/wyatt_architecture/analysis_options.yaml @@ -1,21 +1,17 @@ -# Copyright (C) 2022 WYATT GROUP +# Copyright (C) 2023 WYATT GROUP # Please see the AUTHORS file for details. -# +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. -# +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -# +# # You should have received a copy of the GNU General Public License # along with this program. If not, see . - -include: package:wyatt_analysis/analysis_options.flutter.yaml - -analyzer: - exclude: "!example/**" +include: package:wyatt_analysis/analysis_options.yaml diff --git a/packages/wyatt_bloc_helper/analysis_options.yaml b/packages/wyatt_bloc_helper/analysis_options.yaml index b0c6aced..8c9daa4e 100644 --- a/packages/wyatt_bloc_helper/analysis_options.yaml +++ b/packages/wyatt_bloc_helper/analysis_options.yaml @@ -1,4 +1 @@ include: package:wyatt_analysis/analysis_options.flutter.yaml - -analyzer: - exclude: "!example/**" \ No newline at end of file diff --git a/packages/wyatt_crud_bloc/analysis_options.yaml b/packages/wyatt_crud_bloc/analysis_options.yaml index f09fbccc..8c9daa4e 100644 --- a/packages/wyatt_crud_bloc/analysis_options.yaml +++ b/packages/wyatt_crud_bloc/analysis_options.yaml @@ -1,4 +1 @@ include: package:wyatt_analysis/analysis_options.flutter.yaml - -analyzer: - exclude: "!example/**" diff --git a/packages/wyatt_crud_bloc/pubspec.yaml b/packages/wyatt_crud_bloc/pubspec.yaml index 52960c0e..09b9d2b2 100644 --- a/packages/wyatt_crud_bloc/pubspec.yaml +++ b/packages/wyatt_crud_bloc/pubspec.yaml @@ -28,5 +28,5 @@ dev_dependencies: flutter_test: { sdk: flutter } bloc_test: ^9.1.0 wyatt_analysis: - hosted: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub/ - version: 2.4.1 + hosted: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub + version: ^2.4.1 diff --git a/packages/wyatt_i18n/README.md b/packages/wyatt_i18n/README.md index 09cd8b61..b878a833 100644 --- a/packages/wyatt_i18n/README.md +++ b/packages/wyatt_i18n/README.md @@ -16,7 +16,7 @@ * along with this program. If not, see . --> -# Flutter - Wyatt I18n +# Wyatt I18n

Style: Wyatt Analysis diff --git a/packages/wyatt_i18n/analysis_options.yaml b/packages/wyatt_i18n/analysis_options.yaml index 265c79a8..3302c602 100644 --- a/packages/wyatt_i18n/analysis_options.yaml +++ b/packages/wyatt_i18n/analysis_options.yaml @@ -1,4 +1,5 @@ include: package:wyatt_analysis/analysis_options.flutter.yaml + analyzer: plugins: - dart_code_metrics diff --git a/packages/wyatt_i18n/pubspec.yaml b/packages/wyatt_i18n/pubspec.yaml index 23c658ea..a0336a93 100644 --- a/packages/wyatt_i18n/pubspec.yaml +++ b/packages/wyatt_i18n/pubspec.yaml @@ -1,17 +1,19 @@ name: wyatt_i18n -description: A package by wyatt studio. +description: Library to handle internationalization in Flutter apps. repository: https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/wyatt_i18n version: 1.0.0 +publish_to: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub + environment: sdk: ">=2.19.0 <3.0.0" dependencies: collection: ^1.17.0 equatable: ^2.0.5 - flutter: {sdk: flutter} + flutter: { sdk: flutter } flutter_bloc: ^8.1.2 - flutter_localizations: {sdk: flutter} + flutter_localizations: { sdk: flutter } http: ^0.13.5 intl: ^0.17.0 path: ^1.8.0 @@ -20,26 +22,22 @@ dependencies: hosted: url: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub/ name: wyatt_architecture - version: 0.1.0+1 + version: ^0.1.0+1 wyatt_bloc_helper: hosted: url: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub/ name: wyatt_bloc_helper - version: 2.0.0 + version: ^2.0.0 wyatt_type_utils: hosted: url: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub/ name: wyatt_type_utils - version: 0.0.4 + version: ^0.0.4 yaml: ^3.1.1 dev_dependencies: - flutter_test: {sdk: flutter} + flutter_test: { sdk: flutter } dart_code_metrics: ^5.5.1 wyatt_analysis: hosted: https://git.wyatt-studio.fr/api/packages/Wyatt-FOSS/pub version: ^2.4.1 - -# The following section is specific to Flutter. -flutter: - uses-material-design: true