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.
49 lines
1.0 KiB
JSON
49 lines
1.0 KiB
JSON
{
|
|
"name": "@bytelyst/config",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./keyvault": {
|
|
"import": "./dist/keyvault.js",
|
|
"types": "./dist/keyvault.d.ts"
|
|
},
|
|
"./product-identity": {
|
|
"import": "./dist/product-identity.js",
|
|
"types": "./dist/product-identity.d.ts"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run --pool forks"
|
|
},
|
|
"peerDependencies": {
|
|
"@azure/identity": ">=4.0.0",
|
|
"@azure/keyvault-secrets": ">=4.8.0",
|
|
"zod": ">=3.20.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@azure/identity": {
|
|
"optional": true
|
|
},
|
|
"@azure/keyvault-secrets": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@azure/identity": "^4.13.0",
|
|
"@azure/keyvault-secrets": "^4.10.0"
|
|
},
|
|
"publishConfig": {
|
|
"registry": "http://localhost:3300/api/packages/bytelyst/npm/"
|
|
}
|
|
}
|