Skip to content

Conversation

@jiyeonLeeLuda
Copy link
Contributor

@jiyeonLeeLuda jiyeonLeeLuda commented Nov 23, 2025

Summary

Fix an invalid trailing comma in tsconfig.json.ejs inside the CRA template.

Details

While reviewing the template files, I found that the CRA version of
tsconfig.json.ejs contains a trailing comma inside the paths field,
which makes the resulting JSON invalid.

Note

The CRA template is currently registered in the CLI codebase,
but it does not appear as a selectable template option
(typescript, javascript, and file-router are the only active options).
Because of this, the CRA template is not used during project generation,
so I wasn’t able to validate the fix through a generated project.

Still, the template file itself contains a clear JSON syntax issue,
so this PR removes the trailing comma.

Changes

  • Remove trailing comma from paths in tsconfig.json.ejs.

Thanks!

@jiyeonLeeLuda jiyeonLeeLuda force-pushed the fix/remove-trailing-comma-in-tsconfig-template branch from e7ee595 to b7b1bb4 Compare November 23, 2025 08:08
@jherr jherr merged commit 9aabab0 into TanStack:main Nov 25, 2025
@jiyeonLeeLuda jiyeonLeeLuda deleted the fix/remove-trailing-comma-in-tsconfig-template branch November 25, 2025 23:37
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.

2 participants