From 24af262a12f7d0cc768a7334c80998e902055d73 Mon Sep 17 00:00:00 2001 From: Ferdinand Prantl Date: Mon, 1 May 2017 23:33:27 +0200 Subject: [PATCH] fix(package): Enable automatic versioning by semantic-release Upgrade npm dependencies. --- .travis.yml | 49 +++++++++++++++++++++++++++++-------------------- LICENSE | 2 +- README.md | 5 +++-- package.json | 14 ++++++++------ 4 files changed, 41 insertions(+), 29 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7ed5c1b..26a5cba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,34 @@ +sudo: false language: node_js -node_js: - - "0.12" - - "4" - - "5" - - "6" - - "7" +cache: + directories: + - node_modules +notifications: + email: true addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - libcairo2-dev - - libjpeg8-dev - - libpango1.0-dev - - libgif-dev - - build-essential - - g++-4.8 + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - libcairo2-dev + - libjpeg8-dev + - libpango1.0-dev + - libgif-dev + - build-essential + - g++-4.8 env: - - CXX=g++-4.8 + - CXX=g++-4.8 +node_js: + - '4' + - '6' + - '7' before_install: - - npm install -g npm + - npm install -g npm before_script: - - npm install -g grunt-cli -sudo: false + - npm install -g grunt-cli + - npm prune +after_success: + - npm run semantic-release +branches: + except: + - /^v\d+\.\d+\.\d+$/ diff --git a/LICENSE b/LICENSE index 06fb194..7dc64dd 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-2016 Ferdinand Prantl +Copyright (c) 2015-2017 Ferdinand Prantl Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 65d4d03..5cb6016 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# grunt-nomnoml [![NPM version](https://badge.fury.io/js/grunt-nomnoml.png)](http://badge.fury.io/js/grunt-nomnoml) [![Build Status](https://travis-ci.org/prantlf/grunt-nomnoml.png)](https://travis-ci.org/prantlf/grunt-nomnoml) [![Coverage Status](https://coveralls.io/repos/prantlf/grunt-nomnoml/badge.svg)](https://coveralls.io/r/prantlf/grunt-nomnoml) [![Dependency Status](https://david-dm.org/prantlf/grunt-nomnoml.svg)](https://david-dm.org/prantlf/grunt-nomnoml) [![devDependency Status](https://david-dm.org/prantlf/grunt-nomnoml/dev-status.svg)](https://david-dm.org/prantlf/grunt-nomnoml#info=devDependencies) [![devDependency Status](https://david-dm.org/prantlf/grunt-nomnoml/peer-status.svg)](https://david-dm.org/prantlf/grunt-nomnoml#info=peerDependencies) [![Greenkeeper badge](https://badges.greenkeeper.io/prantlf/grunt-nomnoml.svg)](https://greenkeeper.io/) [![Code Climate](https://codeclimate.com/github/prantlf/grunt-nomnoml/badges/gpa.svg)](https://codeclimate.com/github/prantlf/grunt-nomnoml) [![Codacy Badge](https://www.codacy.com/project/badge/f3896e8dfa5342b8add12d50390edfcd)](https://www.codacy.com/public/prantlf/grunt-nomnoml) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) +# grunt-nomnoml [![NPM version](https://badge.fury.io/js/grunt-nomnoml.png)](http://badge.fury.io/js/grunt-nomnoml) [![Build Status](https://travis-ci.org/prantlf/grunt-nomnoml.png)](https://travis-ci.org/prantlf/grunt-nomnoml) [![Coverage Status](https://coveralls.io/repos/prantlf/grunt-nomnoml/badge.svg)](https://coveralls.io/r/prantlf/grunt-nomnoml) [![Dependency Status](https://david-dm.org/prantlf/grunt-nomnoml.svg)](https://david-dm.org/prantlf/grunt-nomnoml) [![devDependency Status](https://david-dm.org/prantlf/grunt-nomnoml/dev-status.svg)](https://david-dm.org/prantlf/grunt-nomnoml#info=devDependencies) [![devDependency Status](https://david-dm.org/prantlf/grunt-nomnoml/peer-status.svg)](https://david-dm.org/prantlf/grunt-nomnoml#info=peerDependencies) [![Greenkeeper badge](https://badges.greenkeeper.io/prantlf/grunt-nomnoml.svg)](https://greenkeeper.io/) [![Code Climate](https://codeclimate.com/github/prantlf/grunt-nomnoml/badges/gpa.svg)](https://codeclimate.com/github/prantlf/grunt-nomnoml) [![Codacy Badge](https://www.codacy.com/project/badge/f3896e8dfa5342b8add12d50390edfcd)](https://www.codacy.com/public/prantlf/grunt-nomnoml) [![Built with Grunt](https://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) [![NPM Downloads](https://nodei.co/npm/grunt-nomnoml.png?downloads=true&stars=true)](https://www.npmjs.com/package/grunt-nomnoml) @@ -16,7 +16,7 @@ can use the [nomnoml-cli] command-line tool, which this task is based on. ## Installation -You need [node >= 0.12][node], [npm] and [grunt >= 0.4][Grunt] installed +You need [node >= 4][node], [npm] and [grunt >= 0.4][Grunt] installed and your project build managed by a [Gruntfile] with the necessary modules listed in [package.json]. If you haven't used Grunt before, be sure to check out the [Getting Started] guide, as it explains how to create a @@ -87,6 +87,7 @@ your code using Grunt. ## Release History + * 2017-05-01 v0.3.2 Enable automatic versioning by semantic-release * 2016-12-19 v0.3.1 Upgrade dependencies * 2016-26-08 v0.3.0 Upgrade to Grunt 1.x * 2016-01-09 v0.2.1 Support wildcards in the source file input diff --git a/package.json b/package.json index 025c4d4..91c314f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-nomnoml", "description": "Grunt task to generate images from nomnoml diagram sources", - "version": "0.3.1", + "version": "0.0.0-development", "homepage": "https://github.com/prantlf/grunt-nomnoml", "author": { "name": "Ferdinand Prantl", @@ -10,7 +10,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/prantlf/grunt-nomnoml.git" + "url": "https://github.com/prantlf/grunt-nomnoml.git" }, "bugs": { "url": "https://github.com/prantlf/grunt-nomnoml/issues" @@ -28,22 +28,24 @@ "scripts": { "test": "grunt", "check_coverage": "GRUNT_NOMNOML_COVERAGE=1 grunt", - "post_coverage": "GRUNT_NOMNOML_COVERAGE=1 grunt default coveralls" + "post_coverage": "GRUNT_NOMNOML_COVERAGE=1 grunt default coveralls", + "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "dependencies": { - "nomnoml-cli": "^0.6.0", + "nomnoml-cli": "^0.6.1", "q": "~2.0.3" }, "devDependencies": { "grunt": "~1.0.1", - "grunt-contrib-clean": "^1.0.0", + "grunt-contrib-clean": "^1.1.0", "grunt-contrib-jshint": "^1.1.0", "grunt-contrib-nodeunit": "^1.0.0", "grunt-coveralls": "^1.0.1", "grunt-istanbul": "^0.7.2", "jshint-stylish": "^2.2.1", "load-grunt-tasks": "^3.5.2", - "time-grunt": "^1.4.0" + "time-grunt": "^1.4.0", + "semantic-release": "^6.3.6" }, "keywords": [ "gruntplugin",