diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 00000000..4b7022bc --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,20 @@ +reviews: + profile: assertive + path_instructions: + - path: "**/generated/open-api/**" + instructions: "This is generated client code for the API. Refer to it if you need to understand how the main code interacts with it, but do not make comments about it." + - path: "**/generated/open_api/**" + instructions: "This is generated client code for the API. Refer to it if you need to understand how the main code interacts with it, but do not make comments about it." + - path: "**/generated/graphql.ts" + instructions: "This is generated client code for the API. Refer to it if you need to understand how the main code interacts with it, but do not make comments about it." + - path: "**/vendor_files/**" + instructions: "These files came from a vendor and we're not allowed to change them. Refer to it if you need to understand how the main code interacts with it, but do not make comments about it." + tools: + eslint: # when the code contains typescript, eslint will be run by pre-commit, and coderabbit often generates false positives + enabled: false + ruff: # when the code contains python, ruff will be run by pre-commit, and coderabbit often generates false positives + enabled: false + pylint: # when the code contains python, pylint will be run by pre-commit, and coderabbit often generates false positives + enabled: false + flake8: # we use ruff instead (when we use Python) + enabled: false diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0be5c075..2169f3a8 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -61,5 +61,5 @@ "initializeCommand": "sh .devcontainer/initialize-command.sh", "onCreateCommand": "sh .devcontainer/on-create-command.sh", "postStartCommand": "sh .devcontainer/post-start-command.sh" - // Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): bd40f6bf # spellchecker:disable-line + // Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): a709f6c0 # spellchecker:disable-line } diff --git a/.devcontainer/install-ci-tooling.py b/.devcontainer/install-ci-tooling.py index ea3d2bf9..76769fd6 100644 --- a/.devcontainer/install-ci-tooling.py +++ b/.devcontainer/install-ci-tooling.py @@ -5,7 +5,7 @@ import subprocess import sys -UV_VERSION = "0.9.5" +UV_VERSION = "0.9.6" COPIER_VERSION = "9.10.3" COPIER_TEMPLATE_EXTENSIONS_VERSION = "0.3.3" PRE_COMMIT_VERSION = "4.3.0" diff --git a/extensions/context.py b/extensions/context.py index 46bbad3d..2024a3ca 100644 --- a/extensions/context.py +++ b/extensions/context.py @@ -11,13 +11,13 @@ class ContextUpdater(ContextHook): @override def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: # These are duplicated in the install-ci-tooling.py script in this repository - context["uv_version"] = "0.9.5" + context["uv_version"] = "0.9.6" context["pre_commit_version"] = "4.3.0" # These also in pyproject.toml context["copier_version"] = "9.10.3" context["copier_template_extensions_version"] = "0.3.3" ####### - context["pnpm_version"] = "10.19.0" + context["pnpm_version"] = "10.20.0" # These are duplicated in the pyproject.toml of this repository context["pyright_version"] = "1.1.407" context["pytest_version"] = "8.4.2" @@ -37,7 +37,7 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["pyinstaller_version"] = "6.16.0" context["setuptools_version"] = "80.7.1" context["strawberry_graphql_version"] = "0.284.1" - context["fastapi_version"] = "0.120.1" + context["fastapi_version"] = "0.120.2" context["fastapi_offline_version"] = "1.7.4" context["uvicorn_version"] = "0.38.0" context["lab_auto_pulumi_version"] = "0.1.17" @@ -45,10 +45,11 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["pytest_mock_version"] = "3.15.1" context["uuid_utils_version"] = "0.11.0" context["syrupy_version"] = "5.0.0" + context["structlog_version"] = "25.5.0" ####### context["node_version"] = "24.7.0" - context["nuxt_ui_version"] = "^4.0.1" - context["nuxt_version"] = "^4.1.0" + context["nuxt_ui_version"] = "^4.1.0" + context["nuxt_version"] = "^4.2.0" context["nuxt_icon_version"] = "^2.1.0" context["typescript_version"] = "^5.9.3" context["playwright_version"] = "^1.56.0" @@ -56,14 +57,14 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["vue_tsc_version"] = "^3.1.2" context["vue_devtools_api_version"] = "^8.0.0" context["vue_router_version"] = "^4.6.0" - context["dotenv_cli_version"] = "^10.0.0" + context["dotenv_cli_version"] = "^11.0.0" context["faker_version"] = "^10.1.0" context["vitest_version"] = "^3.2.4" context["eslint_version"] = "^9.38.0" - context["nuxt_eslint_version"] = "^1.9.0" - context["zod_version"] = "^4.1.5" - context["zod_from_json_schema_version"] = "^0.5.0" - context["types_node_version"] = "^24.9.1" + context["nuxt_eslint_version"] = "^1.10.0" + context["zod_version"] = "^4.1.12" + context["zod_from_json_schema_version"] = "^0.5.1" + context["types_node_version"] = "^24.9.2" context["nuxt_apollo_version"] = "5.0.0-alpha.15" context["graphql_codegen_cli_version"] = "^6.0.0" context["graphql_codegen_typescript_version"] = "^5.0.0" @@ -85,13 +86,13 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]: context["gha_cache"] = "v4.2.4" context["gha_linux_runner"] = "ubuntu-24.04" ####### - context["gha_upload_artifact"] = "v4.6.2" - context["gha_download_artifact"] = "v5.0.0" + context["gha_upload_artifact"] = "v5.0.0" + context["gha_download_artifact"] = "v6.0.0" context["gha_github_script"] = "v7.0.1" context["gha_setup_buildx"] = "v3.11.1" context["buildx_version"] = "v0.27.0" - context["gha_docker_build_push"] = "v6.16.0" - context["gha_configure_aws_credentials"] = "v5.0.0" + context["gha_docker_build_push"] = "v6.18.0" + context["gha_configure_aws_credentials"] = "v5.1.0" context["gha_amazon_ecr_login"] = "v2.0.1" context["gha_setup_node"] = "v6.0.0" context["gha_action_gh_release"] = "v2.2.1" diff --git a/template/.coderabbit.yaml b/template/.coderabbit.yaml new file mode 120000 index 00000000..8ae2834c --- /dev/null +++ b/template/.coderabbit.yaml @@ -0,0 +1 @@ +../.coderabbit.yaml \ No newline at end of file diff --git a/template/extensions/context.py.jinja-base b/template/extensions/context.py.jinja-base index b5ca82ee..61e32e79 100644 --- a/template/extensions/context.py.jinja-base +++ b/template/extensions/context.py.jinja-base @@ -40,6 +40,7 @@ class ContextUpdater(ContextHook): context["pytest_mock_version"] = "{{ pytest_mock_version }}" context["uuid_utils_version"] = "{{ uuid_utils_version }}" context["syrupy_version"] = "{{ syrupy_version }}" + context["structlog_version"] = "{{ structlog_version }}" context["node_version"] = "{{ node_version }}" context["nuxt_ui_version"] = "{{ nuxt_ui_version }}" diff --git a/template/template/.coderabbit.yaml b/template/template/.coderabbit.yaml new file mode 120000 index 00000000..6745a939 --- /dev/null +++ b/template/template/.coderabbit.yaml @@ -0,0 +1 @@ +../../.coderabbit.yaml \ No newline at end of file