Skip to content

Commit

Permalink
fix: Drop Node 8 (#459)
Browse files Browse the repository at this point in the history
Closes #430

BREAKING CHANGE: This drops support for Node 8. Node 10 or greater is now required.
  • Loading branch information
kentcdodds committed Mar 4, 2020
1 parent bd2261f commit 7ad3e2d
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 28 deletions.
3 changes: 1 addition & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
* text=auto
*.js text eol=lf
* text=auto eol=lf
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
node_modules
coverage
dist
.opt-in
.opt-out
.DS_Store
.eslintcache
yarn-error.log
.idea/

# these cause more harm than good
# when working with contributors
Expand Down
3 changes: 1 addition & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package.json
node_modules
dist
coverage
dist
11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

1 change: 1 addition & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('kcd-scripts/prettier')
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cache: npm
notifications:
email: false
node_js:
- 10.14
- 10.18
- 12
- node
install: npm install
Expand All @@ -13,7 +13,6 @@ script:
branches:
only:
- master
- next
- beta

jobs:
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
"end-to-end",
"e2e"
],
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com/)",
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com)",
"license": "MIT",
"engines": {
"node": ">=8"
"node": ">=10.18"
},
"scripts": {
"build": "kcd-scripts build --ignore \"**/__tests__/**,**/__node_tests__/**,**/__mocks__/**\" && kcd-scripts build --bundle --no-clean",
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
"test:update": "npm test -- --updateSnapshot --coverage",
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --watch --runInBand",
"validate": "kcd-scripts validate",
"setup": "npm install && npm run validate -s"
"test:update": "npm test -- --updateSnapshot --coverage",
"validate": "kcd-scripts validate"
},
"husky": {
"hooks": {
Expand Down Expand Up @@ -70,7 +70,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/testing-library/dom-testing-library.git"
"url": "https://github.com/testing-library/dom-testing-library"
},
"bugs": {
"url": "https://github.com/testing-library/dom-testing-library/issues"
Expand Down

0 comments on commit 7ad3e2d

Please sign in to comment.