diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f0640d6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,3 @@ +# 0.1.0+1 + +- TODO: Describe initial release. diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ba75c69 --- /dev/null +++ b/LICENSE @@ -0,0 +1 @@ +TODO: Add your license here. diff --git a/README.md b/README.md new file mode 100644 index 0000000..270fd7c --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# mvvm_template + +[![Powered by Mason](https://img.shields.io/endpoint?url=https%3A%2F%2Ftinyurl.com%2Fmason-badge)](https://github.com/felangel/mason) + +A new brick created with the Mason CLI. + +_Generated by [mason][1] 🧱_ + +## Getting Started πŸš€ + +This is a starting point for a new brick. +A few resources to get you started if this is your first brick template: + +- [Official Mason Documentation][2] +- [Code generation with Mason Blog][3] +- [Very Good Livestream: Felix Angelov Demos Mason][4] +- [Flutter Package of the Week: Mason][5] +- [Observable Flutter: Building a Mason brick][6] +- [Meet Mason: Flutter Vikings 2022][7] + +[1]: https://github.com/felangel/mason +[2]: https://docs.brickhub.dev +[3]: https://verygood.ventures/blog/code-generation-with-mason +[4]: https://youtu.be/G4PTjA6tpTU +[5]: https://youtu.be/qjA0JFiPMnQ +[6]: https://youtu.be/o8B1EfcUisw +[7]: https://youtu.be/LXhgiF5HiQg diff --git a/__brick__/.gitlab/issue_templates/default_bug_template.md b/__brick__/.gitlab/issue_templates/default_bug_template.md new file mode 100644 index 0000000..2893a61 --- /dev/null +++ b/__brick__/.gitlab/issue_templates/default_bug_template.md @@ -0,0 +1,38 @@ +## Description +Although often desired not every bug or new functionality needs a fully filled out template. Some topics may not always apply or are too obvious to be filled in for that specific ticket. So, feel free to remove sections as needed or leave β€˜N/A’ to indicate that it’s not applicable. Also please note that the structure of given subjects are mere guidelines, if you feel a subject would be better explained in plain sentences, drawings or a whole different way then by all means feel free to remove the initial structure and implement it as you see fit. + +## ⁉️ Questions +Questions and/or pressing matters in here need to be resolved as soon as possible, preferably before or shortly after starting the ticket. + +N/A + +## πŸ› Bug Description +A short and descriptive introduction of the problem we are going to solve. + +## πŸ¦‹ Expected Result +What should happen instead if everything is working correctly. + +## πŸ«™ Actual Result +What is happening, currently? + +## πŸ”Ž Steps to Reproduce +How to reproduce the problem. + + +## πŸ§ͺ Environment +Information about the device where the bug occurred. + +OS Version: OS + +Device: DEVICE + +App Version: VERSION + +Account: ACCOUNT + +## πŸ“ Suggested Approach +With knowledge of the current codebase, try to define a best suggested approach. Think of current components used, flow of data and UI elements. + + +## πŸ‘‰ Final Remarks +Anything to take note off that is not properly defined yet. Think of out of scope notes, dependencies, anything to be extra cautious about and/or information about related issues. diff --git a/__brick__/.gitlab/merge_request_templates/default_pr_template.md b/__brick__/.gitlab/merge_request_templates/default_pr_template.md new file mode 100644 index 0000000..29cc7c4 --- /dev/null +++ b/__brick__/.gitlab/merge_request_templates/default_pr_template.md @@ -0,0 +1,15 @@ +## ✍ Details + + +## πŸ” What should reviewers pay extra attentions to? + + +## πŸ§ͺ Tested on? How? +- [ ] Installation + +## πŸ“‹ Final checks +- [ ] I have performed the necessary code-cleanup, aided by the `dart fix` command. +- [ ] I have double-checked the functionality completely and can confirmt that it fits the 'Acceptance Criteria' +- [ ] I did a full round of QA of my own code and can confirm that the upcoming PR contains my best possible version of this ticket. + +## πŸ‘‰ Final remarks diff --git a/__brick__/gitlab-ci.yml b/__brick__/gitlab-ci.yml new file mode 100644 index 0000000..e76e190 --- /dev/null +++ b/__brick__/gitlab-ci.yml @@ -0,0 +1,36 @@ +image: cirrusci/flutter:stable + +before_script: + - flutter pub get + +stages: + - Flutter test + - Dart format check + - Flutter analyze + +unit-test-job: + stage: Flutter test + only: + - merge_requests + tags: + - flutter + script: + - flutter test + +dart-lint-test-job: + stage: Dart format check + only: + - merge_requests + tags: + - flutter + script: + - dart format -l 100 --set-exit-if-changed . + +flutter-lint-test-job: + stage: Flutter analyze + only: + - merge_requests + tags: + - flutter + script: + - flutter analyze diff --git a/__brick__/{{app_name}}/.fvm/.gitignore b/__brick__/{{app_name}}/.fvm/.gitignore new file mode 100644 index 0000000..20ff710 --- /dev/null +++ b/__brick__/{{app_name}}/.fvm/.gitignore @@ -0,0 +1 @@ +flutter_sdk/ \ No newline at end of file diff --git a/__brick__/{{app_name}}/.fvm/fvm_config.json b/__brick__/{{app_name}}/.fvm/fvm_config.json new file mode 100644 index 0000000..b3db758 --- /dev/null +++ b/__brick__/{{app_name}}/.fvm/fvm_config.json @@ -0,0 +1,4 @@ +{ + "flutterSdkVersion": "stable", + "flavors": {} +} \ No newline at end of file diff --git a/gamestore/.gitattributes b/__brick__/{{app_name}}/.gitattributes similarity index 100% rename from gamestore/.gitattributes rename to __brick__/{{app_name}}/.gitattributes diff --git a/gamestore/.gitignore b/__brick__/{{app_name}}/.gitignore similarity index 99% rename from gamestore/.gitignore rename to __brick__/{{app_name}}/.gitignore index 8eeb02a..3bc28ba 100644 --- a/gamestore/.gitignore +++ b/__brick__/{{app_name}}/.gitignore @@ -78,7 +78,7 @@ doc/api/ .pub/ coverage/ lib/generated_plugin_registrant.dart -# For library packages, don’t commit the pubspec.lock file. +# For library packages, don't commit the pubspec.lock file. # Regenerating the pubspec.lock file lets you test your package against the latest compatible versions of its dependencies. # See https://dart.dev/guides/libraries/private-files#pubspeclock #pubspec.lock diff --git a/gamestore/.idea/.gitignore b/__brick__/{{app_name}}/.idea/.gitignore similarity index 100% rename from gamestore/.idea/.gitignore rename to __brick__/{{app_name}}/.idea/.gitignore diff --git a/gamestore/.idea/gamestore.iml b/__brick__/{{app_name}}/.idea/gamestore.iml similarity index 100% rename from gamestore/.idea/gamestore.iml rename to __brick__/{{app_name}}/.idea/gamestore.iml diff --git a/gamestore/.idea/git_toolbox_prj.xml b/__brick__/{{app_name}}/.idea/git_toolbox_prj.xml similarity index 100% rename from gamestore/.idea/git_toolbox_prj.xml rename to __brick__/{{app_name}}/.idea/git_toolbox_prj.xml diff --git a/gamestore/.idea/runConfigurations/Build APK.run.xml b/__brick__/{{app_name}}/.idea/runConfigurations/Build APK.run.xml similarity index 72% rename from gamestore/.idea/runConfigurations/Build APK.run.xml rename to __brick__/{{app_name}}/.idea/runConfigurations/Build APK.run.xml index 9ca18e0..0994a01 100644 --- a/gamestore/.idea/runConfigurations/Build APK.run.xml +++ b/__brick__/{{app_name}}/.idea/runConfigurations/Build APK.run.xml @@ -1,6 +1,6 @@ -