From 44b78b8b07bac149497d37c5697968e598314a98 Mon Sep 17 00:00:00 2001 From: luongvo Date: Wed, 6 Sep 2023 04:45:49 +0000 Subject: [PATCH 01/17] Bump version to 1.12.0 --- mason-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mason-config.json b/mason-config.json index 90f6e06f..4cb4c41e 100644 --- a/mason-config.json +++ b/mason-config.json @@ -2,7 +2,7 @@ "project_name": "flutter_templates", "package_name": "co.nimblehq.flutter.template", "app_name": "Flutter Templates", - "app_version": "1.11.0", + "app_version": "1.12.0", "build_number": "1", "json_field_rename_format": "snake", "add_permission_handler": true From da96080d8d40866224c6435c82442c146fd9a7da Mon Sep 17 00:00:00 2001 From: team-nimblehq Date: Wed, 6 Sep 2023 04:51:00 +0000 Subject: [PATCH 02/17] [Chore] Generate & update sample project --- sample/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/pubspec.yaml b/sample/pubspec.yaml index 22e174ba..28f9fe97 100644 --- a/sample/pubspec.yaml +++ b/sample/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.11.0+1 +version: 1.12.0+1 environment: sdk: '>=3.0.0 <4.0.0' From 793666d5c9f8f2c38bd1660027434d1706c10bb0 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Mon, 9 Oct 2023 15:43:17 +0700 Subject: [PATCH 03/17] [#245] Skip a parent project folder when generating project files --- .../lib/utils/wrappers/permission_wrapper.dart | 0 .../{{{project_name.snakeCase()}} => }/.env.sample | 0 .../.github/CODEOWNERS | 0 .../.github/ISSUE_TEMPLATE/bug_template.md | 0 .../.github/ISSUE_TEMPLATE/chore_template.md | 0 .../.github/ISSUE_TEMPLATE/feature_template.md | 0 .../.github/ISSUE_TEMPLATE/story_template.md | 0 .../.github/PULL_REQUEST_TEMPLATE.md | 0 .../PULL_REQUEST_TEMPLATE/release_template.md | 0 .../.github/wiki/.keep | 0 .../.github/workflows/android_deploy_production.yml | 0 .../android_deploy_production_to_playstore.yml | 0 .../.github/workflows/android_deploy_staging.yml | 0 .../.github/workflows/bump_version.yml | 0 .../workflows/ios_deploy_staging_to_firebase.yml | 0 .../.github/workflows/ios_deploy_to_app_store.yml | 0 .../.github/workflows/ios_deploy_to_testflight.yml | 0 .../.github/workflows/publish_wiki.yml | 0 .../.github/workflows/test.yml | 0 .../.github/workflows/whatsnew/whatsnew-en-US | 0 .../{{{project_name.snakeCase()}} => }/.gitignore | 0 .../{{{project_name.snakeCase()}} => }/.metadata | 0 .../{{{project_name.snakeCase()}} => }/README.md | 0 .../analysis_options.yaml | 0 .../android/.gitignore | 0 .../android/app/build.gradle | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../{{package_name.pathCase()}}/MainActivity.kt | 0 .../src/main/res/drawable-v21/launch_background.xml | 0 .../app/src/main/res/drawable/launch_background.xml | 0 .../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../app/src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../android/app/src/main/res/values/strings.xml | 0 .../android/app/src/main/res/values/styles.xml | 0 .../android/app/src/profile/AndroidManifest.xml | 0 .../android/app/src/staging/res/values/strings.xml | 0 .../android/build.gradle | 0 .../android/config/debug.keystore | Bin .../android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../android/settings.gradle | 0 .../android/signing.properties | 0 .../assets/fonts/neuzeit.otf | Bin .../assets/images/nimble_logo.png | Bin .../assets/svg/flutter_logo.svg | 0 .../{{{project_name.snakeCase()}} => }/build.yaml | 0 .../{{{project_name.snakeCase()}} => }/codecov.yml | 0 .../integration_test/real_app_test.dart | 0 .../integration_test/screens/home_screen_test.dart | 0 .../integration_test/utils/test_util.dart | 0 .../ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../ios/Flutter/Debug.xcconfig | 0 .../ios/Flutter/Release.xcconfig | 0 .../{{{project_name.snakeCase()}} => }/ios/Gemfile | 0 .../ios/Gemfile.lock | 0 .../{{{project_name.snakeCase()}} => }/ios/Podfile | 0 .../ios/Podfile.lock | 0 .../ios/Runner.xcodeproj/project.pbxproj | 0 .../project.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/production.xcscheme | 0 .../xcshareddata/xcschemes/staging.xcscheme | 0 .../ios/Runner.xcworkspace/contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../AppIcon.appiconset/Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../AppIcon.appiconset/Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../Assets.xcassets/LaunchImage.imageset/README.md | 0 .../ios/Runner/Base.lproj/LaunchScreen.storyboard | 0 .../ios/Runner/Base.lproj/Main.storyboard | 0 .../ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 .../ios/RunnerTests/RunnerTests.swift | 0 .../ios/fastlane/Constants/Constants.rb | 0 .../ios/fastlane/Constants/Environments.rb | 0 .../ios/fastlane/Fastfile | 0 .../ios/fastlane/Gymfile | 0 .../ios/fastlane/Managers/BuildManager.rb | 0 .../ios/fastlane/Managers/DistributionManager.rb | 0 .../ios/fastlane/Managers/MatchManager.rb | 0 .../ios/fastlane/Matchfile | 0 .../ios/fastlane/Pluginfile | 0 .../{{{project_name.snakeCase()}} => }/l10n.yaml | 0 .../lib/app/resources/app_colors.dart | 0 .../lib/app/screens/home/home_screen.dart | 0 .../lib/app/screens/home/home_view_model.dart | 0 .../lib/app/screens/home/home_view_state.dart | 0 .../lib/data/local/secure_storage.dart | 0 .../lib/data/remote/datasources/api_service.dart | 0 .../lib/data/remote/models/requests/.keep | 0 .../data/remote/models/responses/user_response.dart | 0 .../repositories/credential_repository_impl.dart | 0 .../lib/di/di.dart | 0 .../lib/di/interceptor/app_interceptor.dart | 0 .../lib/di/module/network_module.dart | 0 .../lib/di/module/storage_module.dart | 0 .../lib/di/provider/dio_provider.dart | 0 .../lib/domain/exceptions/network_exceptions.dart | 0 .../lib/domain/models/user.dart | 0 .../domain/repositories/credential_repository.dart | 0 .../lib/domain/usecases/base/base_use_case.dart | 0 .../lib/domain/usecases/base/use_case_result.dart | 0 .../lib/domain/usecases/get_users_use_case.dart | 0 .../{{{project_name.snakeCase()}} => }/lib/env.dart | 0 .../lib/l10n/app_en.arb | 0 .../lib/l10n/app_th.arb | 0 .../lib/l10n/app_vi.arb | 0 .../lib/main.dart | 0 .../{{{project_name.snakeCase()}} => }/pubspec.lock | 0 .../{{{project_name.snakeCase()}} => }/pubspec.yaml | 0 .../test/app/screens/home/home_view_model_test.dart | 0 .../repositories/credential_repository_test.dart | 0 .../domain/usecases/get_users_use_case_test.dart | 0 .../models/responses/user_response_mocks.dart | 0 .../test/mocks/generate_mocks.dart | 0 .../test_driver/integration_test.dart | 0 .../hooks/bundles/permission_handler_bundle.dart | 2 +- 143 files changed, 1 insertion(+), 1 deletion(-) rename bricks/permission_handler/__brick__/{{{project_name.snakeCase()}} => }/lib/utils/wrappers/permission_wrapper.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.env.sample (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/CODEOWNERS (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/ISSUE_TEMPLATE/bug_template.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/ISSUE_TEMPLATE/chore_template.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/ISSUE_TEMPLATE/feature_template.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/ISSUE_TEMPLATE/story_template.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/PULL_REQUEST_TEMPLATE.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/PULL_REQUEST_TEMPLATE/release_template.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/wiki/.keep (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/android_deploy_production.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/android_deploy_production_to_playstore.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/android_deploy_staging.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/bump_version.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/ios_deploy_staging_to_firebase.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/ios_deploy_to_app_store.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/ios_deploy_to_testflight.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/publish_wiki.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/test.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.github/workflows/whatsnew/whatsnew-en-US (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.gitignore (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/.metadata (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/README.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/analysis_options.yaml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/.gitignore (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/build.gradle (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/debug/AndroidManifest.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/AndroidManifest.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/kotlin/{{package_name.pathCase()}}/MainActivity.kt (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/drawable/launch_background.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/values-night/styles.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/values/strings.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/main/res/values/styles.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/profile/AndroidManifest.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/app/src/staging/res/values/strings.xml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/build.gradle (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/config/debug.keystore (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/gradle.properties (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/gradle/wrapper/gradle-wrapper.properties (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/settings.gradle (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/android/signing.properties (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/assets/fonts/neuzeit.otf (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/assets/images/nimble_logo.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/assets/svg/flutter_logo.svg (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/build.yaml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/codecov.yml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/integration_test/real_app_test.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/integration_test/screens/home_screen_test.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/integration_test/utils/test_util.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/.gitignore (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Flutter/AppFrameworkInfo.plist (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Flutter/Debug.xcconfig (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Flutter/Release.xcconfig (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Gemfile (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Gemfile.lock (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Podfile (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Podfile.lock (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcodeproj/project.pbxproj (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/AppDelegate.swift (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Base.lproj/Main.storyboard (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Info.plist (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/Runner/Runner-Bridging-Header.h (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/RunnerTests/RunnerTests.swift (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Constants/Constants.rb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Constants/Environments.rb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Fastfile (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Gymfile (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Managers/BuildManager.rb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Managers/DistributionManager.rb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Managers/MatchManager.rb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Matchfile (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/ios/fastlane/Pluginfile (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/l10n.yaml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/app/resources/app_colors.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/app/screens/home/home_screen.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/app/screens/home/home_view_model.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/app/screens/home/home_view_state.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/data/local/secure_storage.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/data/remote/datasources/api_service.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/data/remote/models/requests/.keep (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/data/remote/models/responses/user_response.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/data/repositories/credential_repository_impl.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/di/di.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/di/interceptor/app_interceptor.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/di/module/network_module.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/di/module/storage_module.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/di/provider/dio_provider.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/domain/exceptions/network_exceptions.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/domain/models/user.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/domain/repositories/credential_repository.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/domain/usecases/base/base_use_case.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/domain/usecases/base/use_case_result.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/domain/usecases/get_users_use_case.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/env.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/l10n/app_en.arb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/l10n/app_th.arb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/l10n/app_vi.arb (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/lib/main.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/pubspec.lock (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/pubspec.yaml (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/test/app/screens/home/home_view_model_test.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/test/data/repositories/credential_repository_test.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/test/domain/usecases/get_users_use_case_test.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/test/mocks/data/remote/models/responses/user_response_mocks.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/test/mocks/generate_mocks.dart (100%) rename bricks/template/__brick__/{{{project_name.snakeCase()}} => }/test_driver/integration_test.dart (100%) diff --git a/bricks/permission_handler/__brick__/{{project_name.snakeCase()}}/lib/utils/wrappers/permission_wrapper.dart b/bricks/permission_handler/__brick__/lib/utils/wrappers/permission_wrapper.dart similarity index 100% rename from bricks/permission_handler/__brick__/{{project_name.snakeCase()}}/lib/utils/wrappers/permission_wrapper.dart rename to bricks/permission_handler/__brick__/lib/utils/wrappers/permission_wrapper.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.env.sample b/bricks/template/__brick__/.env.sample similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.env.sample rename to bricks/template/__brick__/.env.sample diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/CODEOWNERS b/bricks/template/__brick__/.github/CODEOWNERS similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/CODEOWNERS rename to bricks/template/__brick__/.github/CODEOWNERS diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/bug_template.md b/bricks/template/__brick__/.github/ISSUE_TEMPLATE/bug_template.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/bug_template.md rename to bricks/template/__brick__/.github/ISSUE_TEMPLATE/bug_template.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/chore_template.md b/bricks/template/__brick__/.github/ISSUE_TEMPLATE/chore_template.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/chore_template.md rename to bricks/template/__brick__/.github/ISSUE_TEMPLATE/chore_template.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/feature_template.md b/bricks/template/__brick__/.github/ISSUE_TEMPLATE/feature_template.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/feature_template.md rename to bricks/template/__brick__/.github/ISSUE_TEMPLATE/feature_template.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/story_template.md b/bricks/template/__brick__/.github/ISSUE_TEMPLATE/story_template.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/ISSUE_TEMPLATE/story_template.md rename to bricks/template/__brick__/.github/ISSUE_TEMPLATE/story_template.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/PULL_REQUEST_TEMPLATE.md b/bricks/template/__brick__/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/PULL_REQUEST_TEMPLATE.md rename to bricks/template/__brick__/.github/PULL_REQUEST_TEMPLATE.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/PULL_REQUEST_TEMPLATE/release_template.md b/bricks/template/__brick__/.github/PULL_REQUEST_TEMPLATE/release_template.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/PULL_REQUEST_TEMPLATE/release_template.md rename to bricks/template/__brick__/.github/PULL_REQUEST_TEMPLATE/release_template.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/wiki/.keep b/bricks/template/__brick__/.github/wiki/.keep similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/wiki/.keep rename to bricks/template/__brick__/.github/wiki/.keep diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/android_deploy_production.yml b/bricks/template/__brick__/.github/workflows/android_deploy_production.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/android_deploy_production.yml rename to bricks/template/__brick__/.github/workflows/android_deploy_production.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/android_deploy_production_to_playstore.yml b/bricks/template/__brick__/.github/workflows/android_deploy_production_to_playstore.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/android_deploy_production_to_playstore.yml rename to bricks/template/__brick__/.github/workflows/android_deploy_production_to_playstore.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/android_deploy_staging.yml b/bricks/template/__brick__/.github/workflows/android_deploy_staging.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/android_deploy_staging.yml rename to bricks/template/__brick__/.github/workflows/android_deploy_staging.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/bump_version.yml b/bricks/template/__brick__/.github/workflows/bump_version.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/bump_version.yml rename to bricks/template/__brick__/.github/workflows/bump_version.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/ios_deploy_staging_to_firebase.yml b/bricks/template/__brick__/.github/workflows/ios_deploy_staging_to_firebase.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/ios_deploy_staging_to_firebase.yml rename to bricks/template/__brick__/.github/workflows/ios_deploy_staging_to_firebase.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/ios_deploy_to_app_store.yml b/bricks/template/__brick__/.github/workflows/ios_deploy_to_app_store.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/ios_deploy_to_app_store.yml rename to bricks/template/__brick__/.github/workflows/ios_deploy_to_app_store.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/ios_deploy_to_testflight.yml b/bricks/template/__brick__/.github/workflows/ios_deploy_to_testflight.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/ios_deploy_to_testflight.yml rename to bricks/template/__brick__/.github/workflows/ios_deploy_to_testflight.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/publish_wiki.yml b/bricks/template/__brick__/.github/workflows/publish_wiki.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/publish_wiki.yml rename to bricks/template/__brick__/.github/workflows/publish_wiki.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/test.yml b/bricks/template/__brick__/.github/workflows/test.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/test.yml rename to bricks/template/__brick__/.github/workflows/test.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/whatsnew/whatsnew-en-US b/bricks/template/__brick__/.github/workflows/whatsnew/whatsnew-en-US similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.github/workflows/whatsnew/whatsnew-en-US rename to bricks/template/__brick__/.github/workflows/whatsnew/whatsnew-en-US diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.gitignore b/bricks/template/__brick__/.gitignore similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.gitignore rename to bricks/template/__brick__/.gitignore diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/.metadata b/bricks/template/__brick__/.metadata similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/.metadata rename to bricks/template/__brick__/.metadata diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/README.md b/bricks/template/__brick__/README.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/README.md rename to bricks/template/__brick__/README.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml b/bricks/template/__brick__/analysis_options.yaml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/analysis_options.yaml rename to bricks/template/__brick__/analysis_options.yaml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/.gitignore b/bricks/template/__brick__/android/.gitignore similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/.gitignore rename to bricks/template/__brick__/android/.gitignore diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle b/bricks/template/__brick__/android/app/build.gradle similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/build.gradle rename to bricks/template/__brick__/android/app/build.gradle diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/debug/AndroidManifest.xml b/bricks/template/__brick__/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/debug/AndroidManifest.xml rename to bricks/template/__brick__/android/app/src/debug/AndroidManifest.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/AndroidManifest.xml b/bricks/template/__brick__/android/app/src/main/AndroidManifest.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/AndroidManifest.xml rename to bricks/template/__brick__/android/app/src/main/AndroidManifest.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/{{package_name.pathCase()}}/MainActivity.kt b/bricks/template/__brick__/android/app/src/main/kotlin/{{package_name.pathCase()}}/MainActivity.kt similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/kotlin/{{package_name.pathCase()}}/MainActivity.kt rename to bricks/template/__brick__/android/app/src/main/kotlin/{{package_name.pathCase()}}/MainActivity.kt diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/drawable-v21/launch_background.xml b/bricks/template/__brick__/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/drawable-v21/launch_background.xml rename to bricks/template/__brick__/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/drawable/launch_background.xml b/bricks/template/__brick__/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/drawable/launch_background.xml rename to bricks/template/__brick__/android/app/src/main/res/drawable/launch_background.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/bricks/template/__brick__/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to bricks/template/__brick__/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/bricks/template/__brick__/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to bricks/template/__brick__/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/bricks/template/__brick__/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to bricks/template/__brick__/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/bricks/template/__brick__/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to bricks/template/__brick__/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/bricks/template/__brick__/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to bricks/template/__brick__/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/values-night/styles.xml b/bricks/template/__brick__/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/values-night/styles.xml rename to bricks/template/__brick__/android/app/src/main/res/values-night/styles.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/values/strings.xml b/bricks/template/__brick__/android/app/src/main/res/values/strings.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/values/strings.xml rename to bricks/template/__brick__/android/app/src/main/res/values/strings.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/values/styles.xml b/bricks/template/__brick__/android/app/src/main/res/values/styles.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/main/res/values/styles.xml rename to bricks/template/__brick__/android/app/src/main/res/values/styles.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/profile/AndroidManifest.xml b/bricks/template/__brick__/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/profile/AndroidManifest.xml rename to bricks/template/__brick__/android/app/src/profile/AndroidManifest.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/values/strings.xml b/bricks/template/__brick__/android/app/src/staging/res/values/strings.xml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/app/src/staging/res/values/strings.xml rename to bricks/template/__brick__/android/app/src/staging/res/values/strings.xml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/build.gradle b/bricks/template/__brick__/android/build.gradle similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/build.gradle rename to bricks/template/__brick__/android/build.gradle diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/config/debug.keystore b/bricks/template/__brick__/android/config/debug.keystore similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/config/debug.keystore rename to bricks/template/__brick__/android/config/debug.keystore diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/gradle.properties b/bricks/template/__brick__/android/gradle.properties similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/gradle.properties rename to bricks/template/__brick__/android/gradle.properties diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/gradle/wrapper/gradle-wrapper.properties b/bricks/template/__brick__/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/gradle/wrapper/gradle-wrapper.properties rename to bricks/template/__brick__/android/gradle/wrapper/gradle-wrapper.properties diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/settings.gradle b/bricks/template/__brick__/android/settings.gradle similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/settings.gradle rename to bricks/template/__brick__/android/settings.gradle diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/android/signing.properties b/bricks/template/__brick__/android/signing.properties similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/android/signing.properties rename to bricks/template/__brick__/android/signing.properties diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/assets/fonts/neuzeit.otf b/bricks/template/__brick__/assets/fonts/neuzeit.otf similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/assets/fonts/neuzeit.otf rename to bricks/template/__brick__/assets/fonts/neuzeit.otf diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/assets/images/nimble_logo.png b/bricks/template/__brick__/assets/images/nimble_logo.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/assets/images/nimble_logo.png rename to bricks/template/__brick__/assets/images/nimble_logo.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/assets/svg/flutter_logo.svg b/bricks/template/__brick__/assets/svg/flutter_logo.svg similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/assets/svg/flutter_logo.svg rename to bricks/template/__brick__/assets/svg/flutter_logo.svg diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/build.yaml b/bricks/template/__brick__/build.yaml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/build.yaml rename to bricks/template/__brick__/build.yaml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/codecov.yml b/bricks/template/__brick__/codecov.yml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/codecov.yml rename to bricks/template/__brick__/codecov.yml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/integration_test/real_app_test.dart b/bricks/template/__brick__/integration_test/real_app_test.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/integration_test/real_app_test.dart rename to bricks/template/__brick__/integration_test/real_app_test.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/integration_test/screens/home_screen_test.dart b/bricks/template/__brick__/integration_test/screens/home_screen_test.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/integration_test/screens/home_screen_test.dart rename to bricks/template/__brick__/integration_test/screens/home_screen_test.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/integration_test/utils/test_util.dart b/bricks/template/__brick__/integration_test/utils/test_util.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/integration_test/utils/test_util.dart rename to bricks/template/__brick__/integration_test/utils/test_util.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/.gitignore b/bricks/template/__brick__/ios/.gitignore similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/.gitignore rename to bricks/template/__brick__/ios/.gitignore diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Flutter/AppFrameworkInfo.plist b/bricks/template/__brick__/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Flutter/AppFrameworkInfo.plist rename to bricks/template/__brick__/ios/Flutter/AppFrameworkInfo.plist diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Flutter/Debug.xcconfig b/bricks/template/__brick__/ios/Flutter/Debug.xcconfig similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Flutter/Debug.xcconfig rename to bricks/template/__brick__/ios/Flutter/Debug.xcconfig diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Flutter/Release.xcconfig b/bricks/template/__brick__/ios/Flutter/Release.xcconfig similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Flutter/Release.xcconfig rename to bricks/template/__brick__/ios/Flutter/Release.xcconfig diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Gemfile b/bricks/template/__brick__/ios/Gemfile similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Gemfile rename to bricks/template/__brick__/ios/Gemfile diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Gemfile.lock b/bricks/template/__brick__/ios/Gemfile.lock similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Gemfile.lock rename to bricks/template/__brick__/ios/Gemfile.lock diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Podfile b/bricks/template/__brick__/ios/Podfile similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Podfile rename to bricks/template/__brick__/ios/Podfile diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Podfile.lock b/bricks/template/__brick__/ios/Podfile.lock similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Podfile.lock rename to bricks/template/__brick__/ios/Podfile.lock diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.pbxproj b/bricks/template/__brick__/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.pbxproj rename to bricks/template/__brick__/ios/Runner.xcodeproj/project.pbxproj diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/bricks/template/__brick__/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to bricks/template/__brick__/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/bricks/template/__brick__/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to bricks/template/__brick__/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/bricks/template/__brick__/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to bricks/template/__brick__/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme b/bricks/template/__brick__/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme rename to bricks/template/__brick__/ios/Runner.xcodeproj/xcshareddata/xcschemes/production.xcscheme diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme b/bricks/template/__brick__/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme rename to bricks/template/__brick__/ios/Runner.xcodeproj/xcshareddata/xcschemes/staging.xcscheme diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcworkspace/contents.xcworkspacedata b/bricks/template/__brick__/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcworkspace/contents.xcworkspacedata rename to bricks/template/__brick__/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/bricks/template/__brick__/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to bricks/template/__brick__/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/bricks/template/__brick__/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to bricks/template/__brick__/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/AppDelegate.swift b/bricks/template/__brick__/ios/Runner/AppDelegate.swift similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/AppDelegate.swift rename to bricks/template/__brick__/ios/Runner/AppDelegate.swift diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to bricks/template/__brick__/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/LaunchScreen.storyboard b/bricks/template/__brick__/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to bricks/template/__brick__/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/Main.storyboard b/bricks/template/__brick__/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Base.lproj/Main.storyboard rename to bricks/template/__brick__/ios/Runner/Base.lproj/Main.storyboard diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Info.plist b/bricks/template/__brick__/ios/Runner/Info.plist similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Info.plist rename to bricks/template/__brick__/ios/Runner/Info.plist diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Runner-Bridging-Header.h b/bricks/template/__brick__/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/Runner/Runner-Bridging-Header.h rename to bricks/template/__brick__/ios/Runner/Runner-Bridging-Header.h diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/RunnerTests/RunnerTests.swift b/bricks/template/__brick__/ios/RunnerTests/RunnerTests.swift similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/RunnerTests/RunnerTests.swift rename to bricks/template/__brick__/ios/RunnerTests/RunnerTests.swift diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Constants.rb b/bricks/template/__brick__/ios/fastlane/Constants/Constants.rb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Constants.rb rename to bricks/template/__brick__/ios/fastlane/Constants/Constants.rb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Environments.rb b/bricks/template/__brick__/ios/fastlane/Constants/Environments.rb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Environments.rb rename to bricks/template/__brick__/ios/fastlane/Constants/Environments.rb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Fastfile b/bricks/template/__brick__/ios/fastlane/Fastfile similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Fastfile rename to bricks/template/__brick__/ios/fastlane/Fastfile diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Gymfile b/bricks/template/__brick__/ios/fastlane/Gymfile similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Gymfile rename to bricks/template/__brick__/ios/fastlane/Gymfile diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Managers/BuildManager.rb b/bricks/template/__brick__/ios/fastlane/Managers/BuildManager.rb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Managers/BuildManager.rb rename to bricks/template/__brick__/ios/fastlane/Managers/BuildManager.rb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Managers/DistributionManager.rb b/bricks/template/__brick__/ios/fastlane/Managers/DistributionManager.rb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Managers/DistributionManager.rb rename to bricks/template/__brick__/ios/fastlane/Managers/DistributionManager.rb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Managers/MatchManager.rb b/bricks/template/__brick__/ios/fastlane/Managers/MatchManager.rb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Managers/MatchManager.rb rename to bricks/template/__brick__/ios/fastlane/Managers/MatchManager.rb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Matchfile b/bricks/template/__brick__/ios/fastlane/Matchfile similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Matchfile rename to bricks/template/__brick__/ios/fastlane/Matchfile diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Pluginfile b/bricks/template/__brick__/ios/fastlane/Pluginfile similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Pluginfile rename to bricks/template/__brick__/ios/fastlane/Pluginfile diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/l10n.yaml b/bricks/template/__brick__/l10n.yaml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/l10n.yaml rename to bricks/template/__brick__/l10n.yaml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/resources/app_colors.dart b/bricks/template/__brick__/lib/app/resources/app_colors.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/resources/app_colors.dart rename to bricks/template/__brick__/lib/app/resources/app_colors.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/screens/home/home_screen.dart b/bricks/template/__brick__/lib/app/screens/home/home_screen.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/screens/home/home_screen.dart rename to bricks/template/__brick__/lib/app/screens/home/home_screen.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/screens/home/home_view_model.dart b/bricks/template/__brick__/lib/app/screens/home/home_view_model.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/screens/home/home_view_model.dart rename to bricks/template/__brick__/lib/app/screens/home/home_view_model.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/screens/home/home_view_state.dart b/bricks/template/__brick__/lib/app/screens/home/home_view_state.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/app/screens/home/home_view_state.dart rename to bricks/template/__brick__/lib/app/screens/home/home_view_state.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/local/secure_storage.dart b/bricks/template/__brick__/lib/data/local/secure_storage.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/local/secure_storage.dart rename to bricks/template/__brick__/lib/data/local/secure_storage.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/remote/datasources/api_service.dart b/bricks/template/__brick__/lib/data/remote/datasources/api_service.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/remote/datasources/api_service.dart rename to bricks/template/__brick__/lib/data/remote/datasources/api_service.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/remote/models/requests/.keep b/bricks/template/__brick__/lib/data/remote/models/requests/.keep similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/remote/models/requests/.keep rename to bricks/template/__brick__/lib/data/remote/models/requests/.keep diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/remote/models/responses/user_response.dart b/bricks/template/__brick__/lib/data/remote/models/responses/user_response.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/remote/models/responses/user_response.dart rename to bricks/template/__brick__/lib/data/remote/models/responses/user_response.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/repositories/credential_repository_impl.dart b/bricks/template/__brick__/lib/data/repositories/credential_repository_impl.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/data/repositories/credential_repository_impl.dart rename to bricks/template/__brick__/lib/data/repositories/credential_repository_impl.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/di.dart b/bricks/template/__brick__/lib/di/di.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/di.dart rename to bricks/template/__brick__/lib/di/di.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/interceptor/app_interceptor.dart b/bricks/template/__brick__/lib/di/interceptor/app_interceptor.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/interceptor/app_interceptor.dart rename to bricks/template/__brick__/lib/di/interceptor/app_interceptor.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/module/network_module.dart b/bricks/template/__brick__/lib/di/module/network_module.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/module/network_module.dart rename to bricks/template/__brick__/lib/di/module/network_module.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/module/storage_module.dart b/bricks/template/__brick__/lib/di/module/storage_module.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/module/storage_module.dart rename to bricks/template/__brick__/lib/di/module/storage_module.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/provider/dio_provider.dart b/bricks/template/__brick__/lib/di/provider/dio_provider.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/di/provider/dio_provider.dart rename to bricks/template/__brick__/lib/di/provider/dio_provider.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/exceptions/network_exceptions.dart b/bricks/template/__brick__/lib/domain/exceptions/network_exceptions.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/exceptions/network_exceptions.dart rename to bricks/template/__brick__/lib/domain/exceptions/network_exceptions.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/models/user.dart b/bricks/template/__brick__/lib/domain/models/user.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/models/user.dart rename to bricks/template/__brick__/lib/domain/models/user.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/repositories/credential_repository.dart b/bricks/template/__brick__/lib/domain/repositories/credential_repository.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/repositories/credential_repository.dart rename to bricks/template/__brick__/lib/domain/repositories/credential_repository.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/usecases/base/base_use_case.dart b/bricks/template/__brick__/lib/domain/usecases/base/base_use_case.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/usecases/base/base_use_case.dart rename to bricks/template/__brick__/lib/domain/usecases/base/base_use_case.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/usecases/base/use_case_result.dart b/bricks/template/__brick__/lib/domain/usecases/base/use_case_result.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/usecases/base/use_case_result.dart rename to bricks/template/__brick__/lib/domain/usecases/base/use_case_result.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/usecases/get_users_use_case.dart b/bricks/template/__brick__/lib/domain/usecases/get_users_use_case.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/domain/usecases/get_users_use_case.dart rename to bricks/template/__brick__/lib/domain/usecases/get_users_use_case.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/env.dart b/bricks/template/__brick__/lib/env.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/env.dart rename to bricks/template/__brick__/lib/env.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/l10n/app_en.arb b/bricks/template/__brick__/lib/l10n/app_en.arb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/l10n/app_en.arb rename to bricks/template/__brick__/lib/l10n/app_en.arb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/l10n/app_th.arb b/bricks/template/__brick__/lib/l10n/app_th.arb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/l10n/app_th.arb rename to bricks/template/__brick__/lib/l10n/app_th.arb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/l10n/app_vi.arb b/bricks/template/__brick__/lib/l10n/app_vi.arb similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/l10n/app_vi.arb rename to bricks/template/__brick__/lib/l10n/app_vi.arb diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/lib/main.dart b/bricks/template/__brick__/lib/main.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/lib/main.dart rename to bricks/template/__brick__/lib/main.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/pubspec.lock b/bricks/template/__brick__/pubspec.lock similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/pubspec.lock rename to bricks/template/__brick__/pubspec.lock diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/pubspec.yaml b/bricks/template/__brick__/pubspec.yaml similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/pubspec.yaml rename to bricks/template/__brick__/pubspec.yaml diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/test/app/screens/home/home_view_model_test.dart b/bricks/template/__brick__/test/app/screens/home/home_view_model_test.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/test/app/screens/home/home_view_model_test.dart rename to bricks/template/__brick__/test/app/screens/home/home_view_model_test.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/test/data/repositories/credential_repository_test.dart b/bricks/template/__brick__/test/data/repositories/credential_repository_test.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/test/data/repositories/credential_repository_test.dart rename to bricks/template/__brick__/test/data/repositories/credential_repository_test.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/test/domain/usecases/get_users_use_case_test.dart b/bricks/template/__brick__/test/domain/usecases/get_users_use_case_test.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/test/domain/usecases/get_users_use_case_test.dart rename to bricks/template/__brick__/test/domain/usecases/get_users_use_case_test.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/test/mocks/data/remote/models/responses/user_response_mocks.dart b/bricks/template/__brick__/test/mocks/data/remote/models/responses/user_response_mocks.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/test/mocks/data/remote/models/responses/user_response_mocks.dart rename to bricks/template/__brick__/test/mocks/data/remote/models/responses/user_response_mocks.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/test/mocks/generate_mocks.dart b/bricks/template/__brick__/test/mocks/generate_mocks.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/test/mocks/generate_mocks.dart rename to bricks/template/__brick__/test/mocks/generate_mocks.dart diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/test_driver/integration_test.dart b/bricks/template/__brick__/test_driver/integration_test.dart similarity index 100% rename from bricks/template/__brick__/{{project_name.snakeCase()}}/test_driver/integration_test.dart rename to bricks/template/__brick__/test_driver/integration_test.dart diff --git a/bricks/template/hooks/bundles/permission_handler_bundle.dart b/bricks/template/hooks/bundles/permission_handler_bundle.dart index f44eebd4..9163c46f 100644 --- a/bricks/template/hooks/bundles/permission_handler_bundle.dart +++ b/bricks/template/hooks/bundles/permission_handler_bundle.dart @@ -3,4 +3,4 @@ import 'package:mason/mason.dart'; -final permissionHandlerBundle = MasonBundle.fromJson({"files":[{"path":"{{project_name.snakeCase()}}/lib/utils/wrappers/permission_wrapper.dart","data":"aW1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UklUSUNBTF9BTEVSVFM9MScKICAgICAgXQ==","type":"text"},{"path":"{{~ _pubspec_dependency.yaml }}","data":"CiAgcGVybWlzc2lvbl9oYW5kbGVyOiBeMTAuMi4w","type":"text"}],"hooks":[],"name":"permission_handler","description":"A new brick created with the Mason CLI.","version":"0.1.0+1","environment":{"mason":">=0.1.0-dev.41 <0.1.0"},"readme":{"path":"README.md","data":"IyBwZXJtaXNzaW9uX2hhbmRsZXIKClshW1Bvd2VyZWQgYnkgTWFzb25dKGh0dHBzOi8vaW1nLnNoaWVsZHMuaW8vZW5kcG9pbnQ/dXJsPWh0dHBzJTNBJTJGJTJGdGlueXVybC5jb20lMkZtYXNvbi1iYWRnZSldKGh0dHBzOi8vZ2l0aHViLmNvbS9mZWxhbmdlbC9tYXNvbikKCkEgbmV3IGJyaWNrIGNyZWF0ZWQgd2l0aCB0aGUgTWFzb24gQ0xJLgoKIyMgRGVzY3JpcHRpb24g8J+agAoKVGhpcyBicmljayBoYXMgdGhlIHNpbXBsZSBpbXBsZW1lbnRhdGlvbiBvZiBbcGVybWlzc2lvbl9oYW5kbGVyXShodHRwczovL3B1Yi5kZXYvcGFja2FnZXMvcGVybWlzc2lvbl9oYW5kbGVyKSBwYWNrYWdlLgo=","type":"text"},"vars":{"project_name":{"type":"string"}}}); \ No newline at end of file +final permissionHandlerBundle = MasonBundle.fromJson({"files":[{"path":".DS_Store","data":"AAAAAUJ1ZDEAABAAAAAIAAAAEAAAAAAlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAABAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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vbiwgUGVybWlzc2lvbkdyb3VwLmxvY2F0aW9uQWx3YXlzLCBQZXJtaXNzaW9uR3JvdXAubG9jYXRpb25XaGVuSW5Vc2VdCiAgICAgICMgJ1BFUk1JU1NJT05fTE9DQVRJT049MScsCgogICAgICAjIyBkYXJ0OiBQZXJtaXNzaW9uR3JvdXAubm90aWZpY2F0aW9uCiAgICAgICMgJ1BFUk1JU1NJT05fTk9USUZJQ0FUSU9OUz0xJywKCiAgICAgICMjIGRhcnQ6IFBlcm1pc3Npb25Hcm91cC5tZWRpYUxpYnJhcnkKICAgICAgIyAnUEVSTUlTU0lPTl9NRURJQV9MSUJSQVJZPTEnLAoKICAgICAgIyMgZGFydDogUGVybWlzc2lvbkdyb3VwLnNlbnNvcnMKICAgICAgIyAnUEVSTUlTU0lPTl9TRU5TT1JTPTEnLAoKICAgICAgIyMgZGFydDogUGVybWlzc2lvbkdyb3VwLmJsdWV0b290aAogICAgICAjICdQRVJNSVNTSU9OX0JMVUVUT09USD0xJywKCiAgICAgICMjIGRhcnQ6IFBlcm1pc3Npb25Hcm91cC5hcHBUcmFja2luZ1RyYW5zcGFyZW5jeQogICAgICAjICdQRVJNSVNTSU9OX0FQUF9UUkFDS0lOR19UUkFOU1BBUkVOQ1k9MScsCgogICAgICAjIyBkYXJ0OiBQZXJtaXNzaW9uR3JvdXAuY3JpdGljYWxBbGVydHMKICAgICAgIyAnUEVSTUlTU0lPTl9DUklUSUNBTF9BTEVSVFM9MScKICAgICAgXQ==","type":"text"},{"path":"{{~ _pubspec_dependency.yaml }}","data":"CiAgcGVybWlzc2lvbl9oYW5kbGVyOiBeMTAuMi4w","type":"text"}],"hooks":[],"name":"permission_handler","description":"A new brick created with the Mason CLI.","version":"0.1.0+1","environment":{"mason":">=0.1.0-dev.41 <0.1.0"},"readme":{"path":"README.md","data":"IyBwZXJtaXNzaW9uX2hhbmRsZXIKClshW1Bvd2VyZWQgYnkgTWFzb25dKGh0dHBzOi8vaW1nLnNoaWVsZHMuaW8vZW5kcG9pbnQ/dXJsPWh0dHBzJTNBJTJGJTJGdGlueXVybC5jb20lMkZtYXNvbi1iYWRnZSldKGh0dHBzOi8vZ2l0aHViLmNvbS9mZWxhbmdlbC9tYXNvbikKCkEgbmV3IGJyaWNrIGNyZWF0ZWQgd2l0aCB0aGUgTWFzb24gQ0xJLgoKIyMgRGVzY3JpcHRpb24g8J+agAoKVGhpcyBicmljayBoYXMgdGhlIHNpbXBsZSBpbXBsZW1lbnRhdGlvbiBvZiBbcGVybWlzc2lvbl9oYW5kbGVyXShodHRwczovL3B1Yi5kZXYvcGFja2FnZXMvcGVybWlzc2lvbl9oYW5kbGVyKSBwYWNrYWdlLgo=","type":"text"},"vars":{"project_name":{"type":"string"}}}); \ No newline at end of file From 393c8a4ea59f571d494f4d54541b8dff28fcf9f9 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Wed, 11 Oct 2023 15:43:13 +0700 Subject: [PATCH 04/17] [#245] Clean up the output folder, even at the root, to have only the final generated project in the end --- bricks/template/hooks/post_gen.dart | 8 ++++++++ bricks/template/hooks/pre_gen.dart | 29 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/bricks/template/hooks/post_gen.dart b/bricks/template/hooks/post_gen.dart index b3b333ca..6c93af22 100644 --- a/bricks/template/hooks/post_gen.dart +++ b/bricks/template/hooks/post_gen.dart @@ -3,6 +3,7 @@ import 'dart:io'; import 'package:mason/mason.dart'; import 'bundles/permission_handler_bundle.dart'; +import 'pre_gen.dart'; Future run(HookContext context) async { try { @@ -10,6 +11,13 @@ Future run(HookContext context) async { } catch (e) { context.logger.err(e.toString()); } + + // Clean up the output folder, even at the root, to have only the final generated project in the end + print("> Clean up the output folder (post): " + Directory.current.path); + final List entities = [ + Directory(Directory.current.path + '/bricks'), + ]; + await deleteFileSystemEntities(entities); } Future generateBricks(HookContext context) async { diff --git a/bricks/template/hooks/pre_gen.dart b/bricks/template/hooks/pre_gen.dart index fded861b..764b6662 100644 --- a/bricks/template/hooks/pre_gen.dart +++ b/bricks/template/hooks/pre_gen.dart @@ -1,8 +1,21 @@ +import 'dart:io'; + import 'package:mason/mason.dart'; import 'bundles/permission_handler_bundle.dart'; Future run(HookContext context) async { + // Clean up the output folder, even at the root, to have only the final generated project in the end + print("> Clean up the output folder (pre): " + Directory.current.path); + final entities = Directory.current.listSync(recursive: false); + final exclusions = [ + // we should not delete .git + Directory.current.path + '/.git', + // the bricks folder can be delete at post_gen only + Directory.current.path + '/bricks', + ]; + await deleteFileSystemEntities(entities, exclusions: exclusions); + try { final additionalVars = {}; if (context.vars['add_permission_handler'] == true) { @@ -31,3 +44,19 @@ Future> addPermissionHandlerVariables() async { }); return vars; } + +Future deleteFileSystemEntities( + List entities, { + List exclusions = const [], +}) async { + entities.forEach((entity) { + if (!exclusions.contains(entity.path)) { + print('Delete ' + entity.path); + if (entity is File) { + entity.deleteSync(); + } else if (entity is Directory) { + entity.deleteSync(recursive: true); + } + } + }); +} From 27f7286d2bcafa61dea8b2f4e233dee041664fe3 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Wed, 11 Oct 2023 15:45:37 +0700 Subject: [PATCH 05/17] [#245] Update the script usage in workflows --- .github/workflows/android_deploy_production.yml | 3 --- .../workflows/android_deploy_production_to_playstore.yml | 3 --- .github/workflows/android_deploy_staging.yml | 3 --- .github/workflows/ios_deploy_staging_to_firebase.yml | 3 --- .github/workflows/ios_deploy_to_app_store.yml | 3 --- .github/workflows/ios_deploy_to_testflight.yml | 3 --- .github/workflows/test.yml | 9 ++++----- bricks/template/hooks/pre_gen.dart | 4 ++-- 8 files changed, 6 insertions(+), 25 deletions(-) diff --git a/.github/workflows/android_deploy_production.yml b/.github/workflows/android_deploy_production.yml index 0a7725f7..ee34116c 100644 --- a/.github/workflows/android_deploy_production.yml +++ b/.github/workflows/android_deploy_production.yml @@ -32,9 +32,6 @@ jobs: dart pub global activate mason_cli mason get mason make template -c mason-config.json - # Move the generated project to the root directory for next steps & cleanup to not affect static code analysis - rsync -av --remove-source-files flutter_templates/ ./ - rm -rf bricks sample - name: Get Flutter dependencies run: flutter pub get diff --git a/.github/workflows/android_deploy_production_to_playstore.yml b/.github/workflows/android_deploy_production_to_playstore.yml index 5f9fadb2..d0df68a9 100644 --- a/.github/workflows/android_deploy_production_to_playstore.yml +++ b/.github/workflows/android_deploy_production_to_playstore.yml @@ -32,9 +32,6 @@ jobs: dart pub global activate mason_cli mason get mason make template -c mason-config.json - # Move the generated project to the root directory for next steps & cleanup to not affect static code analysis - rsync -av --remove-source-files flutter_templates/ ./ - rm -rf bricks sample - name: Get Flutter dependencies run: flutter pub get diff --git a/.github/workflows/android_deploy_staging.yml b/.github/workflows/android_deploy_staging.yml index 3261228f..f5e68bfd 100644 --- a/.github/workflows/android_deploy_staging.yml +++ b/.github/workflows/android_deploy_staging.yml @@ -32,9 +32,6 @@ jobs: dart pub global activate mason_cli mason get mason make template -c mason-config.json - # Move the generated project to the root directory for next steps & cleanup to not affect static code analysis - rsync -av --remove-source-files flutter_templates/ ./ - rm -rf bricks sample - name: Get Flutter dependencies run: flutter pub get diff --git a/.github/workflows/ios_deploy_staging_to_firebase.yml b/.github/workflows/ios_deploy_staging_to_firebase.yml index e56615e4..4731c842 100644 --- a/.github/workflows/ios_deploy_staging_to_firebase.yml +++ b/.github/workflows/ios_deploy_staging_to_firebase.yml @@ -42,9 +42,6 @@ jobs: dart pub global activate mason_cli mason get mason make template -c mason-config.json - # Move the generated project to the root directory for next steps & cleanup to not affect static code analysis - rsync -av --remove-source-files flutter_templates/ ./ - rm -rf bricks sample - name: Get Flutter dependencies run: flutter pub get diff --git a/.github/workflows/ios_deploy_to_app_store.yml b/.github/workflows/ios_deploy_to_app_store.yml index b2da332c..cae670fa 100644 --- a/.github/workflows/ios_deploy_to_app_store.yml +++ b/.github/workflows/ios_deploy_to_app_store.yml @@ -43,9 +43,6 @@ jobs: dart pub global activate mason_cli mason get mason make template -c mason-config.json - # Move the generated project to the root directory for next steps & cleanup to not affect static code analysis - rsync -av --remove-source-files flutter_templates/ ./ - rm -rf bricks sample - name: Get Flutter dependencies run: flutter pub get diff --git a/.github/workflows/ios_deploy_to_testflight.yml b/.github/workflows/ios_deploy_to_testflight.yml index 52ac52ae..ff523ea9 100644 --- a/.github/workflows/ios_deploy_to_testflight.yml +++ b/.github/workflows/ios_deploy_to_testflight.yml @@ -43,9 +43,6 @@ jobs: dart pub global activate mason_cli mason get mason make template -c mason-config.json - # Move the generated project to the root directory for next steps & cleanup to not affect static code analysis - rsync -av --remove-source-files flutter_templates/ ./ - rm -rf bricks sample - name: Get Flutter dependencies run: flutter pub get diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ae97f50..3500b7e9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,14 +20,11 @@ jobs: channel: 'stable' flutter-version: '3.10.5' - - name: Generate new project + - name: Generate new project (at root directory) run: | dart pub global activate mason_cli mason get mason make template -c mason-config.json - # Move the generated project to the root directory for next steps & cleanup to not affect static code analysis - rsync -av --remove-source-files flutter_templates/ ./ - rm -rf bricks sample - name: Get Flutter dependencies run: flutter pub get @@ -53,6 +50,8 @@ jobs: steps: - name: Check out uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} - name: Set up Flutter environment uses: subosito/flutter-action@v2 @@ -118,7 +117,7 @@ jobs: run: | dart pub global activate mason_cli mason get - mason make template -c mason-config.json + mason make template -c mason-config.json -o sample - id: changes name: Check for changes in the sample project diff --git a/bricks/template/hooks/pre_gen.dart b/bricks/template/hooks/pre_gen.dart index 764b6662..4ed74716 100644 --- a/bricks/template/hooks/pre_gen.dart +++ b/bricks/template/hooks/pre_gen.dart @@ -11,7 +11,7 @@ Future run(HookContext context) async { final exclusions = [ // we should not delete .git Directory.current.path + '/.git', - // the bricks folder can be delete at post_gen only + // the bricks folder can be deleted at post_gen only Directory.current.path + '/bricks', ]; await deleteFileSystemEntities(entities, exclusions: exclusions); @@ -50,7 +50,7 @@ Future deleteFileSystemEntities( List exclusions = const [], }) async { entities.forEach((entity) { - if (!exclusions.contains(entity.path)) { + if (entity.existsSync() && !exclusions.contains(entity.path)) { print('Delete ' + entity.path); if (entity is File) { entity.deleteSync(); From 895619dc3843c101d930a6d616f1ec1348929f75 Mon Sep 17 00:00:00 2001 From: team-nimblehq Date: Wed, 11 Oct 2023 09:28:59 +0000 Subject: [PATCH 06/17] [Chore] Generate Mason bundle --- bricks/template/hooks/bundles/permission_handler_bundle.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bricks/template/hooks/bundles/permission_handler_bundle.dart b/bricks/template/hooks/bundles/permission_handler_bundle.dart index 9163c46f..4065d27f 100644 --- a/bricks/template/hooks/bundles/permission_handler_bundle.dart +++ b/bricks/template/hooks/bundles/permission_handler_bundle.dart @@ -3,4 +3,4 @@ import 'package:mason/mason.dart'; -final permissionHandlerBundle = MasonBundle.fromJson({"files":[{"path":".DS_Store","data":"AAAAAUJ1ZDEAABAAAAAIAAAAEAAAAAAlAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAAAAAABAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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9OUz0xJywKCiAgICAgICMjIGRhcnQ6IFBlcm1pc3Npb25Hcm91cC5tZWRpYUxpYnJhcnkKICAgICAgIyAnUEVSTUlTU0lPTl9NRURJQV9MSUJSQVJZPTEnLAoKICAgICAgIyMgZGFydDogUGVybWlzc2lvbkdyb3VwLnNlbnNvcnMKICAgICAgIyAnUEVSTUlTU0lPTl9TRU5TT1JTPTEnLAoKICAgICAgIyMgZGFydDogUGVybWlzc2lvbkdyb3VwLmJsdWV0b290aAogICAgICAjICdQRVJNSVNTSU9OX0JMVUVUT09USD0xJywKCiAgICAgICMjIGRhcnQ6IFBlcm1pc3Npb25Hcm91cC5hcHBUcmFja2luZ1RyYW5zcGFyZW5jeQogICAgICAjICdQRVJNSVNTSU9OX0FQUF9UUkFDS0lOR19UUkFOU1BBUkVOQ1k9MScsCgogICAgICAjIyBkYXJ0OiBQZXJtaXNzaW9uR3JvdXAuY3JpdGljYWxBbGVydHMKICAgICAgIyAnUEVSTUlTU0lPTl9DUklUSUNBTF9BTEVSVFM9MScKICAgICAgXQ==","type":"text"},{"path":"{{~ _pubspec_dependency.yaml }}","data":"CiAgcGVybWlzc2lvbl9oYW5kbGVyOiBeMTAuMi4w","type":"text"}],"hooks":[],"name":"permission_handler","description":"A new brick created with the Mason CLI.","version":"0.1.0+1","environment":{"mason":">=0.1.0-dev.41 <0.1.0"},"readme":{"path":"README.md","data":"IyBwZXJtaXNzaW9uX2hhbmRsZXIKClshW1Bvd2VyZWQgYnkgTWFzb25dKGh0dHBzOi8vaW1nLnNoaWVsZHMuaW8vZW5kcG9pbnQ/dXJsPWh0dHBzJTNBJTJGJTJGdGlueXVybC5jb20lMkZtYXNvbi1iYWRnZSldKGh0dHBzOi8vZ2l0aHViLmNvbS9mZWxhbmdlbC9tYXNvbikKCkEgbmV3IGJyaWNrIGNyZWF0ZWQgd2l0aCB0aGUgTWFzb24gQ0xJLgoKIyMgRGVzY3JpcHRpb24g8J+agAoKVGhpcyBicmljayBoYXMgdGhlIHNpbXBsZSBpbXBsZW1lbnRhdGlvbiBvZiBbcGVybWlzc2lvbl9oYW5kbGVyXShodHRwczovL3B1Yi5kZXYvcGFja2FnZXMvcGVybWlzc2lvbl9oYW5kbGVyKSBwYWNrYWdlLgo=","type":"text"},"vars":{"project_name":{"type":"string"}}}); \ No newline at end of file +final permissionHandlerBundle = MasonBundle.fromJson({"files":[{"path":"lib/utils/wrappers/permission_wrapper.dart","data":"aW1wb3J0ICdwYWNrYWdlOnBlcm1pc3Npb25faGFuZGxlci9wZXJtaXNzaW9uX2hhbmRsZXIuZGFydCcKICAgIGFzIHBlcm1pc3Npb25faGFuZGxlcjsKCmFic3RyYWN0IGNsYXNzIFBlcm1pc3Npb25XcmFwcGVyIHsKICBGdXR1cmU8Ym9vbD4gcmVxdWVzdENhbWVyYVBlcm1pc3Npb24oKTsKCiAgRnV0dXJlPGJvb2w+IGlzQ2FtZXJhUGVybWlzc2lvbkRlbmllZCgpOwoKICBGdXR1cmU8Ym9vbD4gaXNDYW1lcmFQZXJtaXNzaW9uUGVybWFuZW50bHlEZW5pZWQoKTsKfQoKY2xhc3MgUGVybWlzc2lvbldyYXBwZXJJbXBsIGV4dGVuZHMgUGVybWlzc2lvbldyYXBwZXIgewogIEBvdmVycmlkZQogIEZ1dHVyZTxib29sPiByZXF1ZXN0Q2FtZXJhUGVybWlzc2lvbigpIHsKICAgIHJldHVybiBwZXJtaXNzaW9uX2hhbmRsZXIuUGVybWlzc2lvbi5jYW1lcmEucmVxdWVzdCgpLnRoZW4oCiAgICAgICAgKHN0YXR1cykgPT4gc3RhdHVzID09IHBlcm1pc3Npb25faGFuZGxlci5QZXJtaXNzaW9uU3RhdHVzLmdyYW50ZWQpOwogIH0KCiAgQG92ZXJyaWRlCiAgRnV0dXJlPGJvb2w+IGlzQ2FtZXJhUGVybWlzc2lvbkRlbmllZCgpIHsKICAgIHJldHVybiBwZXJtaXNzaW9uX2hhbmRsZXIuUGVybWlzc2lvbi5jYW1lcmEuaXNEZW5pZ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USD0xJywKCiAgICAgICMjIGRhcnQ6IFBlcm1pc3Npb25Hcm91cC5hcHBUcmFja2luZ1RyYW5zcGFyZW5jeQogICAgICAjICdQRVJNSVNTSU9OX0FQUF9UUkFDS0lOR19UUkFOU1BBUkVOQ1k9MScsCgogICAgICAjIyBkYXJ0OiBQZXJtaXNzaW9uR3JvdXAuY3JpdGljYWxBbGVydHMKICAgICAgIyAnUEVSTUlTU0lPTl9DUklUSUNBTF9BTEVSVFM9MScKICAgICAgXQ==","type":"text"},{"path":"{{~ _pubspec_dependency.yaml }}","data":"CiAgcGVybWlzc2lvbl9oYW5kbGVyOiBeMTAuMi4w","type":"text"}],"hooks":[],"name":"permission_handler","description":"A new brick created with the Mason CLI.","version":"0.1.0+1","environment":{"mason":">=0.1.0-dev.41 <0.1.0"},"readme":{"path":"README.md","data":"IyBwZXJtaXNzaW9uX2hhbmRsZXIKClshW1Bvd2VyZWQgYnkgTWFzb25dKGh0dHBzOi8vaW1nLnNoaWVsZHMuaW8vZW5kcG9pbnQ/dXJsPWh0dHBzJTNBJTJGJTJGdGlueXVybC5jb20lMkZtYXNvbi1iYWRnZSldKGh0dHBzOi8vZ2l0aHViLmNvbS9mZWxhbmdlbC9tYXNvbikKCkEgbmV3IGJyaWNrIGNyZWF0ZWQgd2l0aCB0aGUgTWFzb24gQ0xJLgoKIyMgRGVzY3JpcHRpb24g8J+agAoKVGhpcyBicmljayBoYXMgdGhlIHNpbXBsZSBpbXBsZW1lbnRhdGlvbiBvZiBbcGVybWlzc2lvbl9oYW5kbGVyXShodHRwczovL3B1Yi5kZXYvcGFja2FnZXMvcGVybWlzc2lvbl9oYW5kbGVyKSBwYWNrYWdlLgo=","type":"text"},"vars":{"project_name":{"type":"string"}}}); \ No newline at end of file From 8b44a39bb0a1e7ea491df058360a389f87d31ebc Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Wed, 11 Oct 2023 16:55:31 +0700 Subject: [PATCH 07/17] [#245] Update README --- .github/workflows/test.yml | 4 ++-- README.md | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3500b7e9..49da7aff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: channel: 'stable' flutter-version: '3.10.5' - - name: Generate new project (at root directory) + - name: Generate new project run: | dart pub global activate mason_cli mason get @@ -113,7 +113,7 @@ jobs: field: project_name value: sample - - name: Generate the new sample project + - name: Generate the new "sample" project run: | dart pub global activate mason_cli mason get diff --git a/README.md b/README.md index 409ec897..800ac17e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Before using the template, ensure that you have installed the following prerequi Follow these steps to set up a new project from the template: -1. Clone or download this repository to your local machine. +1. Use [Use this template](https://github.com/new?template_name=flutter-templates&template_owner=nimblehq) feature to create your new project repository or clone this template repository to your local machine. 2. Fetch all required bricks by running the command: @@ -47,11 +47,16 @@ Follow these steps to set up a new project from the template: `$ mason make template -c mason-config.json` to provide necessary inputs via a JSON file, e.g., [mason-config.json](mason-config.json) for the sample project. -Once the project is generated at `/{project_name}`, please refer to the [Getting Started](bricks/template/__brick__/%7B%7Bproject_name.snakeCase()%7D%7D#getting-started) documentation to make it ready for development. +Once the project is generated, please refer to the [Getting Started](bricks/template/__brick__/%7B%7Bproject_name.snakeCase()%7D%7D#getting-started) documentation to make it ready for development. That's it! You have now set up a new Flutter project using the template 🎉 > **Note** +> +> The script generates all project files to the current working folder as default and cleans up all template stuff in the end. Run it with [Custom Output Directory](https://github.com/felangel/mason/tree/master/packages/mason_cli#custom-output-directory) to set a custom output folder and keep the template stuff to rerun. +> +> `$ mason make template -c mason-config.json -o my_flutter_project` +> > You can find detailed information on `make` command options and usage in the [Mason documentation](https://github.com/felangel/mason/tree/master/packages/mason_cli#overview). ## Documentation From c880860bf876d44fdc12e9af4c205a95ac69c8aa Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Wed, 11 Oct 2023 18:17:01 +0700 Subject: [PATCH 08/17] [#245] Improve the deleteFileSystemEntities usage --- bricks/template/hooks/pre_gen.dart | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bricks/template/hooks/pre_gen.dart b/bricks/template/hooks/pre_gen.dart index 4ed74716..8c0a47bb 100644 --- a/bricks/template/hooks/pre_gen.dart +++ b/bricks/template/hooks/pre_gen.dart @@ -7,14 +7,17 @@ import 'bundles/permission_handler_bundle.dart'; Future run(HookContext context) async { // Clean up the output folder, even at the root, to have only the final generated project in the end print("> Clean up the output folder (pre): " + Directory.current.path); - final entities = Directory.current.listSync(recursive: false); final exclusions = [ // we should not delete .git Directory.current.path + '/.git', // the bricks folder can be deleted at post_gen only Directory.current.path + '/bricks', ]; - await deleteFileSystemEntities(entities, exclusions: exclusions); + final entities = Directory.current + .listSync(recursive: false) + .where((entity) => !exclusions.contains(entity.path)) + .toList(); + await deleteFileSystemEntities(entities); try { final additionalVars = {}; @@ -45,12 +48,9 @@ Future> addPermissionHandlerVariables() async { return vars; } -Future deleteFileSystemEntities( - List entities, { - List exclusions = const [], -}) async { +Future deleteFileSystemEntities(List entities) async { entities.forEach((entity) { - if (entity.existsSync() && !exclusions.contains(entity.path)) { + if (entity.existsSync()) { print('Delete ' + entity.path); if (entity is File) { entity.deleteSync(); From 919a1170fdcb8be37ce0e5eebaf07b3a3afbfa73 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Mon, 16 Oct 2023 10:01:43 +0700 Subject: [PATCH 09/17] [#245] Move deleteFileSystemEntities to hooks_util --- bricks/template/hooks/hooks_util.dart | 14 ++++++++++++++ bricks/template/hooks/post_gen.dart | 2 +- bricks/template/hooks/pre_gen.dart | 14 +------------- 3 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 bricks/template/hooks/hooks_util.dart diff --git a/bricks/template/hooks/hooks_util.dart b/bricks/template/hooks/hooks_util.dart new file mode 100644 index 00000000..66a3df96 --- /dev/null +++ b/bricks/template/hooks/hooks_util.dart @@ -0,0 +1,14 @@ +import 'dart:io'; + +Future deleteFileSystemEntities(List entities) async { + entities.forEach((entity) { + if (entity.existsSync()) { + print('Delete ' + entity.path); + if (entity is File) { + entity.deleteSync(); + } else if (entity is Directory) { + entity.deleteSync(recursive: true); + } + } + }); +} diff --git a/bricks/template/hooks/post_gen.dart b/bricks/template/hooks/post_gen.dart index 6c93af22..569a2c51 100644 --- a/bricks/template/hooks/post_gen.dart +++ b/bricks/template/hooks/post_gen.dart @@ -3,7 +3,7 @@ import 'dart:io'; import 'package:mason/mason.dart'; import 'bundles/permission_handler_bundle.dart'; -import 'pre_gen.dart'; +import 'hooks_util.dart'; Future run(HookContext context) async { try { diff --git a/bricks/template/hooks/pre_gen.dart b/bricks/template/hooks/pre_gen.dart index 8c0a47bb..80aeb252 100644 --- a/bricks/template/hooks/pre_gen.dart +++ b/bricks/template/hooks/pre_gen.dart @@ -3,6 +3,7 @@ import 'dart:io'; import 'package:mason/mason.dart'; import 'bundles/permission_handler_bundle.dart'; +import 'hooks_util.dart'; Future run(HookContext context) async { // Clean up the output folder, even at the root, to have only the final generated project in the end @@ -47,16 +48,3 @@ Future> addPermissionHandlerVariables() async { }); return vars; } - -Future deleteFileSystemEntities(List entities) async { - entities.forEach((entity) { - if (entity.existsSync()) { - print('Delete ' + entity.path); - if (entity is File) { - entity.deleteSync(); - } else if (entity is Directory) { - entity.deleteSync(recursive: true); - } - } - }); -} From 85451e791c44c831cf1f2f79032262d2119b5705 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Wed, 18 Oct 2023 23:57:16 +0700 Subject: [PATCH 10/17] [#268] Rename signing.properties to end with ".sample" to be generated to sample folder --- .../android/{signing.properties => signing.properties.sample} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename bricks/template/__brick__/android/{signing.properties => signing.properties.sample} (100%) diff --git a/bricks/template/__brick__/android/signing.properties b/bricks/template/__brick__/android/signing.properties.sample similarity index 100% rename from bricks/template/__brick__/android/signing.properties rename to bricks/template/__brick__/android/signing.properties.sample From 4980d8d1572bd23f38d89ae4674c8ed0bd151cd1 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Thu, 19 Oct 2023 00:18:45 +0700 Subject: [PATCH 11/17] [#268] Update README instruction to sign release build --- bricks/template/__brick__/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bricks/template/__brick__/README.md b/bricks/template/__brick__/README.md index 386f4a20..e613cf20 100644 --- a/bricks/template/__brick__/README.md +++ b/bricks/template/__brick__/README.md @@ -12,12 +12,18 @@ ### Setup - Create these `.env` files in the root directory according to the flavors and add the required -environment variables. The example environment variable is in `.env.sample`. +environment variables. The example file is `.env.sample`. - Staging: `.env.staging` - Production: `.env` +- To make the Android release build, + + - put the `release.keystore` at the `android/config` folder, + + - create the `signing.properties` file to provide keystore credentials in the `android` folder. The example file is `signing.properties.sample`. + ### Run - Run code generator for JSON models, DI dependencies, etc: From de12e5f89c9838a34ad628a65553b6518e948333 Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Thu, 19 Oct 2023 00:19:05 +0700 Subject: [PATCH 12/17] [#268] Fix: Keep BuildConfig for Flutter Config https://github.com/ByneappLLC/flutter_config/blob/master/doc/ANDROID.md#android-setup --- .../__brick__/android/app/proguard-rules.pro | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 bricks/template/__brick__/android/app/proguard-rules.pro diff --git a/bricks/template/__brick__/android/app/proguard-rules.pro b/bricks/template/__brick__/android/app/proguard-rules.pro new file mode 100644 index 00000000..0acab615 --- /dev/null +++ b/bricks/template/__brick__/android/app/proguard-rules.pro @@ -0,0 +1,24 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle.kts. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile + +# Keep BuildConfig for Flutter Config https://github.com/ByneappLLC/flutter_config/blob/master/doc/ANDROID.md#android-setup +-keep class {{package_name.dotCase()}}.BuildConfig { *; } From 0ec5f0270fccaa6f878f295d06ac1e15e14374cf Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Wed, 25 Oct 2023 10:34:18 +0700 Subject: [PATCH 13/17] [#268] Update workflows to build Android production release build --- .github/workflows/android_deploy_production.yml | 12 ++++++++++-- .../.github/workflows/android_deploy_production.yml | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android_deploy_production.yml b/.github/workflows/android_deploy_production.yml index ee34116c..a6e727d6 100644 --- a/.github/workflows/android_deploy_production.yml +++ b/.github/workflows/android_deploy_production.yml @@ -45,9 +45,17 @@ jobs: run: | echo -e "$ENV" > .env + - name: Set up release signing configs + env: + ANDROID_RELEASE_KEYSTORE_BASE64: ${{ secrets.ANDROID_RELEASE_KEYSTORE_BASE64 }} + ANDROID_SIGNING_PROPERTIES: ${{ secrets.ANDROID_SIGNING_PROPERTIES }} + run: | + echo $ANDROID_RELEASE_KEYSTORE_BASE64 | base64 --decode > android/config/release.keystore + echo "$ANDROID_SIGNING_PROPERTIES" > android/signing.properties + # App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa - name: Build Android apk - run: flutter build apk --flavor production --debug --build-number $GITHUB_RUN_NUMBER + run: flutter build apk --flavor production --release --build-number $GITHUB_RUN_NUMBER - name: Deploy Android Production to Firebase uses: wzieba/Firebase-Distribution-Github-Action@v1.5.0 @@ -55,4 +63,4 @@ jobs: appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} - file: build/app/outputs/flutter-apk/app-production-debug.apk + file: build/app/outputs/flutter-apk/app-production-release.apk diff --git a/bricks/template/__brick__/.github/workflows/android_deploy_production.yml b/bricks/template/__brick__/.github/workflows/android_deploy_production.yml index f73c2c71..27a3bfd8 100644 --- a/bricks/template/__brick__/.github/workflows/android_deploy_production.yml +++ b/bricks/template/__brick__/.github/workflows/android_deploy_production.yml @@ -39,9 +39,17 @@ jobs: run: | echo -e "$ENV" > .env + - name: Set up release signing configs + env: + ANDROID_RELEASE_KEYSTORE_BASE64: ${{#mustacheCase}}secrets.ANDROID_RELEASE_KEYSTORE_BASE64{{/mustacheCase}} + ANDROID_SIGNING_PROPERTIES: ${{#mustacheCase}}secrets.ANDROID_SIGNING_PROPERTIES{{/mustacheCase}} + run: | + echo $ANDROID_RELEASE_KEYSTORE_BASE64 | base64 --decode > android/config/release.keystore + echo "$ANDROID_SIGNING_PROPERTIES" > android/signing.properties + # App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa - name: Build Android apk - run: flutter build apk --flavor production --debug --build-number $GITHUB_RUN_NUMBER + run: flutter build apk --flavor production --release --build-number $GITHUB_RUN_NUMBER - name: Deploy Android Production to Firebase uses: wzieba/Firebase-Distribution-Github-Action@v1.5.0 @@ -49,4 +57,4 @@ jobs: appId: ${{#mustacheCase}}vars.FIREBASE_ANDROID_APP_ID{{/mustacheCase}} serviceCredentialsFileContent: ${{#mustacheCase}}secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON{{/mustacheCase}} groups: ${{#mustacheCase}}vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS{{/mustacheCase}} - file: build/app/outputs/flutter-apk/app-production-debug.apk + file: build/app/outputs/flutter-apk/app-production-release.apk From cb9993a126f20ef75d5e56a278b1c0b4ae67cdae Mon Sep 17 00:00:00 2001 From: "Luong Vo (Lucas)" Date: Wed, 25 Oct 2023 11:19:13 +0700 Subject: [PATCH 14/17] [#268] Update all CD workflow naming --- .github/workflows/android_deploy_production.yml | 2 +- .../workflows/android_deploy_production_to_playstore.yml | 2 +- .github/workflows/android_deploy_staging.yml | 2 +- .github/workflows/ios_deploy_staging_to_firebase.yml | 6 +++--- .github/workflows/ios_deploy_to_app_store.yml | 6 +++--- .github/workflows/ios_deploy_to_testflight.yml | 6 +++--- .../.github/workflows/android_deploy_production.yml | 2 +- .../workflows/android_deploy_production_to_playstore.yml | 2 +- .../__brick__/.github/workflows/android_deploy_staging.yml | 2 +- .../.github/workflows/ios_deploy_staging_to_firebase.yml | 6 +++--- .../__brick__/.github/workflows/ios_deploy_to_app_store.yml | 6 +++--- .../.github/workflows/ios_deploy_to_testflight.yml | 6 +++--- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/android_deploy_production.yml b/.github/workflows/android_deploy_production.yml index a6e727d6..4c387402 100644 --- a/.github/workflows/android_deploy_production.yml +++ b/.github/workflows/android_deploy_production.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Production build to Firebase runs-on: ubuntu-latest environment: production timeout-minutes: 30 diff --git a/.github/workflows/android_deploy_production_to_playstore.yml b/.github/workflows/android_deploy_production_to_playstore.yml index d0df68a9..1ca9e0ed 100644 --- a/.github/workflows/android_deploy_production_to_playstore.yml +++ b/.github/workflows/android_deploy_production_to_playstore.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Production build to Play Store runs-on: ubuntu-latest environment: production timeout-minutes: 30 diff --git a/.github/workflows/android_deploy_staging.yml b/.github/workflows/android_deploy_staging.yml index f5e68bfd..b6d3ad21 100644 --- a/.github/workflows/android_deploy_staging.yml +++ b/.github/workflows/android_deploy_staging.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Staging build to Firebase runs-on: ubuntu-latest environment: staging timeout-minutes: 30 diff --git a/.github/workflows/ios_deploy_staging_to_firebase.yml b/.github/workflows/ios_deploy_staging_to_firebase.yml index 4731c842..a3d1ae54 100644 --- a/.github/workflows/ios_deploy_staging_to_firebase.yml +++ b/.github/workflows/ios_deploy_staging_to_firebase.yml @@ -1,4 +1,4 @@ -name: ios-deploy-to-staging +name: iOS - Deploy Staging build to Firebase on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - develop jobs: - build_and_upload_staging_app_to_firebase: - name: Build And Upload iOS Staging Application To Firebase + build_and_deploy_ios: + name: iOS - Deploy Staging build to Firebase runs-on: macOS-latest environment: staging env: diff --git a/.github/workflows/ios_deploy_to_app_store.yml b/.github/workflows/ios_deploy_to_app_store.yml index cae670fa..a8d8663d 100644 --- a/.github/workflows/ios_deploy_to_app_store.yml +++ b/.github/workflows/ios_deploy_to_app_store.yml @@ -1,4 +1,4 @@ -name: ios-deploy-production-to-app-store +name: iOS - Deploy Production build to AppStore on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - main jobs: - build_and_upload_to_app_store: - name: Build And Upload iOS Application Production To AppStore + build_and_deploy_ios: + name: iOS - Deploy Production build to AppStore runs-on: macOS-latest environment: production timeout-minutes: 30 diff --git a/.github/workflows/ios_deploy_to_testflight.yml b/.github/workflows/ios_deploy_to_testflight.yml index ff523ea9..a516b573 100644 --- a/.github/workflows/ios_deploy_to_testflight.yml +++ b/.github/workflows/ios_deploy_to_testflight.yml @@ -1,4 +1,4 @@ -name: ios-deploy-production-to-testflight +name: iOS - Deploy Production build to TestFlight on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - main jobs: - build_and_upload_to_testflight: - name: Build And Upload iOS Application Production To TestFlight + build_and_deploy_ios: + name: iOS - Deploy Production build to TestFlight runs-on: macOS-latest environment: production timeout-minutes: 30 diff --git a/bricks/template/__brick__/.github/workflows/android_deploy_production.yml b/bricks/template/__brick__/.github/workflows/android_deploy_production.yml index 27a3bfd8..d78f52b5 100644 --- a/bricks/template/__brick__/.github/workflows/android_deploy_production.yml +++ b/bricks/template/__brick__/.github/workflows/android_deploy_production.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Production build to Firebase runs-on: ubuntu-latest environment: production timeout-minutes: 30 diff --git a/bricks/template/__brick__/.github/workflows/android_deploy_production_to_playstore.yml b/bricks/template/__brick__/.github/workflows/android_deploy_production_to_playstore.yml index fa85666b..687faaf7 100644 --- a/bricks/template/__brick__/.github/workflows/android_deploy_production_to_playstore.yml +++ b/bricks/template/__brick__/.github/workflows/android_deploy_production_to_playstore.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Production build to Play Store runs-on: ubuntu-latest environment: production timeout-minutes: 30 diff --git a/bricks/template/__brick__/.github/workflows/android_deploy_staging.yml b/bricks/template/__brick__/.github/workflows/android_deploy_staging.yml index 175eaee1..60ede1f1 100644 --- a/bricks/template/__brick__/.github/workflows/android_deploy_staging.yml +++ b/bricks/template/__brick__/.github/workflows/android_deploy_staging.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Staging build to Firebase runs-on: ubuntu-latest environment: staging timeout-minutes: 30 diff --git a/bricks/template/__brick__/.github/workflows/ios_deploy_staging_to_firebase.yml b/bricks/template/__brick__/.github/workflows/ios_deploy_staging_to_firebase.yml index fd5e6b08..bb9e3523 100644 --- a/bricks/template/__brick__/.github/workflows/ios_deploy_staging_to_firebase.yml +++ b/bricks/template/__brick__/.github/workflows/ios_deploy_staging_to_firebase.yml @@ -1,4 +1,4 @@ -name: ios-deploy-to-staging +name: iOS - Deploy Staging build to Firebase on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - develop jobs: - build_and_upload_staging_app_to_firebase: - name: Build And Upload iOS Staging Application To Firebase + build_and_deploy_ios: + name: iOS - Deploy Staging build to Firebase runs-on: macOS-latest environment: staging env: diff --git a/bricks/template/__brick__/.github/workflows/ios_deploy_to_app_store.yml b/bricks/template/__brick__/.github/workflows/ios_deploy_to_app_store.yml index 73329426..9a7340a9 100644 --- a/bricks/template/__brick__/.github/workflows/ios_deploy_to_app_store.yml +++ b/bricks/template/__brick__/.github/workflows/ios_deploy_to_app_store.yml @@ -1,4 +1,4 @@ -name: ios-deploy-production-to-app-store +name: iOS - Deploy Production build to AppStore on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - main jobs: - build_and_upload_to_app_store: - name: Build And Upload iOS Application Production To AppStore + build_and_deploy_ios: + name: iOS - Deploy Production build to AppStore runs-on: macOS-latest environment: production timeout-minutes: 30 diff --git a/bricks/template/__brick__/.github/workflows/ios_deploy_to_testflight.yml b/bricks/template/__brick__/.github/workflows/ios_deploy_to_testflight.yml index 3b9a98ba..71b38077 100644 --- a/bricks/template/__brick__/.github/workflows/ios_deploy_to_testflight.yml +++ b/bricks/template/__brick__/.github/workflows/ios_deploy_to_testflight.yml @@ -1,4 +1,4 @@ -name: ios-deploy-production-to-testflight +name: iOS - Deploy Production build to TestFlight on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - main jobs: - build_and_upload_to_testflight: - name: Build And Upload iOS Application Production To TestFlight + build_and_deploy_ios: + name: iOS - Deploy Production build to TestFlight runs-on: macOS-latest environment: production timeout-minutes: 30 From 88ef4ab0e489b087f0593eb0a8b005d4c52349af Mon Sep 17 00:00:00 2001 From: team-nimblehq Date: Wed, 25 Oct 2023 04:31:29 +0000 Subject: [PATCH 15/17] [Chore] Generate & update sample project --- .../workflows/android_deploy_production.yml | 14 ++++++++--- ...android_deploy_production_to_playstore.yml | 2 +- .../workflows/android_deploy_staging.yml | 2 +- .../ios_deploy_staging_to_firebase.yml | 6 ++--- .../workflows/ios_deploy_to_app_store.yml | 6 ++--- .../workflows/ios_deploy_to_testflight.yml | 6 ++--- sample/README.md | 8 ++++++- sample/android/app/proguard-rules.pro | 24 +++++++++++++++++++ sample/android/signing.properties.sample | 3 +++ 9 files changed, 56 insertions(+), 15 deletions(-) create mode 100644 sample/android/app/proguard-rules.pro create mode 100644 sample/android/signing.properties.sample diff --git a/sample/.github/workflows/android_deploy_production.yml b/sample/.github/workflows/android_deploy_production.yml index c05c3fa0..700abdd8 100644 --- a/sample/.github/workflows/android_deploy_production.yml +++ b/sample/.github/workflows/android_deploy_production.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Production build to Firebase runs-on: ubuntu-latest environment: production timeout-minutes: 30 @@ -39,9 +39,17 @@ jobs: run: | echo -e "$ENV" > .env + - name: Set up release signing configs + env: + ANDROID_RELEASE_KEYSTORE_BASE64: ${{ secrets.ANDROID_RELEASE_KEYSTORE_BASE64 }} + ANDROID_SIGNING_PROPERTIES: ${{ secrets.ANDROID_SIGNING_PROPERTIES }} + run: | + echo $ANDROID_RELEASE_KEYSTORE_BASE64 | base64 --decode > android/config/release.keystore + echo "$ANDROID_SIGNING_PROPERTIES" > android/signing.properties + # App Bundle requires Firebase connected to Play Store to upload https://appdistribution.page.link/KPoa - name: Build Android apk - run: flutter build apk --flavor production --debug --build-number $GITHUB_RUN_NUMBER + run: flutter build apk --flavor production --release --build-number $GITHUB_RUN_NUMBER - name: Deploy Android Production to Firebase uses: wzieba/Firebase-Distribution-Github-Action@v1.5.0 @@ -49,4 +57,4 @@ jobs: appId: ${{ vars.FIREBASE_ANDROID_APP_ID }} serviceCredentialsFileContent: ${{ secrets.FIREBASE_DISTRIBUTION_CREDENTIAL_JSON }} groups: ${{ vars.FIREBASE_DISTRIBUTION_TESTER_GROUPS }} - file: build/app/outputs/flutter-apk/app-production-debug.apk + file: build/app/outputs/flutter-apk/app-production-release.apk diff --git a/sample/.github/workflows/android_deploy_production_to_playstore.yml b/sample/.github/workflows/android_deploy_production_to_playstore.yml index 3725357b..5de24626 100644 --- a/sample/.github/workflows/android_deploy_production_to_playstore.yml +++ b/sample/.github/workflows/android_deploy_production_to_playstore.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Production build to Play Store runs-on: ubuntu-latest environment: production timeout-minutes: 30 diff --git a/sample/.github/workflows/android_deploy_staging.yml b/sample/.github/workflows/android_deploy_staging.yml index c4c64aea..6120d5ac 100644 --- a/sample/.github/workflows/android_deploy_staging.yml +++ b/sample/.github/workflows/android_deploy_staging.yml @@ -7,7 +7,7 @@ on: jobs: build_and_deploy_android: - name: Build & Deploy Android + name: Android - Deploy Staging build to Firebase runs-on: ubuntu-latest environment: staging timeout-minutes: 30 diff --git a/sample/.github/workflows/ios_deploy_staging_to_firebase.yml b/sample/.github/workflows/ios_deploy_staging_to_firebase.yml index 9fbc3f57..a20c1d66 100644 --- a/sample/.github/workflows/ios_deploy_staging_to_firebase.yml +++ b/sample/.github/workflows/ios_deploy_staging_to_firebase.yml @@ -1,4 +1,4 @@ -name: ios-deploy-to-staging +name: iOS - Deploy Staging build to Firebase on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - develop jobs: - build_and_upload_staging_app_to_firebase: - name: Build And Upload iOS Staging Application To Firebase + build_and_deploy_ios: + name: iOS - Deploy Staging build to Firebase runs-on: macOS-latest environment: staging env: diff --git a/sample/.github/workflows/ios_deploy_to_app_store.yml b/sample/.github/workflows/ios_deploy_to_app_store.yml index 62eec025..7387736c 100644 --- a/sample/.github/workflows/ios_deploy_to_app_store.yml +++ b/sample/.github/workflows/ios_deploy_to_app_store.yml @@ -1,4 +1,4 @@ -name: ios-deploy-production-to-app-store +name: iOS - Deploy Production build to AppStore on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - main jobs: - build_and_upload_to_app_store: - name: Build And Upload iOS Application Production To AppStore + build_and_deploy_ios: + name: iOS - Deploy Production build to AppStore runs-on: macOS-latest environment: production timeout-minutes: 30 diff --git a/sample/.github/workflows/ios_deploy_to_testflight.yml b/sample/.github/workflows/ios_deploy_to_testflight.yml index f0a7fdf8..fd026ed7 100644 --- a/sample/.github/workflows/ios_deploy_to_testflight.yml +++ b/sample/.github/workflows/ios_deploy_to_testflight.yml @@ -1,4 +1,4 @@ -name: ios-deploy-production-to-testflight +name: iOS - Deploy Production build to TestFlight on: # Trigger the workflow on push action push: @@ -6,8 +6,8 @@ on: - main jobs: - build_and_upload_to_testflight: - name: Build And Upload iOS Application Production To TestFlight + build_and_deploy_ios: + name: iOS - Deploy Production build to TestFlight runs-on: macOS-latest environment: production timeout-minutes: 30 diff --git a/sample/README.md b/sample/README.md index 51cd5b1b..552b9b77 100644 --- a/sample/README.md +++ b/sample/README.md @@ -12,12 +12,18 @@ ### Setup - Create these `.env` files in the root directory according to the flavors and add the required -environment variables. The example environment variable is in `.env.sample`. +environment variables. The example file is `.env.sample`. - Staging: `.env.staging` - Production: `.env` +- To make the Android release build, + + - put the `release.keystore` at the `android/config` folder, + + - create the `signing.properties` file to provide keystore credentials in the `android` folder. The example file is `signing.properties.sample`. + ### Run - Run code generator for JSON models, DI dependencies, etc: diff --git a/sample/android/app/proguard-rules.pro b/sample/android/app/proguard-rules.pro new file mode 100644 index 00000000..572f5d65 --- /dev/null +++ b/sample/android/app/proguard-rules.pro @@ -0,0 +1,24 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle.kts. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile + +# Keep BuildConfig for Flutter Config https://github.com/ByneappLLC/flutter_config/blob/master/doc/ANDROID.md#android-setup +-keep class co.nimblehq.flutter.template.BuildConfig { *; } diff --git a/sample/android/signing.properties.sample b/sample/android/signing.properties.sample new file mode 100644 index 00000000..b9688427 --- /dev/null +++ b/sample/android/signing.properties.sample @@ -0,0 +1,3 @@ +KEYSTORE_PASSWORD= +KEY_ALIAS= +KEY_PASSWORD= From 54eec26fbdc04217c2b96ea96748b576f05b2349 Mon Sep 17 00:00:00 2001 From: Tran Manh Date: Thu, 12 Oct 2023 16:57:14 +0700 Subject: [PATCH 16/17] [#239] Create the contributing guideline --- CODE_OF_CONDUCT.md | 70 +++++++++++++++ CONTRIBUTING.md | 104 ++++++++++++++++++++++ contributing/images/table-of-contents.png | Bin 0 -> 4027 bytes 3 files changed, 174 insertions(+) create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 contributing/images/table-of-contents.png diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 00000000..63919bd4 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,70 @@ +# Code of Conduct - Flutter Templates + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to make participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, or to ban +temporarily or permanently any contributor for other behaviors that they deem +inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at <>. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant](https://contributor-covenant.org/), version +[1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct/code_of_conduct.md) and +[2.0](https://www.contributor-covenant.org/version/2/0/code_of_conduct/code_of_conduct.md), +and was generated by [contributing-gen](https://github.com/bttger/contributing-gen). \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..99fd2d12 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,104 @@ +# Contributing to Flutter Templates + +First off, thanks for taking the time to contribute! 🎉 + +Read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable. + +Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. + +Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly. + +> And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about: +> - Star the project +> - Tweet about it +> - Refer this project in your project's readme +> - Mention the project at local meetups and tell your friends/colleagues + +## Code of Conduct + +This project and everyone participating in it is governed by the +[Flutter Templates Code of Conduct](https://github.com/nimblehq/flutter-templatesblob/master/CODE_OF_CONDUCT.md). +By participating, you are expected to uphold this code. Please report unacceptable behavior +to . + +## What should I know before I get started? + +### Get to know Mason + +The Flutter templates use [Mason](https://github.com/felangel/mason) as the primary tool for generating a new Flutter project. Take some time to become familiar with it. + +### Flutter templates structure + +The repository contains three main files/directories: +- The `bricks` directory contains the primary development, which is the "template" brick. +- The `sample` directory contains a sample Flutter project that was automatically generated by the CI workflow. This ensures that the project is not broken during development. +- The `mason.yaml` file lists all the bricks in the repository. + +## I Have a Question + +Before you ask a question, it is best to search for existing [Issues](https://github.com/nimblehq/flutter-templates/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first. + +If you then still feel the need to ask a question and need clarification, we recommend the following: + +- Open a [Discussion](https://github.com/nimblehq/flutter-templates/discussions/new?category=q-a). +- Provide as much context as you can about what you're running into. +- Provide the project version and platform info (OS, Flutter version, etc), depending on what seems relevant. + +We will then take care of the issue as soon as possible. + +## I Want To Contribute + +### Reporting Bugs + +#### Before Submitting a Bug Report + +A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible. + +- Make sure that you are using the latest version. +- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [README](https://github.com/nimblehq/flutter-templates/blob/main/README.md). If you are looking for support, you might want to check [this section](#i-have-a-question)). +- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/nimblehq/flutter-templates/issues?q=is%3Aissue+label%3A%22type+%3A+bug%22+). +- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue. +- Collect information about the bug: + - Stack trace (Traceback) + - OS, Platform and Version (Windows, Linux, macOS, x86, ARM) + - Flutter's doctor (if the generated project runs failed) + - Possibly your input and the output + - Can you reliably reproduce the issue? And can you also reproduce it with older versions? + +#### How Do I Submit a Good Bug Report? + +> You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to . + +We use GitHub issues to track bugs and errors. If you run into an issue with the project: + +- Open a [Bug Report's Issue](https://github.com/nimblehq/flutter-templates/issues/new?assignees=&labels=type+%3A+bug&projects=&template=bug_template.md&title=Fix%3A+). +- Explain the behavior you would expect and the actual behavior. +- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case. +- Provide the information you collected in the previous section. + +Once it's filed: + +- The repository's maintainer will mark the issue as `triage` and try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for further information. Bugs with the `triage` label will not be addressed until they are reproduced. +- If the team is able to reproduce the issue, the `triage` label will be removed, and the issue will be left to be [implemented by someone](#your-first-code-contribution). + +### Your First Code Contribution + +If you're not sure where to start contributing to Flutter Templates, browse through the [Issues](https://github.com/nimblehq/flutter-templates/issues) and choose one that suits you best. + +### Pull Requests + +Please follow these steps to have your contribution considered by the maintainers: + +- Follow the styleguides +- After you submit your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing
What if the status checks are failing?If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.
+ +While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted. + +## Styleguides +### Git Branch Management + +Checkout our [Branch Management](https://nimblehq.co/compass/development/version-control/branch-management/) for more details about the branch formatting, naming, etc. + +### Git Commit Messages + +Checkout our [Committing Code](https://nimblehq.co/compass/development/version-control/committing-code/) for more details about the commit message formatting, structure, etc. diff --git a/contributing/images/table-of-contents.png b/contributing/images/table-of-contents.png new file mode 100644 index 0000000000000000000000000000000000000000..cb0cc7e8c9fa8876af6f835eed1716b2112bb1b3 GIT binary patch literal 4027 zcmV;s4@B^ZP)OI`+)BE@7JQ1L|c?X5FNF|Qx>E-OPA^;I~1H#b9tnpodO%HYJUV64zx?V_SgoI zbD<~<_Aj}`vXcg*J&~`<+xUZl4M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^ zM1X3kBtP?wodLvo9#(rvw(Ex>Ui{=dzcOcT-|G(6t)>DObk>h68K_sK7H&+NALvzfk6#&x?g@XQ6D%y*E0 z`L}AbKz3}0p`f~3+4Jzy;}3D&S7T=OF$xt>5qrsKWv!BnQ;Q^m>Hq>l-+%mgaN_F~ z>}LJ}&}Wx5!0kb-AQ^A!m7rE_VgEBrwOTVZv$fsE-Bq^T*NR)4xox$|4e#3JREil$ z*pDB-hKuLOaG`64yW2|j{}8JmA9FMr$n+Vy4~sSXo2|L(R$YU;ZEC*E()RVb{jj~- zveGIsMFj+iJ`@A*GhUed;DZmyb4MzOQ;IN}3YLZNv5wlvq* zZeL?beNx6sv|xborpq|=;3eg0ZtkBL(H1Hoa&HIe5d zKj?smDQ3okqbXu$G75&3X@Uu^-N0e$uDVKu<^sCqR6KntnP^EfC$ShT&N1gqzkmOk zGsroE-rWF$a|Rf3IN}TjL++Wuk~u1@B4TMODpa>~LZXeYf?<2Z&z3|}djnuOqcRbh hsCfo+&Z%a|{sA)ziwU|NDzg9p002ovPDHLkV1kH}+a>@2 literal 0 HcmV?d00001 From 43c108237dd9741d376b361653a8fa58abcabee2 Mon Sep 17 00:00:00 2001 From: Tran Manh Date: Fri, 27 Oct 2023 14:21:11 +0700 Subject: [PATCH 17/17] [#239] Update the contributing content --- .../images/table-of-contents.png | Bin CONTRIBUTING.md | 39 +++++++++--------- 2 files changed, 19 insertions(+), 20 deletions(-) rename {contributing => .github}/images/table-of-contents.png (100%) diff --git a/contributing/images/table-of-contents.png b/.github/images/table-of-contents.png similarity index 100% rename from contributing/images/table-of-contents.png rename to .github/images/table-of-contents.png diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 99fd2d12..7193406d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,14 +4,14 @@ First off, thanks for taking the time to contribute! 🎉 Read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable. -Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. +Please make sure to read the relevant section before making your contribution. It will make it much easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. -Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly. +Use the table of contents icon on the top left corner of this document to get to a specific section of this guide quickly. > And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about: > - Star the project > - Tweet about it -> - Refer this project in your project's readme +> - Refer to this project in your project's readme > - Mention the project at local meetups and tell your friends/colleagues ## Code of Conduct @@ -38,13 +38,13 @@ The repository contains three main files/directories: Before you ask a question, it is best to search for existing [Issues](https://github.com/nimblehq/flutter-templates/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first. -If you then still feel the need to ask a question and need clarification, we recommend the following: +If you still feel the need to ask a question and need clarification, we recommend the following: - Open a [Discussion](https://github.com/nimblehq/flutter-templates/discussions/new?category=q-a). - Provide as much context as you can about what you're running into. - Provide the project version and platform info (OS, Flutter version, etc), depending on what seems relevant. -We will then take care of the issue as soon as possible. +We will then analyze and plan for it. ## I Want To Contribute @@ -52,12 +52,12 @@ We will then take care of the issue as soon as possible. #### Before Submitting a Bug Report -A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible. +A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information, and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible. - Make sure that you are using the latest version. -- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [README](https://github.com/nimblehq/flutter-templates/blob/main/README.md). If you are looking for support, you might want to check [this section](#i-have-a-question)). +- Determine if your bug is really a bug and not an error on your side, e.g., using incompatible environment components/versions (Make sure that you have read the [README](https://github.com/nimblehq/flutter-templates/blob/main/README.md). If you are looking for support, you might want to check [this section](#i-have-a-question)). - To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/nimblehq/flutter-templates/issues?q=is%3Aissue+label%3A%22type+%3A+bug%22+). -- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue. +- Also, make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue. - Collect information about the bug: - Stack trace (Traceback) - OS, Platform and Version (Windows, Linux, macOS, x86, ARM) @@ -67,20 +67,15 @@ A good bug report shouldn't leave others needing to chase you up for more inform #### How Do I Submit a Good Bug Report? -> You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to . +> You must never report security related issues, vulnerabilities, or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to . We use GitHub issues to track bugs and errors. If you run into an issue with the project: - Open a [Bug Report's Issue](https://github.com/nimblehq/flutter-templates/issues/new?assignees=&labels=type+%3A+bug&projects=&template=bug_template.md&title=Fix%3A+). - Explain the behavior you would expect and the actual behavior. -- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case. +- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports, you should isolate the problem and create a reduced test case. - Provide the information you collected in the previous section. -Once it's filed: - -- The repository's maintainer will mark the issue as `triage` and try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for further information. Bugs with the `triage` label will not be addressed until they are reproduced. -- If the team is able to reproduce the issue, the `triage` label will be removed, and the issue will be left to be [implemented by someone](#your-first-code-contribution). - ### Your First Code Contribution If you're not sure where to start contributing to Flutter Templates, browse through the [Issues](https://github.com/nimblehq/flutter-templates/issues) and choose one that suits you best. @@ -89,16 +84,20 @@ If you're not sure where to start contributing to Flutter Templates, browse thro Please follow these steps to have your contribution considered by the maintainers: -- Follow the styleguides -- After you submit your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing
What if the status checks are failing?If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. A maintainer will re-run the status check for you. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.
+- Follow the [Flutter convention & style guides](https://nimblehq.co/compass/development/code-conventions/flutter/). +- After submitting your pull request, verify that all [status checks](https://help.github.com/articles/about-status-checks/) are passing
What if the status checks are failing?If a status check is failing, and you believe that the failure is unrelated to your change, please leave a comment on the pull request explaining why you believe the failure is unrelated. If we conclude that the failure was a false positive, then we will open an issue to track that problem with our status check suite.
While the prerequisites above must be satisfied prior to having your pull request reviewed, the reviewer(s) may ask you to complete additional design work, tests, or other changes before your pull request can be ultimately accepted. -## Styleguides +## Style guides ### Git Branch Management -Checkout our [Branch Management](https://nimblehq.co/compass/development/version-control/branch-management/) for more details about the branch formatting, naming, etc. +Check out our [Branch Management](https://nimblehq.co/compass/development/version-control/branch-management/) for more details about the branch formatting, naming, etc. ### Git Commit Messages -Checkout our [Committing Code](https://nimblehq.co/compass/development/version-control/committing-code/) for more details about the commit message formatting, structure, etc. +Check out our [Committing Code](https://nimblehq.co/compass/development/version-control/committing-code/) for more details about the commit message formatting, structure, etc. + +### Code Conventions + +Check out our [Flutter convention](https://nimblehq.co/compass/development/code-conventions/flutter/) for more details about the code convention and style guides.