@rafay99/cvx 0.14.0 → 0.16.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.
Files changed (3) hide show
  1. package/README.md +4 -3
  2. package/cvx.1 +4 -2
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -73,9 +73,10 @@ exec zsh
73
73
  > type is still `cvx`.
74
74
 
75
75
  Prebuilt binaries: **macOS** (arm64/x64), **Linux** (arm64/x64), **Windows**
76
- (x64). On Windows the commands all work, but automatic switching relies on a
77
- zsh `chpwd` hook so for now run `cvx activate` when you switch projects (or
78
- use WSL/zsh for the auto-switch experience).
76
+ (x64). Auto-switching works on **zsh, bash, and PowerShell** `cvx hook
77
+ --install` detects your shell (PowerShell on Windows) and wires the hook into
78
+ the right startup file (`~/.zshrc`, `~/.bashrc`, or your PowerShell `$PROFILE`).
79
+ Force one with `cvx hook --install --shell powershell`.
79
80
 
80
81
  **From source** (Bun):
81
82
 
package/cvx.1 CHANGED
@@ -37,8 +37,10 @@ account may be linked to many projects.
37
37
  .B cvx unlink \fR[\fIpath\fR]
38
38
  Remove a link.
39
39
  .TP
40
- .B cvx hook \fR[\fB--install\fR]
41
- Print the zsh cd-hook, or with \fB--install\fR append it to \fI~/.zshrc\fR.
40
+ .B cvx hook \fR[\fB--install\fR] [\fB--shell\fR \fIzsh\fR|\fIbash\fR|\fIpowershell\fR]
41
+ Print the directory-change hook, or with \fB--install\fR wire it into the shell
42
+ startup file (\fI~/.zshrc\fR, \fI~/.bashrc\fR, or the PowerShell \fB$PROFILE\fR).
43
+ The shell is auto-detected when \fB--shell\fR is omitted (PowerShell on Windows).
42
44
  .SS Everyday
43
45
  .TP
44
46
  .B cvx activate \fR[\fB-q\fR] [\fIpath\fR]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rafay99/cvx",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "Switch Convex accounts per project automatically — run many Convex accounts across projects at once, no login/logout churn, no deploy keys, no tokens in your repos",
5
5
  "keywords": [
6
6
  "convex", "convex-dev", "convex-cli", "cli", "command-line",
@@ -19,10 +19,10 @@
19
19
  "files": ["launcher.js", "cvx.1", "README.md", "LICENSE"],
20
20
  "engines": { "node": ">=16" },
21
21
  "optionalDependencies": {
22
- "@rafay99/cvx-darwin-arm64": "0.14.0",
23
- "@rafay99/cvx-darwin-x64": "0.14.0",
24
- "@rafay99/cvx-linux-x64": "0.14.0",
25
- "@rafay99/cvx-linux-arm64": "0.14.0",
26
- "@rafay99/cvx-win32-x64": "0.14.0"
22
+ "@rafay99/cvx-darwin-arm64": "0.16.0",
23
+ "@rafay99/cvx-darwin-x64": "0.16.0",
24
+ "@rafay99/cvx-linux-x64": "0.16.0",
25
+ "@rafay99/cvx-linux-arm64": "0.16.0",
26
+ "@rafay99/cvx-win32-x64": "0.16.0"
27
27
  }
28
28
  }