Skip to content

feat: add layer aliases convention - #10

Open
beautyfree wants to merge 1 commit into
feature-sliced:mainfrom
beautyfree:codex/layer-convention
Open

feat: add layer aliases convention#10
beautyfree wants to merge 1 commit into
feature-sliced:mainfrom
beautyfree:codex/layer-convention

Conversation

@beautyfree

@beautyfree beautyfree commented Jul 9, 2026

Copy link
Copy Markdown

Summary

  • add optional LayerConvention with layerAliases
  • map one project-specific folder name to a canonical FSD layer
  • let traversal helpers resolve the configured alias while preserving canonical layer names in the returned API
  • keep default behavior unchanged

Tests

  • pnpm typecheck
  • pnpm exec vitest run
  • pnpm build

Add optional LayerConvention support to layer traversal helpers so projects can map custom folder names to canonical FSD layers without changing default behavior.

Tests: pnpm typecheck; pnpm exec vitest run; pnpm build
Codex: implemented convention API, tests, and verification.
@beautyfree
beautyfree force-pushed the codex/layer-convention branch from e077d45 to 062f6b5 Compare July 9, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant