Convert more static previews (#2801)

This commit is contained in:
Paul Melnikow
2019-01-17 15:13:31 -05:00
committed by GitHub
parent ab5fee2bfd
commit d927df22c5
6 changed files with 55 additions and 7 deletions

View File

@@ -19,6 +19,7 @@ module.exports = class Jitpack extends LegacyService {
static get route() {
return {
base: 'jitpack/v',
pattern: ':groupId/:artifactId',
}
}
@@ -26,8 +27,16 @@ module.exports = class Jitpack extends LegacyService {
return [
{
title: 'JitPack',
previewUrl: 'jitpack/maven-simple',
keywords: ['jitpack', 'java', 'maven'],
namedParams: {
groupId: 'jitpack',
artifactId: 'maven-simple',
},
staticPreview: {
label: 'jitpack',
message: 'v1.1',
color: 'blue',
},
keywords: ['java', 'maven'],
},
]
}