lupacode 0.2.1 → 0.2.3
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 +1 -16
- package/dist/index.js +2089 -120
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,25 +21,10 @@ lupacode
|
|
|
21
21
|
| Env var | Default | Required | Description |
|
|
22
22
|
|---|---|---|---|
|
|
23
23
|
| `API_URL` | `https://lupacodeserver-production.up.railway.app` | No | LupaCode API server |
|
|
24
|
-
| `CLERK_FRONTEND_API` | — | For `/login` | Clerk frontend API URL |
|
|
25
|
-
| `CLERK_OAUTH_CLIENT_ID` | — | For `/login` | Clerk OAuth client ID |
|
|
26
|
-
| `CLERK_OAUTH_CLIENT_SECRET` | — | For `/login` | Clerk OAuth client secret |
|
|
27
24
|
|
|
28
25
|
### Setting up authentication
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
1. Create a free account at [clerk.com](https://clerk.com)
|
|
33
|
-
2. Create a new application
|
|
34
|
-
3. Copy your **Frontend API URL** (looks like `https://your-app.clerk.accounts.dev`)
|
|
35
|
-
4. In the OAuth settings, create an OAuth application to get a **Client ID** and **Client Secret**
|
|
36
|
-
5. Set these in your environment or `.env` file:
|
|
37
|
-
```env
|
|
38
|
-
CLERK_FRONTEND_API=https://your-app.clerk.accounts.dev
|
|
39
|
-
CLERK_OAUTH_CLIENT_ID=your-client-id
|
|
40
|
-
CLERK_OAUTH_CLIENT_SECRET=your-client-secret
|
|
41
|
-
```
|
|
42
|
-
6. Run `lupacode` and type `/login`
|
|
27
|
+
Type `/login` in the CLI — it opens your browser for Clerk OAuth. No manual configuration needed.
|
|
43
28
|
|
|
44
29
|
## Requirements
|
|
45
30
|
|