|
27 | 27 | "lint:fix": "pnpm lint --fix", |
28 | 28 | "package": "vsce package --no-dependencies", |
29 | 29 | "package:prerelease": "vsce package --pre-release --no-dependencies", |
30 | | - "pretest": "tsc -p test --noEmit && pnpm fmt:check && pnpm lint", |
31 | | - "test": "ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs", |
32 | | - "test:ci": "CI=true pnpm test", |
| 30 | + "test": "CI=true pnpm test:extension && CI=true pnpm test:webview", |
| 31 | + "test:ci": "pnpm test", |
| 32 | + "test:extension": "ELECTRON_RUN_AS_NODE=1 electron node_modules/vitest/vitest.mjs --project extension", |
33 | 33 | "test:integration": "tsc -p test --outDir out && node esbuild.mjs && vscode-test", |
| 34 | + "test:webview": "vitest --project webview", |
34 | 35 | "vscode:prepublish": "pnpm build:production", |
| 36 | + "watch": "pnpm watch:all", |
35 | 37 | "watch:all": "concurrently -n extension,webviews \"pnpm watch:extension\" \"pnpm watch:webviews\"", |
36 | 38 | "watch:extension": "node esbuild.mjs --watch", |
37 | 39 | "watch:webviews": "pnpm -r --filter \"./packages/*\" --parallel dev" |
|
463 | 465 | "devDependencies": { |
464 | 466 | "@eslint/js": "^9.39.2", |
465 | 467 | "@eslint/markdown": "^7.5.1", |
| 468 | + "@testing-library/react": "^16.3.2", |
466 | 469 | "@tsconfig/node20": "^20.1.8", |
467 | 470 | "@types/mocha": "^10.0.10", |
468 | 471 | "@types/node": "^20", |
469 | 472 | "@types/proper-lockfile": "^4.1.4", |
| 473 | + "@types/react": "catalog:", |
| 474 | + "@types/react-dom": "catalog:", |
470 | 475 | "@types/semver": "^7.7.1", |
471 | 476 | "@types/ua-parser-js": "0.7.39", |
472 | 477 | "@types/vscode": "^1.95.0", |
473 | 478 | "@types/ws": "^8.18.1", |
474 | 479 | "@typescript-eslint/eslint-plugin": "^8.53.1", |
475 | 480 | "@typescript-eslint/parser": "^8.53.1", |
476 | | - "@vitejs/plugin-react-swc": "^3.8.0", |
| 481 | + "@vitejs/plugin-react-swc": "catalog:", |
477 | 482 | "@vitest/coverage-v8": "^4.0.16", |
478 | 483 | "@vscode/test-cli": "^0.0.12", |
479 | 484 | "@vscode/test-electron": "^2.5.2", |
|
492 | 497 | "eslint-plugin-react": "^7.37.0", |
493 | 498 | "eslint-plugin-react-hooks": "^5.0.0", |
494 | 499 | "globals": "^17.0.0", |
| 500 | + "jsdom": "^27.4.0", |
495 | 501 | "jsonc-eslint-parser": "^2.4.2", |
496 | 502 | "memfs": "^4.56.10", |
497 | 503 | "prettier": "^3.7.4", |
498 | | - "typescript": "^5.9.3", |
| 504 | + "react": "catalog:", |
| 505 | + "react-dom": "catalog:", |
| 506 | + "typescript": "catalog:", |
499 | 507 | "typescript-eslint": "^8.53.1", |
500 | 508 | "utf-8-validate": "^6.0.6", |
501 | | - "vite": "^6.0.0", |
| 509 | + "vite": "catalog:", |
502 | 510 | "vitest": "^4.0.16" |
503 | 511 | }, |
504 | 512 | "extensionPack": [ |
|
0 commit comments