Skip to content

Commit d370b3b

Browse files
Add changepacks schema (SchemaStore#5248)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 828db71 commit d370b3b

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

src/api/json/catalog.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9075,6 +9075,12 @@
90759075
"v1beta1": "https://raw.githubusercontent.com/redhat-developer/vscode-tekton/refs/heads/main/scheme/tekton.dev/v1beta1_PipelineRun.json",
90769076
"v1alpha1": "https://raw.githubusercontent.com/redhat-developer/vscode-tekton/refs/heads/main/scheme/tekton.dev/v1alpha1_PipelineRun.json"
90779077
}
9078+
},
9079+
{
9080+
"name": "Changepacks",
9081+
"description": "Changepacks are a way to package changes to a project",
9082+
"fileMatch": ["**/.changepacks/config.json"],
9083+
"url": "https://www.schemastore.org/changepacks.json"
90789084
}
90799085
]
90809086
}

src/schemas/json/changepacks.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$id": "https://json.schemastore.org/changepacks.json",
4+
"properties": {
5+
"baseBranch": {
6+
"default": "main",
7+
"type": "string"
8+
},
9+
"ignore": {
10+
"default": [],
11+
"items": {
12+
"type": "string"
13+
},
14+
"type": "array"
15+
},
16+
"latestPackage": {
17+
"default": null,
18+
"type": ["string", "null"]
19+
},
20+
"publish": {
21+
"additionalProperties": {
22+
"type": "string"
23+
},
24+
"default": {},
25+
"type": "object"
26+
},
27+
"updateOn": {
28+
"additionalProperties": {
29+
"items": {
30+
"type": "string"
31+
},
32+
"type": "array"
33+
},
34+
"default": {},
35+
"description": "Dependency rules for forced updates.\nKey: glob pattern for trigger packages (e.g., \"crates/*\")\nValue: list of package paths that must be updated when trigger matches",
36+
"type": "object"
37+
}
38+
},
39+
"title": "Changepacks Configuration",
40+
"type": "object"
41+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"baseBranch": "main",
3+
"ignore": ["**", "!package.json", "apps/**"],
4+
"latestPackage": null
5+
}

0 commit comments

Comments
 (0)