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

Commit

Permalink
feat: update dependencies (#223)
Browse files Browse the repository at this point in the history
* Update dependencies

BREAKING CHANGE: Drop Node 8 support
  • Loading branch information
MichaelDeBoey authored and Kent C. Dodds committed Jan 25, 2020
1 parent 67f21c3 commit 4ec6f40
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 27 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
coverage
dist
File renamed without changes.
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
sudo: false
language: node_js
cache:
directories:
- ~/.npm
cache: npm
notifications:
email: false
node_js: '8'
node_js:
- 10.14
- 12
- node
install: npm install
script: npm run validate
after_success:
- npx codecov
- npx -p semantic-release@7 -c "semantic-release pre && npm publish && semantic-release post"
after_success: kcd-scripts travis-after-success
branches:
only: master
only:
- master
15 changes: 5 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
environment:
matrix:
- node_version: "8"

- node_version: '10.14'
- node_version: '12'
- node_version: '13'
branches:
only:
- master

install:
- ps: Install-Product node $env:node_version
- npm i

test_script:
- node --version
- npm test

- npm install
test_script: npm run validate
cache:
- ~/.npm

build: off
10 changes: 5 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const jestConfig = require('kcd-scripts/config').jest
const jest = require('kcd-scripts/jest')

jestConfig.coveragePathIgnorePatterns = jestConfig.coveragePathIgnorePatterns.concat(
['/bin/'],
)
module.exports = jestConfig
module.exports = {
...jest,
coveragePathIgnorePatterns: [...jest.coveragePathIgnorePatterns, '/bin/'],
}
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
"cross-env-shell": "src/bin/cross-env-shell.js"
},
"engines": {
"node": ">=8.0"
"node": ">=10.14",
"npm": ">=6",
"yarn": ">=1"
},
"scripts": {
"lint": "kcd-scripts lint",
"setup": "npm install && npm run validate -s",
"test": "kcd-scripts test",
"test:update": "npm test -- --updateSnapshot --coverage",
"validate": "kcd-scripts validate"
},
"husky": {
Expand All @@ -32,10 +36,10 @@
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
"license": "MIT",
"dependencies": {
"cross-spawn": "^7.0.0"
"cross-spawn": "^7.0.1"
},
"devDependencies": {
"kcd-scripts": "^1.8.0"
"kcd-scripts": "^4.1.0"
},
"eslintConfig": {
"extends": "./node_modules/kcd-scripts/eslint.js"
Expand Down

0 comments on commit 4ec6f40

Please sign in to comment.