Skip to content

Commit 4cdb0d6

Browse files
committed
chore: update schema for internLoaderPath
[ci skip]
1 parent 9b3fd5d commit 4cdb0d6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docs/api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36646,7 +36646,7 @@
3664636646
"isOptional": true
3664736647
},
3664836648
"comment": {
36649-
"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."
36649+
"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."
3665036650
},
3665136651
"sources": [
3665236652
{

src/schemas/config.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://theintern.io/intern/resources/4/schemas/config-4.6.json",
3+
"$id": "https://theintern.io/intern/resources/4/schemas/config-4.8.json",
44

55
"title": "Intern",
66
"description": "Intern v4 config schema",
@@ -532,7 +532,10 @@
532532
"properties": {
533533
"script": { "$ref": "#/definitions/loaderName" },
534534
"options": {
535-
"type": "object"
535+
"type": "object",
536+
"properties": {
537+
"internLoaderPath": { "type": "string" }
538+
}
536539
}
537540
},
538541
"required": ["script"],

0 commit comments

Comments
 (0)