inflight-cli 1.1.2 → 1.1.4
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/dist/commands/share.js +1 -1
- package/dist/index.js +2 -0
- package/package.json +4 -2
package/dist/commands/share.js
CHANGED
|
@@ -29,7 +29,7 @@ export async function shareCommand() {
|
|
|
29
29
|
}
|
|
30
30
|
else {
|
|
31
31
|
const selected = await p.select({
|
|
32
|
-
message: "Select a workspace",
|
|
32
|
+
message: "Select a workspace " + pc.dim("(change anytime with inflight workspace)"),
|
|
33
33
|
options: me.workspaces.map((w) => ({ value: w.id, label: w.name })),
|
|
34
34
|
});
|
|
35
35
|
if (p.isCancel(selected)) {
|
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.
|
|
3
|
+
"version": "1.1.4",
|
|
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
|
}
|