Skip to content

Commit a3c15bf

Browse files
authored
fix: Drop Node 8 (#459)
BREAKING CHANGE: This drops support for Node 8. Node 10 or greater is now required.
1 parent 5fae126 commit a3c15bf

7 files changed

+10
-28
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* text=auto
2-
*.js text eol=lf
1+
* text=auto eol=lf

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
node_modules
22
coverage
33
dist
4-
.opt-in
5-
.opt-out
64
.DS_Store
7-
.eslintcache
8-
yarn-error.log
9-
.idea/
105

116
# these cause more harm than good
127
# when working with contributors

.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
package.json
21
node_modules
3-
dist
42
coverage
3+
dist

.prettierrc

Lines changed: 0 additions & 11 deletions
This file was deleted.

.prettierrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('kcd-scripts/prettier')

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cache: npm
33
notifications:
44
email: false
55
node_js:
6-
- 10.14
6+
- 10.18
77
- 12
88
- node
99
install: npm install
@@ -13,7 +13,6 @@ script:
1313
branches:
1414
only:
1515
- master
16-
- next
1716
- beta
1817

1918
jobs:

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@
1717
"end-to-end",
1818
"e2e"
1919
],
20-
"author": "Kent C. Dodds <kent@doddsfamily.us> (https://kentcdodds.com/)",
20+
"author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)",
2121
"license": "MIT",
2222
"engines": {
23-
"node": ">=8"
23+
"node": ">=10.18"
2424
},
2525
"scripts": {
2626
"build": "kcd-scripts build --ignore \"**/__tests__/**,**/__node_tests__/**,**/__mocks__/**\" && kcd-scripts build --bundle --no-clean",
2727
"lint": "kcd-scripts lint",
28+
"setup": "npm install && npm run validate -s",
2829
"test": "kcd-scripts test",
29-
"test:update": "npm test -- --updateSnapshot --coverage",
3030
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --watch --runInBand",
31-
"validate": "kcd-scripts validate",
32-
"setup": "npm install && npm run validate -s"
31+
"test:update": "npm test -- --updateSnapshot --coverage",
32+
"validate": "kcd-scripts validate"
3333
},
3434
"husky": {
3535
"hooks": {
@@ -70,7 +70,7 @@
7070
],
7171
"repository": {
7272
"type": "git",
73-
"url": "https://github.com/testing-library/dom-testing-library.git"
73+
"url": "https://github.com/testing-library/dom-testing-library"
7474
},
7575
"bugs": {
7676
"url": "https://github.com/testing-library/dom-testing-library/issues"

0 commit comments

Comments
 (0)