Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 27 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ tokio = "1.48.0"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "serde"] }
vite_error = { path = "crates/vite_error" }
vite_glob = { git = "https://github.com/voidzero-dev/vite-task", rev = "d4fa5ecfa06cded665fd235db99b5ba9cfe43ab4" }
vite_glob = { git = "https://github.com/voidzero-dev/vite-task", rev = "96bd2eba19cdbfd7612057b41debc0fbb692d1be" }
vite_install = { path = "crates/vite_install" }
vite_path = { git = "https://github.com/voidzero-dev/vite-task", rev = "d4fa5ecfa06cded665fd235db99b5ba9cfe43ab4" }
vite_str = { git = "https://github.com/voidzero-dev/vite-task", rev = "d4fa5ecfa06cded665fd235db99b5ba9cfe43ab4" }
vite_task = { git = "https://github.com/voidzero-dev/vite-task", rev = "d4fa5ecfa06cded665fd235db99b5ba9cfe43ab4" }
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task", rev = "d4fa5ecfa06cded665fd235db99b5ba9cfe43ab4" }
vite_path = { git = "https://github.com/voidzero-dev/vite-task", rev = "96bd2eba19cdbfd7612057b41debc0fbb692d1be" }
vite_str = { git = "https://github.com/voidzero-dev/vite-task", rev = "96bd2eba19cdbfd7612057b41debc0fbb692d1be" }
vite_task = { git = "https://github.com/voidzero-dev/vite-task", rev = "96bd2eba19cdbfd7612057b41debc0fbb692d1be" }
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task", rev = "96bd2eba19cdbfd7612057b41debc0fbb692d1be" }
wax = "0.6.0"
which = "8.0.0"

Expand Down
5 changes: 5 additions & 0 deletions packages/cli/snap-tests/colon-in-name/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"scripts": {
"read_colon_in_name": "node read_node_fs.js"
}
}
3 changes: 3 additions & 0 deletions packages/cli/snap-tests/colon-in-name/read_node_fs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
try {
require('node:fs').readFileSync('node:fs');
} catch {}
33 changes: 33 additions & 0 deletions packages/cli/snap-tests/colon-in-name/snap.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
> vp run read_colon_in_name
$ node read_node_fs.js


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Vite+ Task Runner • Execution Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Statistics: 1 tasks • 0 cache hits • 1 cache misses
Performance: 0% cache hit rate

Task Details:
────────────────────────────────────────────────
[1] read_colon_in_name: $ node read_node_fs.js ✓
→ Cache miss: no previous cache entry found
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

> vp run read_colon_in_name
$ node read_node_fs.js (✓ cache hit, replaying)


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Vite+ Task Runner • Execution Summary
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Statistics: 1 tasks • 1 cache hits • 0 cache misses
Performance: 100% cache hit rate, <variable>ms saved in total

Task Details:
────────────────────────────────────────────────
[1] read_colon_in_name: $ node read_node_fs.js ✓
→ Cache hit - output replayed - <variable>ms saved
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
9 changes: 9 additions & 0 deletions packages/cli/snap-tests/colon-in-name/steps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
"commands": [
"vp run read_colon_in_name",
"vp run read_colon_in_name"
Comment thread
branchseer marked this conversation as resolved.
]
}
Loading