ci: fix automated releases
MODIFY
.circleci/config.yml
.circleci/config.yml
version: 2.1
aliases:
- - &docker_environment
- - image: cirrusci/flutter:latest
+ - &flutter_environment
+ - image: cirrusci/flutter:beta
+ - &node_environment
+ - image: circleci/node:10
- &restore_cache
keys:
# when lock file changes, use increasingly general patterns to restore cache
- pub-packages-v1-{{ checksum "packages/graphql/pubspec.lock" }}-{{ checksum "packages/graphql_flutter/pubspec.lock" }}
- pub-packages-v1-{{ checksum "packages/graphql/pubspec.lock" }}
- pub-packages-v1-
+ - &install_yaml_processor
+ name: Install yq yaml processor
+ command: |
+ sudo apt update && \
+ sudo apt install -y wget
+
+ wget https://github.com/mikefarah/yq/releases/download/2.3.0/yq_linux_amd64 -O ~/yq
+ sudo chmod +x ~/yq
+
+ sudo apt remove -y wget
+ - &graphql_from_path
+ name: Switch to graphql from path
+ command: |
+ cd packages/graphql_flutter
+
+ ~/yq w pubspec.yaml dependencies.graphql.path "../graphql" > patched_pubspec.yaml
+ rm pubspec.yaml
+ mv patched_pubspec.yaml pubspec.yaml
+ - &setup_github_bot
+ name: Setup Github bot
+ command: |
+ git config credential.helper 'cache --timeout=120'
+ git config user.email "github-bot@zinoapp.com"
+ git config user.name "Zino App (Github bot)"
+ - &setup_pub_credentials
+ name: Setup pub credentials
+ command: |
+ [[ ! -d ~/.pub-cache ]] && mkdir -p ~/.pub-cache
+
+ cat \<<EOF > ~/.pub-cache/credentials.json
+ {
+ "accessToken": ${PUB_ACCESS_TOKEN},
+ "refreshToken": ${PUB_REFRESH_TOKEN},
+ "tokenEndpoint": "https://accounts.google.com/o/oauth2/token",
+ "scopes": ["https://www.googleapis.com/auth/userinfo.email", "openid"],
+ "expiration": ${PUB_EXPIRATION},
+ }
+ EOF
jobs:
dependencies:
- docker: *docker_environment
+ docker: *flutter_environment
steps:
- checkout
- restore_cache: *restore_cache
+ - run: *install_yaml_processor
+ - run: *graphql_from_path
- run:
name: Install dependencies (graphql)
command: |
@@ -29,10 +71,12 @@ jobs:
paths:
- ~/.pub-cache
lint:
- docker: *docker_environment
+ docker: *flutter_environment
steps:
- checkout
- restore_cache: *restore_cache
+ - run: *install_yaml_processor
+ - run: *graphql_from_path
- run:
name: Code linting (graphql)
command: |
@@ -44,15 +88,19 @@ jobs:
cd packages/graphql_flutter
dartfmt **/*.dart -n --set-exit-if-changed
coverage:
- docker: *docker_environment
+ docker: *flutter_environment
steps:
- checkout
- restore_cache: *restore_cache
+ - run: *install_yaml_processor
+ - run: *graphql_from_path
- run:
name: Code coverage (graphql)
command: |
cd packages/graphql
- flutter test --coverage
+ pub global activate coverage
+ pub get
+ pub run test_coverage
- run:
name: Code coverage (graphql_flutter)
command: |
@@ -63,70 +111,63 @@ jobs:
command: |
bash <(curl -s https://codecov.io/bash)
release:
- docker:
- - image: circleci/node:10
+ docker: *node_environment
steps:
- checkout
- run:
name: Generate release tags
command: npx semantic-release@beta
- publish:
- docker: *docker_environment
+ sync_with_beta:
+ docker: *node_environment
steps:
- checkout
- - restore_cache: *restore_cache
- - run:
- name: Install yq yaml tool
- command: |
- sudo add-apt-repository ppa:rmescandon/yq && \
- sudo apt update && \
- sudo apt install yq -y
+ - run: *setup_github_bot
- run:
- name: Add git credentials
+ name: Sync master into beta
command: |
- git config credential.helper 'cache --timeout=120'
- git config user.email "github-bot@zino-app.com"
- git config user.name "Zino App (Github bot)"
- - run:
- name: Add pub credentials
- command: |
- [[ ! -d ~/.pub-cache ]] && mkdir -p ~/.pub-cache
-
- cat \<<EOF > ~/.pub-cache/credentials.json
- {
- "accessToken": ${PUB_ACCESS_TOKEN},
- "refreshToken": ${PUB_REFRESH_TOKEN},
- "tokenEndpoint": "https://accounts.google.com/o/oauth2/token",
- "scopes": ["https://www.googleapis.com/auth/userinfo.email", "openid"],
- "expiration": ${PUB_EXPIRATION},
- }
- EOF
+ git checkout master
+ git pull
+ git checkout beta
+ git merge master --no-commit
+ git commit --allow-empty -m "ci(Semantic release): Sync master into beta [skip ci]"
+ # Push quietly to prevent showing the token in log
+ git push -q https://${GH_TOKEN}@github.com/zino-app/graphql-flutter.git beta
+ publish:
+ docker: *flutter_environment
+ steps:
+ - checkout
+ - restore_cache: *restore_cache
+ - run: *install_yaml_processor
+ - run: *setup_github_bot
+ - run: *setup_pub_credentials
- run:
name: Patch pubspec with version (graphql)
command: |
cd packages/graphql
- cat \<<EOF > patch.yaml
- version: ${CIRCLE_TAG}
- EOF
-
- yq m pubspec.yaml patch.yaml
+ # patch version
+ ~/yq w pubspec.yaml version $CIRCLE_TAG > patched_pubspec.yaml
+ rm pubspec.yaml
+ mv patched_pubspec.yaml pubspec.yaml
- run:
name: Patch pubspec with version (graphql_flutter)
command: |
cd packages/graphql_flutter
- cat \<<EOF > patch.yaml
- version: ${CIRCLE_TAG}
- dependencies:
- graphql: ^${CIRCLE_TAG}
- EOF
+ # patch version
+ ~/yq w pubspec.yaml version $CIRCLE_TAG > patched_pubspec.yaml
+ rm pubspec.yaml
+ mv patched_pubspec.yaml pubspec.yaml
- yq m pubspec.yaml patch.yaml
+ # patch graphql dependency version
+ ~/yq w pubspec.yaml dependencies.graphql ^$CIRCLE_TAG > patched_pubspec.yaml
+ rm pubspec.yaml
+ mv patched_pubspec.yaml pubspec.yaml
- run:
name: Bump version numbers
command: |
- git commit --allow-empty -m "build: Bump version numbers (via CircleCI) [skip ci]"
+ git add packages/graphql/pubspec.yaml packages/graphql_flutter/pubspec.yaml
+ git commit --allow-empty -m "build(Pub): Bump version numbers [skip ci]"
# Push quietly to prevent showing the token in log
git push -q https://${GH_TOKEN}@github.com/zino-app/graphql-flutter.git
- run:
@@ -168,6 +209,13 @@ workflows:
only:
- master
- beta
+ - sync_with_beta:
+ requires:
+ - release
+ filters:
+ branches:
+ only:
+ - master
- publish:
requires:
- dependencies

MODIFY
.gitignore
.gitignore
.packages
.pub/
-pubspec.lock
build/
ios/.generated/
@@ -18,7 +17,6 @@ ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
.flutter-plugins
-
# Coverage
coverage.json
coverage/*

ADD
packages/graphql/.gitignore
+test/.test_coverage.dart
\ No newline at end of file

ADD
packages/graphql/pubspec.lock
+# Generated by pub
+# See https://www.dartlang.org/tools/pub/glossary#lockfile
+packages:
+ analyzer:
+ dependency: transitive
+ description:
+ name: analyzer
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.36.2"
+ args:
+ dependency: transitive
+ description:
+ name: args
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.5.1"
+ async:
+ dependency: transitive
+ description:
+ name: async
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.2.0"
+ boolean_selector:
+ dependency: transitive
+ description:
+ name: boolean_selector
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.4"
+ charcode:
+ dependency: transitive
+ description:
+ name: charcode
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.2"
+ collection:
+ dependency: transitive
+ description:
+ name: collection
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.14.11"
+ convert:
+ dependency: transitive
+ description:
+ name: convert
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.1"
+ coverage:
+ dependency: transitive
+ description:
+ name: coverage
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.12.4"
+ crypto:
+ dependency: transitive
+ description:
+ name: crypto
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.6"
+ csslib:
+ dependency: transitive
+ description:
+ name: csslib
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.16.0"
+ front_end:
+ dependency: transitive
+ description:
+ name: front_end
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.1.17"
+ glob:
+ dependency: transitive
+ description:
+ name: glob
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.7"
+ graphql_parser:
+ dependency: "direct main"
+ description:
+ name: graphql_parser
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.3"
+ html:
+ dependency: transitive
+ description:
+ name: html
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.14.0+2"
+ http:
+ dependency: "direct main"
+ description:
+ name: http
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.12.0+2"
+ http_multi_server:
+ dependency: transitive
+ description:
+ name: http_multi_server
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.6"
+ http_parser:
+ dependency: "direct main"
+ description:
+ name: http_parser
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "3.1.3"
+ io:
+ dependency: transitive
+ description:
+ name: io
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.3.3"
+ js:
+ dependency: transitive
+ description:
+ name: js
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.6.1+1"
+ json_annotation:
+ dependency: transitive
+ description:
+ name: json_annotation
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.2.0"
+ json_rpc_2:
+ dependency: transitive
+ description:
+ name: json_rpc_2
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.0"
+ kernel:
+ dependency: transitive
+ description:
+ name: kernel
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.3.17"
+ lcov:
+ dependency: transitive
+ description:
+ name: lcov
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "4.5.0"
+ logging:
+ dependency: transitive
+ description:
+ name: logging
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.11.3+2"
+ matcher:
+ dependency: transitive
+ description:
+ name: matcher
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.12.5"
+ meta:
+ dependency: "direct main"
+ description:
+ name: meta
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.7"
+ mime:
+ dependency: "direct main"
+ description:
+ name: mime
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.9.6+2"
+ mockito:
+ dependency: "direct dev"
+ description:
+ name: mockito
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "4.0.0"
+ multi_server_socket:
+ dependency: transitive
+ description:
+ name: multi_server_socket
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.2"
+ node_preamble:
+ dependency: transitive
+ description:
+ name: node_preamble
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.4.4"
+ package_config:
+ dependency: transitive
+ description:
+ name: package_config
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.5"
+ package_resolver:
+ dependency: transitive
+ description:
+ name: package_resolver
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.10"
+ path:
+ dependency: "direct main"
+ description:
+ name: path
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.6.2"
+ pedantic:
+ dependency: transitive
+ description:
+ name: pedantic
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.5.0"
+ perfectionist:
+ dependency: "direct dev"
+ description:
+ name: perfectionist
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.0"
+ pool:
+ dependency: transitive
+ description:
+ name: pool
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.4.0"
+ pub_semver:
+ dependency: transitive
+ description:
+ name: pub_semver
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.4.2"
+ rxdart:
+ dependency: "direct main"
+ description:
+ name: rxdart
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.21.0"
+ shelf:
+ dependency: transitive
+ description:
+ name: shelf
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.7.5"
+ shelf_packages_handler:
+ dependency: transitive
+ description:
+ name: shelf_packages_handler
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.4"
+ shelf_static:
+ dependency: transitive
+ description:
+ name: shelf_static
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.8"
+ shelf_web_socket:
+ dependency: transitive
+ description:
+ name: shelf_web_socket
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.3"
+ source_map_stack_trace:
+ dependency: transitive
+ description:
+ name: source_map_stack_trace
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.5"
+ source_maps:
+ dependency: transitive
+ description:
+ name: source_maps
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.10.8"
+ source_span:
+ dependency: transitive
+ description:
+ name: source_span
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.5.5"
+ stack_trace:
+ dependency: transitive
+ description:
+ name: stack_trace
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.9.3"
+ stream_channel:
+ dependency: transitive
+ description:
+ name: stream_channel
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.0"
+ string_scanner:
+ dependency: transitive
+ description:
+ name: string_scanner
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.4"
+ term_glyph:
+ dependency: transitive
+ description:
+ name: term_glyph
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.0"
+ test:
+ dependency: "direct dev"
+ description:
+ name: test
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.6.2"
+ test_api:
+ dependency: transitive
+ description:
+ name: test_api
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.5"
+ test_core:
+ dependency: transitive
+ description:
+ name: test_core
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.4"
+ test_coverage:
+ dependency: "direct dev"
+ description:
+ name: test_coverage
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.3"
+ typed_data:
+ dependency: transitive
+ description:
+ name: typed_data
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.6"
+ uuid:
+ dependency: "direct main"
+ description:
+ name: uuid
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.1"
+ vm_service_client:
+ dependency: transitive
+ description:
+ name: vm_service_client
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.6+1"
+ watcher:
+ dependency: transitive
+ description:
+ name: watcher
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.9.7+10"
+ web_socket_channel:
+ dependency: transitive
+ description:
+ name: web_socket_channel
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.12"
+ yaml:
+ dependency: transitive
+ description:
+ name: yaml
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.15"
+sdks:
+ dart: ">=2.2.0 <3.0.0"

MODIFY
packages/graphql/pubspec.yaml
packages/graphql/pubspec.yaml
name: graphql
-description: A stand-alone GraphQL client for Dart, bringing all the features from a modern GraphQL client to one easy to use package.
+description: A stand-alone GraphQL client for Dart, bringing all the features from
+ a modern GraphQL client to one easy to use package.
version: 1.0.1-beta
authors:
- Eus Dima <eus@zinoapp.com>
@@ -7,7 +8,6 @@ authors:
- Michael Joseph Rosenthal <rosenthalm93@gmail.com>
- TruongSinh Tran-Nguyen <i@truongsinh.pro>
homepage: https://github.com/zino-app/graphql-flutter/tree/master/packages/graphql
-
dependencies:
meta: ^1.1.6
http: ^0.12.0+2
@@ -17,11 +17,10 @@ dependencies:
uuid: ^2.0.1
graphql_parser: ^1.1.3
rxdart: ^0.21.0
-
dev_dependencies:
perfectionist: ^2.0.0
mockito: ^4.0.0
test: ^1.5.3
-
+ test_coverage: ^0.2.0
environment:
- sdk: ">=2.1.0 <3.0.0"
+ sdk: '>=2.2.0 <3.0.0'

ADD
packages/graphql_flutter/pubspec.lock
+# Generated by pub
+# See https://www.dartlang.org/tools/pub/glossary#lockfile
+packages:
+ analyzer:
+ dependency: transitive
+ description:
+ name: analyzer
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.36.2"
+ args:
+ dependency: transitive
+ description:
+ name: args
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.5.1"
+ async:
+ dependency: transitive
+ description:
+ name: async
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.0"
+ boolean_selector:
+ dependency: transitive
+ description:
+ name: boolean_selector
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.4"
+ charcode:
+ dependency: transitive
+ description:
+ name: charcode
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.2"
+ collection:
+ dependency: transitive
+ description:
+ name: collection
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.14.11"
+ convert:
+ dependency: transitive
+ description:
+ name: convert
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.1"
+ crypto:
+ dependency: transitive
+ description:
+ name: crypto
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.6"
+ csslib:
+ dependency: transitive
+ description:
+ name: csslib
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.16.0"
+ flutter:
+ dependency: "direct main"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ flutter_test:
+ dependency: "direct dev"
+ description: flutter
+ source: sdk
+ version: "0.0.0"
+ front_end:
+ dependency: transitive
+ description:
+ name: front_end
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.1.17"
+ glob:
+ dependency: transitive
+ description:
+ name: glob
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.7"
+ graphql:
+ dependency: "direct main"
+ description:
+ name: graphql
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.1-beta"
+ graphql_parser:
+ dependency: transitive
+ description:
+ name: graphql_parser
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.3"
+ html:
+ dependency: transitive
+ description:
+ name: html
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.14.0+2"
+ http:
+ dependency: transitive
+ description:
+ name: http
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.12.0+2"
+ http_multi_server:
+ dependency: transitive
+ description:
+ name: http_multi_server
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.6"
+ http_parser:
+ dependency: transitive
+ description:
+ name: http_parser
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "3.1.3"
+ io:
+ dependency: transitive
+ description:
+ name: io
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.3.3"
+ js:
+ dependency: transitive
+ description:
+ name: js
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.6.1+1"
+ json_rpc_2:
+ dependency: transitive
+ description:
+ name: json_rpc_2
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.0"
+ kernel:
+ dependency: transitive
+ description:
+ name: kernel
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.3.17"
+ matcher:
+ dependency: transitive
+ description:
+ name: matcher
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.12.5"
+ meta:
+ dependency: "direct main"
+ description:
+ name: meta
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.6"
+ mime:
+ dependency: transitive
+ description:
+ name: mime
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.9.6+2"
+ mockito:
+ dependency: "direct dev"
+ description:
+ name: mockito
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "4.0.0"
+ multi_server_socket:
+ dependency: transitive
+ description:
+ name: multi_server_socket
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.2"
+ node_preamble:
+ dependency: transitive
+ description:
+ name: node_preamble
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.4.4"
+ package_config:
+ dependency: transitive
+ description:
+ name: package_config
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.5"
+ package_resolver:
+ dependency: transitive
+ description:
+ name: package_resolver
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.10"
+ path:
+ dependency: "direct main"
+ description:
+ name: path
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.6.2"
+ path_provider:
+ dependency: "direct main"
+ description:
+ name: path_provider
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.5.0+1"
+ pedantic:
+ dependency: transitive
+ description:
+ name: pedantic
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.5.0"
+ perfectionist:
+ dependency: "direct dev"
+ description:
+ name: perfectionist
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.0"
+ pool:
+ dependency: transitive
+ description:
+ name: pool
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.4.0"
+ pub_semver:
+ dependency: transitive
+ description:
+ name: pub_semver
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.4.2"
+ quiver:
+ dependency: transitive
+ description:
+ name: quiver
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.2"
+ rxdart:
+ dependency: "direct main"
+ description:
+ name: rxdart
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.21.0"
+ shelf:
+ dependency: transitive
+ description:
+ name: shelf
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.7.5"
+ shelf_packages_handler:
+ dependency: transitive
+ description:
+ name: shelf_packages_handler
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.4"
+ shelf_static:
+ dependency: transitive
+ description:
+ name: shelf_static
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.8"
+ shelf_web_socket:
+ dependency: transitive
+ description:
+ name: shelf_web_socket
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.3"
+ sky_engine:
+ dependency: transitive
+ description: flutter
+ source: sdk
+ version: "0.0.99"
+ source_map_stack_trace:
+ dependency: transitive
+ description:
+ name: source_map_stack_trace
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.5"
+ source_maps:
+ dependency: transitive
+ description:
+ name: source_maps
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.10.8"
+ source_span:
+ dependency: transitive
+ description:
+ name: source_span
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.5.5"
+ stack_trace:
+ dependency: transitive
+ description:
+ name: stack_trace
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.9.3"
+ stream_channel:
+ dependency: transitive
+ description:
+ name: stream_channel
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.0"
+ string_scanner:
+ dependency: transitive
+ description:
+ name: string_scanner
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.4"
+ term_glyph:
+ dependency: transitive
+ description:
+ name: term_glyph
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.0"
+ test:
+ dependency: "direct dev"
+ description:
+ name: test
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.6.1"
+ test_api:
+ dependency: transitive
+ description:
+ name: test_api
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.4"
+ test_core:
+ dependency: transitive
+ description:
+ name: test_core
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.3"
+ typed_data:
+ dependency: transitive
+ description:
+ name: typed_data
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.1.6"
+ uuid:
+ dependency: transitive
+ description:
+ name: uuid
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.1"
+ vector_math:
+ dependency: transitive
+ description:
+ name: vector_math
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.0.8"
+ vm_service_client:
+ dependency: transitive
+ description:
+ name: vm_service_client
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.2.6+1"
+ watcher:
+ dependency: transitive
+ description:
+ name: watcher
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "0.9.7+10"
+ web_socket_channel:
+ dependency: transitive
+ description:
+ name: web_socket_channel
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "1.0.12"
+ yaml:
+ dependency: transitive
+ description:
+ name: yaml
+ url: "https://pub.dartlang.org"
+ source: hosted
+ version: "2.1.15"
+sdks:
+ dart: ">=2.2.0 <3.0.0"
+ flutter: ">=0.1.4 <2.0.0"

MODIFY
packages/graphql_flutter/pubspec.yaml
packages/graphql_flutter/pubspec.yaml
name: graphql_flutter
-description: A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
+description: A GraphQL client for Flutter, bringing all the features from a modern
+ GraphQL client to one easy to use package.
version: 1.0.1-beta
authors:
- Eus Dima <eus@zinoapp.com>
- Zino Hofmann <zino@zinoapp.com>
- Michael Joseph Rosenthal <rosenthalm93@gmail.com>
-
homepage: https://github.com/zino-app/graphql-flutter/tree/master/packages/graphql_flutter
-
dependencies:
graphql: ^1.0.1-beta
flutter:
@@ -16,13 +15,11 @@ dependencies:
path: ^1.6.2
path_provider: ^0.5.0+1
rxdart: ^0.21.0
-
dev_dependencies:
perfectionist: ^2.0.0
mockito: ^4.0.0
flutter_test:
sdk: flutter
test: ^1.5.3
-
environment:
- sdk: ">=2.1.0 <3.0.0"
+ sdk: '>=2.2.0 <3.0.0'

ci: fix automated releases