Skip to content

Commit 9e127f2

Browse files
committed
feat: updated the codify-schema file for 0.14.0
1 parent fd8a5c5 commit 9e127f2

1 file changed

Lines changed: 169 additions & 34 deletions

File tree

src/schemastore/codify-schema.json

Lines changed: 169 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -34,40 +34,6 @@
3434
"required": ["type"],
3535
"additionalProperties": false
3636
},
37-
{
38-
"description": "Set and manage global git settings (email and username)",
39-
"type": "object",
40-
"properties": {
41-
"email": {
42-
"type": "string",
43-
"description": "The global email to set for git"
44-
},
45-
"username": {
46-
"type": "string",
47-
"description": "The global username to set for git"
48-
},
49-
"name": {
50-
"description": "Optional name. Useful for specifying multiple resources of the same type",
51-
"type": "string",
52-
"pattern": "^[\\w-]+$"
53-
},
54-
"dependsOn": {
55-
"type": "array",
56-
"items": {
57-
"type": "string"
58-
},
59-
"uniqueItems": true
60-
},
61-
"type": {
62-
"const": "git",
63-
"type": "string"
64-
}
65-
},
66-
"additionalProperties": false,
67-
"required": [
68-
"type"
69-
]
70-
},
7137
{
7238
"type": "object",
7339
"properties": {
@@ -1213,6 +1179,175 @@
12131179
"required": [
12141180
"type"
12151181
]
1182+
},
1183+
{
1184+
"type": "object",
1185+
"description": "Install and manage local packages for a project with venv",
1186+
"properties": {
1187+
"envDir": {
1188+
"type": "string",
1189+
"description": "A directory to create the environment in."
1190+
},
1191+
"systemSitePackages": {
1192+
"type": "boolean",
1193+
"description": "Give the virtual environment access to the system site-packages dir."
1194+
},
1195+
"symlinks": {
1196+
"type": "boolean",
1197+
"description": "Try to use symlinks rather than copies, when symlinks are not the default for the platform."
1198+
},
1199+
"copies": {
1200+
"type": "boolean",
1201+
"description": "Delete the contents of the environment directory if it already exists, before environment creation."
1202+
},
1203+
"clear": {
1204+
"type": "boolean",
1205+
"description": "Try to use symlinks rather than copies (default: true)."
1206+
},
1207+
"upgrade": {
1208+
"type": "boolean",
1209+
"description": "Upgrade the environment directory to use this version of Python, assuming Python has been upgraded in-place."
1210+
},
1211+
"withoutPip": {
1212+
"type": "boolean",
1213+
"description": "Skips installing or upgrading pip in the virtual environment (pip is bootstrapped by default)."
1214+
},
1215+
"prompt": {
1216+
"type": "string",
1217+
"description": "Provides an alternative prompt prefix for this environment."
1218+
},
1219+
"upgradeDeps": {
1220+
"type": "boolean",
1221+
"description": "Upgrade core dependencies: pip setuptools to the latest version in PyPI."
1222+
},
1223+
"cwd": {
1224+
"type": "string",
1225+
"description": "The cwd to create virtualenv from. This allows a relative path to be used for dest."
1226+
},
1227+
"automaticallyInstallRequirementsTxt": {
1228+
"type": "boolean",
1229+
"description": "If an requirements.txt is available in the cwd, automatically install it when a virtual env is first created."
1230+
},
1231+
"name": {
1232+
"description": "Optional name. Useful for specifying multiple resources of the same type",
1233+
"type": "string",
1234+
"pattern": "^[\\w-]+$"
1235+
},
1236+
"dependsOn": {
1237+
"type": "array",
1238+
"items": {
1239+
"type": "string"
1240+
},
1241+
"uniqueItems": true
1242+
},
1243+
"type": {
1244+
"const": "venv-project",
1245+
"type": "string"
1246+
}
1247+
},
1248+
"additionalProperties": false,
1249+
"required": [
1250+
"envDir",
1251+
"type"
1252+
]
1253+
},
1254+
{
1255+
"type": "object",
1256+
"description": "Install and manage packages using pip",
1257+
"properties": {
1258+
"virtualEnv": {
1259+
"type": "string",
1260+
"description": "A virtual env to activate before issuing pip commands."
1261+
},
1262+
"install": {
1263+
"type": "array",
1264+
"description": "Packages to install.",
1265+
"items": {
1266+
"oneOf": [
1267+
{
1268+
"type": "string"
1269+
},
1270+
{
1271+
"type": "object",
1272+
"properties": {
1273+
"name": {
1274+
"type": "string"
1275+
},
1276+
"version": {
1277+
"type": "string"
1278+
}
1279+
},
1280+
"required": [
1281+
"name"
1282+
]
1283+
}
1284+
]
1285+
}
1286+
},
1287+
"name": {
1288+
"description": "Optional name. Useful for specifying multiple resources of the same type",
1289+
"type": "string",
1290+
"pattern": "^[\\w-]+$"
1291+
},
1292+
"dependsOn": {
1293+
"type": "array",
1294+
"items": {
1295+
"type": "string"
1296+
},
1297+
"uniqueItems": true
1298+
},
1299+
"type": {
1300+
"const": "pip",
1301+
"type": "string"
1302+
}
1303+
},
1304+
"additionalProperties": false,
1305+
"required": [
1306+
"install",
1307+
"type"
1308+
]
1309+
},
1310+
{
1311+
"type": "object",
1312+
"description": "Install and manage though pip-tools by installing + uninstalling packages using pip-sync",
1313+
"properties": {
1314+
"virtualEnv": {
1315+
"type": "string",
1316+
"description": "A virtual env to activate before issuing commands."
1317+
},
1318+
"requirementFiles": {
1319+
"type": "array",
1320+
"items": {
1321+
"type": "string"
1322+
},
1323+
"description": "A list of requirement files to supply pip-sync."
1324+
},
1325+
"cwd": {
1326+
"type": "string",
1327+
"description": "The working directory to run commands from. If cwd is supplied, the other parameters can be specified as relative to cwd."
1328+
},
1329+
"name": {
1330+
"description": "Optional name. Useful for specifying multiple resources of the same type",
1331+
"type": "string",
1332+
"pattern": "^[\\w-]+$"
1333+
},
1334+
"dependsOn": {
1335+
"type": "array",
1336+
"items": {
1337+
"type": "string"
1338+
},
1339+
"uniqueItems": true
1340+
},
1341+
"type": {
1342+
"const": "pip-sync",
1343+
"type": "string"
1344+
}
1345+
},
1346+
"additionalProperties": false,
1347+
"required": [
1348+
"requirementFiles",
1349+
"type"
1350+
]
12161351
}
12171352
]
12181353
}

0 commit comments

Comments
 (0)