From b5a95962014a9029060bc16a8e6458d7356463a0 Mon Sep 17 00:00:00 2001 From: leynier Date: Sun, 30 May 2021 11:23:12 -0400 Subject: [PATCH] ci: fix some scripts of melos.yaml --- melos.yaml | 4 ++-- packages/apklis_dio_web_api/pubspec.yaml | 2 +- .../apklis_direct_payment_checker/example/pubspec.yaml | 8 +++++--- packages/apklis_direct_payment_checker/pubspec.yaml | 3 ++- packages/apklis_http_web_api/pubspec.yaml | 2 +- packages/apklis_web_api/pubspec.yaml | 2 +- 6 files changed, 12 insertions(+), 9 deletions(-) diff --git a/melos.yaml b/melos.yaml index 4c73ad0..ad91573 100644 --- a/melos.yaml +++ b/melos.yaml @@ -5,13 +5,13 @@ packages: scripts: build: - run: melos exec "flutter pub run build_runner build --delete-conflicting-outputs" + run: melos exec -c 1 "flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs" test: run: melos exec -c 1 "flutter test" environment: - sdk: ">=2.12.0 <3.0.0" + sdk: '>=2.12.0 <3.0.0' dev_dependencies: lint: ^1.5.3 diff --git a/packages/apklis_dio_web_api/pubspec.yaml b/packages/apklis_dio_web_api/pubspec.yaml index fefb434..25816e0 100644 --- a/packages/apklis_dio_web_api/pubspec.yaml +++ b/packages/apklis_dio_web_api/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1+1 homepage: https://github.com/fluttercuba/apklis-dart-flutter environment: - sdk: ">=2.12.0 <3.0.0" + sdk: '>=2.12.0 <3.0.0' dependencies: apklis_web_api: ^0.0.1+2 diff --git a/packages/apklis_direct_payment_checker/example/pubspec.yaml b/packages/apklis_direct_payment_checker/example/pubspec.yaml index 81f148c..f82533b 100644 --- a/packages/apklis_direct_payment_checker/example/pubspec.yaml +++ b/packages/apklis_direct_payment_checker/example/pubspec.yaml @@ -4,15 +4,17 @@ description: Demuestra cómo utilizar el paquete apklis_direct_payment_checker. publish_to: 'none' environment: - sdk: ">=2.12.0 <3.0.0" - flutter: ">=1.20.0" + sdk: '>=2.12.0 <3.0.0' + flutter: '>=1.20.0' dependencies: - apklis_direct_payment_checker: ^0.0.0 + apklis_direct_payment_checker: + path: ../ flutter: sdk: flutter dev_dependencies: + build_runner: ^2.0.4 flutter_test: sdk: flutter lint: ^1.5.3 diff --git a/packages/apklis_direct_payment_checker/pubspec.yaml b/packages/apklis_direct_payment_checker/pubspec.yaml index 18f6b35..d81cf57 100644 --- a/packages/apklis_direct_payment_checker/pubspec.yaml +++ b/packages/apklis_direct_payment_checker/pubspec.yaml @@ -5,7 +5,7 @@ homepage: https://github.com/fluttercuba/apklis-dart-flutter environment: sdk: '>=2.12.0 <3.0.0' - flutter: ">=1.20.0" + flutter: '>=1.20.0' dependencies: flutter: @@ -13,6 +13,7 @@ dependencies: package_info_plus: ^1.0.1 dev_dependencies: + build_runner: ^2.0.4 flutter_test: sdk: flutter lint: ^1.5.3 diff --git a/packages/apklis_http_web_api/pubspec.yaml b/packages/apklis_http_web_api/pubspec.yaml index 5971505..19f48b1 100644 --- a/packages/apklis_http_web_api/pubspec.yaml +++ b/packages/apklis_http_web_api/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: https://github.com/fluttercuba/apklis-dart-flutter environment: - sdk: ">=2.12.0 <3.0.0" + sdk: '>=2.12.0 <3.0.0' dependencies: apklis_web_api: ^0.0.1+2 diff --git a/packages/apklis_web_api/pubspec.yaml b/packages/apklis_web_api/pubspec.yaml index a0fad31..b533b00 100644 --- a/packages/apklis_web_api/pubspec.yaml +++ b/packages/apklis_web_api/pubspec.yaml @@ -7,7 +7,7 @@ version: 0.0.1+2 homepage: https://github.com/fluttercuba/apklis-dart-flutter environment: - sdk: ">=2.12.0 <3.0.0" + sdk: '>=2.12.0 <3.0.0' dependencies: freezed_annotation: ^0.14.2