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
34 lines
684 B
JSON
34 lines
684 B
JSON
{
|
|
"name": "@ocas/fs",
|
|
"version": "0.2.0",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"src"
|
|
],
|
|
"dependencies": {
|
|
"cborg": "^4.2.3",
|
|
"@ocas/core": "workspace:*"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/shazhou-ww/ocas.git",
|
|
"directory": "packages/fs"
|
|
},
|
|
"homepage": "https://github.com/shazhou-ww/ocas/tree/main/packages/fs",
|
|
"bugs": {
|
|
"url": "https://github.com/shazhou-ww/ocas/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.1"
|
|
}
|
|
}
|