Skip to content

Commit a07626a

Browse files
committed
Fix indentation
1 parent ac61996 commit a07626a

11 files changed

Lines changed: 489 additions & 468 deletions

‎schemas/plugins/BannerPlugin.json‎

Lines changed: 62 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,64 @@
11
{
2-
"id": "BannerPlugin",
3-
"definitions": {
4-
"rule": {
5-
"oneOf": [{
6-
"instanceOf": "RegEx"
7-
},
8-
{
9-
"minLength": 1,
10-
"type": "string"
11-
}
12-
]
13-
},
14-
"rules": {
15-
"oneOf": [{
16-
"items": {
17-
"$ref": "#/definitions/rule"
18-
},
19-
"type": "array"
20-
}, {
21-
"$ref": "#/definitions/rule"
22-
}]
23-
}
24-
},
25-
"oneOf": [{
26-
"type": "object",
27-
"additionalProperties": false,
28-
"required": ["banner"],
29-
"properties": {
30-
"banner": {
31-
"description": "The banner as string, it will be wrapped in a comment",
32-
"type": "string"
33-
},
34-
"raw": {
35-
"description": "If true, banner will not be wrapped in a comment",
36-
"type": "boolean"
37-
},
38-
"entryOnly": {
39-
"description": "If true, the banner will only be added to the entry chunks",
40-
"type": "boolean"
41-
},
42-
"test": {
43-
"$ref": "#/definitions/rules"
44-
},
45-
"include": {
46-
"$ref": "#/definitions/rules"
47-
},
48-
"exclude": {
49-
"$ref": "#/definitions/rules"
50-
}
51-
}
52-
},
53-
{
54-
"description": "The banner as string, it will be wrapped in a comment",
55-
"minLength": 1,
56-
"type": "string"
57-
}
58-
]
2+
"id": "BannerPlugin",
3+
"definitions": {
4+
"rule": {
5+
"oneOf": [
6+
{
7+
"instanceOf": "RegEx"
8+
},
9+
{
10+
"minLength": 1,
11+
"type": "string"
12+
}
13+
]
14+
},
15+
"rules": {
16+
"oneOf": [
17+
{
18+
"items": {
19+
"$ref": "#/definitions/rule"
20+
},
21+
"type": "array"
22+
},
23+
{
24+
"$ref": "#/definitions/rule"
25+
}
26+
]
27+
}
28+
},
29+
"oneOf": [
30+
{
31+
"type": "object",
32+
"additionalProperties": false,
33+
"required": ["banner"],
34+
"properties": {
35+
"banner": {
36+
"description": "The banner as string, it will be wrapped in a comment",
37+
"type": "string"
38+
},
39+
"raw": {
40+
"description": "If true, banner will not be wrapped in a comment",
41+
"type": "boolean"
42+
},
43+
"entryOnly": {
44+
"description": "If true, the banner will only be added to the entry chunks",
45+
"type": "boolean"
46+
},
47+
"test": {
48+
"$ref": "#/definitions/rules"
49+
},
50+
"include": {
51+
"$ref": "#/definitions/rules"
52+
},
53+
"exclude": {
54+
"$ref": "#/definitions/rules"
55+
}
56+
}
57+
},
58+
{
59+
"description": "The banner as string, it will be wrapped in a comment",
60+
"minLength": 1,
61+
"type": "string"
62+
}
63+
]
5964
}

