mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
- Implemented mock-based and comprehensive tests for batch task processing. - Created detailed test results documentation including metrics and performance characteristics. - Added error handling for unexpected arguments in test execution. - Generated HTML and JSON reports summarizing test outcomes. - Established integration tests for agent spawning, task assignment, and execution tracking. - Enhanced event monitoring for task lifecycle and agent performance.
84 lines
2.5 KiB
JSON
84 lines
2.5 KiB
JSON
{
|
|
"nodeModulesDir": "auto",
|
|
"compilerOptions": {
|
|
"lib": ["deno.ns", "deno.window", "esnext"],
|
|
"strict": true,
|
|
"noUnusedLocals": false,
|
|
"noUnusedParameters": false,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"exactOptionalPropertyTypes": true
|
|
},
|
|
"lint": {
|
|
"rules": {
|
|
"tags": ["recommended"],
|
|
"include": [
|
|
"ban-untagged-todo",
|
|
"camelcase",
|
|
"eqeqeq",
|
|
"explicit-function-return-type",
|
|
"no-await-in-loop",
|
|
"no-console",
|
|
"no-const-assign",
|
|
"no-explicit-any",
|
|
"no-sparse-arrays",
|
|
"no-throw-literal",
|
|
"prefer-ascii"
|
|
]
|
|
},
|
|
"exclude": [
|
|
"tests/",
|
|
"scripts/"
|
|
]
|
|
},
|
|
"fmt": {
|
|
"useTabs": false,
|
|
"lineWidth": 100,
|
|
"indentWidth": 2,
|
|
"semiColons": true,
|
|
"singleQuote": true,
|
|
"proseWrap": "preserve"
|
|
},
|
|
"test": {
|
|
"include": [
|
|
"tests/**/*.test.ts"
|
|
],
|
|
"exclude": [
|
|
"tests/mocks/",
|
|
"tests/fixtures/"
|
|
]
|
|
},
|
|
"tasks": {
|
|
"dev": "deno run --allow-all --watch src/cli/index.ts",
|
|
"start": "deno run --allow-all src/cli/index.ts",
|
|
"test": "./scripts/test-runner.ts",
|
|
"test:unit": "./scripts/test-runner.ts --suites unit",
|
|
"test:integration": "./scripts/test-runner.ts --suites integration",
|
|
"test:e2e": "./scripts/test-runner.ts --suites e2e",
|
|
"test:watch": "./scripts/test-runner.ts --watch",
|
|
"test:coverage": "./scripts/test-runner.ts --coverage",
|
|
"coverage": "./scripts/coverage-report.ts",
|
|
"lint": "deno lint",
|
|
"fmt": "deno fmt",
|
|
"check": "deno check src/**/*.ts",
|
|
"build": "deno compile --allow-all --no-check --output bin/claude-flow src/cli/main.ts",
|
|
"install": "deno install --allow-all --name claude-flow src/cli/index.ts",
|
|
"clean": "rm -rf test-results coverage bin",
|
|
"ci": "deno fmt --check && deno lint && deno check src/**/*.ts && ./scripts/test-runner.ts --coverage --fail-fast"
|
|
},
|
|
"imports": {
|
|
"@std/": "https://deno.land/std@0.224.0/",
|
|
"@cliffy/command": "https://deno.land/x/cliffy@v1.0.0-rc.3/command/mod.ts",
|
|
"@cliffy/ansi/colors": "https://deno.land/x/cliffy@v1.0.0-rc.3/ansi/colors.ts",
|
|
"@cliffy/ansi": "https://deno.land/x/cliffy@v1.0.0-rc.3/ansi/mod.ts",
|
|
"@cliffy/prompt": "https://deno.land/x/cliffy@v1.0.0-rc.3/prompt/mod.ts",
|
|
"@cliffy/table": "https://deno.land/x/cliffy@v1.0.0-rc.3/table/mod.ts"
|
|
},
|
|
"exclude": [
|
|
"node_modules/",
|
|
"dist/",
|
|
"bin/",
|
|
"test-results/",
|
|
"coverage/"
|
|
]
|
|
} |