diff --git a/packages/class-variant/tsconfig.json b/packages/class-variant/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/class-variant/tsconfig.json +++ b/packages/class-variant/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/create/src/bin/index.ts b/packages/create/src/bin/index.ts index 15b7c3696..5de5cd28a 100644 --- a/packages/create/src/bin/index.ts +++ b/packages/create/src/bin/index.ts @@ -4,6 +4,7 @@ import { resolve } from 'node:path' import { Command } from 'commander' import { readJSONFileSync } from '@techor/fs' import log from '@techor/log' +// @ts-expect-error https://github.com/egoist/detect-package-manager/pull/15 import { detect as detectPackageManager, PM } from 'detect-package-manager' import detectAppExt from '../detect-app-ext' import detectAppTech from '../detect-app-tech' diff --git a/packages/create/tests/ts/tsconfig.json b/packages/create/tests/ts/tsconfig.json index 2cb17e7b0..b1aac1f3d 100644 --- a/packages/create/tests/ts/tsconfig.json +++ b/packages/create/tests/ts/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } diff --git a/packages/create/tsconfig.json b/packages/create/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/create/tsconfig.json +++ b/packages/create/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/css/tsconfig.json b/packages/css/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/css/tsconfig.json +++ b/packages/css/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/extractor.vite/tsconfig.json b/packages/extractor.vite/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/extractor.vite/tsconfig.json +++ b/packages/extractor.vite/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/extractor.webpack/tsconfig.json b/packages/extractor.webpack/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/extractor.webpack/tsconfig.json +++ b/packages/extractor.webpack/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/extractor/tsconfig.json b/packages/extractor/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/extractor/tsconfig.json +++ b/packages/extractor/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/language-server/tsconfig.json b/packages/language-server/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/language-server/tsconfig.json +++ b/packages/language-server/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/language-service/tsconfig.json b/packages/language-service/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/language-service/tsconfig.json +++ b/packages/language-service/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/runtime/tsconfig.json b/packages/runtime/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/runtime/tsconfig.json +++ b/packages/runtime/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/server/tsconfig.json b/packages/server/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/server/tsconfig.json +++ b/packages/server/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/theme-service/tsconfig.json b/packages/theme-service/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/theme-service/tsconfig.json +++ b/packages/theme-service/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/validator/tsconfig.json b/packages/validator/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/validator/tsconfig.json +++ b/packages/validator/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file diff --git a/packages/vscode-language-service/tsconfig.json b/packages/vscode-language-service/tsconfig.json index 80f5097c3..16bb3d4a7 100644 --- a/packages/vscode-language-service/tsconfig.json +++ b/packages/vscode-language-service/tsconfig.json @@ -2,5 +2,10 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist" - } + }, + "include": [ + "src/**/*.ts", + "tests/**/*.test.ts", + "tests/**/test.ts" + ] } \ No newline at end of file