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:
1 file changed
+4
@@ -17,6 +17,8 @@ class ProjectMetadata:
|
|||||||
database_type: str = "postgresql"
|
database_type: str = "postgresql"
|
||||||
use_tailwind: bool = False
|
use_tailwind: bool = False
|
||||||
use_htmx: bool = False
|
use_htmx: bool = False
|
||||||
|
use_docker: bool = False
|
||||||
|
use_vite: bool = False
|
||||||
predefined_structure: bool = False
|
predefined_structure: bool = False
|
||||||
unified_structure: bool = False
|
unified_structure: bool = False
|
||||||
single_structure: bool = False
|
single_structure: bool = False
|
||||||
@@ -33,6 +35,8 @@ class ProjectMetadata:
|
|||||||
"database_type": self.database_type,
|
"database_type": self.database_type,
|
||||||
"use_tailwind": self.use_tailwind,
|
"use_tailwind": self.use_tailwind,
|
||||||
"use_htmx": self.use_htmx,
|
"use_htmx": self.use_htmx,
|
||||||
|
"use_docker": self.use_docker,
|
||||||
|
"use_vite": self.use_vite,
|
||||||
"predefined_structure": self.predefined_structure,
|
"predefined_structure": self.predefined_structure,
|
||||||
"unified_structure": self.unified_structure,
|
"unified_structure": self.unified_structure,
|
||||||
"single_structure": self.single_structure,
|
"single_structure": self.single_structure,
|
||||||
|
|||||||
Reference in new issue
Block a user