brainy/cli-package/tsconfig.json
dpsifr e9aaec89d8 Feat: enhance cli.ts with updated typings and improved search interface
- Introduced `SearchResult` interface to standardize search result handling and improve code readability.
- Added TypeScript type annotations for command arguments and options in CLI methods to enforce stricter type safety.
- Updated `.version()` for CLI to align with best practices by removing redundant description parameter.
- Enhanced search logic with default parameter handling for limits and improved output formatting for results.
- Adjusted `tsconfig.json` to disable `noImplicitAny` while retaining strict typing practices.
- Streamlined CLI processes by parsing command-line arguments explicitly with `program.parse(process.argv)`.

Purpose: Improve developer productivity with better type safety, clearer interfaces, and refined CLI functionality.
2025-07-18 12:00:50 -07:00

19 lines
437 B
JSON

{
"compilerOptions": {
"target": "ES2020",
"module": "ESNext",
"moduleResolution": "node",
"esModuleInterop": true,
"strict": true,
"noImplicitAny": false,
"outDir": "dist",
"declaration": true,
"sourceMap": true,
"skipLibCheck": true,
"paths": {
"@soulcraft/brainy": ["../dist/unified.d.ts"]
}
},
"include": ["src/**/*", "types.d.ts"],
"exclude": ["node_modules", "dist"]
}