diff --git a/.github/workflows/functions_client.yml b/.github/workflows/functions_client.yml index a199d9e9..faf1aadb 100644 --- a/.github/workflows/functions_client.yml +++ b/.github/workflows/functions_client.yml @@ -44,7 +44,7 @@ jobs: run: | cd ../../ dart pub global activate melos - melos bootstrap --ignore="supabase_flutter" + melos bootstrap --no-flutter - name: dartfmt if: ${{ matrix.sdk == 'stable'}} diff --git a/.github/workflows/gotrue.yml b/.github/workflows/gotrue.yml index 2bb30ab4..c0a1e946 100644 --- a/.github/workflows/gotrue.yml +++ b/.github/workflows/gotrue.yml @@ -41,7 +41,7 @@ jobs: run: | cd ../../ dart pub global activate melos - melos bootstrap --ignore="supabase_flutter" + melos bootstrap --no-flutter - name: dartfmt if: ${{ matrix.sdk == 'stable'}} diff --git a/.github/workflows/postgrest.yml b/.github/workflows/postgrest.yml index a1f243b3..5aecc4f4 100644 --- a/.github/workflows/postgrest.yml +++ b/.github/workflows/postgrest.yml @@ -43,7 +43,7 @@ jobs: run: | cd ../../ dart pub global activate melos - melos bootstrap --ignore="supabase_flutter" + melos bootstrap --no-flutter - name: dartfmt if: ${{ matrix.sdk == 'stable'}} diff --git a/.github/workflows/realtime_client.yml b/.github/workflows/realtime_client.yml index 696196b6..29814540 100644 --- a/.github/workflows/realtime_client.yml +++ b/.github/workflows/realtime_client.yml @@ -41,7 +41,7 @@ jobs: run: | cd ../../ dart pub global activate melos - melos bootstrap --ignore="supabase_flutter" + melos bootstrap --no-flutter - name: dartfmt if: ${{ matrix.sdk == 'stable'}} diff --git a/.github/workflows/storage_client.yml b/.github/workflows/storage_client.yml index cbe98c4f..eb07d1c7 100644 --- a/.github/workflows/storage_client.yml +++ b/.github/workflows/storage_client.yml @@ -40,7 +40,7 @@ jobs: run: | cd ../../ dart pub global activate melos - melos bootstrap --ignore="supabase_flutter" + melos bootstrap --no-flutter - name: dartfmt if: ${{ matrix.sdk == 'stable'}} diff --git a/.github/workflows/supabase.yml b/.github/workflows/supabase.yml index 2a50c4c8..4667ae71 100644 --- a/.github/workflows/supabase.yml +++ b/.github/workflows/supabase.yml @@ -51,7 +51,7 @@ jobs: run: | cd ../../ dart pub global activate melos - melos bootstrap --ignore="supabase_flutter" + melos bootstrap --no-flutter - name: dartfmt if: ${{ matrix.sdk == 'stable'}} diff --git a/.github/workflows/supabase_flutter.yml b/.github/workflows/supabase_flutter.yml index 7988c947..f0cf1023 100644 --- a/.github/workflows/supabase_flutter.yml +++ b/.github/workflows/supabase_flutter.yml @@ -13,6 +13,7 @@ on: - 'packages/realtime_client/**' - 'packages/storage_client/**' - 'packages/supabase/**' + - 'packages/yet_another_json_isolate/**' pull_request: paths: @@ -24,6 +25,7 @@ on: - 'packages/realtime_client/**' - 'packages/storage_client/**' - 'packages/supabase/**' + - 'packages/yet_another_json_isolate/**' jobs: test: @@ -76,3 +78,8 @@ jobs: run: | flutter pub downgrade app_links flutter test --concurrency=1 + + - name: Verify if Flutter web build is successful + run: | + cd example + flutter build web diff --git a/.github/workflows/yet_another_json_isolate.yml b/.github/workflows/yet_another_json_isolate.yml index a6ad7239..6dd7fe80 100644 --- a/.github/workflows/yet_another_json_isolate.yml +++ b/.github/workflows/yet_another_json_isolate.yml @@ -41,7 +41,7 @@ jobs: run: | cd ../../ dart pub global activate melos - melos bootstrap --ignore="supabase_flutter" + melos bootstrap --no-flutter - name: dartfmt if: ${{ matrix.sdk == 'stable'}} diff --git a/melos.yaml b/melos.yaml index 8377f45d..798b8843 100644 --- a/melos.yaml +++ b/melos.yaml @@ -3,6 +3,7 @@ repository: https://github.com/supabase/supabase-flutter packages: - packages/* + - packages/supabase_flutter/example command: version: diff --git a/packages/yet_another_json_isolate/lib/src/_isolates_web.dart b/packages/yet_another_json_isolate/lib/src/_isolates_web.dart index 30ffa949..c88ad6c7 100644 --- a/packages/yet_another_json_isolate/lib/src/_isolates_web.dart +++ b/packages/yet_another_json_isolate/lib/src/_isolates_web.dart @@ -10,7 +10,7 @@ class YAJsonIsolate { return jsonDecode(json); } - Future encode(Map json) async { + Future encode(Object? json) async { await null; return jsonEncode(json); }