Merge 325b1e92a17415d361900280ad3b40abc9aed67c into bd3f0296b54cfc12a585cc296166cdb3709df4c2
428c494c
pull/112/merge
158/4,988 ++ 4,490 --
The Python template no longer offers TypeScript as a deployment language. All TS deployer files, TS jest test scaffolding, generated TS examples, and the deployment_language/use_typescript_jest copier questions have been removed. The template now generates Python-only deployer code.
- Add npm install step in check_codebase for TypeScript deployment projects (package.json present) to install @algorandfoundation/ algokit-client-generator before build - Patch jest.config.ts at test time to handle ESM node_modules: extend transform to cover .js files and add transformIgnorePatterns for @noble/hashes and @algorandfoundation packages (upstream generator template produces config without ESM support) All 6 tests now pass: 2 template + 4 generator (python+typescript × starter+production)
- Rewrite pyproject.toml.jinja from Poetry to uv/hatchling format - Cap requires-python to >=3.12,<3.14 (coincurve lacks 3.14 wheels) - Replace all 'poetry run' with 'uv run' in .algokit.toml.jinja - Bump min_version to v2.11.0 (old CLIs warn on version mismatch) - Simplify audit description (remove poetry-plugin-export reference) - Update CI/CD templates: astral-sh/setup-uv@v5, uv tool install algokit - Update pre-commit hooks: poetry run -> uv run - Update README.md.jinja: uv install guide, version references - Delete template_content/poetry.toml
- Update PY_PKG_MGR_ARGS from poetry to uv in both test files - Tests now configure generated projects to use uv as package manager
- Convert pyproject.toml from Poetry to uv/hatchling build system - Replace poetry.lock with uv.lock - Remove poetry.toml configuration - Add [tool.uv] and [tool.hatch.metadata] sections
Auto-regenerated by running test_templates.py and test_generators.py against the updated template with algokit-cli decoupling branch. Changes across all examples: - .algokit.toml: min_version v2.11.0, poetry run -> uv run - pyproject.toml: Poetry format -> uv/hatchling with [project], [dependency-groups], [tool.hatch.metadata], [tool.uv] - README.md: Poetry -> uv install guide and tool references - poetry.toml: deleted - uv.lock: added (replaces Poetry lock) Production examples additionally: - .pre-commit-config.yaml: poetry run -> uv run - CI/CD workflows: astral-sh/setup-uv@v5, uv tool install algokit
- Add npm install step in check_codebase for TypeScript deployment projects (package.json present) to install @algorandfoundation/ algokit-client-generator before build - Patch jest.config.ts at test time to handle ESM node_modules: extend transform to cover .js files and add transformIgnorePatterns for @noble/hashes and @algorandfoundation packages (upstream generator template produces config without ESM support) All 6 tests now pass: 2 template + 4 generator (python+typescript × starter+production)
Auto-regenerated by running test_templates.py and test_generators.py against the updated template with algokit-cli decoupling branch. Changes across all examples: - .algokit.toml: min_version v2.11.0, poetry run -> uv run - pyproject.toml: Poetry format -> uv/hatchling with [project], [dependency-groups], [tool.hatch.metadata], [tool.uv] - README.md: Poetry -> uv install guide and tool references - poetry.toml: deleted - uv.lock: added (replaces Poetry lock) Production examples additionally: - .pre-commit-config.yaml: poetry run -> uv run - CI/CD workflows: astral-sh/setup-uv@v5, uv tool install algokit
- Update PY_PKG_MGR_ARGS from poetry to uv in both test files - Tests now configure generated projects to use uv as package manager
- Rewrite pyproject.toml.jinja from Poetry to uv/hatchling format - Cap requires-python to >=3.12,<3.14 (coincurve lacks 3.14 wheels) - Replace all 'poetry run' with 'uv run' in .algokit.toml.jinja - Bump min_version to v2.11.0 (old CLIs warn on version mismatch) - Simplify audit description (remove poetry-plugin-export reference) - Update CI/CD templates: astral-sh/setup-uv@v5, uv tool install algokit - Update pre-commit hooks: poetry run -> uv run - Update README.md.jinja: uv install guide, version references - Delete template_content/poetry.toml
- Convert pyproject.toml from Poetry to uv/hatchling build system - Replace poetry.lock with uv.lock - Remove poetry.toml configuration - Add [tool.uv] and [tool.hatch.metadata] sections