Skip to content

Commit

Permalink
chore: drop support for nodejs version 8
Browse files Browse the repository at this point in the history
Drop support for nodejs version 8

BREAKING CHANGE: Drop support for nodejs version 8
  • Loading branch information
sharvit committed Feb 1, 2020
1 parent 87abb51 commit 961aff3
Show file tree
Hide file tree
Showing 5 changed files with 1,219 additions and 1,258 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ language: node_js
jobs:
include:
- stage: test
node_js: 8
script:
- yarn test
- yarn build
- node_js: 10
node_js: 10
script:
- yarn test
- yarn build
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "https://sharvit.github.io"
},
"engines": {
"node": ">=8"
"node": ">=10"
},
"scripts": {
"build": "yarn build:clean && yarn build:babel && yarn build:templates && yarn build:docs",
Expand Down Expand Up @@ -44,10 +44,6 @@
"uuid": "^3.3.2",
"yeoman-generator": "^4.0.1"
},
"optionalDependencies": {
"commitizen": "^4.0.3",
"cz-conventional-changelog": "3.1.0"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
Expand All @@ -59,8 +55,10 @@
"babel-eslint": "^10.0.3",
"babel-jest": "^24.1.0",
"babel-plugin-add-module-exports": "^1.0.2",
"commitizen": "^4.0.3",
"commitlint-config-cz": "^0.12.0",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^3.1.0",
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
Expand All @@ -75,7 +73,7 @@
"jest": "^24.1.0",
"prettier": "^1.15.3",
"rimraf": "^3.0.0",
"semantic-release": "^15.13.1",
"semantic-release": "^17.0.2",
"watch": "^1.0.2",
"yeoman-assert": "^3.1.0",
"yeoman-test": "^2.0.0"
Expand Down
10 changes: 4 additions & 6 deletions src/app/generators/project/templates/_package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"url": "<%= website %>"
},
"engines": {
"node": ">=8"
"node": ">=10"
},
"scripts": {
"prebuild": "rimraf dist",
Expand Down Expand Up @@ -44,7 +44,8 @@
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"babel-plugin-add-module-exports": "^1.0.0",<% if (semanticRelease) { %>
"commitlint-config-cz": "^0.12.0",<% } %><% if (coveralls) { %>
"commitlint-config-cz": "^0.12.0",
"cz-conventional-changelog": "^3.0.2",<% } %><% if (coveralls) { %>
"coveralls": "^3.0.2",<% } %><% if (esdoc) { %>
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
Expand All @@ -60,13 +61,10 @@
"jest": "^24.8.0",
"prettier": "^1.15.3",
"rimraf": "^3.0.0",
"semantic-release": "^17.0.2",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10"
},<% if (semanticRelease) { %>
"optionalDependencies": {<% if (semanticRelease) { %>
"cz-conventional-changelog": "^3.0.2",<% } %>
"semantic-release": "^15.13.1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down
6 changes: 1 addition & 5 deletions src/app/generators/travis/templates/_travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ language: node_js
jobs:
include:
- stage: test
node_js: 8
script:
- yarn test
- yarn build
- node_js: 10
node_js: 10
script:
- yarn test
- yarn build
Expand Down
Loading

0 comments on commit 961aff3

Please sign in to comment.