@vibelet/cli 0.0.1 → 0.0.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
  # Vibelet
2
2
 
3
- `@vibelet/cli` is a macOS CLI that installs and manages the Vibelet daemon for remote coding sessions.
3
+ `@vibelet/cli` is a macOS CLI that installs and manages the Vibelet daemon for remote coding sessions. The same package is also published as `vibelet`.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -11,12 +11,14 @@
11
11
 
12
12
  ```bash
13
13
  npx @vibelet/cli
14
+ npx vibelet
14
15
  ```
15
16
 
16
17
  Or install it globally:
17
18
 
18
19
  ```bash
19
20
  npm install -g @vibelet/cli
21
+ npm install -g vibelet
20
22
  vibelet
21
23
  ```
22
24
 
@@ -31,6 +33,15 @@ vibelet --help
31
33
  vibelet --version
32
34
  ```
33
35
 
36
+ ## Release
37
+
38
+ ```bash
39
+ pnpm publish:dual:dry-run
40
+ pnpm publish:dual
41
+ ```
42
+
43
+ The dual publish script builds once, then publishes the same CLI bundle to both `@vibelet/cli` and `vibelet`. The dry-run path stages both packages and validates them with `npm pack --dry-run` without touching the registry.
44
+
34
45
  ## Notes
35
46
 
36
47
  - The npm package publishes the CLI plus a minified daemon runtime bundle.
package/bin/vibelet.mjs CHANGED
@@ -491,17 +491,24 @@ async function printPairingSummary() {
491
491
 
492
492
  function printHelp() {
493
493
  process.stdout.write(`Vibelet ${packageJson.version}\n\n`);
494
+ process.stdout.write(`Package names:\n`);
495
+ process.stdout.write(` @vibelet/cli\n`);
496
+ process.stdout.write(` vibelet\n\n`);
494
497
  process.stdout.write(`Usage:\n`);
495
- process.stdout.write(` npx @vibelet/cli Install/start the daemon and print a pairing QR code\n`);
496
- process.stdout.write(` npx @vibelet/cli start Same as above\n`);
497
- process.stdout.write(` npx @vibelet/cli --relay <url> Use a tunnel URL for remote access\n`);
498
- process.stdout.write(` npx @vibelet/cli stop Stop the daemon\n`);
499
- process.stdout.write(` npx @vibelet/cli restart Restart the daemon\n`);
500
- process.stdout.write(` npx @vibelet/cli status Show service and daemon status\n`);
501
- process.stdout.write(` npx @vibelet/cli logs Print recent daemon logs\n`);
502
- process.stdout.write(` npx @vibelet/cli reset Reset pairings and print a fresh QR code\n`);
503
- process.stdout.write(` npx @vibelet/cli --help Show this help text\n`);
504
- process.stdout.write(` npx @vibelet/cli --version Show the installed CLI version\n`);
498
+ process.stdout.write(` npx ${packageJson.name} Install/start the daemon and print a pairing QR code\n`);
499
+ process.stdout.write(` npx ${packageJson.name} start Same as above\n`);
500
+ process.stdout.write(` npx ${packageJson.name} --relay <url> Use a tunnel URL for remote access\n`);
501
+ process.stdout.write(` npx ${packageJson.name} stop Stop the daemon\n`);
502
+ process.stdout.write(` npx ${packageJson.name} restart Restart the daemon\n`);
503
+ process.stdout.write(` npx ${packageJson.name} status Show service and daemon status\n`);
504
+ process.stdout.write(` npx ${packageJson.name} logs Print recent daemon logs\n`);
505
+ process.stdout.write(` npx ${packageJson.name} reset Reset pairings and print a fresh QR code\n`);
506
+ process.stdout.write(` npx ${packageJson.name} --help Show this help text\n`);
507
+ process.stdout.write(` npx ${packageJson.name} --version Show the installed CLI version\n`);
508
+ process.stdout.write(`\n`);
509
+ process.stdout.write(`You can also invoke the published alias with:\n`);
510
+ process.stdout.write(` npx ${packageJson.name === 'vibelet' ? '@vibelet/cli' : 'vibelet'}\n`);
511
+ process.stdout.write(` vibelet\n`);
505
512
  }
506
513
 
507
514
  function parseRelayArg() {