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.
@@ -56,13 +56,19 @@ just build
56
56
## Local CLI workflow
57
57
58
58
```
59
-
pnpm install
60
-
pnpm build:cli
59
+
pnpm bootstrap:dev
61
60
pnpm test
62
61
```
63
62
64
-
This installs dependencies, builds the repo-local CLI artifacts, and runs tests without reading `~/.vite-plus`.
65
-
If you have not prepared the local `rolldown/` and `vite/` checkouts yet, run `just init` or `node packages/tools/src/index.ts sync-remote` first.
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.
hint: 'If this fails with a missing rolldown native binding, rerun "pnpm install". If the error mentions "cmake", install cmake to build rolldown from source.',
282
+
hint: 'If this fails with a missing rolldown native binding, rerun "pnpm install:dev". If the error mentions "cmake", install cmake to build rolldown from source.',
242
283
});
243
284
runPnpmCommand('Build vite rolled-up types',['-C','vite','--filter','vite','build-types-roll'],{
244
285
hint: 'If this fails because vite dependencies are missing, rerun "pnpm install" from the repo root.',
0 commit comments