Skip to content

Commit

Permalink
chore: bump deps of templates and cli
Browse files Browse the repository at this point in the history
  • Loading branch information
jtdLab committed Aug 24, 2023
1 parent 326784f commit 90f41e6
Show file tree
Hide file tree
Showing 149 changed files with 600 additions and 377 deletions.
218 changes: 217 additions & 1 deletion .github/workflows/rapid_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- packages/rapid_cli/**

env:
FLUTTER_VERSION: 3.10.0
FLUTTER_VERSION: 3.13.0

jobs:
test:
Expand Down Expand Up @@ -52,6 +52,222 @@ jobs:
min_coverage: 100
path: packages/rapid_cli/coverage/lcov.info

build_android:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:"

- name: Install Dependencies
run: flutter pub get

- name: Setup Melos
run: flutter pub global activate melos

- name: Install Rapid CLI locally
run: melos dev:activate

- name: Create Android App
run: rapid create test_app --android -o tmp_android

- name: Build APK
run: cd tmp_android/packages/test_app/test_app_android/test_app_android && flutter build apk -t lib/main_development.dart

- name: Build App Bundle
run: cd tmp_android/packages/test_app/test_app_android/test_app_android && flutter build appbundle -t lib/main_development.dart

build_ios:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:"

- name: Install Dependencies
run: flutter pub get

- name: Setup Melos
run: flutter pub global activate melos

- name: Install Rapid CLI locally
run: melos dev:activate

- name: Create iOS App
run: rapid create test_app --ios -o tmp_ios

- name: Build
run: cd tmp_ios/packages/test_app/test_app_ios/test_app_ios && flutter build ios --release --no-codesign -t lib/main_development.dart

build_linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:"

- name: Install Dependencies
run: flutter pub get

- name: Setup Melos
run: flutter pub global activate melos

- name: Install Rapid CLI locally
run: melos dev:activate

- name: Create Linux App
run: rapid create test_app --linux -o tmp_linux

- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev
- name: Build
run: cd tmp_linux/packages/test_app/test_app_linux/test_app_linux && flutter build linux -t lib/main_development.dart

build_macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:"

- name: Install Dependencies
run: flutter pub get

- name: Setup Melos
run: flutter pub global activate melos

- name: Install Rapid CLI locally
run: melos dev:activate

- name: Create macOS App
run: rapid create test_app --macos -o tmp_macos

- name: Build
run: cd tmp_macos/packages/test_app/test_app_macos/test_app_macos && flutter build macos -t lib/main_development.dart

build_mobile:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:"

- name: Install Dependencies
run: flutter pub get

- name: Setup Melos
run: flutter pub global activate melos

- name: Install Rapid CLI locally
run: melos dev:activate

- name: Create Mobile App
run: rapid create test_app --mobile -o tmp_mobile

- name: Build APK
run: cd tmp_mobile/packages/test_app/test_app_mobile/test_app_mobile && flutter build apk -t lib/main_development.dart

- name: Build App Bundle
run: cd tmp_mobile/packages/test_app/test_app_mobile/test_app_mobile && flutter build appbundle -t lib/main_development.dart

- name: Build iOS
run: cd tmp_mobile/packages/test_app/test_app_mobile/test_app_mobile && flutter build ios --release --no-codesign -t lib/main_development.dart

build_web:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:"

- name: Install Dependencies
run: flutter pub get

- name: Setup Melos
run: flutter pub global activate melos

- name: Install Rapid CLI locally
run: melos dev:activate

- name: Create Web App
run: rapid create test_app --web -o tmp_web

- name: Build
run: cd tmp_web/packages/test_app/test_app_web/test_app_web && flutter build web -t lib/main_development.dart

build_windows:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
channel: stable
cache: true
cache-key: "flutter-:os:-:channel:-:version:-:arch:"

- name: Install Dependencies
run: flutter pub get

- name: Setup Melos
run: flutter pub global activate melos

- name: Install Rapid CLI locally
run: melos dev:activate

- name: Create Windows App
run: rapid create test_app --windows -o tmp_windows

- name: Build
run: cd tmp_windows/packages/test_app/test_app_windows/test_app_windows && flutter build windows -t lib/main_development.dart

pana:
defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rapid_cli_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main

env:
FLUTTER_VERSION: 3.10.0
FLUTTER_VERSION: 3.13.0
FIXTURES_PATH: packages/rapid_cli/test/e2e/fixtures

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rapid_cli_e2e_fast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
# - dev

env:
FLUTTER_VERSION: 3.10.0
FLUTTER_VERSION: 3.13.0

jobs:
e2e:
Expand Down
2 changes: 0 additions & 2 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,13 @@ linter:
- implicit_call_tearoffs
- implicit_reopen
- invalid_case_patterns
- iterable_contains_unrelated_type
- join_return_with_assignment
- leading_newlines_in_multiline_strings
- library_annotations
- library_names
- library_prefixes
- library_private_types_in_public_api
- lines_longer_than_80_chars
- list_remove_unrelated_type
- literal_only_boolean_expressions
- missing_whitespace_between_adjacent_strings
- no_adjacent_strings_in_list
Expand Down
6 changes: 3 additions & 3 deletions bricks/di_package/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
sdk: ">=3.1.0 <4.0.0"

dependencies:
get_it: ^7.6.0
injectable: ^2.1.2
injectable: ^2.3.0

dev_dependencies:
lints: ^2.1.1
test: ^1.24.5
test: ^1.24.6
4 changes: 2 additions & 2 deletions bricks/domain_package/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
sdk: ">=3.1.0 <4.0.0"

dependencies:
faker: ^2.1.0
freezed_annotation: ^2.4.1

dev_dependencies:
lints: ^2.1.1
test: ^1.24.5
test: ^1.24.6
build_runner: ^2.4.6
freezed: ^2.4.1
build_verify: ^3.1.0
8 changes: 4 additions & 4 deletions bricks/infrastructure_package/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
sdk: ">=3.1.0 <4.0.0"

dependencies:
freezed_annotation: ^2.4.1
json_annotation: ^4.8.1
injectable: ^2.1.2
injectable: ^2.3.0
{{project_name}}_logging:
{{project_name}}_domain{{#has_name}}_{{name}}{{/has_name}}:

dev_dependencies:
lints: ^2.1.1
test: ^1.24.5
test: ^1.24.6
mocktail: ^1.0.0
build_runner: ^2.4.6
freezed: ^2.4.1
injectable_generator: ^2.1.6
injectable_generator: ^2.4.0
json_serializable: ^6.7.1
build_verify: ^3.1.0
8 changes: 4 additions & 4 deletions bricks/logging_package/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
sdk: ">=3.1.0 <4.0.0"

dependencies:
meta: ^1.9.1
injectable: ^2.1.2
injectable: ^2.3.0

dev_dependencies:
lints: ^2.1.1
test: ^1.24.5
test: ^1.24.6
mocktail: ^1.0.0
build_runner: ^2.4.6
injectable_generator: ^2.1.6
injectable_generator: ^2.4.0
build_verify: ^3.1.0
10 changes: 5 additions & 5 deletions bricks/platform_app_feature_package/__brick__/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ version: 0.0.1
publish_to: none

environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.10.0"
sdk: ">=3.1.0 <4.0.0"
flutter: ">=3.13.0"

dependencies:
flutter:
Expand All @@ -14,8 +14,8 @@ dependencies:
bloc: ^8.1.2
freezed_annotation: ^2.4.1
flutter_bloc: ^8.1.3
injectable: ^2.1.2
auto_route: ^7.8.0
injectable: ^2.3.0
auto_route: ^7.8.2
{{project_name}}_di:
{{project_name}}_domain:
{{project_name}}_ui_{{platform}}:
Expand All @@ -28,7 +28,7 @@ dev_dependencies:
mocktail: ^1.0.0
build_runner: ^2.4.6
freezed: ^2.4.1
injectable_generator: ^2.1.6
injectable_generator: ^2.4.0
flutter_gen_runner: ^5.3.1
flutter_lints: ^2.0.2
build_verify: ^3.1.0
Expand Down
Loading

0 comments on commit 90f41e6

Please sign in to comment.