Skip to content

Introduce domain-first src/ui and src/app layout; update build config and scripts#1080

Merged
stefan-burke merged 10 commits into
mainfrom
codex/reorganize-repository-structure
Apr 30, 2026
Merged

Introduce domain-first src/ui and src/app layout; update build config and scripts#1080
stefan-burke merged 10 commits into
mainfrom
codex/reorganize-repository-structure

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

Motivation

  • Introduce a domain-first layout to separate runtime entrypoints (src/app) and UI assets (src/ui/*) to support an incremental migration and clearer boundaries.
  • Update tooling, build scripts and import maps to reference the new locations for client bundles, static assets and templates.

Description

  • Move UI code from src/client, src/static, and src/templates into a new src/ui subtree and update references across the codebase.
  • Add new runtime bootstraps src/app/index.ts and src/app/edge.ts and make src/index.ts and src/edge.ts lightweight backwards-compatible import wrappers.
  • Update build and helper scripts to use the new paths (scripts/build-static-assets.ts, scripts/build-edge.ts, scripts/find-unused-src.ts) and inline static asset reads from src/ui/static.
  • Update project configuration and tooling: deno.json, biome.json, and tsconfig.json import paths, lint/format excludes, and override entries; add REPO_STRUCTURE.md and link it from README.md.

Testing

  • No automated tests were executed as part of this change; CI is expected to run the standard test and lint suites (for example deno task test and deno task lint).

Codex Task

stefan-burke and others added 9 commits April 26, 2026 19:30
Resolve all merge conflicts from repository reorganization:
- Keep #shared/ and #features/ import paths (reorganized structure)
- Remove duplicate #lib/ imports from main
- Accept new files (band-name-generator, ticket-events) at reorganized locations
- Merge test updates with new import paths
@stefan-burke stefan-burke enabled auto-merge April 30, 2026 00:10
@stefan-burke stefan-burke added this pull request to the merge queue Apr 30, 2026
Merged via the queue into main with commit 94fd01c Apr 30, 2026
2 checks passed
@stefan-burke stefan-burke deleted the codex/reorganize-repository-structure branch April 30, 2026 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant