mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 16:32:49 +00:00
This PR addresses several critical build and type-checking issues across the monorepo: 1. **Core Package Stability**: Removed deprecated `baseUrl` from `packages/core/tsconfig.json` and converted absolute-style imports to relative paths. This allows `tsc --build` to succeed reliably. 2. **Modern JS API Support**: Upgraded `lib` to `ES2023` in `packages/test-utils` and `packages/vscode-ide-companion` to resolve errors related to `Error.cause` and other modern JavaScript features. 3. **SDK Type Integrity**: Fixed several `noImplicitAny` errors and resolved inheritance issues in `SdkTool` and `SdkToolInvocation` by refining generic constraints and adding necessary ESLint disable comments for complex type bypasses. 4. **DevTools ESM Compliance**: Added missing `.js` extensions to relative imports in the DevTools client and fixed un-typed property access in log objects. 5. **Build Graph Optimization**: Added missing project references in `test-utils` and removed redundant `paths` in `evals` to ensure correct build order and declaration resolution. These changes collectively restore the ability to run `npm run typecheck` and `npm run build` across the entire project. cc @google-gemini/gemini-cli-maintainers
34 lines
705 B
JSON
34 lines
705 B
JSON
{
|
|
"name": "@google/gemini-cli-devtools",
|
|
"version": "0.42.0-nightly.20260428.g59b2dea0e",
|
|
"license": "Apache-2.0",
|
|
"type": "module",
|
|
"main": "dist/src/index.js",
|
|
"types": "dist/src/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/src/index.d.ts",
|
|
"default": "./dist/src/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:client && tsc -p tsconfig.build.json",
|
|
"build:client": "node esbuild.client.js",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"client/index.html"
|
|
],
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"devDependencies": {
|
|
"react": "^19.2.0",
|
|
"react-dom": "^19.2.0"
|
|
},
|
|
"dependencies": {
|
|
"ws": "^8.16.0"
|
|
}
|
|
}
|