/
schema.json
104 lines (104 loc) 路 2.73 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"changelog": {
"anyOf": [
{
"type": "array",
"items": [
{
"type": "string",
"title": "Changelog Generator Path"
},
{ "title": "Changelog Generator Options" }
],
"minItems": 1,
"maxItems": 2
},
{
"enum": [false],
"type": "boolean"
},
{
"type": "string",
"title": "Changelog Generator Path"
}
],
"description": "The configuration for changelog generators.",
"default": ["@changesets/cli", null]
},
"fixed": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "Packages that should always be released together with the same version.",
"default": []
},
"linked": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "Packages that should be linked together so when they are being released, they will be released at the same version.",
"default": []
},
"commit": {
"anyOf": [
{
"type": "array",
"items": [
{
"type": "string",
"title": "Commit Generator Path"
},
{ "title": "Commit Generator Options" }
],
"minItems": 1,
"maxItems": 2
},
{
"type": "boolean"
},
{
"type": "string",
"title": "Commit Generator Path"
}
],
"description": "Determines whether Changesets should commit the results of the add and version command.",
"default": false
},
"access": {
"enum": ["restricted", "public"],
"type": "string",
"description": "Determines whether Changesets should publish packages to the registry publicly or to a restricted scope.",
"default": "restricted"
},
"baseBranch": {
"type": "string",
"default": "master",
"description": "Determines the branch that Changesets uses when finding what packages have changed."
},
"ignore": {
"type": "array",
"items": {
"type": "string"
},
"description": "Packages that should not be released.",
"default": []
},
"updateInternalDependencies": {
"enum": ["patch", "minor"],
"type": "string",
"description": "The minimum bump type to trigger automatic update of internal dependencies that are part of the same release.",
"default": "patch"
}
}
}