Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/cli/templates/typescript/ai/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"clean": "npx rimraf ./dist",
"build": "npx tsup",
"start": "node .",
"dev": "tsx watch -r dotenv/config src/index.ts"
"dev": "concurrently \"tsx watch -r dotenv/config src/index.ts\" \"tsc --noEmit --watch\"",
"dev:run": "tsx watch -r dotenv/config src/index.ts",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not using the --env-file flag?

the -r dotnev/config seems obscure and dated in 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fair!

"dev:check": "tsc --noEmit --watch"
},
"dependencies": {
"@microsoft/teams.ai": "latest",
Expand All @@ -24,6 +26,7 @@
"@types/node": "^22.5.4",
"dotenv": "^16.4.5",
"rimraf": "^6.0.1",
"concurrently": "^9.1.2",
"tsx": "^4.20.6",
"tsup": "^8.4.0",
"typescript": "^5.4.5"
Expand Down
5 changes: 4 additions & 1 deletion packages/cli/templates/typescript/echo/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"clean": "npx rimraf ./dist",
"build": "npx tsup",
"start": "node .",
"dev": "tsx watch -r dotenv/config src/index.ts"
"dev": "concurrently \"tsx watch -r dotenv/config src/index.ts\" \"tsc --noEmit --watch\"",
"dev:run": "tsx watch -r dotenv/config src/index.ts",
"dev:check": "tsc --noEmit --watch"
},
"dependencies": {
"@microsoft/teams.apps": "latest"
Expand All @@ -22,6 +24,7 @@
"@types/node": "^22.5.4",
"dotenv": "^16.4.5",
"rimraf": "^6.0.1",
"concurrently": "^9.1.2",
"tsx": "^4.20.6",
"tsup": "^8.4.0",
"typescript": "^5.4.5"
Expand Down
5 changes: 4 additions & 1 deletion packages/cli/templates/typescript/graph/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"clean": "npx rimraf ./dist",
"build": "npx tsup",
"start": "node .",
"dev": "tsx watch -r dotenv/config src/index.ts"
"dev": "concurrently \"tsx watch -r dotenv/config src/index.ts\" \"tsc --noEmit --watch\"",
"dev:run": "tsx watch -r dotenv/config src/index.ts",
"dev:check": "tsc --noEmit --watch"
},
"dependencies": {
"@microsoft/teams.apps": "latest",
Expand All @@ -24,6 +26,7 @@
"@types/node": "^22.5.4",
"dotenv": "^16.4.5",
"rimraf": "^6.0.1",
"concurrently": "^9.1.2",
"tsx": "^4.20.6",
"tsup": "^8.4.0",
"typescript": "^5.4.5"
Expand Down
8 changes: 5 additions & 3 deletions packages/cli/templates/typescript/mcp/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"clean": "npx rimraf ./dist",
"build": "npx tsc",
"start": "node .",
"dev": "tsx watch -r dotenv/config src/index.ts",
"inspect": "npx cross-env SERVER_PORT=9000 npx @modelcontextprotocol/inspector -e NODE_NO_WARNINGS=1 -e PORT=3978 node
-r dotenv/config ."
"dev": "concurrently \"tsx watch -r dotenv/config src/index.ts\" \"tsc --noEmit --watch\"",
"dev:run": "tsx watch -r dotenv/config src/index.ts",
"dev:check": "tsc --noEmit --watch",
"inspect": "npx cross-env SERVER_PORT=9000 npx @modelcontextprotocol/inspector -e NODE_NO_WARNINGS=1 -e PORT=3978 node -r dotenv/config ."
},
"dependencies": {
"@microsoft/teams.apps": "latest",
Expand All @@ -29,6 +30,7 @@
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"rimraf": "^6.0.1",
"concurrently": "^9.1.2",
"tsx": "^4.20.6",
"typescript": "^5.4.5"
}
Expand Down
5 changes: 4 additions & 1 deletion packages/cli/templates/typescript/mcpclient/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
"clean": "npx rimraf ./dist",
"build": "npx tsc",
"start": "node .",
"dev": "tsx watch -r dotenv/config src/index.ts"
"dev": "concurrently \"tsx watch -r dotenv/config src/index.ts\" \"tsc --noEmit --watch\"",
"dev:run": "tsx watch -r dotenv/config src/index.ts",
"dev:check": "tsc --noEmit --watch"
},
"dependencies": {
"@microsoft/teams.apps": "latest",
Expand All @@ -26,6 +28,7 @@
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"rimraf": "^6.0.1",
"concurrently": "^9.1.2",
"tsx": "^4.20.6",
"typescript": "^5.4.5"
}
Expand Down
Loading