Skip to content

Commit a92a3e2

Browse files
fix(graphql_flutter): increase connectivity_plus version to v3
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent 32f95c5 commit a92a3e2

File tree

6 files changed

+9
-43
lines changed

6 files changed

+9
-43
lines changed

Diff for: .github/workflows/build.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@ jobs:
1111
strategy:
1212
matrix:
1313
channel:
14-
- beta
1514
- stable
16-
- dev
1715
runs-on: ubuntu-latest
1816
steps:
1917
- uses: actions/checkout@v2
20-
- uses: subosito/flutter-action@v1
18+
- uses: subosito/flutter-action@v2
2119
with:
2220
channel: ${{matrix.channel}}
2321
- name: Install dependencies
2422
run: make dep
2523
- name: Code formatting check
2624
run: make ci_fmt_client
2725
- name: Code formatting check (flutter)
28-
run: make ci_fmt_flutter
26+
run: make ci_fmt_flutter

Diff for: Makefile

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
CC=dart pub global run melos
22
#CC_TEST=spec
3-
CC_TEST=for d in ./packages/*/ ; do (echo $$d && cd $$d && dart test); done
43
CC_CHANGELOG=dart pub global run changelog_cmd
54

65
default: analyze check
@@ -10,14 +9,14 @@ dep:
109
dart pub global activate changelog_cmd;
1110
$(CC) bootstrap
1211

13-
check:
14-
$(CC_TEST)
12+
check: ci_check_client ci_check_flutter
1513

1614
fmt:
1715
$(CC) run format --no-select
1816

1917
analyze: fmt
20-
$(CC) run analyze --no-select
18+
$(CC) run client_analyze --no-select
19+
$(CC) run flutter_analyze --no-select
2120

2221
client: ci_check_client ci_fmt_client
2322

Diff for: melos.yaml

-16
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ packages:
77
- packages/**
88

99
scripts:
10-
analyze:
11-
run: melos exec -c 1 -- "dart format --set-exit-if-changed . && dart analyze . --fatal-infos"
12-
description: Run dart analyzer in a specific package.
13-
select-package:
14-
flutter: false
15-
1610
flutter_analyze:
1711
run: melos exec --depends-on="graphql" -c 1 -- "flutter format --set-exit-if-changed . && flutter analyze . --fatal-infos"
1812
description: Run dart analyzer in a specific package.
@@ -25,16 +19,6 @@ scripts:
2519
select-package:
2620
flutter: false
2721

28-
test:
29-
description: Run tests in a specific package.
30-
run: melos exec -- "dart pub get && dart pub run test"
31-
select-package:
32-
flutter: false
33-
dir-exists:
34-
- "test/"
35-
env:
36-
MELOS_TEST: true
37-
3822
flutter_test:
3923
description: Run tests in a specific package.
4024
run: melos exec --depends-on="graphql" -- "flutter test"

Diff for: packages/graphql_flutter/example/lib/generated_plugin_registrant.dart

-17
This file was deleted.

Diff for: packages/graphql_flutter/example/pubspec.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ dependency_overrides:
2929

3030
environment:
3131
sdk: '>=2.12.0 <3.0.0'
32+
flutter: ">=2.11.0"

Diff for: packages/graphql_flutter/pubspec.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ dependencies:
99
gql_exec: ^0.4.0
1010
flutter:
1111
sdk: flutter
12-
meta: ^1.3.0
12+
meta: ^1.7.0
1313
path_provider: ^2.0.1
1414
path: ^1.8.0
15-
connectivity_plus: ^2.0.3
15+
connectivity_plus: ^3.0.0
1616
hive: ^2.0.0
1717
plugin_platform_interface: ^2.0.0
1818
flutter_hooks: ^0.18.2
@@ -27,6 +27,7 @@ dev_dependencies:
2727

2828
environment:
2929
sdk: '>=2.12.0 <3.0.0'
30+
flutter: ">=2.11.0"
3031

3132
platforms:
3233
android:

0 commit comments

Comments
 (0)