inferay 0.1.7 → 0.1.10

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.
Files changed (3) hide show
  1. package/README.md +5 -3
  2. package/package.json +1 -1
  3. package/src/cli.js +4 -4
package/README.md CHANGED
@@ -6,19 +6,21 @@ Command-line installer and launcher for Inferay.
6
6
  npx inferay
7
7
  ```
8
8
 
9
- The package is intentionally small. It does not contain the desktop app. It resolves the right release asset, opens the installer, launches an installed app, and runs setup checks.
9
+ The package is intentionally small. It does not contain the desktop app. It
10
+ resolves the right release asset, installs the app, launches an installed app,
11
+ and runs setup checks.
10
12
 
11
13
  ## Commands
12
14
 
13
15
  ```sh
14
16
  inferay # install or launch Inferay
15
17
  inferay . # open the current folder
16
- inferay install # download/open the latest release installer
18
+ inferay install # install or replace the latest release
17
19
  inferay install --local ./build/stable-macos-arm64/inferay.app
18
20
  inferay launch ~/code # open a workspace
19
21
  inferay doctor # check user setup
20
22
  inferay doctor --dev # check contributor setup
21
- inferay update # show latest release asset
23
+ inferay update # replace Inferay with the latest release
22
24
  inferay channel nightly # switch release channel
23
25
  ```
24
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inferay",
3
- "version": "0.1.7",
3
+ "version": "0.1.10",
4
4
  "description": "Command-line installer and launcher for Inferay.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
package/src/cli.js CHANGED
@@ -3,7 +3,7 @@ import { launchApp } from "./launch.js";
3
3
  import { doctor } from "./doctor.js";
4
4
  import { getChannel, setChannel } from "./config.js";
5
5
 
6
- const VERSION = "0.1.7";
6
+ const VERSION = "0.1.10";
7
7
 
8
8
  function printHelp() {
9
9
  console.log(`inferay ${VERSION}
@@ -12,10 +12,10 @@ Usage:
12
12
  inferay Install or launch Inferay
13
13
  inferay . Open the current folder in Inferay
14
14
  inferay <path> Open a folder in Inferay
15
- inferay install Install Inferay from the latest release
15
+ inferay install Install or replace Inferay from the latest release
16
16
  inferay install --local <app>
17
17
  inferay launch [path] Launch Inferay with a workspace
18
- inferay update Re-run the release installer
18
+ inferay update Replace Inferay with the latest release
19
19
  inferay doctor [--dev] Check local setup
20
20
  inferay channel [name] Show or set release channel
21
21
  inferay version Print CLI version
@@ -47,7 +47,7 @@ async function update() {
47
47
 
48
48
  async function installAndReport(args) {
49
49
  const local = optionValue(args, "--local");
50
- const result = await install({ local });
50
+ const result = await install({ local, force: true });
51
51
  console.log(result.message);
52
52
  }
53
53