From 407ce5dd4e8937125c6e20387b6ce74f20296fbc Mon Sep 17 00:00:00 2001 From: Ning Tang Date: Wed, 18 Mar 2026 15:47:29 +0800 Subject: [PATCH] fix: align the build dir name in ignore file --- templates/vsc/ts/basic-tab/.gitignore.tpl | 2 +- templates/vsc/ts/default-bot/.gitignore.tpl | 2 +- templates/vsc/ts/foundry-agent-to-m365/.gitignore.tpl | 2 +- templates/vsc/ts/message-extension-v2/.gitignore.tpl | 2 +- templates/vsc/ts/teams-collaborator-agent/.gitignore.tpl | 2 +- templates/vsc/ts/weather-agent/.gitignore.tpl | 2 +- templates/vsc/ts/weather-agent/package.json.tpl | 4 ++-- templates/vsc/ts/weather-agent/tsconfig.json | 4 ++-- templates/vsc/ts/weather-agent/web.config | 6 +++--- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/templates/vsc/ts/basic-tab/.gitignore.tpl b/templates/vsc/ts/basic-tab/.gitignore.tpl index 6baeee048e1..8f811f17c68 100644 --- a/templates/vsc/ts/basic-tab/.gitignore.tpl +++ b/templates/vsc/ts/basic-tab/.gitignore.tpl @@ -14,4 +14,4 @@ node_modules/ .DS_Store # build -lib/ +dist/ diff --git a/templates/vsc/ts/default-bot/.gitignore.tpl b/templates/vsc/ts/default-bot/.gitignore.tpl index 844635c76e8..065ca5c19b1 100644 --- a/templates/vsc/ts/default-bot/.gitignore.tpl +++ b/templates/vsc/ts/default-bot/.gitignore.tpl @@ -16,7 +16,7 @@ node_modules/ .DS_Store # build -lib/ +dist/ # Dev tool directories /devTools/ \ No newline at end of file diff --git a/templates/vsc/ts/foundry-agent-to-m365/.gitignore.tpl b/templates/vsc/ts/foundry-agent-to-m365/.gitignore.tpl index 3542ea06fcd..9c137451df8 100644 --- a/templates/vsc/ts/foundry-agent-to-m365/.gitignore.tpl +++ b/templates/vsc/ts/foundry-agent-to-m365/.gitignore.tpl @@ -17,7 +17,7 @@ node_modules/ .DS_Store # build -lib/ +dist/ # Dev tool directories /devTools/ \ No newline at end of file diff --git a/templates/vsc/ts/message-extension-v2/.gitignore.tpl b/templates/vsc/ts/message-extension-v2/.gitignore.tpl index 8618651afac..153099c50ee 100644 --- a/templates/vsc/ts/message-extension-v2/.gitignore.tpl +++ b/templates/vsc/ts/message-extension-v2/.gitignore.tpl @@ -17,4 +17,4 @@ node_modules/ .DS_Store # build -lib/ +dist/ diff --git a/templates/vsc/ts/teams-collaborator-agent/.gitignore.tpl b/templates/vsc/ts/teams-collaborator-agent/.gitignore.tpl index a11bbc1683f..e477c450cdc 100644 --- a/templates/vsc/ts/teams-collaborator-agent/.gitignore.tpl +++ b/templates/vsc/ts/teams-collaborator-agent/.gitignore.tpl @@ -16,7 +16,7 @@ node_modules/ .DS_Store # build -lib/ +dist/ # Dev tool directories /devTools/ diff --git a/templates/vsc/ts/weather-agent/.gitignore.tpl b/templates/vsc/ts/weather-agent/.gitignore.tpl index 6cc795ca4dd..75a5c39d709 100644 --- a/templates/vsc/ts/weather-agent/.gitignore.tpl +++ b/templates/vsc/ts/weather-agent/.gitignore.tpl @@ -18,7 +18,7 @@ node_modules/ .DS_Store # build -lib/ +dist/ # Dev tool directories /devTools/ \ No newline at end of file diff --git a/templates/vsc/ts/weather-agent/package.json.tpl b/templates/vsc/ts/weather-agent/package.json.tpl index 8feb7b319ba..7af025435c0 100644 --- a/templates/vsc/ts/weather-agent/package.json.tpl +++ b/templates/vsc/ts/weather-agent/package.json.tpl @@ -7,14 +7,14 @@ "description": "Weather Agent with Microsoft 365 Agents SDK and LangChain", "author": "Microsoft", "license": "MIT", - "main": "./lib/src/index.js", + "main": "./dist/src/index.js", "scripts": { "dev:teamsfx": "env-cmd --silent -f .localConfigs npm run dev", "dev:teamsfx:playground": "env-cmd --silent -f .localConfigs.playground npm run dev", "dev:teamsfx:launch-playground": "env-cmd --silent -f env/.env.playground agentsplayground start", "dev": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts", "build": "tsc --build", - "start": "node ./lib/src/index.js", + "start": "node ./dist/src/index.js", "test": "echo \"Error: no test specified\" && exit 1", "watch": "nodemon --exec \"npm run start\"" }, diff --git a/templates/vsc/ts/weather-agent/tsconfig.json b/templates/vsc/ts/weather-agent/tsconfig.json index 4a2330fdc68..973ad8c4dad 100644 --- a/templates/vsc/ts/weather-agent/tsconfig.json +++ b/templates/vsc/ts/weather-agent/tsconfig.json @@ -4,11 +4,11 @@ "target": "es2019", "module": "commonjs", "moduleResolution": "node", - "outDir": "./lib", + "outDir": "./dist", "rootDir": "./", "sourceMap": true, "incremental": true, - "tsBuildInfoFile": "./lib/.tsbuildinfo", + "tsBuildInfoFile": "./dist/.tsbuildinfo", "esModuleInterop": true } } \ No newline at end of file diff --git a/templates/vsc/ts/weather-agent/web.config b/templates/vsc/ts/weather-agent/web.config index 793a3a982b4..2fe28ac4426 100644 --- a/templates/vsc/ts/weather-agent/web.config +++ b/templates/vsc/ts/weather-agent/web.config @@ -11,13 +11,13 @@ - + - + @@ -30,7 +30,7 @@ - +