mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-14 05:17:18 -07:00
118e3176e8
Updates the 'test:ci' script in 'packages/cli/package.json' to run 'npm run generate' before 'vitest run'. This ensures that the '../../generated/git-commit.js' file, which is required by some telemetry modules, is created before unit tests attempt to import it, resolving the 'Cannot find module' error during CI runs.
92 lines
2.5 KiB
JSON
92 lines
2.5 KiB
JSON
{
|
|
"name": "@google/gemini-cli",
|
|
"version": "0.11.0-nightly.20251021.e72c00cf",
|
|
"description": "Gemini CLI",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/google-gemini/gemini-cli.git"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"bin": {
|
|
"gemini": "dist/index.js"
|
|
},
|
|
"scripts": {
|
|
"build": "node ../../scripts/build_package.js",
|
|
"start": "node dist/index.js",
|
|
"debug": "node --inspect-brk dist/index.js",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"format": "prettier --write .",
|
|
"test": "vitest run",
|
|
"test:ci": "npm run generate && vitest run",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"config": {
|
|
"sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.11.0-nightly.20251021.e72c00cf"
|
|
},
|
|
"dependencies": {
|
|
"@google/gemini-cli-core": "file:../core",
|
|
"@google/genai": "1.16.0",
|
|
"@iarna/toml": "^2.2.5",
|
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
"@types/update-notifier": "^6.0.8",
|
|
"ansi-regex": "^6.2.2",
|
|
"command-exists": "^1.2.9",
|
|
"comment-json": "^4.2.5",
|
|
"diff": "^7.0.0",
|
|
"dotenv": "^17.1.0",
|
|
"fzf": "^0.5.2",
|
|
"glob": "^10.4.5",
|
|
"highlight.js": "^11.11.1",
|
|
"ink": "^6.2.3",
|
|
"ink-gradient": "^3.0.0",
|
|
"ink-spinner": "^5.0.0",
|
|
"lowlight": "^3.3.0",
|
|
"mnemonist": "^0.40.3",
|
|
"open": "^10.1.2",
|
|
"react": "^19.1.0",
|
|
"read-package-up": "^11.0.0",
|
|
"shell-quote": "^1.8.3",
|
|
"simple-git": "^3.28.0",
|
|
"string-width": "^7.1.0",
|
|
"strip-ansi": "^7.1.0",
|
|
"strip-json-comments": "^3.1.1",
|
|
"tar": "^7.5.1",
|
|
"undici": "^7.10.0",
|
|
"extract-zip": "^2.0.1",
|
|
"update-notifier": "^7.3.1",
|
|
"wrap-ansi": "9.0.2",
|
|
"yargs": "^17.7.2",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/runtime": "^7.27.6",
|
|
"@google/gemini-cli-test-utils": "file:../test-utils",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@types/archiver": "^6.0.3",
|
|
"@types/command-exists": "^1.2.3",
|
|
"@types/diff": "^7.0.2",
|
|
"@types/dotenv": "^6.1.1",
|
|
"@types/node": "^20.11.24",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@types/semver": "^7.7.0",
|
|
"@types/shell-quote": "^1.7.5",
|
|
"@types/tar": "^6.1.13",
|
|
"@types/yargs": "^17.0.32",
|
|
"archiver": "^7.0.1",
|
|
"ink-testing-library": "^4.0.0",
|
|
"jsdom": "^26.1.0",
|
|
"pretty-format": "^30.0.2",
|
|
"react-dom": "^19.1.0",
|
|
"typescript": "^5.3.3",
|
|
"vitest": "^3.1.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
}
|
|
}
|