forked from conwnet/github1s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
product.ts
28 lines (27 loc) · 862 Bytes
/
product.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { Platform } from './config';
export const createProductConfiguration = (platform: Platform) => ({
nameShort: platform + '1s',
nameLong: platform + '1s',
applicationName: platform + '1s',
reportIssueUrl: 'https://github.com/conwnet/github1s/issues/new',
extensionsGallery: {
resourceUrlTemplate: 'https://openvsxorg.blob.core.windows.net/resources/{publisher}/{name}/{version}/{path}',
serviceUrl: 'https://open-vsx.org/vscode/gallery',
itemUrl: 'https://open-vsx.org/vscode/item',
},
linkProtectionTrustedDomains: [
'*.github.com',
'*.github1s.com',
'*.gitlab.com',
'*.gitlab1s.com',
'*.bitbucket.org',
'*.bitbucket1s.org',
'*.npmjs.com',
'*.npmjs1s.com',
'*.microsoft.com',
'*.sourcegraph.com',
'*.ossinsight.io',
'*.open-vsx.org',
],
extensionEnabledApiProposals: { 'ms-vscode.anycode': ['extensionsAny'] },
});