add dist/source to package definition
parent
585773a3cc
commit
62a890df5c
|
@ -74,6 +74,12 @@
|
||||||
"package": {
|
"package": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{ "$ref": "#/definitions/package-base" },
|
{ "$ref": "#/definitions/package-base" },
|
||||||
|
{
|
||||||
|
"properties": {
|
||||||
|
"dist": { "type": "object" },
|
||||||
|
"source": { "type": "object" }
|
||||||
|
}
|
||||||
|
},
|
||||||
{ "oneOf": [
|
{ "oneOf": [
|
||||||
{ "required": [ "name", "version", "source" ] },
|
{ "required": [ "name", "version", "source" ] },
|
||||||
{ "required": [ "name", "version", "dist" ] }
|
{ "required": [ "name", "version", "dist" ] }
|
||||||
|
|
Loading…
Reference in New Issue