mirror of
https://github.com/cline/cline.git
synced 2026-09-19 10:13:34 +08:00
* Move all vscode related files to /apps/vscode * Fix launch and biome * Ignore generated files * Remove unused icons * fix tsconfig * Update workflows (#10962) * Add default branch * Move files to the right dir * fix: add vscode publish README placeholder --------- Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
35 lines
900 B
JSON
35 lines
900 B
JSON
{
|
|
// This separate tsconfig is necessary because VS Code's test runner requires CommonJS modules,
|
|
// while our main project uses ES Modules (ESM). This config inherits most settings from the base
|
|
// tsconfig.json but overrides the module system for test files only. This doesn't affect how
|
|
// tests interact with the main codebase - it only changes how the test files themselves are
|
|
// compiled to make them compatible with VS Code's test runner.
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"types": [
|
|
"node",
|
|
"mocha",
|
|
"should",
|
|
"vscode",
|
|
"chai"
|
|
],
|
|
"typeRoots": [
|
|
"./node_modules/@types",
|
|
"./src/types",
|
|
"./src/test/types"
|
|
],
|
|
"outDir": "out",
|
|
"rootDir": "."
|
|
},
|
|
"include": [
|
|
"src/**/*.test.ts"
|
|
],
|
|
"exclude": [
|
|
"src/test/**/*.js",
|
|
"src/**/__tests__/*",
|
|
"src/test/e2e/**/*.test.ts"
|
|
]
|
|
}
|