-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74a6d28
commit 2fd7e63
Showing
7 changed files
with
109 additions
and
127 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
module.exports = (env) => { | ||
|
||
const isDevelopment = env.mode == 'development'; | ||
|
||
const [id, name] = isDevelopment | ||
? ['spotcheck-dev', 'SpotCheck Dev'] | ||
: ['spotcheck', 'SpotCheck']; | ||
|
||
let manifest = { | ||
manifestVersion: 1, | ||
id, | ||
name, | ||
publisher: 'igorkalders', | ||
version: '1.0.0', | ||
description: 'Enable screenshots spot checks from your application right from within Azure DevOps', | ||
categories: [ | ||
'Azure Pipelines' | ||
], | ||
targets: [ | ||
{ | ||
id: 'Microsoft.VisualStudio.Services' | ||
} | ||
], | ||
icons: { | ||
default: 'logo.png' | ||
}, | ||
content: { | ||
details: { | ||
path: 'overview.md' | ||
} | ||
}, | ||
files: [ | ||
{ | ||
path: 'dist', | ||
addressable: true | ||
} | ||
], | ||
scopes: [ | ||
'vso.build', | ||
'vso.extension.default', | ||
'vso.work', | ||
'vso.code_write' | ||
], | ||
contributions: [ | ||
{ | ||
id: 'spotcheck-build', | ||
type: 'ms.vss-build-web.build-results-tab', | ||
targets: [ | ||
'ms.vss-build-web.build-results-view' | ||
], | ||
properties: { | ||
name: 'SpotCheck', | ||
uri: 'dist/SpotCheck/SpotCheck.html', | ||
order: 100, | ||
height: 400 | ||
}, | ||
constraints: [ | ||
{ | ||
name: 'Feature', | ||
properties: { | ||
featureId: `${id}.spotcheck-toggle` | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
id: 'spotcheck-toggle', | ||
type: 'ms.vss-web.feature', | ||
description: 'Show SpotCheck on build pipelines', | ||
targets: [ | ||
'ms.vss-web.managed-features' | ||
], | ||
properties: { | ||
name: 'SpotCheck', | ||
userConfigurable: true, | ||
hostConfigurable: true | ||
} | ||
}, | ||
{ | ||
id: 'spotcheck-config-hub', | ||
type: 'ms.vss-web.hub', | ||
targets: [ | ||
'ms.vss-web.project-admin-hub-group' | ||
], | ||
properties: { | ||
name: 'SpotCheck Configuration', | ||
order: 30, | ||
uri: 'dist/Config/Config.html' | ||
} | ||
} | ||
] | ||
} | ||
|
||
if (isDevelopment) { | ||
manifest.baseUri = 'https://localhost:3000'; | ||
} | ||
|
||
return manifest; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"version": "1.0.11" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"version": "1.0.8" | ||
} |