openfin-cli 4.0.0-alpha.3 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,7 +8,7 @@ For more information please refer to the [developer guide](https://developers.op
8
8
 
9
9
  With npm:
10
10
 
11
- > npm -i -g openfin-cli
11
+ > npm i -g openfin-cli
12
12
 
13
13
  With yarn:
14
14
 
package/dist/cli.js CHANGED
@@ -55,10 +55,9 @@ const yargsParser = yargs(hideBin(process.argv))
55
55
  if (argv.config && argv.url) {
56
56
  throw new Error('Cannot use both config and url options at the same time');
57
57
  }
58
- // argv.
59
- // These options have no effect when not using the URL option
60
- if (!argv.url && (argv.platform || argv['devtools-port'] || argv['runtime-version'] || argv.save)) {
61
- throw new Error('While using the URL option, you cannot use the platform, devtools-port, runtime-version, or save options cannot be used');
58
+ // These options have no effect when using the config option
59
+ if (argv.config && (argv.platform || argv['devtools-port'] || argv['runtime-version'] || argv.save)) {
60
+ throw new Error('While using the config option, you cannot use the platform, devtools-port, runtime-version, or save options.');
62
61
  }
63
62
  return true;
64
63
  })
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const API_VERSION = '4.0.0-alpha.3';
1
+ export const API_VERSION = '4.0.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfin-cli",
3
- "version": "4.0.0-alpha.3",
3
+ "version": "4.0.0",
4
4
  "description": "Supports command line development in the OpenFin environment.",
5
5
  "type": "module",
6
6
  "homepage": "http://www.openfin.co",