create-vidra-app 0.1.5 → 0.1.7
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 +9 -6
- package/dist/cli.js +520 -229
- package/dist/index.js +136 -56
- package/package.json +10 -1
- package/templates/react-vite/README.md +7 -3
- package/templates/react-vite/package.json +2 -1
package/README.md
CHANGED
|
@@ -20,13 +20,16 @@ cd my-app
|
|
|
20
20
|
npm run dev # starts Vite + the native host together
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Scaffolded apps get the `vidra` CLI as a local dev dependency — there's no
|
|
24
|
+
global `vidra` to install. Run it from inside your project via the npm scripts
|
|
25
|
+
or `npx`:
|
|
24
26
|
|
|
25
27
|
```bash
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
vidra
|
|
28
|
+
npm run dev # start Vite + native host
|
|
29
|
+
npm run build # build + package for distribution
|
|
30
|
+
npm run doctor # check your .NET / MAUI / Xcode setup
|
|
31
|
+
npx vidra dev --target windows # run a specific desktop target
|
|
32
|
+
npx vidra build --target macos # build + package a macOS .dmg
|
|
30
33
|
```
|
|
31
34
|
|
|
32
35
|
## Prerequisites
|
|
@@ -38,7 +41,7 @@ vidra doctor # check your .NET / MAUI / Xcode setup
|
|
|
38
41
|
|
|
39
42
|
If the MAUI workload is missing, `create-vidra-app` will detect it after
|
|
40
43
|
scaffolding and offer to install it for you. You can re-check at any time with
|
|
41
|
-
`
|
|
44
|
+
`npm run doctor`.
|
|
42
45
|
|
|
43
46
|
## License
|
|
44
47
|
|