Commit 56e4df93 by Mitchell Coote Committed by Sébastien Eustace

Allow the use of the period character in dependency names. (#32)

parent 1a780975
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
} }
}, },
"patternProperties": { "patternProperties": {
"^[a-zA-Z-_0-9]+$": { "^[a-zA-Z-_.0-9]+$": {
"oneOf": [ "oneOf": [
{ {
"$ref": "#/definitions/dependency" "$ref": "#/definitions/dependency"
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
"type": "object", "type": "object",
"description": "This is a hash of package name (keys) and version constraints (values) that this package requires for developing it (testing tools and such).", "description": "This is a hash of package name (keys) and version constraints (values) that this package requires for developing it (testing tools and such).",
"patternProperties": { "patternProperties": {
"^[a-zA-Z-_0-9]+$": { "^[a-zA-Z-_.0-9]+$": {
"oneOf": [ "oneOf": [
{ {
"$ref": "#/definitions/dependency" "$ref": "#/definitions/dependency"
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
"extras": { "extras": {
"type": "object", "type": "object",
"patternProperties": { "patternProperties": {
"^[a-zA-Z-_0-9]+$": { "^[a-zA-Z-_.0-9]+$": {
"type": "array", "type": "array",
"items": { "items": {
"type": "string" "type": "string"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment