This PR adds support specifically for Find and Install to retrieve dependency information for a package.
Specifically, it parses out dependency information from the server-side metadata Json string and adds that information to the PSResourceInfo object.
It also removes some functionality added in PR #1577, namely it removes attaching dependency.json files to a package. Instead, dependency information is now retrieved from the RequiredModules property in the package's metadata.
If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.
PR Summary
This PR adds support specifically for Find and Install to retrieve dependency information for a package. Specifically, it parses out dependency information from the server-side metadata Json string and adds that information to the
PSResourceInfo
object.It also removes some functionality added in PR #1577, namely it removes attaching dependency.json files to a package. Instead, dependency information is now retrieved from the
RequiredModules
property in the package's metadata.PR Context
Resolves #1585
PR Checklist
.h
,.cpp
,.cs
,.ps1
and.psm1
files have the correct copyright headerWIP:
or[ WIP ]
to the beginning of the title (theWIP
bot will keep its status check atPending
while the prefix is present) and remove the prefix when the PR is ready.