Skip to content

Commit 7d741cd

Browse files
committed
Added lockfile schema.
1 parent 552443b commit 7d741cd

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

latest/cutekit.lockfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../stable/cutekit.lockfile.v1

stable/cutekit.lockfile.v1

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$id": "https://schemas.cute.engineering/stable/cutekit.lockfile.v1",
3+
"$schema": "https://json-schema.org/draft/2020-12/schema",
4+
"description": "Extern lockfile for CuteKit",
5+
"type": "object",
6+
"additionalProperties": false,
7+
"properties": {
8+
"extern": {
9+
"type": "object",
10+
"patternProperties": {
11+
".*": {
12+
"type": "object",
13+
"properties": {
14+
"additionalProperties": false
15+
},
16+
"git": {
17+
"description": "The git repository to clone",
18+
"type": "string"
19+
},
20+
"tag": {
21+
"description": "The tag to checkout",
22+
"type": "string"
23+
},
24+
"commit": {
25+
"description": "The commit hash to checkout",
26+
"type": "string"
27+
}
28+
}
29+
}
30+
}
31+
}
32+
}

stable/cutekit.manifest.project.v1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"properties": {
3535
"additionalProperties": false,
3636
"id": {
37-
"$comment": "@since(0.7)",
37+
"$comment": "@since(0.7) @removed(0.10)",
3838
"description": "The unique identifier for this dependency",
3939
"type": "string"
4040
},
@@ -55,13 +55,13 @@
5555
"type": "string"
5656
},
5757
"shallow": {
58-
"$comment": "@since(0.7)",
58+
"$comment": "@since(0.7) @removed(0.10)",
5959
"description": "Should the repository be cloned shallowly",
6060
"type": "boolean",
6161
"default": true
6262
},
6363
"depth": {
64-
"$comment": "@since(0.7)",
64+
"$comment": "@since(0.7) @removed(0.10)",
6565
"description": "The depth to clone the repository",
6666
"type": "integer",
6767
"default": 1

0 commit comments

Comments
 (0)