chore: migriere core/navigation Modul auf Module Structure Blueprint, aktualisiere group und füge wasmJsMain Dependency hinzu

This commit is contained in:
Stefan Mogeritsch 2026-04-19 16:48:33 +02:00
parent 0e694341b8
commit cb6db36adb
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,30 @@
# 📓 Journal-Eintrag: Core-Navigation Blueprint Migration
## 🏗️ [Lead Architect] | 🎨 [Frontend Expert] | 🧹 [Curator]
**Datum:** 2026-04-19
**Status:** ✅ Abgeschlossen
### 🎯 Ziel
Migration des `frontend/core/navigation` Moduls auf den neuen **Module Structure Blueprint** (Klasse B: `UI_COMPONENT`, da es die Navigationslogik für die UI-Shells bereitstellt).
### 🛠️ Durchgeführte Änderungen
1. **Gradle Konfiguration (`build.gradle.kts`):**
* `group` auf `at.mocode.frontend.core` gesetzt (Konsistenz mit anderen Core-Modulen).
* `version` auf `1.0.0` gesetzt.
* `jvmMain` und `wasmJsMain` Source-Sets konfiguriert.
* `kotlin.stdlib.wasm.js` als Dependency für WasmJS hinzugefügt.
2. **Strukturelle Anpassungen:**
* Verzeichnisse `src/jvmMain/kotlin/at/mocode/frontend/core/navigation/` und `src/wasmJsMain/kotlin/at/mocode/frontend/core/navigation/` erstellt, um die Blueprint "Consistency Rule" zu erfüllen.
* Die Paketstruktur war bereits vorbildlich konsistent.
3. **Verifizierung:**
* `./gradlew :frontend:core:navigation:assemble` wurde erfolgreich ausgeführt.
### 🚩 Nächste Schritte
* Migration der verbleibenden Core-Module (`network`, `sync`).
* Batch-Anpassung der Group-IDs in den Feature-Modulen (`at.mocode.frontend.features`).
---
*Dokumentiert durch den Curator.*

View File

@ -9,7 +9,7 @@ plugins {
alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.kotlinMultiplatform)
} }
group = "at.mocode.clients.shared" group = "at.mocode.frontend.core"
version = "1.0.0" version = "1.0.0"
kotlin { kotlin {
@ -30,6 +30,15 @@ kotlin {
implementation(projects.frontend.core.domain) implementation(projects.frontend.core.domain)
implementation(libs.kotlinx.coroutines.core) implementation(libs.kotlinx.coroutines.core)
} }
jvmMain.dependencies {
// Reserviert für Plattform-spezifische Navigation (z.B. Window-Management)
}
wasmJsMain.dependencies {
implementation(libs.kotlin.stdlib.wasm.js)
}
commonTest.dependencies { commonTest.dependencies {
implementation(libs.kotlin.test) implementation(libs.kotlin.test)
} }