msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
Compress MgCommandMetadata.json to reduce whitespace/package size
Fixes #3345.
Changes proposed in this pull request
Adds -Compress to ConvertTo-Json calls in post-generation tools:
AuthModuleMetadataNewCommandMetadata
This JSON file has nearly 6MB of unnecessary whitespace, constituting about 13.9% of the module's unpacked size.
Certainly welcome to feedback on this PR - these files don't appear to be getting auto-updated by CI, and I was looking for specifically the MgCommandMetadata.json filename. I'm not sure if there are other AutoREST directives/generator tools that need updating as well.