2025-09-15 11:24:16 +10:00

54 lines
1.3 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "generate-readme",
"type": "shell",
"command": "node ${workspaceFolder}/update-readme.js",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Generates the README.md file using update-readme.js script."
},
{
"label": "validate-collections",
"type": "shell",
"command": "node ${workspaceFolder}/validate-collections.js",
"problemMatcher": [],
"group": "build",
"detail": "Validates all collection manifest files."
},
{
"label": "create-collection",
"type": "shell",
"command": "node",
"args": [
"${workspaceFolder}/create-collection.js",
"--id",
"${input:collectionId}",
"--tags",
"${input:tags}"
],
"problemMatcher": [],
"group": "build",
"detail": "Creates a new collection manifest template."
}
],
"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"
}
]
}