claude-switcher-account 2.1.0 → 2.2.1
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 +4 -6
- package/dist/bin.js +4 -12
- package/package.json +4 -12
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ in `~/.claude` stays shared.
|
|
|
20
20
|
|
|
21
21
|
## Install
|
|
22
22
|
|
|
23
|
-
Requires Node ≥
|
|
23
|
+
Requires Node ≥ 20.
|
|
24
24
|
|
|
25
25
|
From npm:
|
|
26
26
|
|
|
@@ -30,13 +30,11 @@ npm i -g claude-switcher-account
|
|
|
30
30
|
|
|
31
31
|
(The npm package is `claude-switcher-account`; the command it installs is `claudep`.)
|
|
32
32
|
|
|
33
|
-
From source
|
|
33
|
+
From source (the `prepare` script builds automatically):
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
git clone https://github.com/khainguyenhm-itr/claude-switcher-account.git
|
|
39
|
-
cd claude-switcher-account && npm i -g .
|
|
36
|
+
# from a local clone of the sources:
|
|
37
|
+
npm i -g .
|
|
40
38
|
```
|
|
41
39
|
|
|
42
40
|
Verify with `claudep doctor`. On macOS the first run may raise a Keychain
|
package/dist/bin.js
CHANGED
|
@@ -678,8 +678,8 @@ function buildDoctorDeps(env) {
|
|
|
678
678
|
// package.json
|
|
679
679
|
var package_default = {
|
|
680
680
|
name: "claude-switcher-account",
|
|
681
|
-
version: "2.1
|
|
682
|
-
description: "Switch between multiple Claude Code accounts from
|
|
681
|
+
version: "2.2.1",
|
|
682
|
+
description: "Switch between multiple Claude Code accounts from your terminal.",
|
|
683
683
|
keywords: [
|
|
684
684
|
"claude",
|
|
685
685
|
"claude-code",
|
|
@@ -696,14 +696,6 @@ var package_default = {
|
|
|
696
696
|
"cli",
|
|
697
697
|
"developer-tools"
|
|
698
698
|
],
|
|
699
|
-
homepage: "https://github.com/khainguyenhm-itr/claude-switcher-account#readme",
|
|
700
|
-
repository: {
|
|
701
|
-
type: "git",
|
|
702
|
-
url: "git+https://github.com/khainguyenhm-itr/claude-switcher-account.git"
|
|
703
|
-
},
|
|
704
|
-
bugs: {
|
|
705
|
-
url: "https://github.com/khainguyenhm-itr/claude-switcher-account/issues"
|
|
706
|
-
},
|
|
707
699
|
license: "MIT",
|
|
708
700
|
author: "khainguyenhm-itr",
|
|
709
701
|
type: "module",
|
|
@@ -715,10 +707,10 @@ var package_default = {
|
|
|
715
707
|
"scripts/postinstall.mjs"
|
|
716
708
|
],
|
|
717
709
|
engines: {
|
|
718
|
-
node: ">=
|
|
710
|
+
node: ">=20"
|
|
719
711
|
},
|
|
720
712
|
scripts: {
|
|
721
|
-
build: "tsup src/bin.ts --format esm --target
|
|
713
|
+
build: "tsup src/bin.ts --format esm --target node20 --clean",
|
|
722
714
|
prepare: "npm run build",
|
|
723
715
|
postinstall: "node scripts/postinstall.mjs",
|
|
724
716
|
prepublishOnly: "npm run typecheck && npm test",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-switcher-account",
|
|
3
|
-
"version": "2.1
|
|
4
|
-
"description": "Switch between multiple Claude Code accounts from
|
|
3
|
+
"version": "2.2.1",
|
|
4
|
+
"description": "Switch between multiple Claude Code accounts from your terminal.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
7
7
|
"claude-code",
|
|
@@ -18,14 +18,6 @@
|
|
|
18
18
|
"cli",
|
|
19
19
|
"developer-tools"
|
|
20
20
|
],
|
|
21
|
-
"homepage": "https://github.com/khainguyenhm-itr/claude-switcher-account#readme",
|
|
22
|
-
"repository": {
|
|
23
|
-
"type": "git",
|
|
24
|
-
"url": "git+https://github.com/khainguyenhm-itr/claude-switcher-account.git"
|
|
25
|
-
},
|
|
26
|
-
"bugs": {
|
|
27
|
-
"url": "https://github.com/khainguyenhm-itr/claude-switcher-account/issues"
|
|
28
|
-
},
|
|
29
21
|
"license": "MIT",
|
|
30
22
|
"author": "khainguyenhm-itr",
|
|
31
23
|
"type": "module",
|
|
@@ -37,10 +29,10 @@
|
|
|
37
29
|
"scripts/postinstall.mjs"
|
|
38
30
|
],
|
|
39
31
|
"engines": {
|
|
40
|
-
"node": ">=
|
|
32
|
+
"node": ">=20"
|
|
41
33
|
},
|
|
42
34
|
"scripts": {
|
|
43
|
-
"build": "tsup src/bin.ts --format esm --target
|
|
35
|
+
"build": "tsup src/bin.ts --format esm --target node20 --clean",
|
|
44
36
|
"prepare": "npm run build",
|
|
45
37
|
"postinstall": "node scripts/postinstall.mjs",
|
|
46
38
|
"prepublishOnly": "npm run typecheck && npm test",
|