From 6b5a45391da10abbd228c675e0cce996618e8ec3 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Mon, 7 May 2018 15:02:56 +0000 Subject: [PATCH 1/7] Update to node 10 in .travis.yml Fixes https://github.com/pelias/sorting/issues/12 Connects https://github.com/pelias/pelias/issues/723 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 97f13cd..8579ed6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ notifications: node_js: - 4 - 6 + - 10 matrix: fast_finish: true env: From 98b418ca17fcede4a4699a891e4880b86e254a20 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 22 May 2018 18:11:14 -0400 Subject: [PATCH 2/7] Drop support for Node.js 4 Connects https://github.com/pelias/pelias/issues/693 --- .travis.yml | 1 - package.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8579ed6..71a8ed7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,6 @@ language: node_js notifications: email: false node_js: - - 4 - 6 - 10 matrix: diff --git a/package.json b/package.json index c88e19e..30be42d 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "author": "Mapzen", "license": "MIT", "engines": { - "node": ">=4.0.0" + "node": ">=6.0.0" }, "repository": { "type": "git", From 69a7f886d18089b05fd92f681ee6a96b4920a3ca Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 22 May 2018 18:11:46 -0400 Subject: [PATCH 3/7] feat(Node.js): Add support for Node.js 8 Connects https://github.com/pelias/pelias/issues/612 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 71a8ed7..198a5a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ notifications: email: false node_js: - 6 + - 8 - 10 matrix: fast_finish: true From 11aaa118a2d5986b1d87fcc216345d1c4e7fc8ae Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 22 May 2018 18:12:12 -0400 Subject: [PATCH 4/7] Standaridize TravisCI config --- .travis.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 198a5a4..5aec453 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,14 +8,11 @@ node_js: - 10 matrix: fast_finish: true -env: - global: - - BUILD_LEADER_ID=2 script: npm run travis before_install: - - npm i -g npm@^3.0.0 -before_script: - - npm prune + - npm i -g npm after_success: - - npm install -g npx - - npx -p node@8 npm run semantic-release + - npx semantic-release +branches: + except: + - /^v\d+\.\d+\.\d+$/ From 702dd28fa1e35c9e9ff4fafb2f152defa19e7dd1 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 22 May 2018 18:12:29 -0400 Subject: [PATCH 5/7] Change package author to Pelias --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30be42d..055c2ae 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "validate": "npm ls", "check-dependencies": "node_modules/.bin/npm-check --production" }, - "author": "Mapzen", + "author": "Pelias", "license": "MIT", "engines": { "node": ">=6.0.0" From a42e1ccda7108b9008024a334f859592be1a5ae9 Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 22 May 2018 18:12:53 -0400 Subject: [PATCH 6/7] Remove npm-check --- package.json | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 055c2ae..ec5d41d 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,9 @@ "scripts": { "test": "node test/index | tap-dot", "lint": "jshint .", - "travis": "npm run check-dependencies && npm test", + "travis": "npm test", "semantic-release": "semantic-release pre && npm publish && semantic-release post", - "validate": "npm ls", - "check-dependencies": "node_modules/.bin/npm-check --production" + "validate": "npm ls" }, "author": "Pelias", "license": "MIT", @@ -26,7 +25,6 @@ }, "devDependencies": { "jshint": "^2.8.0", - "npm-check": "^5.4.4", "precommit-hook": "^3.0.0", "semantic-release": "^15.1.8", "tap-dot": "^1.0.5", @@ -35,7 +33,6 @@ "pre-commit": [ "lint", "validate", - "test", - "check-dependencies" + "test" ] } From f191fc6e182f8b0247b590e9304b0136ba25b02e Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Tue, 22 May 2018 18:13:45 -0400 Subject: [PATCH 7/7] Configure semantic release --- package.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ec5d41d..5494acd 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "test": "node test/index | tap-dot", "lint": "jshint .", "travis": "npm test", - "semantic-release": "semantic-release pre && npm publish && semantic-release post", "validate": "npm ls" }, "author": "Pelias", @@ -34,5 +33,8 @@ "lint", "validate", "test" - ] + ], + "release": { + "success": [] + } }