From 8f47506eadd5ec4349350c3fb9c3becb8c1ca950 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sun, 10 May 2026 23:26:43 +0545 Subject: [PATCH] feat(src/djinit/core): adduse_docker and use_vite configuration flags Add `use_docker` and `use_vite` boolean fields to `ProjectMetadata` and include them in the metadata dictionary serialization. - New feature: expose Docker and Vite enable flags. - Enhancement: extend metadata output to reflect the new configuration options. --- src/djinit/core/types.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/djinit/core/types.py b/src/djinit/core/types.py index da65e67..68aa347 100644 --- a/src/djinit/core/types.py +++ b/src/djinit/core/types.py @@ -17,6 +17,8 @@ class ProjectMetadata: database_type: str = "postgresql" use_tailwind: bool = False use_htmx: bool = False + use_docker: bool = False + use_vite: bool = False predefined_structure: bool = False unified_structure: bool = False single_structure: bool = False @@ -33,6 +35,8 @@ class ProjectMetadata: "database_type": self.database_type, "use_tailwind": self.use_tailwind, "use_htmx": self.use_htmx, + "use_docker": self.use_docker, + "use_vite": self.use_vite, "predefined_structure": self.predefined_structure, "unified_structure": self.unified_structure, "single_structure": self.single_structure,