revert(astro): move projects into a language

This reverts commit f5803212e5.
This commit is contained in:
Oliver Davies 2023-09-24 21:24:19 +01:00
parent f5803212e5
commit 9c450a850e
4 changed files with 3 additions and 3 deletions

View file

@ -28,9 +28,9 @@ final class CreateListOfFilesToGenerate
switch (strtolower($configurationDataDto->type)) { switch (strtolower($configurationDataDto->type)) {
case (strtolower(ProjectType::Astro->name)): case (strtolower(ProjectType::Astro->name)):
$filesToGenerate = collect([ $filesToGenerate = collect([
['astro/typescript/.envrc', '.envrc'], ['astro/.envrc', '.envrc'],
['astro/typescript/flake.nix', 'flake.nix'], ['astro/flake.nix', 'flake.nix'],
['astro/typescript/tsconfig.json', 'tsconfig.json'], ['astro/tsconfig.json', 'tsconfig.json'],
])->map(function (array $file) { ])->map(function (array $file) {
return new TemplateFile( return new TemplateFile(
data: $file[0], data: $file[0],