Skip to content

Commit ace8dcf

Browse files
committed
Update project-commands.json to follow the same conventions as the revised command-line.schema.json
1 parent fdc7bd8 commit ace8dcf

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

‎stack/rush-stack/includes/project-commands.json‎

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,30 @@
33
{
44
"name": "build",
55
"summary": "Builds the project",
6-
"documentation": "",
7-
"script": "../lib/start.js"
6+
"description": "",
7+
"scriptPath": "../lib/start.js"
88
},
99
{
1010
"name": "clean",
1111
"summary": "Cleans the project",
12-
"documentation": "",
13-
"script": "../lib/start.js"
12+
"description": "",
13+
"scriptPath": "../lib/start.js"
1414
}
1515
],
1616

17-
"options": {
18-
"--no-color": {
19-
"optionType": "flag",
17+
"parameters": [
18+
{
19+
"longName": "--no-color",
20+
"parameterType": "flag",
2021
"description": "disable colors in the build log, defaults to 'true'",
2122
"associatedCommands": [ "build", "clean" ]
2223
},
2324

24-
"--production": {
25-
"optionType": "flag",
25+
{
26+
"longName": "--production",
27+
"parameterType": "flag",
2628
"description": "Perform a production build, including minification and localization steps",
2729
"associatedCommands": [ "build" ]
2830
}
29-
}
31+
]
3032
}

0 commit comments

Comments
 (0)