Skip to content

Commit 1dc55a4

Browse files
committed
fix: update package.json and package-lock.json for workspace structure and dependency versions; refine vitest configuration to exclude test files
Signed-off-by: Vladislav Polyakov <[email protected]>
1 parent ac7c47c commit 1dc55a4

File tree

3 files changed

+77
-66
lines changed

3 files changed

+77
-66
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"type": "module",
66
"workspaces": [
7+
"e2e/*",
78
"examples/*",
89
"packages/*",
910
"third-party/*"
@@ -14,7 +15,7 @@
1415
},
1516
"engineStrict": true,
1617
"scripts": {
17-
"build": "turbo run build",
18+
"build": "turbo run build --output-logs=errors-only",
1819
"attw": "turbo run attw",
1920
"lint": "oxlint --import-plugin --promise-plugin --vitest-plugin",
2021
"test": "vitest run --project uni",

vitest.config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default defineConfig({
2121
globalSetup: './vitest.setup.ydb.ts',
2222
benchmark: {
2323
include: ['packages/*/tests/**/*.bench.ts'],
24-
}
24+
},
2525
},
2626
},
2727
{
@@ -43,8 +43,12 @@ export default defineConfig({
4343
exclude: [
4444
'packages/api/**',
4545
'examples/**',
46+
'**/coverage/**',
47+
'**/tests/**',
4648
'**/dist/**',
4749
'**/vitest.*',
50+
'**/*.test.ts',
51+
'**/*.bench.ts',
4852
]
4953
}
5054
},

0 commit comments

Comments
 (0)