Comparing version 0.2.1 to 0.2.2
@@ -0,1 +1,2 @@ | ||
var downgradeRoot = require('downgrade-root'); | ||
var autostart = require('../lib/actions/autostart') | ||
@@ -5,11 +6,15 @@ var daemon = require('../lib/actions/daemon') | ||
console.log() | ||
try { | ||
downgradeRoot() | ||
} catch (err) { | ||
console.log(' Error: Couldn\'t downgrade permissions') | ||
console.log(' Please run: hotel autostart && hotal start') | ||
console.log() | ||
return | ||
} | ||
autostart.create() | ||
console.log() | ||
daemon.start() | ||
console.log() | ||
console.log(' To uninstall: npm rm -g hotel') | ||
console.log('') |
{ | ||
"name": "hotel", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Easily start, stop and access your servers from the browser", | ||
@@ -36,2 +36,3 @@ "main": "lib", | ||
"dependencies": { | ||
"downgrade-root": "^1.1.0", | ||
"express": "^4.12.3", | ||
@@ -38,0 +39,0 @@ "get-port": "^1.0.0", |
@@ -54,3 +54,3 @@ # hotel [![](https://img.shields.io/travis/typicode/hotel.svg)](https://travis-ci.org/typicode/hotel) [![](https://badge.fury.io/js/hotel.svg)](https://www.npmjs.com/package/hotel) | ||
``` | ||
```bash | ||
hotel ls # List servers | ||
@@ -75,7 +75,4 @@ hotel rm [name] # Remove server | ||
```bash | ||
# OS X, Linux | ||
hotel add 'cmd -p $PORT' | ||
# Windows | ||
hotel add "cmd -p %PORT" | ||
hotel add 'cmd -p $PORT' # OS X, Linux | ||
hotel add "cmd -p %PORT%" # Windows | ||
``` | ||
@@ -82,0 +79,0 @@ |
{ | ||
"optOut": false, | ||
"lastUpdateCheck": 1433357476956 | ||
"lastUpdateCheck": 1434380840061 | ||
} |
@@ -6,4 +6,4 @@ { | ||
"env": { | ||
"PATH": "/home/sonic/.nvm/versions/node/v0.12.4/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.4/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" | ||
"PATH": "/home/sonic/.nvm/versions/node/v0.12.2/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.2/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
293934
687
14
91
+ Addeddowngrade-root@^1.1.0
+ Addeddefault-uid@1.0.0(transitive)
+ Addeddowngrade-root@1.2.2(transitive)
+ Addedis-root@1.0.0(transitive)