mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-02 05:47:32 +00:00
feat(astro): add .gitignore
This commit is contained in:
parent
9c450a850e
commit
ff5f2aa875
|
@ -29,6 +29,7 @@ final class CreateListOfFilesToGenerate
|
||||||
case (strtolower(ProjectType::Astro->name)):
|
case (strtolower(ProjectType::Astro->name)):
|
||||||
$filesToGenerate = collect([
|
$filesToGenerate = collect([
|
||||||
['astro/.envrc', '.envrc'],
|
['astro/.envrc', '.envrc'],
|
||||||
|
['astro/.gitignore', '.gitignore'],
|
||||||
['astro/flake.nix', 'flake.nix'],
|
['astro/flake.nix', 'flake.nix'],
|
||||||
['astro/tsconfig.json', 'tsconfig.json'],
|
['astro/tsconfig.json', 'tsconfig.json'],
|
||||||
])->map(function (array $file) {
|
])->map(function (array $file) {
|
||||||
|
|
12
templates/astro/.gitignore
vendored
Normal file
12
templates/astro/.gitignore
vendored
Normal 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*
|
Loading…
Reference in a new issue