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
25 lines
531 B
JSON
25 lines
531 B
JSON
{
|
|
"name": "@ocas/cli",
|
|
"version": "0.2.0",
|
|
"type": "module",
|
|
"bin": {
|
|
"ocas": "dist/index.js"
|
|
},
|
|
"dependencies": {
|
|
"@ocas/core": "workspace:*",
|
|
"@ocas/fs": "workspace:*"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/shazhou-ww/ocas.git",
|
|
"directory": "packages/cli"
|
|
},
|
|
"homepage": "https://github.com/shazhou-ww/ocas/tree/main/packages/cli",
|
|
"bugs": {
|
|
"url": "https://github.com/shazhou-ww/ocas/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.1"
|
|
}
|
|
}
|