feat(src/djinit/core): add use_vite flag to ProjectMetadata

Add a boolean `use_vite` to `ProjectMetadata` to control Vite integration and include it in the serialized project metadata.

- New Features: Introduce `use_vite` configuration option.
- Enhancements: Expose `use_vite` in metadata output.
This commit is contained in:
sankalp committed 2026-05-28 09:55:30 +05:45
1 parent 86906070aa
commit a8af4674a0
1 file changed
+2
+2
View File
@@ -17,6 +17,7 @@ class ProjectMetadata:
database_type: str = "postgresql"
use_tailwind: bool = False
use_htmx: bool = False
use_vite: bool = False
predefined_structure: bool = False
unified_structure: bool = False
single_structure: bool = False
@@ -33,6 +34,7 @@ class ProjectMetadata:
"database_type": self.database_type,
"use_tailwind": self.use_tailwind,
"use_htmx": self.use_htmx,
"use_vite": self.use_vite,
"predefined_structure": self.predefined_structure,
"unified_structure": self.unified_structure,
"single_structure": self.single_structure,