Skip to content

Commit

Permalink
[examples] Extend the .gitignore files (#13270)
Browse files Browse the repository at this point in the history
* extended the .gitignore files in the examples folder for nextjs and gatsby

* push the idea further
  • Loading branch information
phiilu authored and oliviertassinari committed Oct 16, 2018
1 parent 1fdf4ce commit 10e01bf
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 9 deletions.
2 changes: 0 additions & 2 deletions examples/create-react-app-with-flow/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

yarn.lock
2 changes: 0 additions & 2 deletions examples/create-react-app-with-jss/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

yarn.lock
2 changes: 0 additions & 2 deletions examples/create-react-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

yarn.lock
21 changes: 19 additions & 2 deletions examples/gatsby/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
/public/
/.cache/
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Gatsby.js
/public
/.cache
17 changes: 17 additions & 0 deletions examples/nextjs/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Next.js
/.next
17 changes: 17 additions & 0 deletions examples/parcel/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Parcel
/dist
/.cache
13 changes: 12 additions & 1 deletion examples/ssr/.gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# production
/build

yarn.lock
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

0 comments on commit 10e01bf

Please sign in to comment.