Commit Graph

4 Commits

Author SHA1 Message Date
gbuomprisco
10898231fe Fix generator to reference the correct variable 2025-01-07 13:38:17 +08:00
giancarlo
aba9076805 Use existing environment variables as defaults for the generator command. 2024-06-05 20:02:29 +07:00
giancarlo
d3a4fbdeb1 Refactor env file generation and validation
This commit replaces the previous use of execSync to generate .env.local files with the use of writeFileSync. It also updates the corresponding path and default value in the validation process. This change provides a more efficient and safer way to create these files and correctly update the related prompts.
2024-06-05 15:45:47 +07:00
giancarlo
83a4f29be4 Add environment variables generators and validators
Added a new generator for creating environment variables and a validator to check the validity of the created variables. Also updated the config file to include these new generators in the list of registered generators.
2024-06-05 14:59:10 +07:00