Skip to content

Commit 398b516

Browse files
authored
Merge pull request #26 from dfberry/dfberry/1207-npm-workspace
Fix Npm workspace and Node 24
2 parents 0949860 + 776f3a8 commit 398b516

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Node.js & TypeScript",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bookworm",
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:24-bookworm",
77
"features": {
88
"ghcr.io/devcontainers/features/azure-cli:1": {},
99
"ghcr.io/devcontainers/features/docker-in-docker:2": {},

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
"description": "Azure TypeScript LangchainJS Sample for Azure OpenAI and Azure AI Search.",
55
"main": "index.js",
66
"scripts": {
7-
"build": "npm run build --workspaces --if-present && npm link",
8-
"postbuild": "cd packages-v1/langgraph-agent && npm link && cd ../server-api && npm link langgraph-agent",
7+
"build": "npm run build --workspaces --if-present",
98
"build:docker": "docker build -t langchain-api .",
109
"start": "node packages/server-api/dist/server.js",
1110
"dev": "npm run dev --workspaces --if-present",
@@ -19,7 +18,12 @@
1918
"type": "git",
2019
"url": "git+https://github.com/Azure-Samples/azure-typescript-langchainjs.git"
2120
},
22-
"keywords": ["langchainjs", "typescript", "azure", "azure-ai-search"],
21+
"keywords": [
22+
"langchainjs",
23+
"typescript",
24+
"azure",
25+
"azure-ai-search"
26+
],
2327
"author": "diberry",
2428
"license": "ISC",
2529
"bugs": {

packages-v1/server-api/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"langgraph-agent": "1.0.0"
1919
},
2020
"devDependencies": {
21+
"@types/node": "^24.10.1",
2122
"prettier": "^3.6.2",
2223
"typescript": "^5.9.3"
2324
}

0 commit comments

Comments
 (0)