Skip to content

Commit 706f923

Browse files
committed
chore: fix vitest setup
1 parent 386a088 commit 706f923

File tree

8 files changed

+91
-13
lines changed

8 files changed

+91
-13
lines changed

.oxlintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
23
"plugins": [
34
"eslint",
45
"typescript",

.vscode/settings.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
2-
"prettier.enable": false,
3-
"editor.formatOnSave": false,
42
"markdownlint.config": {
53
"MD024": false,
64
"MD033": false
75
},
8-
"vitest.commandLine": "pnpm test --run"
96
}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"graph": "nr turbo build --filter=@yeger/turbo-graph... && turbo-graph --open",
2424
"install-hooks": "husky",
2525
"lint": "oxlint .",
26-
"lint:fix": "oxlint . --fix --fix-suggestions",
26+
"lint:fix": "oxlint . --fix",
2727
"preview": "nr turbo run preview",
2828
"syncpack": "syncpack",
2929
"syncpack:fix": "syncpack fix-mismatches",
@@ -50,7 +50,8 @@
5050
"rimraf": "catalog:",
5151
"syncpack": "catalog:",
5252
"taze": "catalog:",
53-
"turbo": "2.7.4"
53+
"turbo": "2.7.4",
54+
"vitest": "catalog:"
5455
},
5556
"lint-staged": {
5657
"*": "oxlint"

packages/streams/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"bench": "vitest bench",
4848
"build": "tsdown",
4949
"check:publish": "publint run --strict",
50-
"check:tsc": "tsc --noEmit",
50+
"check:tsc": "tsc",
5151
"dev": "tsdown --watch",
5252
"test": "vitest"
5353
},

packages/turbo-graph-ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"scripts": {
4040
"build": "next build",
4141
"check:publish": "publint run --strict",
42+
"check:tsc": "tsc",
4243
"dev": "next dev",
4344
"preview": "next start"
4445
},

packages/turbo-graph/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"scripts": {
3838
"build": "tsdown",
3939
"check:publish": "publint run --strict",
40+
"check:tsc": "tsc",
4041
"dev": "tsdown --watch",
4142
"preview": "node dist/index.mjs"
4243
},

packages/turbo-graph/vitest.config.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 84 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)