|
36 | 36 | "description": "URL to documentation for the Feature.", |
37 | 37 | "type": "string" |
38 | 38 | }, |
| 39 | + "keywords": { |
| 40 | + "description": "List of strings relevant to a user that would search for this definition/Feature.", |
| 41 | + "items": { |
| 42 | + "type": "string" |
| 43 | + }, |
| 44 | + "type": "array" |
| 45 | + }, |
39 | 46 | "entrypoint": { |
40 | 47 | "description": "Entrypoint script that should fire at container start up.", |
41 | 48 | "type": "string" |
|
55 | 62 | }, |
56 | 63 | "type": "array" |
57 | 64 | }, |
| 65 | + "dependsOn": { |
| 66 | + "description": "An object of Feature dependencies that must be satisified before this Feature is installed. Elements follow the same semantics of the features object in devcontainer.json", |
| 67 | + "additionalProperties": true, |
| 68 | + "type": "object" |
| 69 | + }, |
58 | 70 | "licenseURL": { |
59 | 71 | "description": "URL to the license for the Feature.", |
60 | 72 | "type": "string" |
|
102 | 114 | "deprecated": { |
103 | 115 | "description": "Indicates that the Feature is deprecated, and will not receive any further updates/support. This property is intended to be used by the supporting tools for highlighting Feature deprecation.", |
104 | 116 | "type": "boolean" |
| 117 | + }, |
| 118 | + "onCreateCommand": { |
| 119 | + "type": [ |
| 120 | + "string", |
| 121 | + "array", |
| 122 | + "object" |
| 123 | + ], |
| 124 | + "description": "A command to run when creating the container. This command is run after \"initializeCommand\" and before \"updateContentCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.", |
| 125 | + "items": { |
| 126 | + "type": "string" |
| 127 | + }, |
| 128 | + "additionalProperties": { |
| 129 | + "type": [ |
| 130 | + "string", |
| 131 | + "array" |
| 132 | + ], |
| 133 | + "items": { |
| 134 | + "type": "string" |
| 135 | + } |
| 136 | + } |
| 137 | + }, |
| 138 | + "updateContentCommand": { |
| 139 | + "type": [ |
| 140 | + "string", |
| 141 | + "array", |
| 142 | + "object" |
| 143 | + ], |
| 144 | + "description": "A command to run when creating the container and rerun when the workspace content was updated while creating the container. This command is run after \"onCreateCommand\" and before \"postCreateCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.", |
| 145 | + "items": { |
| 146 | + "type": "string" |
| 147 | + }, |
| 148 | + "additionalProperties": { |
| 149 | + "type": [ |
| 150 | + "string", |
| 151 | + "array" |
| 152 | + ], |
| 153 | + "items": { |
| 154 | + "type": "string" |
| 155 | + } |
| 156 | + } |
| 157 | + }, |
| 158 | + "postCreateCommand": { |
| 159 | + "type": [ |
| 160 | + "string", |
| 161 | + "array", |
| 162 | + "object" |
| 163 | + ], |
| 164 | + "description": "A command to run after creating the container. This command is run after \"updateContentCommand\" and before \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.", |
| 165 | + "items": { |
| 166 | + "type": "string" |
| 167 | + }, |
| 168 | + "additionalProperties": { |
| 169 | + "type": [ |
| 170 | + "string", |
| 171 | + "array" |
| 172 | + ], |
| 173 | + "items": { |
| 174 | + "type": "string" |
| 175 | + } |
| 176 | + } |
| 177 | + }, |
| 178 | + "postStartCommand": { |
| 179 | + "type": [ |
| 180 | + "string", |
| 181 | + "array", |
| 182 | + "object" |
| 183 | + ], |
| 184 | + "description": "A command to run after starting the container. This command is run after \"postCreateCommand\" and before \"postAttachCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.", |
| 185 | + "items": { |
| 186 | + "type": "string" |
| 187 | + }, |
| 188 | + "additionalProperties": { |
| 189 | + "type": [ |
| 190 | + "string", |
| 191 | + "array" |
| 192 | + ], |
| 193 | + "items": { |
| 194 | + "type": "string" |
| 195 | + } |
| 196 | + } |
| 197 | + }, |
| 198 | + "postAttachCommand": { |
| 199 | + "type": [ |
| 200 | + "string", |
| 201 | + "array", |
| 202 | + "object" |
| 203 | + ], |
| 204 | + "description": "A command to run when attaching to the container. This command is run after \"postStartCommand\". If this is a single string, it will be run in a shell. If this is an array of strings, it will be run as a single command without shell. If this is an object, each provided command will be run in parallel.", |
| 205 | + "items": { |
| 206 | + "type": "string" |
| 207 | + }, |
| 208 | + "additionalProperties": { |
| 209 | + "type": [ |
| 210 | + "string", |
| 211 | + "array" |
| 212 | + ], |
| 213 | + "items": { |
| 214 | + "type": "string" |
| 215 | + } |
| 216 | + } |
105 | 217 | } |
106 | 218 | }, |
107 | 219 | "required": [ |
|
222 | 334 | }, |
223 | 335 | "required": [ |
224 | 336 | "type", |
225 | | - "source", |
226 | 337 | "target" |
227 | 338 | ], |
228 | 339 | "type": "object" |
|
0 commit comments