Skip to content

chore: export rbac/crud/shell composers symmetrically + refresh compose comments#199

Merged
suleimansh merged 1 commit into
mainfrom
chore/export-composers-symmetric
Jul 4, 2026
Merged

chore: export rbac/crud/shell composers symmetrically + refresh compose comments#199
suleimansh merged 1 commit into
mainfrom
chore/export-composers-symmetric

Conversation

@suleimansh

Copy link
Copy Markdown
Member

Pass-3 hygiene over the compose-personas work. Typecheck + tests green (ai-autopilot 265, framework 57).

Dead-code scan: clean

No unused exports, no unreferenced personas/presets, no orphaned test helpers. Every export resolves to a real consumer (examples/tests/presets). The vike-* packages are still private/0.0.0 and absent from npm, so the "resolves only inside the vike-data workspace" persona notes are accurate and were left untouched.

What changed

  • Export symmetry. vikeRbacComposer / vikeCrudComposer / vikeShellComposer are now re-exported individually from personas/index.ts and the package root, matching vikeAuthComposer / vikeDataModeler. They were previously reachable only through the vikeExtensionPersonas array. New public exports, so this ships a minor changeset.
  • Stale comments. Two comments in framework/src/run.ts (the composeExtensions JSDoc and an inline note) still described the compose set as "vike-auth only"; refreshed to name the full set (data, auth, rbac, crud, themes/layouts).

Closes #198

…se comments

vikeAuthComposer and vikeDataModeler were re-exported individually from both
barrels, but their peers vikeRbacComposer/vikeCrudComposer/vikeShellComposer
were only reachable via the vikeExtensionPersonas array. Export the three for
symmetry so a consumer can cherry-pick any built-in extension composer.

Also refresh two stale comments in run.ts that still described the compose set
as vike-auth only; it now frames data, auth, rbac, crud, and themes/layouts.

Closes #198
@suleimansh suleimansh added enhancement New feature or request priority: low Nice to have / latent labels Jul 4, 2026
@suleimansh suleimansh self-assigned this Jul 4, 2026
@suleimansh suleimansh merged commit 93892d7 into main Jul 4, 2026
2 checks passed
@suleimansh suleimansh deleted the chore/export-composers-symmetric branch July 4, 2026 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request priority: low Nice to have / latent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Export the rbac/crud/shell composers symmetrically + refresh stale compose comments

1 participant