Skip to content

Commit 100fa18

Browse files
committed
build: fix missing dependency and some turbo scripts
1 parent 30b034b commit 100fa18

6 files changed

Lines changed: 19 additions & 13 deletions

File tree

apps/vite-playground/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"@types/react": "^19.2.14",
4141
"@types/react-dom": "^19.2.3",
4242
"@vitejs/plugin-react": "^5.1.4",
43+
"@vitest/coverage-v8": "^4.0.18",
4344
"babel-plugin-react-compiler": "^1.0.0",
4445
"concurrently": "^9.2.1",
4546
"eslint": "^9.39.2",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"check-format": "pnpm turbo-s check-format",
1010
"lint": "pnpm turbo-s lint",
1111
"lint-fix": "pnpm turbo-s lint-fix",
12-
"test": "pnpm turbo-s test",
13-
"test-coverage": "pnpm turbo-s test-coverage",
12+
"test": "TURBO_UI=true pnpm turbo-s test",
13+
"test-coverage": "TURBO_UI=true pnpm turbo-s test-coverage",
1414
"test-run": "pnpm turbo-s test-run",
1515
"test-run-snapshot": "pnpm turbo-s test-run-snapshot",
1616
"test-run-coverage": "pnpm turbo-s test-run-coverage",

packages/core/vitest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig({
1010
// I do not like having tests in the same folders as the rest of the files
1111
include: ["**/__tests__/**.{ts,tsx,js,jsx}"],
1212
coverage: {
13-
include: ["src/**"],
13+
include: ["src/**/*.{ts,tsx}"],
1414
exclude: [
1515
"**/index.ts",
1616
"**/types.ts",
@@ -25,6 +25,7 @@ export default defineConfig({
2525
"**/test-utils/polyfills/TextDecoder.ts",
2626
// can't really test jest with vitest
2727
"**/test-utils/jest-globals/**",
28+
// "**/__snapshots__/**",
2829
...coverageConfigDefaults.exclude,
2930
],
3031
},

packages/vite-material-symbols-plugin/vitest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default defineConfig({
88
// I do not like having tests in the same folders as the rest of the files
99
include: ["**/__tests__/**.{ts,tsx,js,jsx}"],
1010
coverage: {
11-
include: ["src/**"],
11+
include: ["src/**/*.{ts,tsx}"],
1212
exclude: ["**/types.ts", ...coverageConfigDefaults.exclude],
1313
},
1414
},

pnpm-lock.yaml

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

turbo.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@
2121
"check-format": {},
2222
"typecheck": {},
2323
"test": {
24+
"interactive": true,
2425
"cache": false
2526
},
2627
"test-run": {},
2728
"test-coverage": {
29+
"interactive": true,
30+
"cache": false,
2831
"outputs": ["coverage/**"]
2932
},
3033
"test-run-coverage": {

0 commit comments

Comments
 (0)