Skip to content

Commit bb19b0e

Browse files
committed
feat: Updated json schema for auto-complete
1 parent fad88ef commit bb19b0e

3 files changed

Lines changed: 143 additions & 3 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codify-schemas",
3-
"version": "1.0.75",
3+
"version": "1.0.76",
44
"description": "",
55
"type": "module",
66
"main": "dist/index.js",

src/messages/commands.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ export enum MessageCmd {
33
VALIDATE = 'validate',
44
PLAN = 'plan',
55
APPLY = 'apply',
6-
SUDO_REQUEST = 'sudo_request'
6+
SUDO_REQUEST = 'sudo_request',
7+
PRESS_KEY_TO_CONTINUE_REQUEST = 'press_key_to_continue_request',
78
}

src/schemastore/codify-schema.json

Lines changed: 140 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@
575575
"uniqueItems": true
576576
},
577577
"type": {
578-
"const": "git-clone",
578+
"const": "git-repository",
579579
"type": "string"
580580
}
581581
},
@@ -1074,6 +1074,145 @@
10741074
"type"
10751075
],
10761076
"additionalProperties": false
1077+
},
1078+
{
1079+
"type": "object",
1080+
"description": "Install and manage local packages with virtualenv",
1081+
"properties": {
1082+
"name": {
1083+
"description": "Optional name. Useful for specifying multiple resources of the same type",
1084+
"type": "string",
1085+
"pattern": "^[\\w-]+$"
1086+
},
1087+
"dependsOn": {
1088+
"type": "array",
1089+
"items": {
1090+
"type": "string"
1091+
},
1092+
"uniqueItems": true
1093+
},
1094+
"type": {
1095+
"const": "virtualenv",
1096+
"type": "string"
1097+
}
1098+
},
1099+
"additionalProperties": false,
1100+
"required": [
1101+
"type"
1102+
]
1103+
},
1104+
{
1105+
"type": "object",
1106+
"description": "Install and manage local packages for a project with virtualenv",
1107+
"properties": {
1108+
"dest": {
1109+
"type": "string",
1110+
"description": "The directory to create virtualenv at"
1111+
},
1112+
"python": {
1113+
"type": "string",
1114+
"description": "A path to the python interpreter to use to create the virtualenv. This defaults to the global python3 version."
1115+
},
1116+
"noVcsIgnore": {
1117+
"type": "boolean",
1118+
"description": "Don't create VCS ignore directive in the destination directory (default: false)"
1119+
},
1120+
"systemSitePackages": {
1121+
"type": "boolean",
1122+
"description": "Give the virtual environment access to the system site-packages dir (default: false)"
1123+
},
1124+
"symlinks": {
1125+
"type": "boolean",
1126+
"description": " Try to use symlinks rather than copies (default: true)"
1127+
},
1128+
"cwd": {
1129+
"type": "string",
1130+
"description": "The cwd to create virtualenv from. This allows a relative path to be used for dest."
1131+
},
1132+
"automaticallyInstallRequirementsTxt": {
1133+
"type": "boolean",
1134+
"description": "If an requirements.txt is available in the cwd, automatically install it when a virtual env is first created."
1135+
},
1136+
"name": {
1137+
"description": "Optional name. Useful for specifying multiple resources of the same type",
1138+
"type": "string",
1139+
"pattern": "^[\\w-]+$"
1140+
},
1141+
"dependsOn": {
1142+
"type": "array",
1143+
"items": {
1144+
"type": "string"
1145+
},
1146+
"uniqueItems": true
1147+
},
1148+
"type": {
1149+
"const": "virtualenv-project",
1150+
"type": "string"
1151+
}
1152+
},
1153+
"additionalProperties": false,
1154+
"required": [
1155+
"dest",
1156+
"type"
1157+
]
1158+
},
1159+
{
1160+
"description": "Install and manage Node versions using nvm.",
1161+
"type": "object",
1162+
"properties": {
1163+
"version": {
1164+
"type": "string",
1165+
"description": "A specific version of pnpm to install. (defaults to the latest)"
1166+
},
1167+
"globalEnvNodeVersion": {
1168+
"type": "string",
1169+
"description": "Set the global node version. Corresponds to pnpm env --global use"
1170+
},
1171+
"name": {
1172+
"description": "Optional name. Useful for specifying multiple resources of the same type",
1173+
"type": "string",
1174+
"pattern": "^[\\w-]+$"
1175+
},
1176+
"dependsOn": {
1177+
"type": "array",
1178+
"items": {
1179+
"type": "string"
1180+
},
1181+
"uniqueItems": true
1182+
},
1183+
"type": {
1184+
"const": "pnpm",
1185+
"type": "string"
1186+
}
1187+
},
1188+
"additionalProperties": false,
1189+
"required": [
1190+
"type"
1191+
]
1192+
},
1193+
{
1194+
"type": "object",
1195+
"properties": {
1196+
"name": {
1197+
"description": "Optional name. Useful for specifying multiple resources of the same type",
1198+
"type": "string",
1199+
"pattern": "^[\\w-]+$"
1200+
},
1201+
"dependsOn": {
1202+
"type": "array",
1203+
"items": {
1204+
"type": "string"
1205+
},
1206+
"uniqueItems": true
1207+
},
1208+
"type": {
1209+
"const": "wait-github-ssh-key",
1210+
"type": "string"
1211+
}
1212+
},
1213+
"required": [
1214+
"type"
1215+
]
10771216
}
10781217
]
10791218
}

0 commit comments

Comments
 (0)