chore: migriere profile-feature Modul auf Module Structure Blueprint, aktualisiere group, füge wasmJsMain Dependency hinzu, dokumentiere Änderungen
This commit is contained in:
parent
2e7078424d
commit
58454ec9af
|
|
@ -0,0 +1,26 @@
|
|||
# Journal-Eintrag: Migration profile-feature (Blueprint-Konformität)
|
||||
|
||||
**Datum:** 19. April 2026
|
||||
**Agent:** 🏗️ [Lead Architect] | 🧹 [Curator]
|
||||
|
||||
## 🎯 Ziel
|
||||
Migration des Moduls `frontend/features/profile-feature` auf den neuen **Module Structure Blueprint** (Klasse B: `UI_COMPONENT`).
|
||||
|
||||
## 🛠️ Durchgeführte Änderungen
|
||||
|
||||
### 1. Gradle-Konfiguration (`build.gradle.kts`)
|
||||
- **Group-ID:** Geändert von `at.mocode.clients` auf `at.mocode.frontend.features` zur Vereinheitlichung des Namensraums.
|
||||
- **WasmJS-Support:** Das `wasmJsMain` Source-Set wurde um die `kotlin.stdlib.wasm.js` Dependency ergänzt.
|
||||
|
||||
### 2. Strukturelle Anpassungen
|
||||
- **Topologie:** Physische Verzeichnisse für die Plattform-Source-Sets angelegt, um die "Consistency Rule" zu erfüllen:
|
||||
- `src/jvmMain/kotlin/at/mocode/frontend/features/profile/`
|
||||
- `src/wasmJsMain/kotlin/at/mocode/frontend/features/profile/`
|
||||
- **Paket-Struktur:** Die bestehende Struktur in `commonMain` (`at.mocode.frontend.features.profile`) wurde als korrekt verifiziert.
|
||||
|
||||
## ✅ Validierung
|
||||
- `./gradlew :frontend:features:profile-feature:assemble` erfolgreich ausgeführt.
|
||||
- KMP-Kompilierung für JVM und WasmJS sichergestellt.
|
||||
|
||||
## 🏁 Status
|
||||
Das Modul ist nun vollständig konform mit den Architektur-Vorgaben für Feature-Module (Klasse B).
|
||||
|
|
@ -12,7 +12,7 @@ plugins {
|
|||
alias(libs.plugins.kotlinSerialization)
|
||||
}
|
||||
|
||||
group = "at.mocode.clients"
|
||||
group = "at.mocode.frontend.features"
|
||||
version = "1.0.0"
|
||||
|
||||
kotlin {
|
||||
|
|
@ -61,5 +61,9 @@ kotlin {
|
|||
implementation(libs.ktor.client.cio)
|
||||
implementation(compose.uiTooling)
|
||||
}
|
||||
|
||||
wasmJsMain.dependencies {
|
||||
implementation(libs.kotlin.stdlib.wasm.js)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user