@rafay99/cvx 0.24.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,11 +185,12 @@ 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 best available backend (OS
189
- keychain if present, otherwise the chmod-600 file vault) and upgrades the vault
190
- format. It's mandatory and runs once you never see it again. The cd-hook and
191
- scripts keep working throughout; the prompt only appears in an interactive
192
- terminal.
188
+ on confirmation, re-secures your tokens in the file vault (chmod 600)
189
+ and upgrades the vault format. It's mandatory and runs once — you never see it
190
+ again. The cd-hook and scripts keep working throughout; the prompt only appears
191
+ in an interactive terminal. (Migration deliberately stays out of the OS keychain
192
+ to avoid keychain prompts during a mandatory step — opt in later with
193
+ `cvx keychain enable`.)
193
194
 
194
195
  ## Project layout
195
196
 
@@ -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.24.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.24.0",
23
- "@rafay99/cvx-darwin-x64": "0.24.0",
24
- "@rafay99/cvx-linux-x64": "0.24.0",
25
- "@rafay99/cvx-linux-arm64": "0.24.0",
26
- "@rafay99/cvx-win32-x64": "0.24.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
  }