Root cause: tinypool worker teardown calls kill() which returns EPERM in the act_runner host environment on Node.js v25.2.1. Tests pass but the vitest process crashes during cleanup, causing CI failure. Fix: --pool forks CLI flag on every package/service test script, plus pool: 'forks' in all vitest.config.ts files. This uses child_process.fork() worker management which handles termination cleanly. 60 package.json files updated, 10 vitest.config.ts files updated.
38 lines
782 B
JSON
38 lines
782 B
JSON
{
|
|
"name": "@bytelyst/react-auth",
|
|
"version": "0.1.1",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run --pool forks"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/api-client": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"happy-dom": "^18.0.1",
|
|
"react": "^19.2.4",
|
|
"react-dom": "^19.2.4"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
|
|
}
|
|
}
|