mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
61ea05bff7
Security: - Fix URL injection in fetch.ts and bilibili.ts (JSON.stringify instead of string interpolation) - Fix unused scroll() amount parameter TypeScript: - Enable strictNullChecks in tsconfig - Change CliCommand.func signature to IPage (non-null) for browser adapters - Fix 93 compile errors across all adapters Build: - Remove || true from build-manifest (report failures instead of silencing) - Replace Unix shell commands with Node.js scripts for cross-platform builds Code quality: - Remove error-object special detection from pipeline executor - Unify error handling to throw pattern Tests: - New interceptor.test.ts (11 tests) - New executor.test.ts (13 tests) - Rewrite output.test.ts with comprehensive coverage (10 tests)
19 lines
427 B
JSON
19 lines
427 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "Node16",
|
|
"moduleResolution": "Node16",
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"strict": false,
|
|
"strictNullChecks": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"incremental": true
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|