Add $soma / $sema / $morfo / $eidos aliases for the suix layers

`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) <noreply@anthropic.com>
master
dev 5 months ago
parent 7603823696
commit b7b338a616

@ -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'
}
}
};

Loading…
Cancel
Save

Powered by TurnKey Linux.