diff --git a/apps/wyatt_app_template/brick_config.yaml b/apps/wyatt_app_template/brick_config.yaml
deleted file mode 100644
index e1b7adf..0000000
--- a/apps/wyatt_app_template/brick_config.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: wyatt_app
-description: New app template for Wyatt Studio projects.
-
-path_to_brickify: .
-brick_ignore:
- - .env
- - brick_config.yaml
- - .dart_tool/
- - .idea/
- - build/
- - node_modules/
-
-version: 0.1.0
-
-vars:
- display_name:
- name: Display Name
- type: string
- description: The display name
- default: Display Name
- prompt: "What is the display name?"
-
- project_name:
- name: wyatt_app_template
- type: string
- description: The project name
- default: wyatt_app
- prompt: "What is the project name?"
-
- bundle_id:
- name: io.wyattapp.new
- type: string
- description: The bundle id used in Android and iOS
- default: io.wyattapp.new
- prompt: "What is the bundle id?"
-
- description:
- name: wyatt_description
- type: string
- description: A short project description
- default: An app by Wyatt Studio.
- prompt: "What is the project description?"
\ No newline at end of file
diff --git a/apps/wyatt_app_template/brickgen.yaml b/apps/wyatt_app_template/brickgen.yaml
new file mode 100644
index 0000000..2df1455
--- /dev/null
+++ b/apps/wyatt_app_template/brickgen.yaml
@@ -0,0 +1,60 @@
+# Copyright (C) 2023 WYATT GROUP
+# Please see the AUTHORS file for details.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+
+name: wyatt_app_template
+description: New app template for Wyatt Studio projects.
+
+version: 0.1.0
+
+vars:
+ display_name:
+ compilable: Display Name
+ type: string
+ description: The display name
+ default: Display Name
+ prompt: "What is the display name?"
+
+ project_name:
+ compilable: starting_template
+ type: string
+ description: The project name
+ default: starting_template
+ prompt: "What is the project name?"
+
+ bundle_id:
+ compilable: io.wyattapp.start
+ type: string
+ description: The bundle id used in Android and iOS
+ default: io.wyattapp.start
+ prompt: "What is the bundle id?"
+
+ description:
+ compilable: wyatt_description
+ type: string
+ description: A short project description
+ default: An app by Wyatt Studio.
+ prompt: "What is the project description?"
+
+brickgen:
+ path_to_brickify: starting_template
+ hooks: true
+ ignore:
+ - .env
+ - .dart_tool/
+ - .idea/
+ - build/
+ - node_modules/
+ - ios/.symlinks/
diff --git a/apps/wyatt_app_template/hooks/post_gen.dart b/apps/wyatt_app_template/hooks/post_gen.dart
new file mode 100644
index 0000000..398a858
--- /dev/null
+++ b/apps/wyatt_app_template/hooks/post_gen.dart
@@ -0,0 +1,39 @@
+// Copyright (C) 2022 WYATT GROUP
+// Please see the AUTHORS file for details.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+
+import 'dart:io';
+
+import 'package:mason/mason.dart';
+
+void removeGitKeepFiles(String targetPath) {
+ if (!FileSystemEntity.isDirectorySync(targetPath)) {
+ throw ArgumentError('Target must be a directory', 'targetPath');
+ }
+
+ Directory(targetPath)
+ .listSync(recursive: true)
+ .whereType()
+ .forEach((file) {
+ if (file.path.contains('.gitkeep')) {
+ file.deleteSync(recursive: true);
+ }
+ });
+}
+
+Future run(HookContext context) async {
+ final workingDirectory = Directory.current.path;
+ removeGitKeepFiles(workingDirectory);
+}
diff --git a/apps/wyatt_app_template/hooks/pubspec.yaml b/apps/wyatt_app_template/hooks/pubspec.yaml
new file mode 100644
index 0000000..454f6df
--- /dev/null
+++ b/apps/wyatt_app_template/hooks/pubspec.yaml
@@ -0,0 +1,7 @@
+name: hooks
+
+environment:
+ sdk: ">=2.18.0 <3.0.0"
+
+dependencies:
+ mason: any
\ No newline at end of file
diff --git a/apps/wyatt_app_template/lib/main_development.dart b/apps/wyatt_app_template/lib/main_development.dart
deleted file mode 100644
index 137498e..0000000
--- a/apps/wyatt_app_template/lib/main_development.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-import 'package:wyatt_app_template/bootstrap.dart';
-import 'package:wyatt_app_template/core/flavors/flavor.dart';
-import 'package:wyatt_app_template/presentation/features/app/app.dart';
-
-void main(List args) {
- // Define environment
- DevelopmentFlavor();
-
- // Initialize environment and variables
- bootstrap(App.new);
-}
diff --git a/apps/wyatt_app_template/lib/main_production.dart b/apps/wyatt_app_template/lib/main_production.dart
deleted file mode 100644
index 525233f..0000000
--- a/apps/wyatt_app_template/lib/main_production.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-import 'package:wyatt_app_template/bootstrap.dart';
-import 'package:wyatt_app_template/core/flavors/flavor.dart';
-import 'package:wyatt_app_template/presentation/features/app/app.dart';
-
-void main(List args) {
- // Define environment
- ProductionFlavor();
-
- // Initialize environment and variables
- bootstrap(App.new);
-}
diff --git a/apps/wyatt_app_template/lib/main_staging.dart b/apps/wyatt_app_template/lib/main_staging.dart
deleted file mode 100644
index b489323..0000000
--- a/apps/wyatt_app_template/lib/main_staging.dart
+++ /dev/null
@@ -1,11 +0,0 @@
-import 'package:wyatt_app_template/bootstrap.dart';
-import 'package:wyatt_app_template/core/flavors/flavor.dart';
-import 'package:wyatt_app_template/presentation/features/app/app.dart';
-
-void main(List args) {
- // Define environment
- StagingFlavor();
-
- // Initialize environment and variables
- bootstrap(App.new);
-}
diff --git a/apps/wyatt_app_template/lib/presentation/shared/widgets/.gitkeep b/apps/wyatt_app_template/lib/presentation/shared/widgets/.gitkeep
deleted file mode 100644
index f94cb6f..0000000
--- a/apps/wyatt_app_template/lib/presentation/shared/widgets/.gitkeep
+++ /dev/null
@@ -1 +0,0 @@
-# just to keep empty folder in brick generation
\ No newline at end of file
diff --git a/apps/wyatt_app_template/.env.example b/apps/wyatt_app_template/starting_template/.env.example
similarity index 100%
rename from apps/wyatt_app_template/.env.example
rename to apps/wyatt_app_template/starting_template/.env.example
diff --git a/apps/wyatt_app_template/.gitignore b/apps/wyatt_app_template/starting_template/.gitignore
similarity index 100%
rename from apps/wyatt_app_template/.gitignore
rename to apps/wyatt_app_template/starting_template/.gitignore
diff --git a/apps/wyatt_app_template/.metadata b/apps/wyatt_app_template/starting_template/.metadata
similarity index 100%
rename from apps/wyatt_app_template/.metadata
rename to apps/wyatt_app_template/starting_template/.metadata
diff --git a/apps/wyatt_app_template/.vscode/launch.json b/apps/wyatt_app_template/starting_template/.vscode/launch.json
similarity index 100%
rename from apps/wyatt_app_template/.vscode/launch.json
rename to apps/wyatt_app_template/starting_template/.vscode/launch.json
diff --git a/apps/wyatt_app_template/.vscode/settings.json b/apps/wyatt_app_template/starting_template/.vscode/settings.json
similarity index 100%
rename from apps/wyatt_app_template/.vscode/settings.json
rename to apps/wyatt_app_template/starting_template/.vscode/settings.json
diff --git a/apps/wyatt_app_template/README.md b/apps/wyatt_app_template/starting_template/README.md
similarity index 100%
rename from apps/wyatt_app_template/README.md
rename to apps/wyatt_app_template/starting_template/README.md
diff --git a/apps/wyatt_app_template/Taskfile.yml b/apps/wyatt_app_template/starting_template/Taskfile.yml
similarity index 100%
rename from apps/wyatt_app_template/Taskfile.yml
rename to apps/wyatt_app_template/starting_template/Taskfile.yml
diff --git a/apps/wyatt_app_template/analysis_options.yaml b/apps/wyatt_app_template/starting_template/analysis_options.yaml
similarity index 100%
rename from apps/wyatt_app_template/analysis_options.yaml
rename to apps/wyatt_app_template/starting_template/analysis_options.yaml
diff --git a/apps/wyatt_app_template/android/.gitignore b/apps/wyatt_app_template/starting_template/android/.gitignore
similarity index 100%
rename from apps/wyatt_app_template/android/.gitignore
rename to apps/wyatt_app_template/starting_template/android/.gitignore
diff --git a/apps/wyatt_app_template/android/app/build.gradle b/apps/wyatt_app_template/starting_template/android/app/build.gradle
similarity index 98%
rename from apps/wyatt_app_template/android/app/build.gradle
rename to apps/wyatt_app_template/starting_template/android/app/build.gradle
index 93ef554..a391659 100644
--- a/apps/wyatt_app_template/android/app/build.gradle
+++ b/apps/wyatt_app_template/starting_template/android/app/build.gradle
@@ -44,7 +44,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
- applicationId "io.wyattapp.new"
+ applicationId "io.wyattapp.start"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion flutter.minSdkVersion
diff --git a/apps/wyatt_app_template/android/app/src/debug/AndroidManifest.xml b/apps/wyatt_app_template/starting_template/android/app/src/debug/AndroidManifest.xml
similarity index 88%
rename from apps/wyatt_app_template/android/app/src/debug/AndroidManifest.xml
rename to apps/wyatt_app_template/starting_template/android/app/src/debug/AndroidManifest.xml
index b7f2933..90c5a3d 100644
--- a/apps/wyatt_app_template/android/app/src/debug/AndroidManifest.xml
+++ b/apps/wyatt_app_template/starting_template/android/app/src/debug/AndroidManifest.xml
@@ -1,5 +1,5 @@
+ package="io.wyattapp.start">
-
+
-
-
+
+
-
+
diff --git a/apps/wyatt_app_template/android/app/src/main/kotlin/io/wyattapp/new/wyatt_app_template/MainActivity.kt b/apps/wyatt_app_template/starting_template/android/app/src/main/kotlin/io/wyattapp/start/MainActivity.kt
similarity index 69%
rename from apps/wyatt_app_template/android/app/src/main/kotlin/io/wyattapp/new/wyatt_app_template/MainActivity.kt
rename to apps/wyatt_app_template/starting_template/android/app/src/main/kotlin/io/wyattapp/start/MainActivity.kt
index 3861c72..894a9e7 100644
--- a/apps/wyatt_app_template/android/app/src/main/kotlin/io/wyattapp/new/wyatt_app_template/MainActivity.kt
+++ b/apps/wyatt_app_template/starting_template/android/app/src/main/kotlin/io/wyattapp/start/MainActivity.kt
@@ -1,4 +1,4 @@
-package io.wyattapp.new.wyatt_app_template
+package io.wyattapp.start
import io.flutter.embedding.android.FlutterActivity
diff --git a/apps/wyatt_app_template/android/app/src/main/res/drawable-v21/launch_background.xml b/apps/wyatt_app_template/starting_template/android/app/src/main/res/drawable-v21/launch_background.xml
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/drawable-v21/launch_background.xml
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/drawable-v21/launch_background.xml
diff --git a/apps/wyatt_app_template/android/app/src/main/res/drawable/launch_background.xml b/apps/wyatt_app_template/starting_template/android/app/src/main/res/drawable/launch_background.xml
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/drawable/launch_background.xml
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/drawable/launch_background.xml
diff --git a/apps/wyatt_app_template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
diff --git a/apps/wyatt_app_template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
diff --git a/apps/wyatt_app_template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
diff --git a/apps/wyatt_app_template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
diff --git a/apps/wyatt_app_template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
diff --git a/apps/wyatt_app_template/android/app/src/main/res/values-night/styles.xml b/apps/wyatt_app_template/starting_template/android/app/src/main/res/values-night/styles.xml
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/values-night/styles.xml
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/values-night/styles.xml
diff --git a/apps/wyatt_app_template/android/app/src/main/res/values/styles.xml b/apps/wyatt_app_template/starting_template/android/app/src/main/res/values/styles.xml
similarity index 100%
rename from apps/wyatt_app_template/android/app/src/main/res/values/styles.xml
rename to apps/wyatt_app_template/starting_template/android/app/src/main/res/values/styles.xml
diff --git a/apps/wyatt_app_template/android/app/src/profile/AndroidManifest.xml b/apps/wyatt_app_template/starting_template/android/app/src/profile/AndroidManifest.xml
similarity index 88%
rename from apps/wyatt_app_template/android/app/src/profile/AndroidManifest.xml
rename to apps/wyatt_app_template/starting_template/android/app/src/profile/AndroidManifest.xml
index b7f2933..90c5a3d 100644
--- a/apps/wyatt_app_template/android/app/src/profile/AndroidManifest.xml
+++ b/apps/wyatt_app_template/starting_template/android/app/src/profile/AndroidManifest.xml
@@ -1,5 +1,5 @@
+ package="io.wyattapp.start">