Repository navigation
refactor: move code into features, components and types - #27
Merged
Merged
Conversation
Kebab-case file names, a components barrel, one index.ts per feature (posts, markdown, resume, theme, command-palette), domain types in src/types, and named exports for Header, PostCard and SearchPosts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DZqAJbwwPeQSQFaPLDDSfr
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Part 1 of 7 of a stack that brings
src/to the project-structure rules (helderberto/dotfiles#13):@alias, components barrel, deep feature modules,views/, sharedhooks/,types/,lib/wrappers, kebab-case files, named exports, sibling tests. Each PR is based on the one below it. No behaviour or visual change in any of them.Summary
src/componentsbehindindex.ts; posts, markdown, resume, theme and command-palette becomesrc/features/*, each entered through itsindex.ts.Post,Headingand resume types move tosrc/types.Header,PostCardandSearchPostsswitch from default to named exports.Evidence
tscand ESLint clean.vi.spyOnon a feature's barrel (@/features/posts) still stubs the page's calls.mainin part 7.Merge danger
Door: two-way
Blast radius: site-wide
Generated by Claude Code