add some commit hashes and versions to cgmanifest.json

This commit is contained in:
isidor 2018-11-20 16:31:01 +01:00
parent b134a61eb2
commit 085f4656ed
6 changed files with 96 additions and 29 deletions

View file

@ -10,31 +10,98 @@
"oneOf": [
{
"type": "object",
"required": [ "type", "git" ],
"required": [
"type",
"git"
],
"properties": {
"type": { "type": "string", "enum": [ "git" ] },
"type": {
"type": "string",
"enum": [
"git"
]
},
"git": {
"type": "object",
"required": [ "name", "repositoryUrl", "commitHash" ],
"required": [
"name",
"repositoryUrl",
"commitHash"
],
"properties": {
"name": { "type": "string" },
"repositoryUrl": { "type": "string" },
"commitHash": { "type": "string" }
"name": {
"type": "string"
},
"repositoryUrl": {
"type": "string"
},
"commitHash": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"required": [ "type", "npm" ],
"required": [
"type",
"npm"
],
"properties": {
"type": { "type": "string", "enum": [ "npm" ] },
"type": {
"type": "string",
"enum": [
"npm"
]
},
"npm": {
"type": "object",
"required": [ "name", "version" ],
"required": [
"name",
"version"
],
"properties": {
"name": { "type": "string" },
"version": { "type": "string" }
"name": {
"type": "string"
},
"version": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"required": [
"type",
"other"
],
"properties": {
"type": {
"type": "string",
"enum": [
"other"
]
},
"other": {
"type": "object",
"required": [
"name",
"downloadUrl",
"version"
],
"properties": {
"name": {
"type": "string"
},
"downloadUrl": {
"type": "string"
},
"version": {
"type": "string"
}
}
}
}
@ -72,4 +139,4 @@
}
}
}
}
}

View file

@ -6,11 +6,11 @@
"git": {
"name": "definitelytyped",
"repositoryUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"commitHash": ""
"commitHash": "69e3ac6bec3008271f76bbfa7cf69aa9198c4ff0"
}
},
"license": "MIT"
}
],
"version": 1
}
}

View file

@ -6,11 +6,11 @@
"git": {
"name": "definitelytyped",
"repositoryUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"commitHash": ""
"commitHash": "69e3ac6bec3008271f76bbfa7cf69aa9198c4ff0"
}
},
"license": "MIT"
}
],
"version": 1
}
}

View file

@ -18,7 +18,7 @@
"git": {
"name": "definitelytyped",
"repositoryUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"commitHash": ""
"commitHash": "69e3ac6bec3008271f76bbfa7cf69aa9198c4ff0"
}
},
"license": "MIT"
@ -131,4 +131,4 @@
}
],
"version": 1
}
}

View file

@ -6,11 +6,11 @@
"git": {
"name": "definitelytyped",
"repositoryUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"commitHash": ""
"commitHash": "69e3ac6bec3008271f76bbfa7cf69aa9198c4ff0"
}
},
"license": "MIT"
}
],
"version": 1
}
}

View file

@ -2,11 +2,11 @@
"registrations": [
{
"component": {
"type": "git",
"git": {
"type": "other",
"other": {
"name": "octicons-code",
"repositoryUrl": "https://octicons.github.com",
"commitHash": ""
"version": "3.1.0",
"downloadUrl": "https://registry.npmjs.org/octicons/-/octicons-3.1.0.tgz"
}
},
"licenseDetail": [
@ -37,11 +37,11 @@
},
{
"component": {
"type": "git",
"git": {
"type": "other",
"other": {
"name": "octicons-font",
"repositoryUrl": "https://octicons.github.com",
"commitHash": ""
"version": "3.1.0",
"downloadUrl": "https://registry.npmjs.org/octicons/-/octicons-3.1.0.tgz"
}
},
"licenseDetail": [
@ -137,4 +137,4 @@
}
],
"version": 1
}
}