@mexty/cli 1.9.1 → 1.10.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/GITHUB_OAUTH_SETUP.md +1 -12
- package/package.json +1 -1
- package/src/utils/api.ts +1 -1
package/GITHUB_OAUTH_SETUP.md
CHANGED
|
@@ -72,18 +72,7 @@ Update `package.json`:
|
|
|
72
72
|
|
|
73
73
|
```bash
|
|
74
74
|
npm run build
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
## Usage
|
|
78
|
-
|
|
79
|
-
### Connect GitHub Account
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
mexty github-login
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
This will:
|
|
86
|
-
1. Request an OAuth URL from the backend
|
|
75
|
+
```i
|
|
87
76
|
2. Open your browser to GitHub authorization page
|
|
88
77
|
3. Redirect back to the backend after authorization
|
|
89
78
|
4. Store your GitHub access token securely
|
package/package.json
CHANGED
package/src/utils/api.ts
CHANGED
|
@@ -82,7 +82,7 @@ class ApiClient {
|
|
|
82
82
|
private baseUrl: string;
|
|
83
83
|
private tokenPath: string;
|
|
84
84
|
|
|
85
|
-
constructor(baseUrl: string = "https://api.
|
|
85
|
+
constructor(baseUrl: string = "https://api.mexty.ai") {
|
|
86
86
|
this.baseUrl = baseUrl;
|
|
87
87
|
this.tokenPath = path.join(os.homedir(), ".mext", "auth.json");
|
|
88
88
|
|