-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontext.py
More file actions
75 lines (66 loc) · 3.16 KB
/
context.py
File metadata and controls
75 lines (66 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# adapted from https://github.com/copier-org/copier-templates-extensions#context-hook-extension
from typing import Any
from typing import override
from copier_templates_extensions import ContextHook
class ContextUpdater(ContextHook):
update = False
@override
def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
context["uv_version"] = "0.6.17"
context["pnpm_version"] = "10.10.0"
context["pre_commit_version"] = "4.2.0"
context["pyright_version"] = "1.1.400"
context["pytest_version"] = "8.3.5"
context["pytest_randomly_version"] = "3.16.0"
context["pytest_cov_version"] = "6.0.0"
context["copier_version"] = "9.6.0"
context["copier_templates_extension_version"] = "0.3.0"
context["sphinx_version"] = "8.1.3"
context["pulumi_version"] = "3.167.0"
context["pulumi_aws_version"] = "6.77.0"
context["pulumi_aws_native_version"] = "1.27.0"
context["pulumi_command_version"] = "1.0.2"
context["pulumi_github"] = ""
context["boto3_version"] = "1.37.11"
context["ephemeral_pulumi_deploy_version"] = "0.0.4"
context["pydantic_version"] = "2.11.1"
context["pyinstaller_version"] = "6.12.0"
context["setuptools_version"] = "76.0.0"
context["strawberry_graphql_version"] = "0.264.0"
context["fastapi_version"] = "0.115.12"
context["uvicorn_version"] = "0.34.0"
context["lab_auto_pulumi_version"] = "0.1.12"
context["nuxt_ui_version"] = "^3.1.1"
context["nuxt_version"] = "^3.17.2"
context["typescript_version"] = "^5.8.2"
context["vue_version"] = "^3.5.13"
context["vue_router_version"] = "^4.5.0"
context["faker_version"] = "^9.7.0"
context["graphql_codegen_cli_version"] = "^5.0.5"
context["graphql_codegen_typescript_version"] = "^4.1.6"
context["gha_checkout"] = "v4.2.2"
context["gha_setup_python"] = "v5.5.0"
context["gha_cache"] = "v4.2.2"
context["gha_upload_artifact"] = "v4.6.2"
context["gha_download_artifact"] = "v4.2.1"
context["gha_setup_buildx"] = "v3.10.0"
context["buildx_version"] = "v0.22.0"
context["gha_docker_build_push"] = "v6.15.0"
context["gha_configure_aws_credentials"] = "v4.1.0"
context["gha_amazon_ecr_login"] = "v2.0.1"
context["gha_setup_node"] = "v4.3.0"
context["gha_action_gh_release"] = "v2.2.1"
context["gha_mutex"] = "1ebad517141198e08d47cf72f3c0975316620a65 # v1.0.0-alpha.10"
context["gha_pypi_publish"] = "v1.12.4"
context["gha_sleep"] = "v2.0.3"
context["gha_linux_runner"] = "ubuntu-24.04"
context["gha_windows_runner"] = "windows-2025"
context["py311_version"] = ""
context["py312_version"] = "3.12.7"
context["py313_version"] = "3.13.2"
context["debian_release_name"] = "bookworm"
context["alpine_image_version"] = "3.20"
# Kludge to be able to help symlinked jinja files in the child and grandchild templates
context["template_uses_vuejs"] = False
context["template_uses_javascript"] = False
return context