* Adding a collection for the meta prompts to help discover items in the awesome copilot repo * Forgot to run validation locally * YAML schema validation set and updating readme
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "npm install",
|
|
"type": "shell",
|
|
"command": "npm ci",
|
|
"problemMatcher": [],
|
|
"group": "build",
|
|
"detail": "Installs all npm dependencies."
|
|
},
|
|
{
|
|
"label": "generate-readme",
|
|
"type": "shell",
|
|
"command": "node ${workspaceFolder}/eng/update-readme.js",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "Generates the README.md file using update-readme.js script.",
|
|
"dependsOn": "npm install"
|
|
},
|
|
{
|
|
"label": "validate-collections",
|
|
"type": "shell",
|
|
"command": "node ${workspaceFolder}/eng/validate-collections.js",
|
|
"problemMatcher": [],
|
|
"group": "build",
|
|
"detail": "Validates all collection manifest files.",
|
|
"dependsOn": "npm install"
|
|
},
|
|
{
|
|
"label": "create-collection",
|
|
"type": "shell",
|
|
"command": "node",
|
|
"args": [
|
|
"${workspaceFolder}/eng/create-collection.js",
|
|
"--id",
|
|
"${input:collectionId}",
|
|
"--tags",
|
|
"${input:tags}"
|
|
],
|
|
"problemMatcher": [],
|
|
"group": "build",
|
|
"detail": "Creates a new collection manifest template.",
|
|
"dependsOn": "npm install"
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "collectionId",
|
|
"description": "Collection ID (lowercase, hyphen-separated)",
|
|
"default": "my-collection",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"id": "tags",
|
|
"description": "Comma separated list of tags",
|
|
"default": "tag1,tag2",
|
|
"type": "promptString"
|
|
}
|
|
]
|
|
}
|