Files
ocas/packages/cli/package.json
T
xiaoju 5f562cbc5a feat: cli 包完整 build 支持(tsc emit + Node 兼容)
- tsconfig: 启用 emit (rootDir/outDir/composite), 添加 project references
- shebang: bun → node
- bin: src/index.ts → dist/index.js
- import.meta.dir → import.meta.dirname (去掉 Bun 专有 API)
- prompts 目录移到包根, src/dist 路径统一
- 修复 exactOptionalPropertyTypes 类型错误

Fixes #58
2026-06-03 02:29:01 +00:00

22 lines
474 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"
}
}