Skip to content

Commit 254f0c4

Browse files
JamBalaya56562JanDeDobbeleer
authored andcommitted
fix(schema): add missing options to schema.json
1 parent 08885c4 commit 254f0c4

1 file changed

Lines changed: 113 additions & 21 deletions

File tree

themes/schema.json

Lines changed: 113 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -803,12 +803,6 @@
803803
}
804804
],
805805
"properties": {
806-
"icon": {
807-
"type": "string",
808-
"title": "Icon",
809-
"description": "The icon representing Bazel's logo",
810-
"default": "\ue63a"
811-
},
812806
"extensions": {
813807
"default": [
814808
"*.bazel",
@@ -818,6 +812,19 @@
818812
".bazelrc",
819813
".bazelversion"
820814
]
815+
},
816+
"folders": {
817+
"default": [
818+
"bazel-bin",
819+
"bazel-out",
820+
"bazel-testlogs"
821+
]
822+
},
823+
"icon": {
824+
"type": "string",
825+
"title": "Icon",
826+
"description": "The icon representing Bazel's logo",
827+
"default": "\ue63a"
821828
}
822829
}
823830
}
@@ -1412,14 +1419,23 @@
14121419
"properties": {
14131420
"options": {
14141421
"properties": {
1422+
"display_mode": {
1423+
"$ref": "#/definitions/display_mode"
1424+
},
1425+
"extensions": {
1426+
"default": [
1427+
"compose.yml",
1428+
"compose.yaml",
1429+
"docker-compose.yml",
1430+
"docker-compose.yaml",
1431+
"Dockerfile"
1432+
]
1433+
},
14151434
"fetch_context": {
14161435
"type": "boolean",
14171436
"title": "Fetch Context",
14181437
"description": "Fetch the Docker context",
14191438
"default": true
1420-
},
1421-
"display_mode": {
1422-
"$ref": "#/definitions/display_mode"
14231439
}
14241440
},
14251441
"additionalProperties": false
@@ -2329,21 +2345,22 @@
23292345
}
23302346
],
23312347
"properties": {
2332-
"preferred_executable": {
2333-
"type": "string",
2334-
"title": "Preferred Executable",
2335-
"description": "The preferred executable to use when fetching the version.",
2336-
"enum": [
2337-
"lua",
2338-
"luajit"
2339-
],
2340-
"default": "lua"
2341-
},
23422348
"extensions": {
23432349
"default": [
23442350
"*.lua",
23452351
"*.rockspec"
23462352
]
2353+
},
2354+
"folders": {
2355+
"default": [
2356+
"lua"
2357+
]
2358+
},
2359+
"tooling": {
2360+
"default": [
2361+
"lua",
2362+
"luajit"
2363+
]
23472364
}
23482365
}
23492366
}
@@ -2425,6 +2442,48 @@
24252442
}
24262443
}
24272444
},
2445+
{
2446+
"if": {
2447+
"properties": {
2448+
"type": {
2449+
"const": "mvn"
2450+
}
2451+
}
2452+
},
2453+
"then": {
2454+
"title": "Maven Segment",
2455+
"description": "https://ohmyposh.dev/docs/segments/cli/mvn",
2456+
"properties": {
2457+
"options": {
2458+
"allOf": [
2459+
{
2460+
"$ref": "#/definitions/language_options"
2461+
}
2462+
],
2463+
"properties": {
2464+
"extensions": {
2465+
"default": [
2466+
"pom.xml"
2467+
]
2468+
}
2469+
}
2470+
}
2471+
}
2472+
}
2473+
},
2474+
{
2475+
"if": {
2476+
"properties": {
2477+
"type": {
2478+
"const": "nbgv"
2479+
}
2480+
}
2481+
},
2482+
"then": {
2483+
"title": "Nerdbank.GitVersion Segment",
2484+
"description": "https://ohmyposh.dev/docs/segments/cli/nbgv"
2485+
}
2486+
},
24282487
{
24292488
"if": {
24302489
"properties": {
@@ -3411,6 +3470,23 @@
34113470
"venv.bak"
34123471
]
34133472
},
3473+
"folders": {
3474+
"default": [
3475+
".venv",
3476+
"pyenv-win",
3477+
"venv",
3478+
"venv-win",
3479+
"virtualenv"
3480+
]
3481+
},
3482+
"tooling": {
3483+
"default": [
3484+
"pyenv",
3485+
"python",
3486+
"python3",
3487+
"py"
3488+
]
3489+
},
34143490
"folder_name_fallback": {
34153491
"type": "boolean",
34163492
"title": "Folder Name Fallback",
@@ -3891,7 +3967,7 @@
38913967
"properties": {
38923968
"extensions": {
38933969
"default": [
3894-
"package.json"
3970+
"svelte.config.js"
38953971
]
38963972
}
38973973
}
@@ -4021,7 +4097,17 @@
40214097
"properties": {
40224098
"extensions": {
40234099
"default": [
4024-
"package.json"
4100+
"tauri.conf.json"
4101+
]
4102+
},
4103+
"folders": {
4104+
"default": [
4105+
"src-tauri"
4106+
]
4107+
},
4108+
"tooling": {
4109+
"default": [
4110+
"tauri"
40254111
]
40264112
}
40274113
}
@@ -4043,6 +4129,12 @@
40434129
"properties": {
40444130
"options": {
40454131
"properties": {
4132+
"command": {
4133+
"type": "string",
4134+
"title": "Terraform Command",
4135+
"description": "The terraform command to use",
4136+
"default": "terraform"
4137+
},
40464138
"fetch_version": {
40474139
"type": "boolean",
40484140
"title": "Fetch Version",

0 commit comments

Comments
 (0)