mirror of
https://github.com/cline/cline.git
synced 2026-09-01 15:11:04 +08:00
ac22d5d81a
* chore: add CLI type checking and caching to ci workflow - Added a new cache step for CLI dependencies in the GitHub Actions test workflow to improve build performance. - Included a step to install CLI dependencies using `npm ci`. - Updated the `ci:check-all` script in `package.json` to include CLI type checking. - Added a `cli:typecheck` script to handle type checking within the CLI directory. * Fix type and import issues for cli * Includes CI tests in test workflow * use npx npm-run-all * update ci:check-all * ci: skip npm ci steps on cache hit in test workflow Update the test workflow to conditionally run npm installation steps only when a cache hit is not found. This optimization reduces CI execution time by avoiding redundant dependency installations when the node_modules are already restored from cache. * ci: update cache keys and add dependency verification in test workflow Updated the cache keys for root, webview-ui, cli, and testing-platform dependencies by adding a version prefix (v1). This ensures a clean cache state and helps avoid potential corruption or mismatch issues. Additionally, added a verification step in the test job to log cache hit status and check for the presence of key dependencies like biome and globby. This helps diagnose issues where the cache might be restored but dependencies are not correctly available for subsequent steps. * update Verify and fix root dependencies * fix type check script * add isSettingsKey check * update settingskey set * apply feedback * npx * feat: flashing dot for streaming chat messages in CI (#9054) Introduce an ink-spinner to the DotRow component to provide visual feedback when messages are being streamed. This improves the CLI user experience by clearly indicating that a tool call or message is currently in progress. - Add `flashing` prop to `DotRow` component - Replace static dot with `toggle8` spinner when `flashing` is true - Update `ChatMessage` to pass `flashing` state based on `isStreaming` and `partial` message properties Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com> * ci: simplify dependency caching using built-in npm cache Replace manual actions/cache steps with setup-node's built-in npm caching feature across all workflow jobs. This change: - Removes redundant cache action steps for root, webview-ui, cli, and testing-platform dependencies - Uses setup-node's native `cache: 'npm'` option with `cache-dependency-path` to handle multiple package-lock.json files - Eliminates conditional installation steps based on cache hits - Reduces workflow complexity and maintenance overhead while maintaining caching functionality The built-in caching provides the same performance benefits with less configuration and better integration with the Node.js setup action. --------- Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
72 lines
1.2 KiB
JSON
72 lines
1.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"jsx": "react",
|
|
"lib": [
|
|
"es2022",
|
|
"DOM"
|
|
],
|
|
"module": "esnext",
|
|
"moduleResolution": "Bundler",
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitOverride": true,
|
|
"noImplicitReturns": true,
|
|
"noUnusedLocals": false,
|
|
"resolveJsonModule": true,
|
|
"rootDir": ".",
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"target": "es2022",
|
|
"useDefineForClassFields": true,
|
|
"useUnknownInCatchVariables": false,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": [
|
|
"src/*"
|
|
],
|
|
"@api/*": [
|
|
"src/core/api/*"
|
|
],
|
|
"@core/*": [
|
|
"src/core/*"
|
|
],
|
|
"@generated/*": [
|
|
"src/generated/*"
|
|
],
|
|
"@hosts/*": [
|
|
"src/hosts/*"
|
|
],
|
|
"@integrations/*": [
|
|
"src/integrations/*"
|
|
],
|
|
"@packages/*": [
|
|
"src/packages/*"
|
|
],
|
|
"@services/*": [
|
|
"src/services/*"
|
|
],
|
|
"@shared/*": [
|
|
"src/shared/*"
|
|
],
|
|
"@utils/*": [
|
|
"src/utils/*"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*",
|
|
"cli/src/**/*"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
".vscode-test",
|
|
"webview-ui",
|
|
"src/test/e2e/**/*",
|
|
"src/test/scenarios/**/*"
|
|
]
|
|
}
|