Generate NOTICES.TXT and surface via command (#5310)

This commit is contained in:
Shreya Keshive
2025-08-03 16:19:34 -04:00
committed by GitHub
parent 072d8ba289
commit 2cdaf912ba
7 changed files with 255 additions and 6 deletions
+8 -2
View File
@@ -35,18 +35,24 @@
{
"command": "gemini-cli.runGeminiCLI",
"title": "Gemini CLI: Run"
},
{
"command": "gemini-cli.showNotices",
"title": "Gemini CLI: View Third-Party Notices"
}
]
},
"main": "./dist/extension.js",
"main": "./dist/extension.cjs",
"type": "module",
"scripts": {
"vscode:prepublish": "npm run check-types && npm run lint && node esbuild.js --production",
"vscode:prepublish": "npm run generate:notices && npm run check-types && npm run lint && node esbuild.js --production",
"build": "npm run compile",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "vsce package --no-dependencies",
"generate:notices": "node ./scripts/generate-notices.js",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vitest run",