diff --git a/.changeset/small-mirrors-kiss.md b/.changeset/small-mirrors-kiss.md new file mode 100644 index 00000000..4ac1b967 --- /dev/null +++ b/.changeset/small-mirrors-kiss.md @@ -0,0 +1,5 @@ +--- +"@git-validator/tsconfig": patch +--- + +feat(tsconfig): optimize tsconfig init template diff --git a/packages/tsconfig/src/cli.js b/packages/tsconfig/src/cli.js index ec27a4db..93df3af2 100755 --- a/packages/tsconfig/src/cli.js +++ b/packages/tsconfig/src/cli.js @@ -7,7 +7,7 @@ import { Command } from "commander"; const generatingTsconfigContent = `{ "extends": "${process.env["TSCONFIG_EXTENDS"] ?? "@git-validator/tsconfig"}", "include": ["src"], - "exclude": ["**/*.spec.?s", "**/*.test.?s"], + "exclude": ["**/*.spec.ts", "**/*.test.ts"], "compilerOptions": { "outDir": "dist" }