mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
refactor(astro): move projects into a language
...directory
This commit is contained in:
parent
cd4355bbc1
commit
f5803212e5
|
@ -28,9 +28,9 @@ final class CreateListOfFilesToGenerate
|
|||
switch (strtolower($configurationDataDto->type)) {
|
||||
case (strtolower(ProjectType::Astro->name)):
|
||||
$filesToGenerate = collect([
|
||||
['astro/.envrc', '.envrc'],
|
||||
['astro/flake.nix', 'flake.nix'],
|
||||
['astro/tsconfig.json', 'tsconfig.json'],
|
||||
['astro/typescript/.envrc', '.envrc'],
|
||||
['astro/typescript/flake.nix', 'flake.nix'],
|
||||
['astro/typescript/tsconfig.json', 'tsconfig.json'],
|
||||
])->map(function (array $file) {
|
||||
return new TemplateFile(
|
||||
data: $file[0],
|
||||
|
|
Loading…
Reference in a new issue