inflight-cli 1.1.1 → 1.1.3

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
@@ -1,6 +1,6 @@
1
1
  # inflight-cli
2
2
 
3
- Get feedback directly on your staging URL with [Inflight](https://inflight.co).
3
+ Get feedback directly on your staging URL with [Inflight](https://www.inflight.co).
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,7 @@ inflight login
18
18
  inflight share
19
19
  ```
20
20
 
21
- That's it. The CLI will detect your Vercel deployments automatically and open your staging URL with Inflight attached.
21
+ That's it. The CLI will walk you through selecting a staging URL and open it with Inflight attached.
22
22
 
23
23
  ## Commands
24
24
 
@@ -34,27 +34,14 @@ Disconnect your Inflight account from this machine.
34
34
 
35
35
  Add Inflight to a staging URL. The CLI will:
36
36
 
37
- 1. Detect your Vercel project and show available deployments
38
- 2. Let you pick a branch preview or a specific deployment
39
- 3. Open the staging URL with Inflight attached
40
-
41
- If you're not using Vercel, you can paste any staging URL manually.
37
+ 1. Let you pick from your hosting provider's deployments, or paste any URL
38
+ 2. Open the staging URL with Inflight attached
42
39
 
43
40
  ### `inflight workspace`
44
41
 
45
42
  Switch the active workspace for the current project directory.
46
43
 
47
- ## Vercel Integration
48
-
49
- The CLI integrates with Vercel to automatically detect your deployments. On first run, it will:
50
-
51
- 1. Check if you're logged in to Vercel (reads your existing Vercel CLI auth)
52
- 2. Link to your Vercel project if not already linked
53
- 3. Show your branch preview URL and recent deployments
54
-
55
- No extra configuration needed if you already use the Vercel CLI.
56
-
57
44
  ## Requirements
58
45
 
59
46
  - Node.js 18+
60
- - A free [Inflight](https://inflight.co) account
47
+ - A free [Inflight](https://www.inflight.co) account
package/dist/index.js CHANGED
@@ -1,11 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { Command } from "commander";
3
+ import updateNotifier from "update-notifier";
3
4
  import { loginCommand } from "./commands/login.js";
4
5
  import { shareCommand } from "./commands/share.js";
5
6
  import { workspaceCommand } from "./commands/workspace.js";
6
7
  import { logoutCommand } from "./commands/logout.js";
7
8
  import pkg from "../package.json" with { type: "json" };
8
9
  const { version } = pkg;
10
+ updateNotifier({ pkg }).notify();
9
11
  const program = new Command();
10
12
  program.name("inflight").description("Get feedback directly on your staging URL").version(version);
11
13
  program.command("login").description("Authenticate with your Inflight account").action(loginCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "inflight-cli",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "Get feedback directly on your staging URL",
5
5
  "bin": {
6
6
  "inflight": "dist/index.js"
@@ -20,10 +20,12 @@
20
20
  "@clack/prompts": "^0.8.2",
21
21
  "commander": "^12.1.0",
22
22
  "open": "^11.0.0",
23
- "picocolors": "^1.1.1"
23
+ "picocolors": "^1.1.1",
24
+ "update-notifier": "^7.3.1"
24
25
  },
25
26
  "devDependencies": {
26
27
  "@types/node": "^22.0.0",
28
+ "@types/update-notifier": "^6.0.8",
27
29
  "tsx": "^4.19.0",
28
30
  "typescript": "^5.6.0"
29
31
  }