Skip to content

Commit 623c66b

Browse files
docs: templates.json schema parity
Closes #41 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 9e49f57 commit 623c66b

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

docs/templates-json-schema.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# `templates.json` schema (CPA)
2+
3+
Parity with [cna-templates `templates.json`](https://github.com/Create-Node-App/cna-templates).
4+
5+
```json
6+
{
7+
"templates": [
8+
{
9+
"slug": "fastapi-starter",
10+
"name": "FastAPI Starter",
11+
"category": "backend",
12+
"url": "https://github.com/Create-Python-App/cpa-templates?subdir=templates/fastapi-starter",
13+
"description": "Minimal FastAPI app with uv"
14+
}
15+
],
16+
"addons": [
17+
{
18+
"slug": "ruff-setup",
19+
"name": "Ruff",
20+
"category": "tooling",
21+
"url": "https://github.com/Create-Python-App/cpa-templates?subdir=extensions/ruff-setup"
22+
}
23+
]
24+
}
25+
```
26+
27+
## Differences from Node
28+
29+
- URLs point at Python templates (pyproject/uv/ruff) instead of package.json/npm
30+
- Compatibility metadata should list Python ranges instead of Node engines

0 commit comments

Comments
 (0)