Skip to content

Commit 2a44bce

Browse files
branchseerclaude
andauthored
chore: bump vite-task to c945cc0 (#1628)
`https://github.com/voidzero-dev/vite-task/compare/c63db22ff0258e4e45f03205104838ab795161ac...c945cc0c7bb5af478a68d4548db7f46e621b36b0#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed` Adopts the breaking `Session::main` signature change from voidzero-dev/vite-task#390 (now returns `ExitStatus` directly; vite-task prints its own errors). --- _Generated by [Claude Code](https://claude.ai/code/session_01FGWZAzEb9KDWfXCshVD4NW)_ Co-authored-by: Claude <noreply@anthropic.com>
1 parent e7f6c0a commit 2a44bce

3 files changed

Lines changed: 33 additions & 32 deletions

File tree

Cargo.lock

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ dunce = "1.0.5"
184184
fast-glob = "1.0.0"
185185
flate2 = { version = "=1.1.9", features = ["zlib-rs"] }
186186
form_urlencoded = "1.2.1"
187-
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c63db22ff0258e4e45f03205104838ab795161ac" }
187+
fspy = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c945cc0c7bb5af478a68d4548db7f46e621b36b0" }
188188
futures = "0.3.31"
189189
futures-util = "0.3.31"
190190
glob = "0.3.2"
@@ -289,18 +289,18 @@ vfs = "0.13.0"
289289
vite_command = { path = "crates/vite_command" }
290290
vite_error = { path = "crates/vite_error" }
291291
vite_js_runtime = { path = "crates/vite_js_runtime" }
292-
vite_glob = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c63db22ff0258e4e45f03205104838ab795161ac" }
292+
vite_glob = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c945cc0c7bb5af478a68d4548db7f46e621b36b0" }
293293
vite_install = { path = "crates/vite_install" }
294294
vite_migration = { path = "crates/vite_migration" }
295295
vite_pm_cli = { path = "crates/vite_pm_cli" }
296296
vite_setup = { path = "crates/vite_setup" }
297297
vite_shared = { path = "crates/vite_shared" }
298298
vite_static_config = { path = "crates/vite_static_config" }
299-
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c63db22ff0258e4e45f03205104838ab795161ac" }
300-
vite_powershell = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c63db22ff0258e4e45f03205104838ab795161ac" }
301-
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c63db22ff0258e4e45f03205104838ab795161ac" }
302-
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c63db22ff0258e4e45f03205104838ab795161ac" }
303-
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c63db22ff0258e4e45f03205104838ab795161ac" }
299+
vite_path = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c945cc0c7bb5af478a68d4548db7f46e621b36b0" }
300+
vite_powershell = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c945cc0c7bb5af478a68d4548db7f46e621b36b0" }
301+
vite_str = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c945cc0c7bb5af478a68d4548db7f46e621b36b0" }
302+
vite_task = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c945cc0c7bb5af478a68d4548db7f46e621b36b0" }
303+
vite_workspace = { git = "https://github.com/voidzero-dev/vite-task.git", rev = "c945cc0c7bb5af478a68d4548db7f46e621b36b0" }
304304
walkdir = "2.5.0"
305305
wax = "0.6.0"
306306
which = "8.0.0"

packages/cli/binding/src/cli/mod.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,11 @@ async fn execute_vite_task_command(
152152
program_name: Str::from("vp"),
153153
})?;
154154

155-
// Main execution (consumes session)
156-
let result = session.main(command).await.map_err(|e| Error::Anyhow(e));
155+
// Main execution (consumes session). vite-task prints any errors itself
156+
// and returns only an exit status.
157+
let status = session.main(command).await;
157158

158-
result
159+
Ok(status)
159160
}
160161

161162
/// Main entry point for vite-plus CLI.

0 commit comments

Comments
 (0)