vidra-cli 0.5.0
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 +43 -0
- package/bin/vidra.mjs +2 -0
- package/dist/cli.js +5294 -0
- package/package.json +68 -0
package/README.md
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# vidra-cli
|
|
2
|
+
|
|
3
|
+
The `vidra` command for [Vidra](https://vidra.build) apps: run the dev loop,
|
|
4
|
+
build and sign installers, publish updates, and check your setup.
|
|
5
|
+
|
|
6
|
+
> **Alpha:** APIs and commands may change between 0.x releases.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
Apps created with [`create-vidra-app`](https://www.npmjs.com/package/create-vidra-app)
|
|
11
|
+
already depend on it. To add it to an existing Vidra app:
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install -D vidra-cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Commands
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx vidra dev # start vite + the native host (UI and C# reload on save)
|
|
21
|
+
npx vidra build # build the app, and publish whatever vidra.config.ts configures
|
|
22
|
+
npx vidra updates # turn updates on by giving them a feed URL
|
|
23
|
+
npx vidra keygen # create the key that signs your update feed
|
|
24
|
+
npx vidra verify # check a built artifact is actually shippable
|
|
25
|
+
npx vidra doctor # check your environment, and this project's update wiring
|
|
26
|
+
npx vidra --help
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The scaffolded app wires these to `npm run dev`, `npm run build` and
|
|
30
|
+
`npm run doctor`.
|
|
31
|
+
|
|
32
|
+
## Requirements
|
|
33
|
+
|
|
34
|
+
- .NET 10 SDK
|
|
35
|
+
- .NET MAUI workload: `dotnet workload install maui`
|
|
36
|
+
- Node.js 22 or newer
|
|
37
|
+
- Xcode for macOS builds
|
|
38
|
+
|
|
39
|
+
Windows targets must be built on Windows.
|
|
40
|
+
|
|
41
|
+
## License
|
|
42
|
+
|
|
43
|
+
MIT
|
package/bin/vidra.mjs
ADDED