@@ -16,12 +16,12 @@ updates require deliberate effort.
1616## Strategy 1: Manual dependency updates
1717
18181 . Run ` uv lock --upgrade ` (or ` uv lock --upgrade-package <name> ` ) in your
19- project to refresh pinned versions in ` uv.lock ` .
19+ project to refresh pinned versions in ` uv.lock ` .
20202 . Enable Dependabot if you used the ` github-setup ` extension (see its workflow
21- in cpa-templates).
21+ in cpa-templates).
22223 . Compare your ` pyproject.toml ` scripts, dependency groups, and dev tools
23- with the current template in
24- [ cpa-templates] ( https://github.com/Create-Python-App/cpa-templates/tree/main/templates ) .
23+ with the current template in
24+ [ cpa-templates] ( https://github.com/Create-Python-App/cpa-templates/tree/main/templates ) .
2525
2626Use ` uv tree --outdated ` when available to spot stale direct dependencies.
2727
@@ -55,7 +55,7 @@ For a single extension update:
5555
56561 . Scaffold a throwaway project with only that extension applied.
57572 . Copy the extension-specific files into your existing project (e.g. Alembic
58- migrations, auth middleware, GitHub Actions workflows).
58+ migrations, auth middleware, GitHub Actions workflows).
59593 . Merge ` pyproject.toml ` dependency changes manually.
6060
6161## CNA to CPA renames
@@ -164,11 +164,11 @@ create-awesome-python-app cache clean
164164There is no ` cpa add-extension ` command yet. To add an extension after the fact:
165165
1661661 . Browse the extension in
167- [ cpa-templates/extensions] ( https://github.com/Create-Python-App/cpa-templates/tree/main/extensions ) .
167+ [ cpa-templates/extensions] ( https://github.com/Create-Python-App/cpa-templates/tree/main/extensions ) .
1681682 . Read the extension README for required files and dependencies.
1691693 . Scaffold a minimal project with that extension and copy the relevant files.
1701704 . Install matching dependencies from the extension's ` pyproject.toml ` (or run
171- ` uv sync ` in the throwaway project and mirror the dependency blocks).
171+ ` uv sync ` in the throwaway project and mirror the dependency blocks).
172172
173173Use ` --list-addons -t <template-slug> ` to see extensions compatible with your
174174base template.
@@ -179,14 +179,14 @@ If you are moving a hand-rolled Cookiecutter/Copier flow into the CPA
179179ecosystem:
180180
1811811 . Map your template repo to a ` templates.json ` entry (slug, name, category,
182- ` url ` with ` ?subdir= ` ).
182+ ` url ` with ` ?subdir= ` ).
1831832 . Add ` cpa.config.json ` at the template root (see
184- [ cpa-config-schema.md] ( ./cpa-config-schema.md ) ).
184+ [ cpa-config-schema.md] ( ./cpa-config-schema.md ) ).
1851853 . Prefer ` uv ` lockfiles (` uv.lock ` ) in generated projects instead of
186- unpinned ` requirements.txt ` unless the template explicitly targets pip-only
187- workflows.
186+ unpinned ` requirements.txt ` unless the template explicitly targets pip-only
187+ workflows.
1881884 . Convert Jinja-style prompts to ` customOptions ` in ` cpa.config.json ` where
189- possible; use ` --set key=value ` for non-interactive runs.
189+ possible; use ` --set key=value ` for non-interactive runs.
190190
191191## Getting help
192192
0 commit comments