736d7e7374
- 36 个 test 文件 bun:test → vitest
- Bun.spawn() → execFileSync('tsx', ...)
- Bun.file() → readFileSync
- import.meta.dir → import.meta.dirname (tests) / __dirname (CLI source)
- 删除 bun-types devDep
- 添加 vitest + tsx devDep
- CLI shebang bun → node
- 30/36 test files pass, 558/617 tests pass
Refs #62
28 lines
572 B
JSON
28 lines
572 B
JSON
{
|
|
"name": "@ocas/workspace",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"devDependencies": {
|
|
"@shazhou/proman": "0.2.0",
|
|
"tsx": "^4.22.4",
|
|
"ulidx": "^2.4.1",
|
|
"vitest": "^4.1.8"
|
|
},
|
|
"scripts": {
|
|
"build": "proman build",
|
|
"test": "proman test",
|
|
"check": "proman check",
|
|
"format": "proman format"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/shazhou-ww/ocas.git"
|
|
},
|
|
"homepage": "https://github.com/shazhou-ww/ocas",
|
|
"bugs": {
|
|
"url": "https://github.com/shazhou-ww/ocas/issues"
|
|
}
|
|
}
|