@vibecodemax/cli 0.1.2 → 0.1.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 +22 -2
- package/dist/cli.js +617 -10
- package/dist/storageS3.js +630 -0
- package/package.json +7 -2
package/README.md
CHANGED
|
@@ -28,6 +28,26 @@ yarn dlx @vibecodemax/cli <command> [options]
|
|
|
28
28
|
|
|
29
29
|
## Commands
|
|
30
30
|
|
|
31
|
+
### `read-setup-state`
|
|
32
|
+
|
|
33
|
+
Reads `.vibecodemax/setup-state.json` from the current project and prints a JSON `setupState` object for bootstrap prerequisite hydration.
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npx @vibecodemax/cli read-setup-state
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### `admin ensure-admin`
|
|
40
|
+
|
|
41
|
+
Ensures the target user exists in Supabase Auth and has the `admin` role in the default `profiles` table.
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npx @vibecodemax/cli admin ensure-admin --email admin@example.com
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
This command reads `SUPABASE_SERVICE_ROLE_KEY` and `SUPABASE_URL` or `NEXT_PUBLIC_SUPABASE_URL` from local env files, performs lookup/create/promote/verify locally, and prints JSON only.
|
|
48
|
+
|
|
49
|
+
If a new user is created, the CLI output includes `temporaryPassword`. Show that password to the user directly and do not forward it into MCP payloads.
|
|
50
|
+
|
|
31
51
|
### `configure-site-redirects`
|
|
32
52
|
|
|
33
53
|
Configures site URL and redirect allow-list for the project's auth provider.
|
|
@@ -47,7 +67,7 @@ npx @vibecodemax/cli configure-email-password --email-confirmation yes
|
|
|
47
67
|
|
|
48
68
|
### `enable-google-provider`
|
|
49
69
|
|
|
50
|
-
Enables Google OAuth using credentials from `.env.bootstrap.local`.
|
|
70
|
+
Enables Google OAuth using credentials from `.env.bootstrap.local`. The Supabase personal access token must be stored as `SUPABASE_ACCESS_TOKEN`.
|
|
51
71
|
|
|
52
72
|
```bash
|
|
53
73
|
npx @vibecodemax/cli enable-google-provider
|
|
@@ -55,7 +75,7 @@ npx @vibecodemax/cli enable-google-provider
|
|
|
55
75
|
|
|
56
76
|
### `apply-auth-templates`
|
|
57
77
|
|
|
58
|
-
Applies custom auth email templates from local project files.
|
|
78
|
+
Applies custom auth email templates from local project files. The Supabase personal access token must be stored as `SUPABASE_ACCESS_TOKEN`.
|
|
59
79
|
|
|
60
80
|
```bash
|
|
61
81
|
npx @vibecodemax/cli apply-auth-templates \
|