Skip to content

Commit 2f3c4d7

Browse files
committed
fix(create): ignore transient vitest unconfig files in templates
Fixes #345
1 parent da783e9 commit 2f3c4d7

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.changeset/tiny-carrots-sit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tanstack/create": patch
3+
---
4+
5+
Ignore transient `__unconfig*` files in generated React and Solid app `.gitignore` templates to prevent VS Code Vitest Explorer startup errors caused by temporary config files.

packages/create/src/frameworks/react/project/base/_dot_gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ count.txt
1010
.wrangler
1111
.output
1212
.vinxi
13+
__unconfig*
1314
todos.json

packages/create/src/frameworks/solid/project/base/_dot_gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ dist-ssr
99
.wrangler
1010
.output
1111
.vinxi
12+
__unconfig*
1213
count.txt

0 commit comments

Comments
 (0)