From ce06bd4e5552f9bccf9496fc469e132b82fa7b80 Mon Sep 17 00:00:00 2001 From: Petrus Nguyen Thai Hoc Date: Mon, 3 Oct 2022 13:00:01 +0700 Subject: [PATCH 1/3] chore: add funding --- .github/FUNDING.yml | 13 +++++++++++++ example/pubspec.lock | 31 ++++++++++++------------------- pubspec.lock | 31 ++++++++++++------------------- pubspec.yaml | 2 ++ 4 files changed, 39 insertions(+), 38 deletions(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..bf6e75b --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,13 @@ +# These are supported funding model platforms + +github: [hoc081098] +# patreon: # Replace with a single Patreon username +# open_collective: # Replace with a single Open Collective username +# ko_fi: # Replace with a single Ko-fi username +# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel +# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +# liberapay: # Replace with a single Liberapay username +# issuehunt: # Replace with a single IssueHunt username +# otechie: # Replace with a single Otechie username +# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry +custom: ["https://www.buymeacoffee.com/hoc081098"] \ No newline at end of file diff --git a/example/pubspec.lock b/example/pubspec.lock index d2fe35c..4beab05 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.8.2" + version: "2.9.0" boolean_selector: dependency: transitive description: @@ -21,21 +21,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.1" + version: "1.2.1" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" collection: dependency: transitive description: @@ -63,7 +56,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.3.1" ffi: dependency: transitive description: @@ -127,28 +120,28 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.11" + version: "0.12.12" material_color_utilities: dependency: transitive description: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.4" + version: "0.1.5" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.7.0" + version: "1.8.0" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" path_provider_linux: dependency: transitive description: @@ -286,7 +279,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.2" + version: "1.9.0" stack_trace: dependency: transitive description: @@ -307,21 +300,21 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.2.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.9" + version: "0.4.12" vector_math: dependency: transitive description: diff --git a/pubspec.lock b/pubspec.lock index c6466ad..8f890c4 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -7,7 +7,7 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.8.2" + version: "2.9.0" boolean_selector: dependency: transitive description: @@ -21,21 +21,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" - charcode: - dependency: transitive - description: - name: charcode - url: "https://pub.dartlang.org" - source: hosted - version: "1.3.1" + version: "1.2.1" clock: dependency: transitive description: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" collection: dependency: "direct dev" description: @@ -56,7 +49,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.3.0" + version: "1.3.1" ffi: dependency: transitive description: @@ -113,28 +106,28 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.11" + version: "0.12.12" material_color_utilities: dependency: transitive description: name: material_color_utilities url: "https://pub.dartlang.org" source: hosted - version: "0.1.4" + version: "0.1.5" meta: dependency: "direct main" description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.7.0" + version: "1.8.0" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.1" + version: "1.8.2" path_provider_linux: dependency: transitive description: @@ -265,7 +258,7 @@ packages: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.2" + version: "1.9.0" stack_trace: dependency: transitive description: @@ -286,21 +279,21 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0" + version: "1.1.1" term_glyph: dependency: transitive description: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0" + version: "1.2.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.4.9" + version: "0.4.12" vector_math: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 2c46cb1..f40eaf1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,6 +4,8 @@ version: 3.0.0 homepage: https://github.com/hoc081098/rx_shared_preferences.git repository: https://github.com/hoc081098/rx_shared_preferences.git issue_tracker: https://github.com/hoc081098/rx_shared_preferences/issues +funding: + - https://www.buymeacoffee.com/hoc081098 environment: sdk: '>=2.14.0 <3.0.0' From c35cb260e1b798577ee919923cc228a1384a03b1 Mon Sep 17 00:00:00 2001 From: Petrus Nguyen Thai Hoc Date: Mon, 3 Oct 2022 13:01:49 +0700 Subject: [PATCH 2/3] ci: only analyze example if Flutter channel is `stable` --- .github/workflows/build-example.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-example.yml b/.github/workflows/build-example.yml index 1dcf1e0..8e37377 100644 --- a/.github/workflows/build-example.yml +++ b/.github/workflows/build-example.yml @@ -40,9 +40,11 @@ jobs: - name: Format code run: flutter format lib --set-exit-if-changed + if: ${{ matrix.channel == 'stable' }} - name: Analyze run: flutter analyze lib + if: ${{ matrix.channel == 'stable' }} - name: Build APK run: flutter build apk --no-shrink From 97cb1e7e2f961bd94083e5b7d1865c1938da4f9f Mon Sep 17 00:00:00 2001 From: Petrus Nguyen Thai Hoc Date: Mon, 3 Oct 2022 13:07:16 +0700 Subject: [PATCH 3/3] ci: only analyze example if Flutter channel is `stable` --- .github/workflows/build-example.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-example.yml b/.github/workflows/build-example.yml index 8e37377..750197c 100644 --- a/.github/workflows/build-example.yml +++ b/.github/workflows/build-example.yml @@ -38,6 +38,10 @@ jobs: - name: Install dependencies run: flutter pub get + - name: Pub upgrade (if beta) + run: flutter pub upgrade + if: ${{ matrix.channel == 'beta' }} + - name: Format code run: flutter format lib --set-exit-if-changed if: ${{ matrix.channel == 'stable' }}