Skip to content

Conversation

@jahands
Copy link
Collaborator

@jahands jahands commented May 12, 2025

It can be confusing switching between 16 files named 'index.ts', or 3 files named workers.ts. This change renames common files to have suffixes such as .types.ts, .api.ts, etc. to make it easier to work across files in the monorepo.

Each change is done in a separate commit and I ran type checks after each one to ensure it works.

Examples

Before

CleanShot_2025-05-12T09-17-25_Cursor@2x

After

CleanShot_2025-05-12T09-22-12_Cursor@2x

Before

While the directory is included, it's still slower for me to select the correct index.ts file:
CleanShot_2025-05-12T09-14-32_Cursor@2x

After

CleanShot_2025-05-12T09-22-42_Cursor@2x
It's so easy to filter on files for a specific app now:
CleanShot_2025-05-12T09-24-08_Cursor@2x

Before

In the age of AI chats, this becomes especially annoying:
CleanShot_2025-05-12T09-16-35_Cursor@2x
(note: not a real prompt)

After

AI prompts are much easier to read:
CleanShot_2025-05-12T09-21-26_Cursor@2x

@cmsparks
Copy link
Contributor

ty for the cleanup 🙏

@jahands jahands merged commit cf3771b into main May 12, 2025
6 checks passed
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.

3 participants