mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
fix: add clean command to individual packages (#36)
This commit is contained in:
1483
package-lock.json
generated
1483
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -6,6 +6,7 @@
|
|||||||
"main": "src/gemini.js",
|
"main": "src/gemini.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc && cp package.json README.md ../../LICENSE dist/ && touch dist/.last_build",
|
"build": "tsc && cp package.json README.md ../../LICENSE dist/ && touch dist/.last_build",
|
||||||
|
"clean": "rm -rf dist",
|
||||||
"start": "node dist/gemini.js",
|
"start": "node dist/gemini.js",
|
||||||
"debug": "node --inspect-brk dist/gemini.js",
|
"debug": "node --inspect-brk dist/gemini.js",
|
||||||
"lint": "eslint . --ext .ts,.tsx",
|
"lint": "eslint . --ext .ts,.tsx",
|
||||||
|
|||||||
@@ -12,10 +12,6 @@ import { WriteFileTool } from './tools/write-file.tool.js';
|
|||||||
import { WebFetchTool } from './tools/web-fetch.tool.js';
|
import { WebFetchTool } from './tools/web-fetch.tool.js';
|
||||||
import { globalConfig } from './config/config.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() {
|
async function main() {
|
||||||
// Configure tools
|
// Configure tools
|
||||||
registerTools(globalConfig.getTargetDir());
|
registerTools(globalConfig.getTargetDir());
|
||||||
|
|||||||
Reference in New Issue
Block a user