fix: add clean command to individual packages (#36)
This commit is contained in:
parent
e7fa39112a
commit
23b43ff651
3 changed files with 986 additions and 502 deletions
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());
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue