create-typescript-app 2.21.2 → 2.21.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -67,7 +67,9 @@ const blockVitest = base.createBlock({
|
|
|
67
67
|
},
|
|
68
68
|
produce({ addons }) {
|
|
69
69
|
const { actionSteps, coverage, exclude = [] } = addons;
|
|
70
|
-
const excludeText = JSON.stringify(
|
|
70
|
+
const excludeText = JSON.stringify(
|
|
71
|
+
Array.from(/* @__PURE__ */ new Set(["node_modules", ...exclude])).sort()
|
|
72
|
+
);
|
|
71
73
|
return {
|
|
72
74
|
addons: [
|
|
73
75
|
blockCSpell({
|
|
@@ -226,7 +228,7 @@ export default defineConfig({
|
|
|
226
228
|
` : ""}include: ${JSON.stringify(coverage.include)},
|
|
227
229
|
reporter: ["html", "lcov"],
|
|
228
230
|
},
|
|
229
|
-
exclude: [${excludeText.slice(1, excludeText.length - 1)}
|
|
231
|
+
exclude: [${excludeText.slice(1, excludeText.length - 1)}],
|
|
230
232
|
setupFiles: ["console-fail-test/setup"],
|
|
231
233
|
},
|
|
232
234
|
});
|