Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: overhaul ignore configs #11938

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/ten-wolves-hug.md
@@ -0,0 +1,5 @@
---
"create-svelte": patch
---

chore: overhaul ignore configs
14 changes: 6 additions & 8 deletions packages/create-svelte/shared/+eslint/.eslintignore
@@ -1,13 +1,11 @@
.DS_Store
node_modules
/build
# Output
/.svelte-kit
/build
/dist
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
hyunbinseo marked this conversation as resolved.
Show resolved Hide resolved
# Package Managers
node_modules
package-lock.json
pnpm-lock.yaml
yarn.lock
4 changes: 2 additions & 2 deletions packages/create-svelte/shared/+prettier/.prettierignore
@@ -1,4 +1,4 @@
# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
# Package Managers
package-lock.json
pnpm-lock.yaml
yarn.lock
20 changes: 15 additions & 5 deletions packages/create-svelte/templates/default/.gitignore
@@ -1,12 +1,22 @@
.DS_Store
node_modules
/build

# Output
.output
hyunbinseo marked this conversation as resolved.
Show resolved Hide resolved
.vercel
/.svelte-kit
/build
/dist
/package
.env

hyunbinseo marked this conversation as resolved.
Show resolved Hide resolved
# OS
.DS_Store
Thumbs.db

# Env
.env.*
!.env.example
.vercel
.output
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
18 changes: 15 additions & 3 deletions packages/create-svelte/templates/skeleton/.gitignore
@@ -1,10 +1,22 @@
.DS_Store
node_modules
/build

# Output
.output
.vercel
/.svelte-kit
/build
/dist
/package
.env

# OS
.DS_Store
Thumbs.db

# Env
.env.*
!.env.example
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*
17 changes: 14 additions & 3 deletions packages/create-svelte/templates/skeletonlib/.gitignore
@@ -1,11 +1,22 @@
.DS_Store
node_modules

# Output
.output
.vercel
/.svelte-kit
/build
/dist
/.svelte-kit
/package
.env

# OS
.DS_Store
Thumbs.db

# Env
.env.*
!.env.example
!.env.test

# Vite
vite.config.js.timestamp-*
vite.config.ts.timestamp-*