Skip to content

refactor: split packages/ui/scripts/build-manifest.ts (1719 lines) into focused modules #625

Closed

Description

@mvilacad

packages/ui/scripts/build-manifest.ts is 1719 lines and mixes component extraction, non-component exports, tokens, surfaces, guides, demos, styling, markdown writers and the CLI.

Split into focused modules under packages/ui/scripts/manifest/ (components, exports, tokens, guides, demos, styling, migrations/writers) and keep build-manifest.ts as a thin CLI entry that re-exports the public API its importers use.

Proof: generated outputs are byte-identical before and after (dist/*.json, .agents/skills/codeatlas-ui/API.md, DEMOS.md, MIGRATION.md, site/public/api/v1/**, site/public/gallery/**), and the manifest tests stay green.

Activity

  1. added
    enhancementNew feature or request
    area:teststest infra, flakes, CI
    in progressSomeone is working on it (see the linked draft PR)
    on Oct 25, 2026
  2. self-assigned this
    on Oct 25, 2026
  3. mvilacad commented on Oct 25, 2026

    @mvilacad
    ContributorAuthor

    Working on this in #627 (draft). Branch feat/625-refactor-split-packages-ui-scripts-build. Regression test first, then the fix.

  4. removed
    in progressSomeone is working on it (see the linked draft PR)
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:teststest infra, flakes, CIenhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions