From 6875c8e2e3da2c9a7a25679c28ee3ab5ac74bdf5 Mon Sep 17 00:00:00 2001 From: Gleb Bahmutov Date: Tue, 29 May 2018 15:56:04 -0400 Subject: [PATCH] install latest semantic release --- .travis.yml | 4 +--- package.json | 29 ++++++++++++----------------- 2 files changed, 13 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1a4d74a..4daca89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,12 +6,10 @@ cache: notifications: email: true node_js: - - '4.2.2' - - '6' + - '10' before_script: - npm prune script: - - ./next-update-travis.sh - npm test after_success: - npm run coveralls diff --git a/package.json b/package.json index 88a176f..7d3ccdf 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lazy-ass", "description": "Lazy assertions without performance penalty", - "version": "0.0.0-semantic-release", + "version": "0.0.0-development", "author": "Gleb Bahmutov ", "bugs": { "url": "https://github.com/bahmutov/lazy-ass/issues" @@ -29,13 +29,10 @@ "contributors": [], "dependencies": {}, "devDependencies": { - "@semantic-release/condition-travis": "5.0.2", "bad-line": "0.1.1", - "condition-node-version": "1.3.0", "coveralls": "2.13.3", "expect.js": "0.3.1", "git-issues": "1.3.1", - "github-post-release": "1.13.1", "grunt": "0.4.5", "grunt-banner": "0.6.0", "grunt-clean-console": "0.1.1", @@ -64,7 +61,7 @@ "phantomjs-prebuilt": "2.1.16", "pkgfiles": "2.3.2", "pre-git": "3.17.1", - "semantic-release": "6.3.6", + "semantic-release": "^15.5.0", "simple-commit-message": "3.3.2", "time-grunt": "1.4.0" }, @@ -91,17 +88,15 @@ "license": "MIT", "main": "index.js", "release": { - "verifyConditions": [ - { - "path": "@semantic-release/condition-travis" - }, - { - "path": "condition-node-version", - "node": "4.2.2" - } - ], - "generateNotes": "github-post-release", - "analyzeCommits": "simple-commit-message" + "analyzeCommits": { + "preset": "angular", + "releaseRules": [ + { + "type": "break", + "release": "major" + } + ] + } }, "repository": { "type": "git", @@ -117,7 +112,7 @@ "mocha": "mocha test/*.spec.js", "pkgfiles": "pkgfiles", "pretest": "npm run build", - "semantic-release": "semantic-release pre && npm publish && semantic-release post", + "semantic-release": "semantic-release", "size": "tarball=\"$(npm pack .)\"; wc -c \"${tarball}\"; tar tvf \"${tarball}\"; rm \"${tarball}\";", "test": "grunt test", "watch": "grunt watch"