Skip to content

Commit de32f82

Browse files
committed
adjusted .gitignore and .gitattribute, also vercel.json
1 parent dcf0933 commit de32f82

File tree

3 files changed

+76
-4
lines changed

3 files changed

+76
-4
lines changed

.gitattributes

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Handle line endings consistently
2+
* text=auto eol=lf
3+
4+
# Ensure certain file types always use LF
5+
*.js text eol=lf
6+
*.ts text eol=lf
7+
*.vue text eol=lf
8+
*.json text eol=lf
9+
*.css text eol=lf
10+
*.scss text eol=lf
11+
*.md text eol=lf
12+
*.yml text eol=lf
13+
*.yaml text eol=lf
14+
15+
# Treat lock files as text, not binary
16+
package-lock.json text eol=lf
17+
yarn.lock text eol=lf
18+
pnpm-lock.yaml text eol=lf
19+
20+
# Keep images & binaries untouched
21+
*.png binary
22+
*.jpg binary
23+
*.jpeg binary
24+
*.gif binary
25+
*.ico binary
26+
*.webp binary
27+
*.mp4 binary
28+
*.mov binary
29+
*.pdf binary
30+
*.woff binary
31+
*.woff2 binary
32+
*.ttf binary
33+
*.eot binary
34+
35+
# Documentation files
36+
*.md text eol=lf
37+
*.txt text eol=lf
38+
39+
# Make shell scripts always LF + executable
40+
*.sh text eol=lf
41+
*.sh linguist-language=Shell

.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,37 @@ logs
2222
.env
2323
.env.*
2424
!.env.example
25+
26+
# VS Code
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/
33+
*.code-workspace
34+
35+
# System junk
36+
Thumbs.db
37+
ehthumbs.db
38+
39+
# Other IDE/editor
40+
*.swp
41+
*.swo
42+
*.iml
43+
44+
# Deployment
45+
.vercel
46+
47+
# Yarn / pnpm
48+
.yarn/*
49+
!.yarn/releases
50+
!.yarn/plugins
51+
!.yarn/sdks
52+
!.yarn/versions
53+
.pnp.*
54+
.pnpm-debug.log
55+
56+
# Coverage / tests
57+
coverage
58+
*.lcov

vercel.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
"env": {
1414
"NPM_FLAGS": "--legacy-peer-deps"
1515
}
16-
},
17-
"scripts": {
18-
"build": "npx nuxi generate"
19-
},
16+
},
2017
"routes": [
2118
{ "src": "/(.*)", "dest": "/$1" }
2219
]

0 commit comments

Comments
 (0)