Populate extension pack property

This commit is contained in:
Sandeep Somavarapu 2018-07-12 13:59:30 +02:00
parent ad33f295c8
commit b4b3ffd611
3 changed files with 4 additions and 1 deletions

View file

@ -11,6 +11,7 @@
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="<%- engine %>" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="<%- extensionDependencies %>" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="<%- extensionPack %>" />
<% if (links.repository) { %>
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="<%- links.repository %>" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="<%- links.repository %>" />

View file

@ -34,6 +34,7 @@ export interface Manifest {
contributes?: Contributions;
activationEvents?: string[];
extensionDependencies?: string[];
extensionPack?: string[];
galleryBanner?: { color?: string; theme?: string; };
preview?: boolean;
badges?: { url: string; href: string; description: string; }[];

View file

@ -206,7 +206,8 @@ class ManifestProcessor extends BaseProcessor {
githubMarkdown: manifest.markdown !== 'standard',
enableMarketplaceQnA,
customerQnALink,
extensionDependencies: _(manifest.extensionDependencies || []).uniq().join(',')
extensionDependencies: _(manifest.extensionDependencies || []).uniq().join(','),
extensionPack: _(manifest.extensionPack || []).uniq().join(',')
};
if (isGitHub) {