Closed
Conversation
Member
Author
|
overseed by #201 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes several updates across multiple sample projects to improve package management, streamline build processes, and enhance code functionality. The most significant changes involve replacing
npm installwithnpm cifor consistent dependency installation, updating dependencies inpackage.json, and refining theGetWeatherToolimplementation in the weather agent sample.Package Management Updates:
Replaced
npm installwithnpm ciin theprebuildscripts across allpackage.jsonfiles to ensure clean and reliable dependency installation. (samples/basic/cards/nodejs/package.json[1]samples/basic/copilotstudio-client/nodejs/package.json[2]samples/basic/empty-agent/nodejs/package.json[3]samples/basic/weather-agent/nodejs/package.json[4]samples/complex/copilotstudio-skill/nodejs/package.json[5]Removed
package-lock=falsefrom.npmrcfiles to allow the generation ofpackage-lock.jsonfor better dependency tracking. (samples/basic/cards/nodejs/.npmrc[1]samples/basic/copilotstudio-client/nodejs/.npmrc[2]samples/basic/empty-agent/nodejs/.npmrc[3]samples/complex/copilotstudio-skill/nodejs/.npmrc[4]Dependency Updates:
@microsoft/agents-copilotstudio-clientdependency insamples/basic/copilotstudio-client/nodejs/package.jsonfrom^0.4.0to^0.5.12-g2d752e9b13to incorporate the latest features and fixes. (samples/basic/copilotstudio-client/nodejs/package.jsonsamples/basic/copilotstudio-client/nodejs/package.jsonL11-R18)Code Enhancements:
GetWeatherToolinsamples/basic/weather-agent/nodejs/src/tools/getWeatherTool.tsto define and use a separategetWeatherSchemaobject, improving code readability and maintainability. (samples/basic/weather-agent/nodejs/src/tools/getWeatherTool.tssamples/basic/weather-agent/nodejs/src/tools/getWeatherTool.tsL1-R24)Miscellaneous:
package-lock.jsonfrom.gitignoreto ensure the lock file is tracked in version control. (samples/.gitignoresamples/.gitignoreL229)