Skip to content

Commit 1783cce

Browse files
committed
Add .gitignore for create-expo compatibility
- Added a `.gitignore` file for use during template development. - The previously added `gitignore` file becomes the active `.gitignore` post-template usage. - This dual-file strategy accounts for `create-expo`'s handling of `.gitignore` files: - Provides a default `.gitignore` if none exists. - Overrides an existing `.gitignore` with a default version. - Utilizes a `gitignore` file, if present, instead of creating a new one. - The setup ensures our custom rules are maintained when the template is employed.
1 parent dad16d4 commit 1783cce

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files
2+
3+
# dependencies
4+
node_modules/
5+
.yarn/
6+
package-lock.json
7+
yarn.lock
8+
9+
# Expo
10+
.expo/
11+
dist/
12+
web-build/
13+
14+
# Native
15+
*.orig.*
16+
*.jks
17+
*.p8
18+
*.p12
19+
*.key
20+
*.mobileprovision
21+
22+
# Metro
23+
.metro-health-check*
24+
25+
# debug
26+
npm-debug.*
27+
yarn-debug.*
28+
yarn-error.*
29+
30+
# macOS
31+
.DS_Store
32+
*.pem
33+
34+
# local env files
35+
.env*.local
36+
37+
# typescript
38+
*.tsbuildinfo
39+
40+
# IDE
41+
.vscode

0 commit comments

Comments
 (0)