Merge branch 'dev' into 408-feature-implement-paidunpaid-breaks---client-app-frontend-development

This commit is contained in:
Achintha Isuru
2026-02-17 16:35:18 -05:00
32 changed files with 770 additions and 272 deletions

View File

@@ -71,6 +71,7 @@ make mobile-staff-dev-android DEVICE=<device_id>
- **Bootstrap**: `melos bootstrap` (Installs all dependencies)
- **Generate All**: `melos run gen:all` (Localization + Code Generation)
- **Analyze**: `melos run analyze:all`
- **Test**: `melos run test:all`
- **Help**: `melos run info` (Shows all available custom scripts)
## 🏗 Coding Principles

View File

@@ -0,0 +1,7 @@
import 'package:flutter_test/flutter_test.dart';
void main() {
test('client smoke test', () {
expect(2 + 2, 4);
});
}

View File

@@ -0,0 +1,7 @@
import 'package:flutter_test/flutter_test.dart';
void main() {
test('staff smoke test', () {
expect(2 + 2, 4);
});
}

View File

@@ -78,6 +78,18 @@ melos:
packageFilters:
dependsOn: build_runner
analyze:all:
run: |
melos exec --scope="krowwithus_client" -- "flutter analyze"
melos exec --scope="krowwithus_staff" -- "flutter analyze"
description: "Run flutter analyze for both client and staff apps."
test:all:
run: |
melos exec --scope="krowwithus_client" -- "flutter test"
melos exec --scope="krowwithus_staff" -- "flutter test"
description: "Run flutter tests for both client and staff apps."
build:client:
run: |
melos run gen:l10n --filter="core_localization"