Skip to content

Commit

Permalink
chore: Dropped support of Node.js 4
Browse files Browse the repository at this point in the history
Some NPM dependencies dropped support of Node.js 4. It is easier to drop it
too, that looking for workarounds to get the testing build running, or claim
the support without actually testing it.

Add testing with Node.js 10.

BREAKING CHANGE: Dropped support of Node.js 4
  • Loading branch information
prantlf committed Apr 27, 2018
1 parent ea253b1 commit 0624a3d
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 86 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,16 @@ cache:
notifications:
email: false
node_js:
- '10'
- '8'
- '6'
- '4'
before_install:
- sudo apt-get update -y -qq
- sudo apt-get install -y librsvg2-bin graphviz plotutils
- npm install -g npm
before_script:
- npm install -g grunt-cli
- npm prune
after_success:
- npm run semantic-release
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Ferdinand Prantl
Copyright (c) 2016-2018 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
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ your code using Grunt.

## Release History

* 2018-04-27 v1.0.0 Dropped support of Node.js 4
* 2017-02-23 v0.2.1 Update dependencies
* 2016-26-08 v0.2.0 Upgrade to Grunt 1.x
Detect output format from file extension
Expand All @@ -122,7 +123,7 @@ your code using Grunt.

## License

Copyright (c) 2016-2017 Ferdinand Prantl
Copyright (c) 2016-2018 Ferdinand Prantl

Licensed under the MIT license.

Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,21 @@
}
],
"engines": {
"node": ">= 0.12.0"
"node": ">=6"
},
"scripts": {
"test": "grunt",
"check_coverage": "GRUNT_WUML_COVERAGE=1 grunt",
"post_coverage": "GRUNT_WUML_COVERAGE=1 grunt default coveralls",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"travis-deploy-once": "travis-deploy-once"
},
"dependencies": {
"wuml": "~0.2.1",
"q": "~2.0.3"
},
"devDependencies": {
"grunt": "^1.0.1",
"grunt": "^1.0.2",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-jshint": "^1.1.0",
"grunt-contrib-nodeunit": "^1.0.0",
Expand All @@ -45,7 +46,8 @@
"jshint-stylish": "^2.2.1",
"load-grunt-tasks": "^3.5.2",
"time-grunt": "^1.4.0",
"semantic-release": "^15.0.0"
"semantic-release": "^15.1.7",
"travis-deploy-once": "^4.4.1"
},
"keywords": [
"gruntplugin",
Expand Down
168 changes: 92 additions & 76 deletions test/vaadin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0624a3d

Please sign in to comment.