提交 085f4656 编写于 作者: I isidor

add some commit hashes and versions to cgmanifest.json

上级 b134a61e
......@@ -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 @@
}
}
}
}
\ No newline at end of file
}
......@@ -6,11 +6,11 @@
"git": {
"name": "definitelytyped",
"repositoryUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"commitHash": ""
"commitHash": "69e3ac6bec3008271f76bbfa7cf69aa9198c4ff0"
}
},
"license": "MIT"
}
],
"version": 1
}
\ No newline at end of file
}
......@@ -6,11 +6,11 @@
"git": {
"name": "definitelytyped",
"repositoryUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"commitHash": ""
"commitHash": "69e3ac6bec3008271f76bbfa7cf69aa9198c4ff0"
}
},
"license": "MIT"
}
],
"version": 1
}
\ No newline at end of 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
}
\ No newline at end of file
}
......@@ -6,11 +6,11 @@
"git": {
"name": "definitelytyped",
"repositoryUrl": "https://github.com/DefinitelyTyped/DefinitelyTyped",
"commitHash": ""
"commitHash": "69e3ac6bec3008271f76bbfa7cf69aa9198c4ff0"
}
},
"license": "MIT"
}
],
"version": 1
}
\ No newline at end of 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
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册