Skip to content

Commit 3e4c330

Browse files
committed
chore(deps): retain active upgrades with existing CLI Node support
2 parents e211264 + c214753 commit 3e4c330

103 files changed

Lines changed: 1747 additions & 119 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎crates/vp_cli_snapshots/tests/cli_snapshots/README.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,3 +306,14 @@ Fixture trees are excluded from repo-wide fmt, lint, typecheck, and vitest
306306
(`vite.config.ts`, `tsconfig.json`); recorded snapshots and
307307
`snapshots.toml` are runner metadata and never appear inside the staged
308308
workspace a test runs in.
309+
310+
Test servers must request port `0` so the OS selects an available port at bind
311+
time. Fixed ports can be reserved on Windows, where `EACCES` does not trigger
312+
Vite's port-in-use fallback. Vitest 5.0.4 replaces a plain `test.api.port: 0`
313+
with its default, including when it comes from `--api.port=0`. Set the port in
314+
a post-configuration hook instead; see
315+
[`test_v5_browser_defines/config.mjs`](fixtures/test_v5_browser_defines/config.mjs)
316+
for independent, inherited, referenced, and injected projects, and
317+
[`test_v5_optional_packages/verify-ui.mjs`](fixtures/test_v5_optional_packages/verify-ui.mjs)
318+
for the UI server. Assert that each resolved API port is `0` so regressions fail
319+
on every platform, even when the default port is available.

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_custom_vite_root/snapshots/dev_uses_custom_vite_root.global.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ select a member package.
1111
```
1212
VITE+ - The Unified Toolchain for the Web
1313
14-
VITE+ <version>
14+
VITE+ <version> ready in <duration>
1515
1616
➜ Local: http://127.0.0.1:<port>/
1717
➜ press h + enter to show help
@@ -22,7 +22,7 @@ VITE+ - The Unified Toolchain for the Web
2222
```
2323
VITE+ - The Unified Toolchain for the Web
2424
25-
VITE+ <version>
25+
VITE+ <version> ready in <duration>
2626
2727
➜ Local: http://127.0.0.1:<port>/
2828
➜ press h + enter to show help

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_custom_vite_root/snapshots/dev_uses_custom_vite_root.local.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ select a member package.
1010

1111
```
1212
13-
VITE+ <version>
13+
VITE+ <version> ready in <duration>
1414
1515
➜ Local: http://127.0.0.1:<port>/
1616
➜ press h + enter to show help
@@ -20,7 +20,7 @@ select a member package.
2020

2121
```
2222
23-
VITE+ <version>
23+
VITE+ <version> ready in <duration>
2424
2525
➜ Local: http://127.0.0.1:<port>/
2626
➜ press h + enter to show help

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/snapshots/dev_uses_configured_root_without_index.global.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A declared Vite `root` field is a root intent signal without `index.html`.
1212
```
1313
VITE+ - The Unified Toolchain for the Web
1414
15-
VITE+ <version>
15+
VITE+ <version> ready in <duration>
1616
1717
➜ Local: http://127.0.0.1:<port>/
1818
➜ press h + enter to show help
@@ -23,7 +23,7 @@ VITE+ - The Unified Toolchain for the Web
2323
```
2424
VITE+ - The Unified Toolchain for the Web
2525
26-
VITE+ <version>
26+
VITE+ <version> ready in <duration>
2727
2828
➜ Local: http://127.0.0.1:<port>/
2929
➜ press h + enter to show help

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/snapshots/dev_uses_configured_root_without_index.local.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A declared Vite `root` field is a root intent signal without `index.html`.
1111

1212
```
1313
14-
VITE+ <version>
14+
VITE+ <version> ready in <duration>
1515
1616
➜ Local: http://127.0.0.1:<port>/
1717
➜ press h + enter to show help
@@ -21,7 +21,7 @@ A declared Vite `root` field is a root intent signal without `index.html`.
2121

2222
```
2323
24-
VITE+ <version>
24+
VITE+ <version> ready in <duration>
2525
2626
➜ Local: http://127.0.0.1:<port>/
2727
➜ press h + enter to show help

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/snapshots/dev_uses_custom_app_type.global.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A declared Vite `appType` field is a root intent signal for `vp dev`.
1212
```
1313
VITE+ - The Unified Toolchain for the Web
1414
15-
VITE+ <version>
15+
VITE+ <version> ready in <duration>
1616
1717
➜ Local: http://127.0.0.1:<port>/
1818
➜ press h + enter to show help
@@ -23,7 +23,7 @@ VITE+ - The Unified Toolchain for the Web
2323
```
2424
VITE+ - The Unified Toolchain for the Web
2525
26-
VITE+ <version>
26+
VITE+ <version> ready in <duration>
2727
2828
➜ Local: http://127.0.0.1:<port>/
2929
➜ press h + enter to show help

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/app_root_vite_signals/snapshots/dev_uses_custom_app_type.local.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A declared Vite `appType` field is a root intent signal for `vp dev`.
1111

1212
```
1313
14-
VITE+ <version>
14+
VITE+ <version> ready in <duration>
1515
1616
➜ Local: http://127.0.0.1:<port>/
1717
➜ press h + enter to show help
@@ -21,7 +21,7 @@ A declared Vite `appType` field is a root intent signal for `vp dev`.
2121

2222
```
2323
24-
VITE+ <version>
24+
VITE+ <version> ready in <duration>
2525
2626
➜ Local: http://127.0.0.1:<port>/
2727
➜ press h + enter to show help

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/cli_helper_message/snapshots/cli_helper_message.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ Commands:
419419
list List installed packages [alias: ls]
420420
view, info, show View package information from the registry
421421
version Forward the native package version command
422+
pkg Manage package.json fields
422423
publish Publish package to registry
423424
stage Stage a package for publishing (npm staged publishing workflow)
424425
owner Manage package owners [alias: author]

‎crates/vp_cli_snapshots/tests/cli_snapshots/fixtures/command_add_bun/snapshots.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[[case]]
22
name = "command_add_bun"
33
vp = "global"
4-
skip-platforms = ["windows"]
4+
# Exceeded 50 seconds on Linux in CI run 38677540536.
5+
skip-platforms = ["windows", "linux"]
56
steps = [
67
{ argv = ["vp", "add", "--help"], comment = "should show help", continue-on-failure = true },
78
{ argv = ["vp", "add"], comment = "should error because no packages specified", continue-on-failure = true },
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!doctype html>
2+
<html>
3+
<body>
4+
<h1>hello</h1>
5+
</body>
6+
</html>

0 commit comments

Comments
 (0)