create-gonvex 0.1.19 → 0.1.21
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 +28 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,9 +10,14 @@ Use it to scaffold a new Gonvex app with a frontend template, app-local
|
|
|
10
10
|
```bash
|
|
11
11
|
npm create gonvex@latest my-app
|
|
12
12
|
cd my-app
|
|
13
|
+
npm install
|
|
13
14
|
npm run dev
|
|
14
15
|
```
|
|
15
16
|
|
|
17
|
+
The generated app expects a running Gonvex runtime. `npm run dev` watches and
|
|
18
|
+
syncs the backend and starts Vite; it does not start Postgres, Valkey, or the Go
|
|
19
|
+
runtime.
|
|
20
|
+
|
|
16
21
|
With pnpm:
|
|
17
22
|
|
|
18
23
|
```bash
|
|
@@ -25,6 +30,29 @@ Choose the Vite React template explicitly:
|
|
|
25
30
|
npm create gonvex@latest my-app -- --template vite-react
|
|
26
31
|
```
|
|
27
32
|
|
|
33
|
+
Provision the project on an existing runtime:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
npm create gonvex@latest my-app -- \
|
|
37
|
+
--runtime-url https://gonvex.example.com \
|
|
38
|
+
--database-mode multiTenant
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Add native Google login in the same operation:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
npm create gonvex@latest my-app -- \
|
|
45
|
+
--runtime-url https://gonvex.example.com \
|
|
46
|
+
--google-auth \
|
|
47
|
+
--origin https://app.example.com \
|
|
48
|
+
--signup-mode inviteOnly \
|
|
49
|
+
--owner owner@example.com
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
`--google-auth` implies project provisioning. Production origins require HTTPS,
|
|
53
|
+
and invite-only creation requires the verified owner email used to bootstrap
|
|
54
|
+
the first workspace invitation.
|
|
55
|
+
|
|
28
56
|
## What It Creates
|
|
29
57
|
|
|
30
58
|
```txt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-gonvex",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
6
|
"create-gonvex": "./dist/index.js"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@gonvex/cli": "0.1.
|
|
13
|
+
"@gonvex/cli": "0.1.21"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@types/node": "^24.12.4",
|