@revealui/cli 0.3.3 → 0.6.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 +17 -112
- package/dist/cli.js +1432 -469
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1432 -469
- package/dist/index.js.map +1 -1
- package/package.json +16 -9
- package/templates/basic-blog/next.config.mjs +1 -3
- package/templates/basic-blog/package.json +1 -1
- package/templates/e-commerce/next.config.mjs +1 -3
- package/templates/e-commerce/package.json +1 -1
- package/templates/portfolio/next.config.mjs +1 -3
- package/templates/portfolio/package.json +1 -1
- package/templates/starter/next.config.mjs +1 -3
- package/templates/starter/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,40 +1,14 @@
|
|
|
1
1
|
# @revealui/cli
|
|
2
2
|
|
|
3
|
-
The official RevealUI
|
|
4
|
-
|
|
5
|
-
It now has two roles:
|
|
6
|
-
|
|
7
|
-
- `revealui`: operational commands for a RevealUI workspace
|
|
8
|
-
- `create-revealui`: compatibility alias for project scaffolding
|
|
3
|
+
The official CLI for creating RevealUI projects with a single command.
|
|
9
4
|
|
|
10
5
|
## Usage
|
|
11
6
|
|
|
12
|
-
### Operational CLI
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
revealui doctor
|
|
16
|
-
revealui doctor --fix
|
|
17
|
-
revealui doctor --strict
|
|
18
|
-
revealui dev up
|
|
19
|
-
revealui dev up --include mcp
|
|
20
|
-
revealui dev up --profile fullstack
|
|
21
|
-
revealui dev up --profile fullstack --dry-run
|
|
22
|
-
revealui dev up --fix
|
|
23
|
-
revealui dev status
|
|
24
|
-
revealui dev status --profile agent
|
|
25
|
-
revealui dev profile set agent
|
|
26
|
-
revealui dev profile show
|
|
27
|
-
revealui db init
|
|
28
|
-
revealui db start
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
### Project scaffolding
|
|
32
|
-
|
|
33
7
|
```bash
|
|
34
8
|
pnpm create revealui@latest
|
|
35
9
|
```
|
|
36
10
|
|
|
37
|
-
or:
|
|
11
|
+
or with specific options:
|
|
38
12
|
|
|
39
13
|
```bash
|
|
40
14
|
pnpm create revealui@latest my-project --template basic-blog
|
|
@@ -50,32 +24,8 @@ pnpm create revealui@latest my-project --template basic-blog
|
|
|
50
24
|
- Payment setup (Stripe)
|
|
51
25
|
- Dev Container and Devbox configuration
|
|
52
26
|
- Git initialization with initial commit
|
|
53
|
-
- Workspace doctor checks
|
|
54
|
-
- Local PostgreSQL lifecycle commands
|
|
55
|
-
- RevealUI dev/bootstrap command surface
|
|
56
|
-
- Named dev profiles for repeatable local bootstrap
|
|
57
|
-
- Optional MCP readiness checks during `revealui dev up`
|
|
58
|
-
- `dev status` previews the same plan that `dev up` executes
|
|
59
|
-
- `dev up --dry-run` previews actions without executing them
|
|
60
|
-
- `doctor --fix` and `dev up --fix` apply only safe local Postgres repairs
|
|
61
|
-
- `doctor` stays non-blocking for local interactive use unless `--strict`, `--json`, or `CI`
|
|
62
|
-
|
|
63
|
-
## Commands
|
|
64
|
-
|
|
65
|
-
### `revealui`
|
|
66
27
|
|
|
67
|
-
|
|
68
|
-
Usage: revealui [options] [command]
|
|
69
|
-
|
|
70
|
-
Commands:
|
|
71
|
-
create [project-name] Create a new RevealUI project
|
|
72
|
-
doctor Check RevealUI workspace and developer environment health
|
|
73
|
-
db Manage the local RevealUI database
|
|
74
|
-
dev Prepare and manage the RevealUI development workspace
|
|
75
|
-
shell Deprecated alias for `revealui dev shell`
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
### `create-revealui`
|
|
28
|
+
## Options
|
|
79
29
|
|
|
80
30
|
```
|
|
81
31
|
Usage: create-revealui [options] [project-name]
|
|
@@ -87,49 +37,6 @@ Options:
|
|
|
87
37
|
-h, --help Display help for command
|
|
88
38
|
```
|
|
89
39
|
|
|
90
|
-
### `revealui db`
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
Usage: revealui db [command]
|
|
94
|
-
|
|
95
|
-
Commands:
|
|
96
|
-
init Initialize the local PostgreSQL data directory
|
|
97
|
-
start Start the local PostgreSQL server
|
|
98
|
-
stop Stop the local PostgreSQL server
|
|
99
|
-
status Show local PostgreSQL status
|
|
100
|
-
reset Reset the local PostgreSQL data directory
|
|
101
|
-
migrate Run Drizzle migrations using the local RevealUI database environment
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### `revealui dev`
|
|
105
|
-
|
|
106
|
-
```
|
|
107
|
-
Usage: revealui dev [command]
|
|
108
|
-
|
|
109
|
-
Commands:
|
|
110
|
-
up Ensure the local dev environment is ready, migrate the DB, optionally validate MCP, and start a dev script
|
|
111
|
-
status Show current RevealUI development environment status and the effective dev plan
|
|
112
|
-
down Stop local RevealUI development services that are managed by the CLI
|
|
113
|
-
profile Persist or inspect the default dev profile
|
|
114
|
-
shell Alias for `revealui dev up` without starting an app script
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
Built-in profiles:
|
|
118
|
-
|
|
119
|
-
- `local` - local DB bootstrap only
|
|
120
|
-
- `agent` - local bootstrap plus MCP validation
|
|
121
|
-
- `cms` - local bootstrap plus `dev:cms`
|
|
122
|
-
- `fullstack` - local bootstrap plus MCP validation and `dev`
|
|
123
|
-
|
|
124
|
-
Persist a local default:
|
|
125
|
-
|
|
126
|
-
```bash
|
|
127
|
-
revealui dev profile set agent
|
|
128
|
-
revealui dev profile show
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
This writes `.revealui/dev.json` in the workspace and is intended to stay local.
|
|
132
|
-
|
|
133
40
|
## Requirements
|
|
134
41
|
|
|
135
42
|
- Node.js 24.13.0 or higher
|
|
@@ -152,22 +59,7 @@ my-project/
|
|
|
152
59
|
|
|
153
60
|
## Next Steps
|
|
154
61
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
```bash
|
|
158
|
-
revealui doctor
|
|
159
|
-
revealui doctor --fix
|
|
160
|
-
revealui dev status --profile agent
|
|
161
|
-
revealui dev up --profile fullstack --dry-run
|
|
162
|
-
revealui dev up --fix
|
|
163
|
-
revealui dev up
|
|
164
|
-
revealui dev up --include mcp
|
|
165
|
-
revealui dev up --profile agent
|
|
166
|
-
revealui dev status --profile fullstack
|
|
167
|
-
revealui dev profile set fullstack
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
After creating a new project:
|
|
62
|
+
After creating your project:
|
|
171
63
|
|
|
172
64
|
```bash
|
|
173
65
|
cd my-project
|
|
@@ -189,6 +81,19 @@ devbox shell
|
|
|
189
81
|
pnpm dev
|
|
190
82
|
```
|
|
191
83
|
|
|
84
|
+
## When to Use This
|
|
85
|
+
|
|
86
|
+
- You're starting a new RevealUI project from scratch and want a guided setup
|
|
87
|
+
- You need database, storage, and payment providers configured in one step
|
|
88
|
+
- You want Dev Container or Devbox configuration generated automatically
|
|
89
|
+
- **Not** for adding RevealUI to an existing project — install individual packages instead
|
|
90
|
+
|
|
91
|
+
## JOSHUA Alignment
|
|
92
|
+
|
|
93
|
+
- **Justifiable**: Every prompt earns its place — template, database, storage, and payment choices all map to real config decisions
|
|
94
|
+
- **Adaptive**: Multiple templates (blog, e-commerce, portfolio) and environment options (DevContainer, Devbox) adapt to your workflow
|
|
95
|
+
- **Sovereign**: Scaffolds a self-contained project you fully own — no hosted dependency or account required
|
|
96
|
+
|
|
192
97
|
## License
|
|
193
98
|
|
|
194
99
|
MIT
|