Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
glemartret committed Jul 10, 2024
1 parent c3c48dd commit be90bd1
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 29 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Changelog

All notable changes to the `lm_labs_utils` package will be documented in this file.

## [1.1.1] - Date of Release
- Migrate to public packages

## [1.1.0] - Initial Release

11 changes: 11 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright 2024 Guillaume LE MARTRET

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8 changes: 4 additions & 4 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
include: package:extreme_flutter_lints/flutter.yaml
include: package:lm_labs_flutter_lints/flutter.yaml

analyzer:
plugins:
- custom_lint
exclude:
- '**.freezed.dart'
- '**.g.dart'
- "**.freezed.dart"
- "**.g.dart"
errors:
# For json_serializable
invalid_annotation_target: ignore
invalid_annotation_target: ignore
2 changes: 1 addition & 1 deletion lib/src/utils/http_client/network_interceptor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class _ConnectivityRequestRetrier {
streamSubscription = connectivity.onConnectivityChanged.listen(
(connectivityResult) async {
// We're connected either to WiFi or mobile data
if (connectivityResult != ConnectivityResult.none) {
if (!connectivityResult.contains(ConnectivityResult.none)) {
// Ensure that only one retry happens per connectivity change by
// cancelling the listener
await streamSubscription.cancel();
Expand Down
27 changes: 13 additions & 14 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -270,15 +270,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.3"
extreme_flutter_lints:
dependency: "direct dev"
description:
path: "."
ref: latest
resolved-ref: d311a0a5cfb28f29be245873be6a1c993f953e0d
url: "[email protected]:glemartret/extreme_flutter_lints.git"
source: git
version: "0.0.3"
fake_async:
dependency: transitive
description:
Expand Down Expand Up @@ -328,10 +319,10 @@ packages:
dependency: transitive
description:
name: flutter_lints
sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c"
url: "https://pub.dev"
source: hosted
version: "3.0.2"
version: "4.0.0"
flutter_localizations:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -511,10 +502,18 @@ packages:
dependency: transitive
description:
name: lints
sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "4.0.0"
lm_labs_flutter_lints:
dependency: "direct dev"
description:
name: lm_labs_flutter_lints
sha256: "70db9dba6295b71af4f28c579b548e76eb998efd0883a825ac6bc94d56035a7b"
url: "https://pub.dev"
source: hosted
version: "0.1.0"
logging:
dependency: transitive
description:
Expand Down Expand Up @@ -914,4 +913,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.4.0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
flutter: ">=3.22.0"
15 changes: 5 additions & 10 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: lm_labs_utils
description: "A new Flutter project."

# Prevent accidental publishing to pub.dev.
publish_to: "none"

version: 1.1.0
description: "Reusable utilities for Flutter apps, packages, and plugins to encourage good coding practices"
repository: https://github.com/glemartret/lm_labs_utils
issue_tracker: https://github.com/glemartret/lm_labs_utils/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
version: 1.1.1

environment:
sdk: ">=3.4.0 <4.0.0"
Expand All @@ -28,14 +26,11 @@ dependencies:
dev_dependencies:
build_runner: ^2.4.11
custom_lint: ^0.6.4
extreme_flutter_lints:
git:
url: [email protected]:glemartret/extreme_flutter_lints.git
ref: latest
flutter_test:
sdk: flutter
freezed: ^2.5.4
json_serializable: ^6.8.0
lm_labs_flutter_lints: ^0.1.0
riverpod_generator: ^2.4.2
riverpod_lint: ^2.3.12

Expand Down

0 comments on commit be90bd1

Please sign in to comment.