‎schemas/plugins/DllPlugin.json‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"id": "DllPlugin",
3-
"additionalProperties": false,
4-
"properties": {
5-
"context": {
6-
"description": "Context of requests in the manifest file (defaults to the webpack context)",
7-
"minLength": 1,
8-
"type": "string"
9-
},
10-
"name": {
11-
"description": "Name of the exposed dll function",
12-
"minLength": 1,
13-
"type": "string"
14-
},
15-
"path": {
16-
"description": "Absolute path to the manifest json file (output)",
17-
"minLength": 1,
18-
"type": "string"
19-
}
20-
}
2+
"id": "DllPlugin",
3+
"additionalProperties": false,
4+
"properties": {
5+
"context": {
6+
"description": "Context of requests in the manifest file (defaults to the webpack context)",
7+
"minLength": 1,
8+
"type": "string"
9+
},
10+
"name": {
11+
"description": "Name of the exposed dll function",
12+
"minLength": 1,
13+
"type": "string"
14+
},
15+
"path": {
16+
"description": "Absolute path to the manifest json file (output)",
17+
"minLength": 1,
18+
"type": "string"
19+
}
20+
}
2121
}
Lines changed: 72 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,74 @@
11
{
2-
"id": "DllReferencePlugin",
3-
"slug": "dll-plugin/#dllreferenceplugin",
4-
"additionalProperties": false,
5-
"properties": {
6-
"context": {
7-
"description": "(absolute path) context of requests in the manifest (or content property)",
8-
"minLength": 1,
9-
"type": "string"
10-
},
11-
"manifest": {
12-
"description": "An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation",
13-
"oneOf": [{
14-
"type": "object",
15-
"properties": {
16-
"content": {
17-
"description": "The mappings from request to module id",
18-
"minLength": 1,
19-
"type": "object"
20-
},
21-
"name": {
22-
"description": "The name where the dll is exposed",
23-
"minLength": 1,
24-
"type": "string"
25-
}
26-
}
27-
},
28-
{
29-
"minLength": 1,
30-
"type": "string"
31-
}
32-
]
33-
},
34-
"content": {
35-
"description": "The mappings from request to module id (defaults to manifest.content)",
36-
"minLength": 1,
37-
"type": "object"
38-
},
39-
"name": {
40-
"description": "The name where the dll is exposed (defaults to manifest.name)",
41-
"minLength": 1,
42-
"type": "string"
43-
},
44-
"scope": {
45-
"description": "Prefix which is used for accessing the content of the dll",
46-
"minLength": 1,
47-
"type": "string"
48-
},
49-
"sourceType": {
50-
"description": "How the dll is exposed (libraryTarget)",
51-
"enum": [
52-
"var",
53-
"assign",
54-
"this",
55-
"window",
56-
"global",
57-
"commonjs",
58-
"commonjs2",
59-
"commonjs-module",
60-
"amd",
61-
"umd",
62-
"umd2",
63-
"jsonp"
64-
]
65-
},
66-
"extensions": {
67-
"description": "UNDOCUMENTED",
68-
"type": "array",
69-
"items": {
70-
"type": "string"
71-
}
72-
}
73-
}
2+
"id": "DllReferencePlugin",
3+
"additionalProperties": false,
4+
"properties": {
5+
"context": {
6+
"description": "(absolute path) context of requests in the manifest (or content property)",
7+
"minLength": 1,
8+
"type": "string"
9+
},
10+
"manifest": {
11+
"description": "An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation",
12+
"oneOf": [
13+
{
14+
"type": "object",
15+
"properties": {
16+
"content": {
17+
"description": "The mappings from request to module id",
18+
"minLength": 1,
19+
"type": "object"
20+
},
21+
"name": {
22+
"description": "The name where the dll is exposed",
23+
"minLength": 1,
24+
"type": "string"
25+
}
26+
}
27+
},
28+
{
29+
"minLength": 1,
30+
"type": "string"
31+
}
32+
]
33+
},
34+
"content": {
35+
"description": "The mappings from request to module id (defaults to manifest.content)",
36+
"minLength": 1,
37+
"type": "object"
38+
},
39+
"name": {
40+
"description": "The name where the dll is exposed (defaults to manifest.name)",
41+
"minLength": 1,
42+
"type": "string"
43+
},
44+
"scope": {
45+
"description": "Prefix which is used for accessing the content of the dll",
46+
"minLength": 1,
47+
"type": "string"
48+
},
49+
"sourceType": {
50+
"description": "How the dll is exposed (libraryTarget)",
51+
"enum": [
52+
"var",
53+
"assign",
54+
"this",
55+
"window",
56+
"global",
57+
"commonjs",
58+
"commonjs2",
59+
"commonjs-module",
60+
"amd",
61+
"umd",
62+
"umd2",
63+
"jsonp"
64+
]
65+
},
66+
"extensions": {
67+
"description": "UNDOCUMENTED",
68+
"type": "array",
69+
"items": {
70+
"type": "string"
71+
}
72+
}
73+
}
7474
}
Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,31 @@
11
{
2-
"id": "HashedModuleIdsPlugin",
3-
"type": "object",
4-
"additionalProperties": false,
5-
"properties": {
6-
"hashFunction": {
7-
"description": "The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.",
8-
"enum": [
9-
"md5",
10-
"md4",
11-
"md2",
12-
"sha1",
13-
"sha",
14-
"sha224",
15-
"sha256",
16-
"sha384",
17-
"sha512",
18-
"mdc2",
19-
"ripemd160"
20-
]
21-
},
22-
"hashDigest": {
23-
"description": "The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.",
24-
"enum": [
25-
"hex",
26-
"latin1",
27-
"base64"
28-
]
29-
},
30-
"hashDigestLength": {
31-
"description": "The prefix length of the hash digest to use, defaults to 4.",
32-
"type": "number"
33-
}
34-
}
2+
"id": "HashedModuleIdsPlugin",
3+
"type": "object",
4+
"additionalProperties": false,
5+
"properties": {
6+
"hashFunction": {
7+
"description": "The hashing algorithm to use, defaults to 'md5'. All functions from Node.JS' crypto.createHash are supported.",
8+
"enum": [
9+
"md5",
10+
"md4",
11+
"md2",
12+
"sha1",
13+
"sha",
14+
"sha224",
15+
"sha256",
16+
"sha384",
17+
"sha512",
18+
"mdc2",
19+
"ripemd160"
20+
]
21+
},
22+
"hashDigest": {
23+
"description": "The encoding to use when generating the hash, defaults to 'base64'. All encodings from Node.JS' hash.digest are supported.",
24+
"enum": ["hex", "latin1", "base64"]
25+
},
26+
"hashDigestLength": {
27+
"description": "The prefix length of the hash digest to use, defaults to 4.",
28+
"type": "number"
29+
}
30+
}
3531
}

0 commit comments

Comments
 (0)