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.
This commit is contained in:
sankalp committed 2026-05-10 23:26:43 +05:45
1 parent 6e41e121f0
commit 8f47506ead
1 file changed
+4
+4
View File
@@ -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,