Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit 4ec6f40

Browse files
MichaelDeBoeyKent C. Dodds
authored and
Kent C. Dodds
committed
feat: update dependencies (#223)
* Update dependencies BREAKING CHANGE: Drop Node 8 support
1 parent 67f21c3 commit 4ec6f40

File tree

6 files changed

+28
-27
lines changed

6 files changed

+28
-27
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
coverage
3+
dist
File renamed without changes.

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
sudo: false
21
language: node_js
3-
cache:
4-
directories:
5-
- ~/.npm
2+
cache: npm
63
notifications:
74
email: false
8-
node_js: '8'
5+
node_js:
6+
- 10.14
7+
- 12
8+
- node
99
install: npm install
1010
script: npm run validate
11-
after_success:
12-
- npx codecov
13-
- npx -p semantic-release@7 -c "semantic-release pre && npm publish && semantic-release post"
11+
after_success: kcd-scripts travis-after-success
1412
branches:
15-
only: master
13+
only:
14+
- master

appveyor.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
environment:
22
matrix:
3-
- node_version: "8"
4-
3+
- node_version: '10.14'
4+
- node_version: '12'
5+
- node_version: '13'
56
branches:
67
only:
78
- master
8-
99
install:
1010
- ps: Install-Product node $env:node_version
11-
- npm i
12-
13-
test_script:
14-
- node --version
15-
- npm test
16-
11+
- npm install
12+
test_script: npm run validate
1713
cache:
1814
- ~/.npm
19-
2015
build: off

jest.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const jestConfig = require('kcd-scripts/config').jest
1+
const jest = require('kcd-scripts/jest')
22

3-
jestConfig.coveragePathIgnorePatterns = jestConfig.coveragePathIgnorePatterns.concat(
4-
['/bin/'],
5-
)
6-
module.exports = jestConfig
3+
module.exports = {
4+
...jest,
5+
coveragePathIgnorePatterns: [...jest.coveragePathIgnorePatterns, '/bin/'],
6+
}

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@
88
"cross-env-shell": "src/bin/cross-env-shell.js"
99
},
1010
"engines": {
11-
"node": ">=8.0"
11+
"node": ">=10.14",
12+
"npm": ">=6",
13+
"yarn": ">=1"
1214
},
1315
"scripts": {
1416
"lint": "kcd-scripts lint",
17+
"setup": "npm install && npm run validate -s",
1518
"test": "kcd-scripts test",
19+
"test:update": "npm test -- --updateSnapshot --coverage",
1620
"validate": "kcd-scripts validate"
1721
},
1822
"husky": {
@@ -32,10 +36,10 @@
3236
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
3337
"license": "MIT",
3438
"dependencies": {
35-
"cross-spawn": "^7.0.0"
39+
"cross-spawn": "^7.0.1"
3640
},
3741
"devDependencies": {
38-
"kcd-scripts": "^1.8.0"
42+
"kcd-scripts": "^4.1.0"
3943
},
4044
"eslintConfig": {
4145
"extends": "./node_modules/kcd-scripts/eslint.js"

0 commit comments

Comments
 (0)