From b7b338a616dcaab3854036df57a9150a8bd393c9 Mon Sep 17 00:00:00 2001 From: dev Date: Wed, 6 May 2026 22:01:59 +0200 Subject: [PATCH] Add $soma / $sema / $morfo / $eidos aliases for the suix layers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `src/suix/` hosts the in-progress uix rewrite split into four sibling modules. Each one gets its own short alias instead of an umbrella `$uix`, mirroring the rest of the alias map (`$adom`, `$lang`, `$prefs`, …) — no umbrella that would create two valid paths to the same destination. `$adom` is intentionally NOT included in the suix map: the reactive DOM service still lives at `src/arts/adom/` and is consumed via the existing `$adom` alias. Effect (measured against suix typecheck, src/suix/ remains untracked so the import-site rewrites do not appear in this commit): - "Cannot find module" errors inside src/suix dropped from 110+ to 24. - Residual unresolved imports map to targets that genuinely don't exist in the repo and need a separate decision: `$lib/util/dias`, `$lib/util/colors`, `$langs`, `$lib/sium/svelte` (SiumProvider), `$uix/air` (Button). Co-Authored-By: Claude Opus 4.7 (1M context) --- svelte.config.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/svelte.config.js b/svelte.config.js index 141b7eb..4728e96 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -42,7 +42,18 @@ const config = { $sium: 'src/arts/sium', $storage: 'src/arts/storage', $svrs: 'src/svrs', - $timer: 'src/arts/timer' + $timer: 'src/arts/timer', + + // suix layers — uix is being re-homed under src/suix/ during + // the rewrite. Each layer gets its own short alias; no + // umbrella `$uix` because `$adom` already lives at + // `src/arts/adom` and we don't want two paths to the same + // destination. suix code imports `$adom` directly when it + // needs the reactive DOM service. + $eidos: 'src/suix/eidos', + $morfo: 'src/suix/morfo', + $sema: 'src/suix/sema', + $soma: 'src/suix/soma' } } };