diff --git a/src/Action/CreateListOfFilesToGenerate.php b/src/Action/CreateListOfFilesToGenerate.php index fd16c20..bf1376f 100644 --- a/src/Action/CreateListOfFilesToGenerate.php +++ b/src/Action/CreateListOfFilesToGenerate.php @@ -29,6 +29,7 @@ final class CreateListOfFilesToGenerate case (strtolower(ProjectType::Astro->name)): $filesToGenerate = collect([ ['astro/.envrc', '.envrc'], + ['astro/.gitignore', '.gitignore'], ['astro/flake.nix', 'flake.nix'], ['astro/tsconfig.json', 'tsconfig.json'], ])->map(function (array $file) { diff --git a/templates/astro/.gitignore b/templates/astro/.gitignore new file mode 100644 index 0000000..83a283a --- /dev/null +++ b/templates/astro/.gitignore @@ -0,0 +1,12 @@ +# {{ managedText | raw }} + +.astro +.direnv +.env +.env.production +dist +node_modules +npm-debug.log* +pnpm-debug.log* +yarn-debug.log* +yarn-error.log*