Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8 from hypermodules/update-notifications
Browse files Browse the repository at this point in the history
Update notifications
  • Loading branch information
bcomnes authored Mar 20, 2017
2 parents d5c8cd2 + d77823c commit 2eefe0a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).


## [1.1.0](https://github.com/hypermodules/dti/releases/v1.1.0)

- Add update notifications with [yeoman/update-notifier](https://github.com/yeoman/update-notifier)

## [1.0.3](https://github.com/hypermodules/dti/releases/v1.0.3)

- Add example to usage instructions.
Expand Down
4 changes: 4 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
var electron = require('electron')
var path = require('path')
var proc = require('child_process')
var updateNotifier = require('update-notifier')
var pkg = require('./package.json')

updateNotifier({pkg}).notify()

var binPath = path.join(__dirname, 'bin.js')

Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@
"homepage": "https://github.com/hypermodules/dti#readme",
"dependencies": {
"devtron": "^1.4.0",
"electron": "^1.4.7",
"electron": "^1.6.2",
"electron-devtools-installer": "^2.0.1",
"minimist": "^1.2.0",
"run-series": "^1.1.4"
"run-series": "^1.1.4",
"update-notifier": "^2.1.0"
},
"devDependencies": {
"dependency-check": "^2.7.0",
"snazzy": "^6.0.0",
"standard": "^8.6.0"
"standard": "^9.0.2"
}
}

0 comments on commit 2eefe0a

Please sign in to comment.