You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial setup to prepare the repo for local development:
21
21
22
22
```
23
-
just init
23
+
pnpm install:dev
24
24
```
25
25
26
26
### Windows
@@ -37,10 +37,10 @@ Install Rust & Cargo from [rustup.rs](https://rustup.rs/), then install `cargo-b
37
37
cargo install cargo-binstall
38
38
```
39
39
40
-
Initial setup to install dependencies for Vite+:
40
+
Initial setup to prepare the repo for local development:
41
41
42
42
```powershell
43
-
just init
43
+
pnpm install:dev
44
44
```
45
45
46
46
**Note:** Run commands in PowerShell or Windows Terminal. Some commands may require elevated permissions.
@@ -53,21 +53,38 @@ To create a release build of Vite+ and all upstream dependencies, run:
53
53
just build
54
54
```
55
55
56
+
## Local CLI workflow
57
+
58
+
```
59
+
pnpm bootstrap:dev
60
+
pnpm test
61
+
```
62
+
63
+
This prepares the local `rolldown/` and `vite/` checkouts, installs dependencies, builds the repo-local CLI artifacts, and runs tests without reading `~/.vite-plus`.
64
+
65
+
If you only want to prepare the repo after cloning it, run:
66
+
67
+
```
68
+
pnpm install:dev
69
+
```
70
+
71
+
If you prefer the existing Just-based setup, `just init` now delegates to the same repo-local install flow.
72
+
56
73
## Install the Vite+ Global CLI from source code
57
74
58
75
```
59
76
pnpm bootstrap-cli
60
77
vp --version
61
78
```
62
79
63
-
This builds all packages, compiles the Rust `vp` binary, and installs the CLI to `~/.vite-plus`.
80
+
Use this only when you specifically want to validate the install flow or the globally installed CLI.
64
81
65
82
## Workflow for build and test
66
83
67
84
You can run this command to build, test and check if there are any snapshot changes:
0 commit comments