From 9c450a850ee636be80ee60035fdd32f014cb3154 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 24 Sep 2023 21:24:19 +0100 Subject: [PATCH] revert(astro): move projects into a language This reverts commit f5803212e52938f3978563fd22be00a57af9c3e1. --- src/Action/CreateListOfFilesToGenerate.php | 6 +++--- templates/astro/{typescript => }/.envrc.twig | 0 templates/astro/{typescript => }/flake.nix.twig | 0 templates/astro/{typescript => }/tsconfig.json.twig | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename templates/astro/{typescript => }/.envrc.twig (100%) rename templates/astro/{typescript => }/flake.nix.twig (100%) rename templates/astro/{typescript => }/tsconfig.json.twig (100%) diff --git a/src/Action/CreateListOfFilesToGenerate.php b/src/Action/CreateListOfFilesToGenerate.php index 3bde520..fd16c20 100644 --- a/src/Action/CreateListOfFilesToGenerate.php +++ b/src/Action/CreateListOfFilesToGenerate.php @@ -28,9 +28,9 @@ final class CreateListOfFilesToGenerate switch (strtolower($configurationDataDto->type)) { case (strtolower(ProjectType::Astro->name)): $filesToGenerate = collect([ - ['astro/typescript/.envrc', '.envrc'], - ['astro/typescript/flake.nix', 'flake.nix'], - ['astro/typescript/tsconfig.json', 'tsconfig.json'], + ['astro/.envrc', '.envrc'], + ['astro/flake.nix', 'flake.nix'], + ['astro/tsconfig.json', 'tsconfig.json'], ])->map(function (array $file) { return new TemplateFile( data: $file[0], diff --git a/templates/astro/typescript/.envrc.twig b/templates/astro/.envrc.twig similarity index 100% rename from templates/astro/typescript/.envrc.twig rename to templates/astro/.envrc.twig diff --git a/templates/astro/typescript/flake.nix.twig b/templates/astro/flake.nix.twig similarity index 100% rename from templates/astro/typescript/flake.nix.twig rename to templates/astro/flake.nix.twig diff --git a/templates/astro/typescript/tsconfig.json.twig b/templates/astro/tsconfig.json.twig similarity index 100% rename from templates/astro/typescript/tsconfig.json.twig rename to templates/astro/tsconfig.json.twig