@rafay99/cvx 0.27.0 → 0.30.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.
package/README.md CHANGED
@@ -185,7 +185,7 @@ cvx completions zsh >> ~/.zshrc # tab-complete commands + account names
185
185
 
186
186
  The vault is schema-versioned. The first time you run an interactive `cvx`
187
187
  command after updating from an older release, cvx shows a one-time prompt and,
188
- on confirmation, re-secures your tokens in the encrypted file vault (chmod 600)
188
+ on confirmation, re-secures your tokens in the file vault (chmod 600)
189
189
  and upgrades the vault format. It's mandatory and runs once — you never see it
190
190
  again. The cd-hook and scripts keep working throughout; the prompt only appears
191
191
  in an interactive terminal. (Migration deliberately stays out of the OS keychain
@@ -28,4 +28,6 @@ if (res.error) {
28
28
  console.error(res.error.message);
29
29
  process.exit(1);
30
30
  }
31
+ // Propagate a signal death (Ctrl-C etc.) as a signal, not a generic failure.
32
+ if (res.signal) process.kill(process.pid, res.signal);
31
33
  process.exit(res.status === null ? 1 : res.status);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rafay99/cvx",
3
- "version": "0.27.0",
3
+ "version": "0.30.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",
@@ -14,15 +14,15 @@
14
14
  "bugs": "https://github.com/rafay99-epic/convex-switch/issues",
15
15
  "repository": { "type": "git", "url": "git+https://github.com/rafay99-epic/convex-switch.git" },
16
16
  "author": "Abdul Rafay",
17
- "bin": { "cvx": "launcher.js" },
17
+ "bin": { "cvx": "launcher.cjs" },
18
18
  "man": ["cvx.1"],
19
- "files": ["launcher.js", "cvx.1", "README.md", "LICENSE"],
19
+ "files": ["launcher.cjs", "cvx.1", "README.md", "LICENSE"],
20
20
  "engines": { "node": ">=16" },
21
21
  "optionalDependencies": {
22
- "@rafay99/cvx-darwin-arm64": "0.27.0",
23
- "@rafay99/cvx-darwin-x64": "0.27.0",
24
- "@rafay99/cvx-linux-x64": "0.27.0",
25
- "@rafay99/cvx-linux-arm64": "0.27.0",
26
- "@rafay99/cvx-win32-x64": "0.27.0"
22
+ "@rafay99/cvx-darwin-arm64": "0.30.0",
23
+ "@rafay99/cvx-darwin-x64": "0.30.0",
24
+ "@rafay99/cvx-linux-x64": "0.30.0",
25
+ "@rafay99/cvx-linux-arm64": "0.30.0",
26
+ "@rafay99/cvx-win32-x64": "0.30.0"
27
27
  }
28
28
  }