fix: add clean command to individual packages (#36)

This commit is contained in:
Brandon Keiji 2025-04-18 14:57:20 -07:00 committed by GitHub
parent e7fa39112a
commit 23b43ff651
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 986 additions and 502 deletions

1483
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@
"main": "src/gemini.js",
"scripts": {
"build": "tsc && cp package.json README.md ../../LICENSE dist/ && touch dist/.last_build",
"clean": "rm -rf dist",
"start": "node dist/gemini.js",
"debug": "node --inspect-brk dist/gemini.js",
"lint": "eslint . --ext .ts,.tsx",

View File

@ -12,10 +12,6 @@ import { WriteFileTool } from './tools/write-file.tool.js';
import { WebFetchTool } from './tools/web-fetch.tool.js';
import { globalConfig } from './config/config.js';
// TODO(b/411707095): remove. left here as an example of how to pull in inter-package deps
import { helloServer } from '@gemini-code/server'
helloServer();
async function main() {
// Configure tools
registerTools(globalConfig.getTargetDir());