-
Notifications
You must be signed in to change notification settings - Fork 8
chore: standardize repository structure for monorepo scalability #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
shinaayl
merged 5 commits into
cuesoftinc:main
from
shinaayl:chore/standardize-repo-structure
May 23, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
a51a914
chore: implement standardized monorepo structure and contributor docs
shinaayl eff6e1e
refactor: simplify directory structure and fix folder casing
shinaayl 72d5e39
fix: force folder rename to lowercase 'app' for linux compatibility
shinaayl 4b74c8b
refactor: add .PHONY declarations, dynamic path variables, and help t…
shinaayl 65819ca
fix: force lowercase folder casing for Linux and move CHANGELOG to root
shinaayl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| indent_style = space | ||
| indent_size = 2 | ||
| charset = utf-8 | ||
| trim_trailing_whitespace = true | ||
| insert_final_newline = true |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,6 @@ | ||
| # Apparule Contribution Guide | ||
|
|
||
| 1. Fork and Clone. | ||
| 2. Create a feature branch: git checkout -b feature/name. | ||
| 3. Run 'make setup' to install dependencies. | ||
| 4. Ensure all tests pass before submitting a PR. |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
|
|
||
|
|
||
| # Dynamic path variables to guarantee cross-environment stability | ||
| ROOT_DIR := $(shell pwd) | ||
| FLUTTER_APP_DIR := $(ROOT_DIR)/app/flutter | ||
|
|
||
| # Define default automation target when typing just 'make' | ||
| .DEFAULT_GOAL := help | ||
|
|
||
| # Declare all non-file targets as .PHONY to prevent folder name execution conflicts | ||
| .PHONY: help setup clean get run-chrome test | ||
|
|
||
| ## help: Print out all available automation targets and descriptions | ||
| help: | ||
| @echo "Apparule Monorepo Management Console" | ||
| @echo "Usage: make [target]" | ||
| @echo "" | ||
| @echo "Available Tasks:" | ||
| @sed -n 's/^## //p' $(MAKEFILE_LIST) | column -t -s ':' | sed -e 's/^/ /' | ||
|
|
||
| ## setup: Perform first-time initialization of environment and submodules | ||
| setup: | ||
| @echo "Initializing Monorepo structural environment..." | ||
| cd $(FLUTTER_APP_DIR) && flutter pub get | ||
|
|
||
| ## get: Fetch latest dependency pack packages for the Flutter application | ||
| get: | ||
| @echo "Fetching Flutter dependencies..." | ||
| cd $(FLUTTER_APP_DIR) && flutter pub get | ||
|
|
||
| ## clean: Wipe localized compilation artifacts and build caches safely | ||
| clean: | ||
| @echo "Purging build directories..." | ||
| cd $(FLUTTER_APP_DIR) && flutter clean | ||
|
|
||
| ## run-chrome: Spin up localized preview build server targeted on Google Chrome | ||
| run-chrome: | ||
| @echo "Launching development build on local Chrome instance..." | ||
| cd $(FLUTTER_APP_DIR) && flutter run -d chrome | ||
|
|
||
| ## test: Run structural unit validation suites across core logic elements | ||
| test: | ||
| @echo "Running test suites..." | ||
| cd $(FLUTTER_APP_DIR) && flutter test |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,283 @@ | ||
| import 'dart:async'; | ||
|
|
||
| import 'package:flutter/foundation.dart'; | ||
| import 'package:flutter/widgets.dart'; | ||
| import 'package:flutter_localizations/flutter_localizations.dart'; | ||
| import 'package:intl/intl.dart' as intl; | ||
|
|
||
| import 'app_localizations_en.dart'; | ||
| import 'app_localizations_sq.dart'; | ||
|
|
||
| // ignore_for_file: type=lint | ||
|
|
||
| /// Callers can lookup localized strings with an instance of AppLocalizations | ||
| /// returned by `AppLocalizations.of(context)`. | ||
| /// | ||
| /// Applications need to include `AppLocalizations.delegate()` in their app's | ||
| /// `localizationDelegates` list, and the locales they support in the app's | ||
| /// `supportedLocales` list. For example: | ||
| /// | ||
| /// ```dart | ||
| /// import 'l10n/app_localizations.dart'; | ||
| /// | ||
| /// return MaterialApp( | ||
| /// localizationsDelegates: AppLocalizations.localizationsDelegates, | ||
| /// supportedLocales: AppLocalizations.supportedLocales, | ||
| /// home: MyApplicationHome(), | ||
| /// ); | ||
| /// ``` | ||
| /// | ||
| /// ## Update pubspec.yaml | ||
| /// | ||
| /// Please make sure to update your pubspec.yaml to include the following | ||
| /// packages: | ||
| /// | ||
| /// ```yaml | ||
| /// dependencies: | ||
| /// # Internationalization support. | ||
| /// flutter_localizations: | ||
| /// sdk: flutter | ||
| /// intl: any # Use the pinned version from flutter_localizations | ||
| /// | ||
| /// # Rest of dependencies | ||
| /// ``` | ||
| /// | ||
| /// ## iOS Applications | ||
| /// | ||
| /// iOS applications define key application metadata, including supported | ||
| /// locales, in an Info.plist file that is built into the application bundle. | ||
| /// To configure the locales supported by your app, you’ll need to edit this | ||
| /// file. | ||
| /// | ||
| /// First, open your project’s ios/Runner.xcworkspace Xcode workspace file. | ||
| /// Then, in the Project Navigator, open the Info.plist file under the Runner | ||
| /// project’s Runner folder. | ||
| /// | ||
| /// Next, select the Information Property List item, select Add Item from the | ||
| /// Editor menu, then select Localizations from the pop-up menu. | ||
| /// | ||
| /// Select and expand the newly-created Localizations item then, for each | ||
| /// locale your application supports, add a new item and select the locale | ||
| /// you wish to add from the pop-up menu in the Value field. This list should | ||
| /// be consistent with the languages listed in the AppLocalizations.supportedLocales | ||
| /// property. | ||
| abstract class AppLocalizations { | ||
| AppLocalizations(String locale) | ||
| : localeName = intl.Intl.canonicalizedLocale(locale.toString()); | ||
|
|
||
| final String localeName; | ||
|
|
||
| static AppLocalizations? of(BuildContext context) { | ||
| return Localizations.of<AppLocalizations>(context, AppLocalizations); | ||
| } | ||
|
|
||
| static const LocalizationsDelegate<AppLocalizations> delegate = | ||
| _AppLocalizationsDelegate(); | ||
|
|
||
| /// A list of this localizations delegate along with the default localizations | ||
| /// delegates. | ||
| /// | ||
| /// Returns a list of localizations delegates containing this delegate along with | ||
| /// GlobalMaterialLocalizations.delegate, GlobalCupertinoLocalizations.delegate, | ||
| /// and GlobalWidgetsLocalizations.delegate. | ||
| /// | ||
| /// Additional delegates can be added by appending to this list in | ||
| /// MaterialApp. This list does not have to be used at all if a custom list | ||
| /// of delegates is preferred or required. | ||
| static const List<LocalizationsDelegate<dynamic>> localizationsDelegates = | ||
| <LocalizationsDelegate<dynamic>>[ | ||
| delegate, | ||
| GlobalMaterialLocalizations.delegate, | ||
| GlobalCupertinoLocalizations.delegate, | ||
| GlobalWidgetsLocalizations.delegate, | ||
| ]; | ||
|
|
||
| /// A list of this localizations delegate's supported locales. | ||
| static const List<Locale> supportedLocales = <Locale>[ | ||
| Locale('en'), | ||
| Locale('sq') | ||
| ]; | ||
|
|
||
| /// No description provided for @createAnAccount. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Create an Account'** | ||
| String get createAnAccount; | ||
|
|
||
| /// No description provided for @startYourJourney. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Start your journey toward perfect fits and customized style'** | ||
| String get startYourJourney; | ||
|
|
||
| /// No description provided for @fullName. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Full Name'** | ||
| String get fullName; | ||
|
|
||
| /// No description provided for @nameHint. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Enter your name'** | ||
| String get nameHint; | ||
|
|
||
| /// No description provided for @nameValidation. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Please enter a valid name'** | ||
| String get nameValidation; | ||
|
|
||
| /// No description provided for @emailAddress. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Email'** | ||
| String get emailAddress; | ||
|
|
||
| /// No description provided for @emailHint. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Enter your email address'** | ||
| String get emailHint; | ||
|
|
||
| /// No description provided for @emailValidation. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Please enter a valid email'** | ||
| String get emailValidation; | ||
|
|
||
| /// No description provided for @phoneNumber. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Phone Number'** | ||
| String get phoneNumber; | ||
|
|
||
| /// No description provided for @phoneNumberHint. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Enter your phone number'** | ||
| String get phoneNumberHint; | ||
|
|
||
| /// No description provided for @phoneValidation. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Phone Number must be up to 12 digits'** | ||
| String get phoneValidation; | ||
|
|
||
| /// No description provided for @password. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Password'** | ||
| String get password; | ||
|
|
||
| /// No description provided for @passwordHint. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Enter your password'** | ||
| String get passwordHint; | ||
|
|
||
| /// No description provided for @passwordValidation. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Password must contain an uppercase, lowercase, numeric digit and special character'** | ||
| String get passwordValidation; | ||
|
|
||
| /// No description provided for @requiredField. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'You have to fill all the fields properly.'** | ||
| String get requiredField; | ||
|
|
||
| /// No description provided for @signUp. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Sign Up'** | ||
| String get signUp; | ||
|
|
||
| /// No description provided for @loading. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Loading...'** | ||
| String get loading; | ||
|
|
||
| /// No description provided for @continueWithGoogle. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Continue with Google'** | ||
| String get continueWithGoogle; | ||
|
|
||
| /// No description provided for @alreadyHaveAnAccount. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Already have an account?'** | ||
| String get alreadyHaveAnAccount; | ||
|
|
||
| /// No description provided for @signIn. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Sign In'** | ||
| String get signIn; | ||
|
|
||
| /// No description provided for @verifyYourAccount. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Verify Your Account'** | ||
| String get verifyYourAccount; | ||
|
|
||
| /// No description provided for @howToVerify. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'To verify your account, please choose how you\'d like to receive your verification code'** | ||
| String get howToVerify; | ||
|
|
||
| /// No description provided for @receiveSms. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Receive the code via SMS '** | ||
| String get receiveSms; | ||
|
|
||
| /// No description provided for @receiveEmail. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Receive the code in your email inbox'** | ||
| String get receiveEmail; | ||
|
|
||
| /// No description provided for @next. | ||
| /// | ||
| /// In en, this message translates to: | ||
| /// **'Next'** | ||
| String get next; | ||
| } | ||
|
|
||
| class _AppLocalizationsDelegate | ||
| extends LocalizationsDelegate<AppLocalizations> { | ||
| const _AppLocalizationsDelegate(); | ||
|
|
||
| @override | ||
| Future<AppLocalizations> load(Locale locale) { | ||
| return SynchronousFuture<AppLocalizations>(lookupAppLocalizations(locale)); | ||
| } | ||
|
|
||
| @override | ||
| bool isSupported(Locale locale) => | ||
| <String>['en', 'sq'].contains(locale.languageCode); | ||
|
|
||
| @override | ||
| bool shouldReload(_AppLocalizationsDelegate old) => false; | ||
| } | ||
|
|
||
| AppLocalizations lookupAppLocalizations(Locale locale) { | ||
| // Lookup logic when only language code is specified. | ||
| switch (locale.languageCode) { | ||
| case 'en': | ||
| return AppLocalizationsEn(); | ||
| case 'sq': | ||
| return AppLocalizationsSq(); | ||
| } | ||
|
|
||
| throw FlutterError( | ||
| 'AppLocalizations.delegate failed to load unsupported locale "$locale". This is likely ' | ||
| 'an issue with the localizations generation tool. Please file an issue ' | ||
| 'on GitHub with a reproducible sample app and the gen-l10n configuration ' | ||
| 'that was used.'); | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.