-
Notifications
You must be signed in to change notification settings - Fork 494
/
schema.json
137 lines (137 loc) 路 3.87 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"$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
},
"privatePackages": {
"anyOf": [
{
"type": "object",
"properties": {
"tag": { "type": "boolean" },
"version": { "type": "boolean" }
}
},
{
"type": "boolean"
}
]
},
"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"
},
"bumpVersionsWithWorkspaceProtocolOnly": {
"type": "boolean",
"default": false,
"description": "Determines whether Changesets should only bump dependency ranges that use workspace protocol of packages that are part of the workspace."
},
"snapshot": {
"type": "object",
"properties": {
"useCalculatedVersion": {
"type": "boolean",
"description": "It can be used to make generated snapshot versions use the calculated version (based on the changeset files) as a base version, instead of 0.0.0"
},
"prereleaseTemplate": {
"type": "string",
"description": "A template for the prerelease (suffix) part of the generated snapshot version. The template can use the following variable patterns: {commit}, {tag}, {datetime}, {timestamp}.",
"minLength": 1
}
}
}
}
}