prep work for new clone
sets up src/dist directories configures tsc for project updates paths for dockerfile updates outdated deps creates gitignore
This commit is contained in:
6 files changed
+1537
-14
No files matched your search
@@ -0,0 +1,2 @@
|
|||||||
|
/node_modules
|
||||||
|
/dist
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
FROM node:22.12-alpine AS builder
|
FROM node:22.12-alpine AS builder
|
||||||
|
|
||||||
# Must be entire project because `prepare` script is run during `npm install` and requires all files.
|
# Must be entire project because `prepare` script is run during `npm install` and requires all files.
|
||||||
COPY src/brave-search /app
|
COPY src/ /app/src
|
||||||
COPY tsconfig.json /tsconfig.json
|
COPY tsconfig.json /tsconfig.json
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
Generated
+1515
File diff suppressed because it is too large.
Load diff
+3
-3
@@ -19,11 +19,11 @@
|
|||||||
"watch": "tsc --watch"
|
"watch": "tsc --watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@modelcontextprotocol/sdk": "1.0.1"
|
"@modelcontextprotocol/sdk": "^1.12.3"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22",
|
"@types/node": "^24.0.3",
|
||||||
"shx": "^0.3.4",
|
"shx": "^0.4.0",
|
||||||
"typescript": "^5.6.2"
|
"typescript": "^5.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5,7 +5,7 @@ import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"
|
|||||||
import {
|
import {
|
||||||
CallToolRequestSchema,
|
CallToolRequestSchema,
|
||||||
ListToolsRequestSchema,
|
ListToolsRequestSchema,
|
||||||
Tool,
|
type Tool,
|
||||||
} from "@modelcontextprotocol/sdk/types.js";
|
} from "@modelcontextprotocol/sdk/types.js";
|
||||||
|
|
||||||
const WEB_SEARCH_TOOL: Tool = {
|
const WEB_SEARCH_TOOL: Tool = {
|
||||||
+15
-9
@@ -1,10 +1,16 @@
|
|||||||
{
|
{
|
||||||
"extends": "../../tsconfig.json",
|
"compilerOptions": {
|
||||||
"compilerOptions": {
|
"outDir": "./dist",
|
||||||
"outDir": "./dist",
|
"rootDir": "src",
|
||||||
"rootDir": "."
|
"target": "ES2022",
|
||||||
},
|
"module": "Node16",
|
||||||
"include": [
|
"moduleResolution": "Node16",
|
||||||
"./**/*.ts"
|
"strict": true,
|
||||||
]
|
"esModuleInterop": true,
|
||||||
}
|
"skipLibCheck": true,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"resolveJsonModule": true
|
||||||
|
},
|
||||||
|
"include": ["src/**/*"],
|
||||||
|
"exclude": ["node_modules"]
|
||||||
|
}
|
||||||
Reference in new issue
Block a user