Skip to content

Commit c56c4c7

Browse files
authored
Add .gitignore for Astro
1 parent b4105e7 commit c56c4c7

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

Astro

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
node_modules/
2+
/triage/
3+
/.compiler/
4+
dist/
5+
temp/
6+
*.tsbuildinfo
7+
.DS_Store
8+
.vercel
9+
.netlify
10+
_site/
11+
.astro/
12+
scripts/smoke/*-main/
13+
scripts/memory/project/src/pages/
14+
benchmark/projects/
15+
benchmark/results/
16+
test-results/
17+
*.log
18+
package-lock.json
19+
.turbo/
20+
.eslintcache
21+
.pnpm-store
22+
.vscode-test/
23+
.claude
24+
25+
# do not commit .env files or any files that end with `.env`
26+
*.env
27+
28+
packages/astro/src/**/*.prebuilt.ts
29+
packages/astro/src/**/*.prebuilt-dev.ts
30+
packages/astro/test/units/_temp-fixtures/*
31+
!packages/astro/test/units/_temp-fixtures/package.json
32+
packages/integrations/**/.netlify/
33+
34+
# exclude IntelliJ/WebStorm stuff
35+
.idea
36+
37+
# ignore content collection generated files
38+
packages/**/test/**/fixtures/**/.astro/
39+
packages/**/test/**/fixtures/**/env.d.ts
40+
packages/**/e2e/**/fixtures/**/.astro/
41+
packages/**/e2e/**/fixtures/**/env.d.ts
42+
examples/**/.astro/
43+
examples/**/env.d.ts
44+
45+
# make it easy for people to add project-specific Astro settings that they don't
46+
# want to share with others (see
47+
# https://github.com/withastro/astro/pull/11759#discussion_r1721444711)
48+
*.code-workspace
49+
packages/astro/e2e/fixtures/cloudflare/.wrangler/deploy/config.json

0 commit comments

Comments
 (0)