chore: Refactor mobile build scripts to use Melos

Updated Makefile, mobile.mk, and melos.yaml to centralize mobile app build, start, and code generation commands using Melos scripts. Added info and install-melos commands for easier onboarding and workspace setup. Documentation updated to reflect staff app naming and new command structure.
This commit is contained in:
Achintha Isuru
2026-01-22 10:55:46 -05:00
parent cf59935ec8
commit ecc7aece6e
6 changed files with 168 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
# KROW Workforce Platform - Project Onboarding Master Document
> **Version:** 1.0
> **Last Updated:** 2026-01-11
> **Version:** 1.1
> **Last Updated:** 2026-01-22
> **Purpose:** Source of Truth for Team Onboarding & Sprint Planning
---
@@ -173,7 +173,7 @@ graph TB
│ ├── mobile/
| | ├── apps/
| | │ ├── client/ # Flutter (business app)
| | │ └── worker/ # Flutter (worker app)
| | │ └── staff/ # Flutter (staff app)
├── backend/
│ ├── dataconnect/ # Firebase Data Connect schemas
│ └── functions/ # Cloud Functions
@@ -312,7 +312,7 @@ sequenceDiagram
participant Client as Client App
participant API as Backend API
participant Admin as Admin
participant Staff as Worker App
participant Staff as Staff App
Note over Client,API: 1. Event Creation
Client->>API: Create Event with Shifts & Positions
@@ -706,9 +706,9 @@ These **must be ported** from legacy:
---
#### 4.7.2 Mobile Worker App (Flutter)
#### 4.7.2 Mobile Staff App (Flutter)
**Location:** `internal/launchpad/prototypes-src/mobile/apps/worker/`
**Location:** `internal/launchpad/prototypes-src/mobile/apps/staff/`
**Routes (35+ screens):**