Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JS] chore: samples fix support for Teams App Test tool #1993

Merged
merged 3 commits into from
Sep 11, 2024
Merged
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 js/samples/01.getting-started/a.echoBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"yarn start\"",
"dev:teamsfx": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .localConfigs.testTool npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"yarn start\"",
"dev:teamsfx": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .localConfigs.testTool npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
},
"repository": {
"type": "git",
Expand Down
8 changes: 5 additions & 3 deletions js/samples/04.ai-apps/a.teamsChefBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
"license": "MIT",
"main": "./lib/index.js",
"scripts": {
"dev:teamsfx": "npm run dev",
"dev": "nodemon --watch ./src --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts",
"build": "tsc --build",
"clean": "rimraf node_modules lib",
"lint": "eslint **/src/**/*.{j,t}s{,x} --fix --no-error-on-unmatched-pattern",
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"npm start\""
"watch": "nodemon --watch ./src -e ts --exec \"npm start\"",
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .localConfigs.testTool npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
},
"repository": {
"type": "git",
Expand Down
Loading