Skip to content

Conversation

@thruflo
Copy link
Contributor

@thruflo thruflo commented Nov 28, 2025

Update the committed routes file to match the latest TanStack Router output (having upgraded the deps to fix the scaffolding). This avoids the local build looking like it has changed the generated file when actually it hasn't.

Previously the generated file was being linted on commit, which was causing the local generated file to look like it needed to be staged because the committed version had different quotes. This now has the committed file matching the default quote syntax of the correct TanStack Router version.


From the oracle of Claude:

This is NOT a linting/prettier issue. The TanStack Router generator itself uses prettier internally to format the
generated routeTree.gen.ts. The default quoteStyle changed to "single" in a recent version.

Your committed file was generated with an older version that defaulted to double quotes. The current version
generates single quotes.

@codecov
Copy link

codecov bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.20%. Comparing base (a208273) to head (edfe016).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3522      +/-   ##
==========================================
- Coverage   75.42%   75.20%   -0.22%     
==========================================
  Files          51       51              
  Lines        2743     2743              
  Branches      404      405       +1     
==========================================
- Hits         2069     2063       -6     
- Misses        672      678       +6     
  Partials        2        2              
Flag Coverage Δ
electric-telemetry 22.71% <ø> (ø)
elixir 57.38% <ø> (-0.36%) ⬇️
elixir-client 73.94% <ø> (-0.53%) ⬇️
packages/experimental 87.73% <ø> (-1.23%) ⬇️
packages/react-hooks 86.48% <ø> (ø)
packages/typescript-client 93.07% <ø> (ø)
packages/y-electric 55.12% <ø> (ø)
typescript 87.45% <ø> (-0.13%) ⬇️
unit-tests 75.20% <ø> (-0.22%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@thruflo thruflo merged commit ce7f563 into main Nov 28, 2025
47 checks passed
@thruflo thruflo deleted the thruflo/fix-generated-route-file branch November 28, 2025 23:15
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