Skip to content

Commit 5d1a712

Browse files
committed
Do not require "install" command for core-infrastructure packages
1 parent ef4e02c commit 5d1a712

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

scripts/src/ecosystem_scripts/schema.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@
224224
},
225225
"test_command": {
226226
"description": "A shell command to install the package and execute the tests, assuming you are inside a freshly cloned copy of the package repository. Often this will be `pip install \".[test]\" && pytest`",
227-
"type": ["string", "null"]
227+
"type": [
228+
"string"
229+
]
228230
},
229231
"category": {
230232
"type": "string",
@@ -250,11 +252,15 @@
250252
"if": {
251253
"not": {
252254
"properties": {
253-
"category": { "const": "core-infrastructure" }
255+
"category": {
256+
"const": "core-infrastructure"
257+
}
254258
}
255259
}
256260
},
257261
"then": {
258-
"required": ["install", "contact"]
262+
"required": [
263+
"install"
264+
]
259265
}
260266
}

0 commit comments

Comments
 (0)