chore: initialize @limitless/ui git repo + add AppShell

This brings the long-untracked @limitless/ui source tree under version
control. Until now /srv/k8s/templates/limitless-ui has been a plain
file: dependency consumed by gscChronos / gscCRM / gscAdmin, with
copies scattered across web/gsc{Portal,WWW,Aether,Register}/ and
apps/gsc{Meet,Share}/. None were git-tracked.

Treating /srv/k8s/templates/limitless-ui as the canonical going
forward; secondary copies should be replaced with this version
in their consumers' Dockerfiles when they next get touched.

Changes in this initial commit beyond the snapshot:
- Add src/layout/AppShell.tsx — runtime-loaded chrome (header,
  sidebar, footer) backed by gsc-shell-api. Public surface:
    AppShell, ShellProvider, useShell, ShellConfig types
  Framework-agnostic (no Next.js dep). Apps pass appKey + apiUrl +
  getToken; AppShell composes the existing PageShell / Navbar /
  Sidebar / Footer primitives with API data.
- Re-export AppShell from src/index.ts.
- Fix build script: `tsc -p tsconfig.json --noEmit false`. The bare
  `tsc` command was a no-op because tsconfig.json sets noEmit:true
  for typecheck speed. Existing dist/ only existed because of an
  earlier emit; clean rebuilds were silently broken.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude
2026-05-10 09:42:57 +02:00
commit cf068ce4ec
115 changed files with 36542 additions and 0 deletions

1
.next/trace Normal file
View File

@@ -0,0 +1 @@
[{"name":"generate-buildid","duration":378,"timestamp":2264145597921,"id":4,"parentId":1,"tags":{},"startTime":1770907518509,"traceId":"40900b3762bb777b"},{"name":"load-custom-routes","duration":863,"timestamp":2264145598524,"id":5,"parentId":1,"tags":{},"startTime":1770907518509,"traceId":"40900b3762bb777b"},{"name":"create-dist-dir","duration":716,"timestamp":2264145599441,"id":6,"parentId":1,"tags":{},"startTime":1770907518510,"traceId":"40900b3762bb777b"},{"name":"clean","duration":857,"timestamp":2264145601721,"id":7,"parentId":1,"tags":{},"startTime":1770907518513,"traceId":"40900b3762bb777b"},{"name":"collect-pages","duration":2777,"timestamp":2264145629026,"id":8,"parentId":1,"tags":{},"startTime":1770907518540,"traceId":"40900b3762bb777b"},{"name":"create-pages-mapping","duration":843,"timestamp":2264145680225,"id":9,"parentId":1,"tags":{},"startTime":1770907518591,"traceId":"40900b3762bb777b"},{"name":"generate-route-types","duration":16384,"timestamp":2264145681474,"id":10,"parentId":1,"tags":{},"startTime":1770907518592,"traceId":"40900b3762bb777b"},{"name":"public-dir-conflict-check","duration":1373,"timestamp":2264145698029,"id":11,"parentId":1,"tags":{},"startTime":1770907518609,"traceId":"40900b3762bb777b"},{"name":"generate-routes-manifest","duration":2758,"timestamp":2264145699647,"id":12,"parentId":1,"tags":{},"startTime":1770907518610,"traceId":"40900b3762bb777b"},{"name":"run-typescript","duration":6899691,"timestamp":2264145702908,"id":13,"parentId":1,"tags":{},"startTime":1770907518614,"traceId":"40900b3762bb777b"},{"name":"run-turbopack","duration":433948,"timestamp":2264152608591,"id":15,"parentId":1,"tags":{},"startTime":1770907525519,"traceId":"40900b3762bb777b"},{"name":"next-build","duration":7472002,"timestamp":2264145570565,"id":1,"tags":{"buildMode":"default","version":"16.1.6","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1770907518481,"traceId":"40900b3762bb777b"}]