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

Releases: maxrimue/node-autostart

v3.0.3

27 Nov 11:47
Compare
Choose a tag to compare

Bug Fixes

  • update to xo-0.16.0 and change code to adhere to new rules (281b798)

v3.0.2

16 Jul 20:37
Compare
Choose a tag to compare
  • Updated dependencies

v3.0.1

30 Apr 15:59
Compare
Choose a tag to compare
  • Switched from npm's files array in package.json to .npmignore since npm@3 has problem with files

v3.0.0

29 Apr 19:29
Compare
Choose a tag to compare
  • Rewritten using ES6 (Node.js 4 and higher required now)
  • Removed doctor command
  • Added support for Promises (see documentation)
  • Now using a linter (xo)
  • CI Support for Node.js 6
  • Bunch of updated dependencies

v2.0.1

04 Jan 19:28
Compare
Choose a tag to compare
  • Now automagically testing on Windows through AppVeyor
  • Expanded tests, now having 100% coverage

v2.0.0

18 Dec 21:45
Compare
Choose a tag to compare
  • New -f/--find option for the doctor command
    Using the -f/--find option, the doctor command finds all enabled services first, and then evaluates all paths that are used for each service, to display you all services that belong to broken paths. This is useful if you've enabled autostart for a project you've now deleted.
  • Switched err and isEnabled callback parameters for isAutostartEnabled()
    Now, a proper example for the isAutostartEnabled() looks like this:
var autostart = require('node-autostart');   

autostart.isAutostartEnabled(myModuleName, function(err, isEnabled) {
  if(err) {
    console.error(err);
  }

  console.log('Autostart is', isEnabled ? 'enabled' : 'disabled');
};
  • Further tweaked tests and coverage

v1.1.3

23 Nov 20:00
Compare
Choose a tag to compare
  • Now, if a callback is not possible (because no callback function was passed), the error is being returned directly
  • Better testing for what happens if no callback was passed

v1.1.2

08 Nov 19:25
Compare
Choose a tag to compare
1.1.2