Skip to content

Commit 26d37c3

Browse files
grabbouclaude
andcommitted
fix(deps): keep one vitest instance for the daemon tests
The site's dependencies made pnpm resolve vite's optional @types/node peer to 26 inside packages/daemon, which declares no @types/node. Its vitest then became a second instance next to the root one, and the concurrency-torture gate failed on import ("failed to access its internal state"). Declaring the root's @types/node in the daemon keeps vite, and so vitest, on the single instance main resolves. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 94faacb commit 26d37c3

2 files changed

Lines changed: 6 additions & 45 deletions

File tree

‎packages/daemon/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"devDependencies": {
2727
"@agent-device/proxy": "workspace:*",
2828
"@agent-device/test-kit": "workspace:*",
29+
"@types/node": "^22.20.1",
2930
"fast-check": "^4.9.0",
3031
"oxc-parser": "^0.146.0",
3132
"vitest": "5.0.4",

‎pnpm-lock.yaml‎

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

0 commit comments

Comments
 (0)