Skip to content

Commit

Permalink
ci(gitignore): update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
chimurai committed Apr 25, 2021
1 parent 61b4587 commit 36b1f18
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 18 deletions.
49 changes: 35 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Genererated with "yarn gitignore:update"

### custom gitignore start
# <define project ignores here>
### custom gitignore end
############### Start: custom gitignore ###############
# (define them in ./tools/dotignore) #
dist
############### End: custom gitignore ###############

# Created by https://www.gitignore.io/api/node
# Edit at https://www.gitignore.io/?templates=node
# Created by https://www.toptal.com/developers/gitignore/api/node
# Edit at https://www.toptal.com/developers/gitignore?templates=node

### Node ###
# Logs
Expand Down Expand Up @@ -63,6 +64,15 @@ typings/
# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

Expand All @@ -75,28 +85,33 @@ typings/
# dotenv environment variables file
.env
.env.test
.env*.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# next.js build output
# Next.js build output
.next

# nuxt.js build output
# Nuxt.js build / generate output
.nuxt
dist

# Storybook build outputs
.out
.storybook-out
storybook-static

# rollup.js default build output
dist/

# Uncomment the public line if your project uses Gatsby
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
# public

# Storybook build outputs
.out
.storybook-out

# vuepress build output
.vuepress/dist

Expand All @@ -109,8 +124,14 @@ dist/
# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# Temporary folders
tmp/
temp/

# End of https://www.gitignore.io/api/node
# End of https://www.toptal.com/developers/gitignore/api/node
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"test": "jest",
"coverage": "jest --coverage --coverageReporters=lcov",
"prepare": "yarn clean && yarn test && yarn build",
"gitignore:update": "curl https://www.gitignore.io/api/node --silent > .temp && cat tools/dotgitignore | cat - .temp > .gitignore && rm .temp"
"gitignore:update": "curl -L https://www.toptal.com/developers/gitignore/api/node --silent > .temp && cat tools/dotgitignore | cat - .temp > .gitignore && rm .temp"
},
"lint-staged": {
"**/*.{js,ts,md}": [
Expand Down
7 changes: 4 additions & 3 deletions tools/dotgitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Genererated with "yarn gitignore:update"

### custom gitignore start
# <define project ignores here>
### custom gitignore end
############### Start: custom gitignore ###############
# (define them in ./tools/dotignore) #
dist
############### End: custom gitignore ###############

0 comments on commit 36b1f18

Please sign in to comment.