mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: lockfile and configs
This commit is contained in:
@@ -121,10 +121,10 @@ export default tseslint.config(
|
||||
{
|
||||
allow: [
|
||||
'react-dom/test-utils',
|
||||
'memfs/lib/node/volume.js',
|
||||
'memfs/lib/volume.js',
|
||||
'yargs/**',
|
||||
'msw/node',
|
||||
'**/generated/**',
|
||||
'**/generated/**'
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
4309
package-lock.json
generated
4309
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -12,7 +12,7 @@ import { useGitBranchName } from './useGitBranchName.js';
|
||||
import { fs, vol } from 'memfs'; // For mocking fs
|
||||
import { EventEmitter } from 'node:events';
|
||||
import { exec as mockExec, type ChildProcess } from 'node:child_process';
|
||||
import type { FSWatcher } from 'memfs/lib/node/volume.js';
|
||||
import type { FSWatcher } from 'memfs/lib/volume.js';
|
||||
|
||||
// Mock child_process
|
||||
vi.mock('child_process');
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist",
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2023"],
|
||||
"lib": ["DOM", "DOM.Iterable", "ES2021"],
|
||||
"composite": true,
|
||||
"types": ["node", "vitest/globals"]
|
||||
},
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
* type checking error in ../../node_modules/@types/request/index.d.ts.
|
||||
*/
|
||||
"skipLibCheck": true,
|
||||
"rootDir": "src",
|
||||
"strict": true /* enable all strict type-checking options */
|
||||
/* Additional Checks */
|
||||
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||
|
||||
15
packages/vscode-ide-companion/vitest.config.ts
Normal file
15
packages/vscode-ide-companion/vitest.config.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
include: ['src/**/*.test.ts'],
|
||||
coverage: {
|
||||
provider: 'v8',
|
||||
reporter: ['text', 'json', 'html', 'clover'],
|
||||
include: ['src/**/*.ts'],
|
||||
exclude: ['src/**/*.test.ts', 'src/**/*.d.ts'],
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -2,6 +2,12 @@ import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
projects: ['packages/*', 'integration-tests', 'scripts'],
|
||||
projects: [
|
||||
'packages/cli',
|
||||
'packages/core',
|
||||
'packages/vscode-ide-companion',
|
||||
'integration-tests',
|
||||
'scripts',
|
||||
],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user