feat(astro): add .gitignore

This commit is contained in:
Oliver Davies 2023-09-24 21:47:45 +01:00
parent 9c450a850e
commit ff5f2aa875
2 changed files with 13 additions and 0 deletions

View file

@ -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) {

12
templates/astro/.gitignore vendored Normal file
View file

@ -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*