Skip to content

Commit

Permalink
chore: update schema for internLoaderPath
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
jason0x43 committed Jun 4, 2020
1 parent 9b3fd5d commit 4cdb0d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -36646,7 +36646,7 @@
"isOptional": true
},
"comment": {
"shortText": "An optional file path for the loader. If unspecified Intern will assume the loader's package is\ninstalled in `node_modules`. This property is prefixed with \"intern\" to distinguish it from\nother properties which will be passed to the loader. If present, Intern will read this property\nand then remove it before passing the options to the loader."
"shortText": "An optional file path for the loader. If unspecified Intern will assume the loader's package is\ninstalled in `node_modules`. This property is prefixed with \"intern\" to distinguish it from\nother properties which will be passed to the loader. If present, Intern will read this property\nand then filter it out of the config passed to the loader."
},
"sources": [
{
Expand Down
7 changes: 5 additions & 2 deletions src/schemas/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://theintern.io/intern/resources/4/schemas/config-4.6.json",
"$id": "https://theintern.io/intern/resources/4/schemas/config-4.8.json",

"title": "Intern",
"description": "Intern v4 config schema",
Expand Down Expand Up @@ -532,7 +532,10 @@
"properties": {
"script": { "$ref": "#/definitions/loaderName" },
"options": {
"type": "object"
"type": "object",
"properties": {
"internLoaderPath": { "type": "string" }
}
}
},
"required": ["script"],
Expand Down

0 comments on commit 4cdb0d6

Please sign in to comment.