Problem
The file fix-routes.js in the root directory is a CommonJS script that was used to retroactively add generic type parameters to route definitions. It uses String.replace with no regex, so it only patches the first occurrence of each pattern.
This is a one-off migration script that should not be in the repository -- it's confusing and could accidentally re-run.
Fix
Delete the file:
Scope
Acceptance Criteria
- File is removed from repository
- No functionality is affected
.gitignore updated if needed
Technical Context
fix-routes.js -- stale migration script
Problem
The file
fix-routes.jsin the root directory is a CommonJS script that was used to retroactively add generic type parameters to route definitions. It usesString.replacewith no regex, so it only patches the first occurrence of each pattern.This is a one-off migration script that should not be in the repository -- it's confusing and could accidentally re-run.
Fix
Delete the file:
Scope
fix-routes.jsAcceptance Criteria
.gitignoreupdated if neededTechnical Context
fix-routes.js-- stale migration script