Skip to content

Commit 120476a

Browse files
committed
Update vitest to 3.0.8.
I guess Claude had chosen a very old version initially. Whoops. Also change `npm run test` command from `vitest` to `vitest run`, because otherwise the default is `watch` mode, which will just hang forever when Claude Code calls it. (I'm working on an upstream patch to vitest to make the default behavior be `run` when stdin is not a TTY.)
1 parent 2ce240e commit 120476a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"scripts": {
1717
"build": "tsup",
18-
"test": "vitest",
18+
"test": "vitest run",
1919
"prepublishOnly": "npm run build"
2020
},
2121
"dependencies": {
@@ -24,6 +24,6 @@
2424
"devDependencies": {
2525
"tsup": "^8.4.0",
2626
"typescript": "^5.8.2",
27-
"vitest": "^1.2.2"
27+
"vitest": "^3.0.8"
2828
}
2929
}

0 commit comments

Comments
 (0)