openfin-cli
Advanced tools
Comparing version 2.0.7 to 2.0.8
10
index.js
'use strict'; | ||
var configBuilder = require('openfin-config-builder'), | ||
{ launch } = require('hadouken-js-adapter'), | ||
{ launch, connect } = require('hadouken-js-adapter'), | ||
path = require('path'), | ||
@@ -59,8 +59,10 @@ fs = require('fs'), | ||
const manifestUrl = isURL(config) ? config : path.resolve(config); | ||
await launch({ | ||
const port = await launch({ manifestUrl, installerUI: true }); | ||
const fin = await connect({ | ||
uuid: 'openfin-cli-server-connection', | ||
manifestUrl, | ||
address: `ws://localhost:${port}`, | ||
nonPersistent: true, | ||
installerUI: true | ||
}); | ||
fin.once('disconnected', process.exit); | ||
} catch (err) { | ||
@@ -67,0 +69,0 @@ console.error(err); |
{ | ||
"name": "openfin-cli", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "OpenFin Runtime cli tool", | ||
@@ -25,3 +25,3 @@ "homepage": "http://www.openfin.co", | ||
"dependencies": { | ||
"hadouken-js-adapter": "^0.39.1", | ||
"hadouken-js-adapter": "^0.40.1", | ||
"meow": "^5.0.0", | ||
@@ -28,0 +28,0 @@ "openfin-config-builder": "latest", |
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
21363
166
+ Addedhadouken-js-adapter@0.40.1(transitive)
- Removedhadouken-js-adapter@0.39.1(transitive)
Updatedhadouken-js-adapter@^0.40.1