Skip to content

Commit

Permalink
chore: set node v10.13 as lowest supported version
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Removes support for node v8
  • Loading branch information
Jacob Wejendorp authored and wejendorp committed Sep 25, 2020
1 parent 836879d commit 375d853
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -6,9 +6,9 @@ cache:
notifications:
email: false
node_js:
- '8'
- '10'
- '12'
- '14'
script: npm run validate
jobs:
include:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -3,8 +3,7 @@
"version": "0.0.0-semantically-released",
"description": "CLI for common scripts for my projects",
"engines": {
"node": ">= 8",
"npm": ">= 5"
"node": ">=10.13"
},
"bin": {
"tradeshift-scripts": "dist/index.js"
Expand Down
2 changes: 1 addition & 1 deletion src/config/babelrc.js
Expand Up @@ -88,7 +88,7 @@ module.exports = () => ({
].filter(Boolean),
});

function getNodeVersion({ engines: { node: nodeVersion = '8' } = {} }) {
function getNodeVersion({ engines: { node: nodeVersion = '10.13' } = {} }) {
const oldestVersion = semver
.validRange(nodeVersion)
.replace(/[>=<|]/g, ' ')
Expand Down

0 comments on commit 375d853

Please sign in to comment.