e65e2aec72
- Replace vitest with bun:test across all 8 packages (47 test files) - vi.spyOn → spyOn, vi.restoreAllMocks() → mock.restore() (3 files) - toHaveBeenCalledOnce → toHaveBeenCalledTimes(1) (bun:test compat) - Delete all vitest.config.ts files - Remove vitest from devDependencies - Add preload.ts for process.exit mock (cli-workflow) - Fix import ordering (biome check --write) All tests pass. Closes #601
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"name": "@uncaged/cli-workflow",
|
|
"version": "0.5.0",
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"type": "module",
|
|
"bin": {
|
|
"uwf": "./dist/cli.js"
|
|
},
|
|
"dependencies": {
|
|
"@ocas/core": "^0.1.1",
|
|
"@ocas/fs": "^0.1.1",
|
|
"@uncaged/workflow-protocol": "workspace:^",
|
|
"@uncaged/workflow-util": "workspace:^",
|
|
"@uncaged/workflow-util-agent": "workspace:^",
|
|
"commander": "^14.0.3",
|
|
"dotenv": "^16.6.1",
|
|
"mustache": "^4.2.0",
|
|
"yaml": "^2.8.4"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "echo 'Use bun run release from repo root' && exit 1",
|
|
"test": "bun test src/",
|
|
"test:ci": "bun test src/"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@types/mustache": "^4.2.6"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.shazhou.work/uncaged/workflow.git",
|
|
"directory": "packages/cli-workflow"
|
|
},
|
|
"homepage": "https://git.shazhou.work/uncaged/workflow#readme",
|
|
"bugs": {
|
|
"url": "https://git.shazhou.work/uncaged/workflow/issues"
|
|
},
|
|
"license": "MIT"
|
|
}
|