From 4b38752fc982fa0dc506357117deb8cb1dda0c8e Mon Sep 17 00:00:00 2001 From: John Date: Wed, 14 Aug 2024 19:55:04 +0100 Subject: [PATCH 1/2] feat: include vitest.explorer VS Code extension --- src/steps/writing/creation/dotVSCode.test.ts | 6 ++++-- src/steps/writing/creation/dotVSCode.ts | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/steps/writing/creation/dotVSCode.test.ts b/src/steps/writing/creation/dotVSCode.test.ts index 004b0f923..767fa2fac 100644 --- a/src/steps/writing/creation/dotVSCode.test.ts +++ b/src/steps/writing/creation/dotVSCode.test.ts @@ -103,7 +103,8 @@ describe("createDotVSCode", () => { "DavidAnson.vscode-markdownlint", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", - "streetsidesoftware.code-spell-checker" + "streetsidesoftware.code-spell-checker", + "vitest.explorer" ] } ", @@ -177,7 +178,8 @@ describe("createDotVSCode", () => { "DavidAnson.vscode-markdownlint", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", - "streetsidesoftware.code-spell-checker" + "streetsidesoftware.code-spell-checker", + "vitest.explorer" ] } ", diff --git a/src/steps/writing/creation/dotVSCode.ts b/src/steps/writing/creation/dotVSCode.ts index 265243491..39a74fee1 100644 --- a/src/steps/writing/creation/dotVSCode.ts +++ b/src/steps/writing/creation/dotVSCode.ts @@ -10,6 +10,7 @@ export async function createDotVSCode(options: Options) { "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", !options.excludeLintSpelling && "streetsidesoftware.code-spell-checker", + !options.excludeTests && "vitest.explorer", ].filter(Boolean), }), ...(options.excludeTests && !options.bin From a7128e472f3c9925afaf3f43e4d8f772885ae67c Mon Sep 17 00:00:00 2001 From: John Date: Wed, 14 Aug 2024 20:05:13 +0100 Subject: [PATCH 2/2] fix: migration test I hope --- .vscode/extensions.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 095512a0b..1f22a4e78 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -3,6 +3,7 @@ "DavidAnson.vscode-markdownlint", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", - "streetsidesoftware.code-spell-checker" + "streetsidesoftware.code-spell-checker", + "vitest.explorer" ] }