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
{{ message }}
Repository navigation
Commit 1b87fe8
Browse filesBrowse the repository at this point in the historyBrowse files
perf(setup): allow an explicit Node runtime for installation (#3087)
CI setup can download two Node.js versions when the project selection
differs from the installer's LTS runtime.
The installer keeps the latest Node.js LTS as its default. Project
files, session overrides, and user defaults do not change its
installation runtime.
`VP_SETUP_NODE_VERSION` selects another Node.js version for dependency
installation. The installer resolves that value once and uses it when
the CLI and pinned `pnpm` support it. Otherwise, installation uses LTS.
`VP_SETUP_NODE_VERSION_FILE` returns the exact requested version,
including when installation needs LTS.
Project discovery belongs to `setup-vp`, which supplies the environment
override. Related integration: [setup-vp
#202](voidzero-dev/setup-vp#202).
Copy file name to clipboardExpand all lines: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/download_progress/snapshots/installation_progress_failure.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,22 @@
2
2
3
3
## `node install.mjs interactive failure`
4
4
5
-
**→ expect-milestone:**`install:prepare:ready`
5
+
**→ expect-milestone:**`install:download:ready`
6
6
7
7
```
8
8
Before installation: preserve this output.
9
9
info: installing vite-plus@<version>...
10
-
⠿ Preparing Node.js and pnpm... <duration>
10
+
⠿ Downloading pnpm <version>... <size> B (<size> B/s)
11
11
```
12
12
13
13
**← write-key:**`enter`
14
14
15
-
**→ expect-milestone:**`install:download:ready`
15
+
**→ expect-milestone:**`install:prepare:ready`
16
16
17
17
```
18
18
Before installation: preserve this output.
19
19
info: installing vite-plus@<version>...
20
-
⠿ Downloading pnpm <version>... <size> B (<size> B/s)
Copy file name to clipboardExpand all lines: crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/download_progress/snapshots/installation_progress_interactive.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,22 @@
2
2
3
3
## `node install.mjs interactive`
4
4
5
-
**→ expect-milestone:**`install:prepare:ready`
5
+
**→ expect-milestone:**`install:download:ready`
6
6
7
7
```
8
8
Before installation: preserve this output.
9
9
info: installing vite-plus@<version>...
10
-
⠿ Preparing Node.js and pnpm... <duration>
10
+
⠿ Downloading pnpm <version>... <size> B (<size> B/s)
11
11
```
12
12
13
13
**← write-key:**`enter`
14
14
15
-
**→ expect-milestone:**`install:download:ready`
15
+
**→ expect-milestone:**`install:prepare:ready`
16
16
17
17
```
18
18
Before installation: preserve this output.
19
19
info: installing vite-plus@<version>...
20
-
⠿ Downloading pnpm <version>... <size> B (<size> B/s)
0 commit comments