Skip to content

Commit

Permalink
chore: drop support for nodes 4.x and 6.x, add 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
qfox committed Jul 1, 2018
1 parent 0b619b5 commit 89c9691
Show file tree
Hide file tree
Showing 23 changed files with 30 additions and 28 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 6
ecmaVersion: 7,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
},
},
env: {
node: true,
es6: true
es6: true,
},
// plugins: ['node', 'promise', 'unicorn'],
extends: 'pedant',
Expand Down
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ language: node_js

matrix:
include:
- node_js: "4"
- node_js: "6"
env: COVERALLS=1
- node_js: "8"
env: COVERALLS=1
- node_js: "10"

install:
- npm i -g lerna
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ branches:

environment:
matrix:
- nodejs_version: "6"
- nodejs_version: "8"
- nodejs_version: "10"

install:
- ps: Install-Product node $env:nodejs_version
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/proxyquire": "^1.3.27",
"@types/sinon": "^2.1.2",
"chai": "^4.1.2",
"eslint": "^4.1.1",
"eslint": "^4.19.1",
"eslint-config-pedant": "^0.10.0",
"mocha": "^3.4.2",
"mock-fs": "^4.4.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/bemjson-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"index.d.ts"
],
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"devDependencies": {
"@types/node": "^4.2.5"
"@types/node": "^8.0"
},
"scripts": {
"test": "npm run specs",
Expand Down
2 changes: 1 addition & 1 deletion packages/bemjson-to-decl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"author": "Vladimir Grinenko",
"license": "MPL-2.0",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"dependencies": {
"@bem/sdk.decl": "^0.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"main": "lib/index.js",
"engines": {
"node": ">= 4"
"node": ">= 8.0"
},
"files": [
"lib/**"
Expand Down
2 changes: 1 addition & 1 deletion packages/cell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"index.js"
],
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"dependencies": {
"@bem/sdk.entity-name": "^0.2.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/config#readme",
"engines": {
"node": ">=4"
"node": ">= 8.0"
},
"dependencies": {
"betterc": "^1.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/decl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/decl#readme",
"engines": {
"node": ">= 4"
"node": ">= 8"
},
"main": "lib/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/deps#readme",
"engines": {
"node": ">= 4.6.2"
"node": ">= 8.0"
},
"main": "lib/index.js",
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/entity-name/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"index.d.ts"
],
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"dependencies": {
"@bem/sdk.naming.entity.stringify": "^1.0.3",
Expand All @@ -45,7 +45,7 @@
"es6-error": "4.0.2"
},
"devDependencies": {
"@types/node": "^4.2.5"
"@types/node": "^8.0"
},
"scripts": {
"specs": "mocha",
Expand Down
2 changes: 1 addition & 1 deletion packages/file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"file.js"
],
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"dependencies": {
"@bem/sdk.cell": "^0.2.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/graph/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/graph#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4"
"node": ">= 8.0"
},
"main": "lib/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.cell.match/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "cell-match.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.cell.pattern-parser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/naming.cell.pattern-parser#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "pattern-parser.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.cell.stringify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/naming.cell.stringify#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "cell-stringify.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.entity.parse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/naming.entity.parse#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.entity.stringify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/naming.entity.stringify#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.entity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/naming.entity#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.file.stringify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/naming.file.stringify#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"dependencies": {
"@bem/sdk.naming.cell.stringify": "^0.0.9"
Expand Down
2 changes: 1 addition & 1 deletion packages/naming.presets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@bem/sdk.naming.entity": "^0.2.7"
},
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "index.js",
"typings": "index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/walk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"homepage": "https://github.com/bem/bem-sdk/tree/master/packages/walk#readme",
"repository": "bem/bem-sdk",
"engines": {
"node": ">= 4.0"
"node": ">= 8.0"
},
"main": "lib/index.js",
"files": [
Expand Down

0 comments on commit 89c9691

Please sign in to comment.