This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update dependencies BREAKING CHANGE: Drop Node 8 support
- Loading branch information
1 parent
67f21c3
commit 4ec6f40
Showing
6 changed files
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
coverage | ||
dist |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/'], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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": { | ||
|
@@ -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" | ||
|