@@ -69,7 +69,6 @@ export default {
69
69
examples : [ "coderoad" ] ,
70
70
} ,
71
71
setup : {
72
- type : "object" ,
73
72
$ref : "#/definitions/setup_action" ,
74
73
description :
75
74
"Setup commits or commands used for setting up the test runner on tutorial launch" ,
@@ -97,40 +96,41 @@ export default {
97
96
additionalProperties : false ,
98
97
required : [ "uri" , "branch" ] ,
99
98
} ,
100
- } ,
101
- dependencies : {
102
- type : "array" ,
103
- description : "A list of tutorial dependencies" ,
104
- items : {
99
+
100
+ dependencies : {
101
+ type : "array" ,
102
+ description : "A list of tutorial dependencies" ,
103
+ items : {
104
+ type : "object" ,
105
+ properties : {
106
+ name : {
107
+ type : "string" ,
108
+ description :
109
+ "The command line process name of the dependency. It will be checked by running `name --version`" ,
110
+ examples : [ "node" , "python" ] ,
111
+ } ,
112
+ version : {
113
+ type : "string" ,
114
+ description :
115
+ "The version requirement. See https://github.com/npm/node-semver for options" ,
116
+ examples : [ ">=10" ] ,
117
+ } ,
118
+ } ,
119
+ required : [ "name" , "version" ] ,
120
+ } ,
121
+ } ,
122
+ appVersions : {
105
123
type : "object" ,
124
+ description :
125
+ "A list of compatable coderoad versions. Currently only a VSCode extension." ,
106
126
properties : {
107
- name : {
108
- type : "string" ,
109
- description :
110
- "The command line process name of the dependency. It will be checked by running `name --version`" ,
111
- examples : [ "node" , "python" ] ,
112
- } ,
113
- version : {
127
+ vscode : {
114
128
type : "string" ,
115
129
description :
116
- "The version requirement. See https://github.com/npm/node-semver for options " ,
117
- examples : [ ">=10 " ] ,
130
+ "The version range for coderoad-vscode that this tutorial is compatable with " ,
131
+ examples : [ ">=0.7.0 " ] ,
118
132
} ,
119
133
} ,
120
- required : [ "name" , "version" ] ,
121
- } ,
122
- } ,
123
- appVersions : {
124
- type : "object" ,
125
- description :
126
- "A list of compatable coderoad versions. Currently only a VSCode extension." ,
127
- properties : {
128
- vscode : {
129
- type : "string" ,
130
- description :
131
- "The version range for coderoad-vscode that this tutorial is compatable with" ,
132
- examples : [ ">=0.7.0" ] ,
133
- } ,
134
134
} ,
135
135
} ,
136
136
additionalProperties : false ,
@@ -202,7 +202,7 @@ export default {
202
202
} ,
203
203
} ,
204
204
} ,
205
- required : [ "title" , "description " , "content" ] ,
205
+ required : [ "title" , "summary " , "content" ] ,
206
206
} ,
207
207
minItems : 1 ,
208
208
} ,
0 commit comments