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
1 change: 0 additions & 1 deletion crates/vite_task/src/session/reporter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ pub mod test_fixtures {
ExecutionItemDisplay {
task_display: test_task_display(name),
command: name.into(),
and_item_index: None,
cwd: test_path(),
}
}
Expand Down
4 changes: 0 additions & 4 deletions crates/vite_task_plan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@ pub struct ExecutionItemDisplay {
/// `SpawnExecution` contains the actual args for execution.
pub command: Str,

/// The index of this execution item among all items in the task's command split by `&&`.
/// If the task's command doesn't have `&&`, this will be `None`.
pub and_item_index: Option<usize>,

/// The cwd when this execution item is planned.
/// This is for displaying purpose only.
///
Expand Down
2 changes: 0 additions & 2 deletions crates/vite_task_plan/src/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ async fn plan_task_as_execution_node(
}
command
},
and_item_index: if and_item_count > 1 { Some(index) } else { None },
cwd: Arc::clone(&cwd),
task_display: task_node.task_display.clone(),
};
Expand Down Expand Up @@ -345,7 +344,6 @@ async fn plan_task_as_execution_node(

let execution_item_display = ExecutionItemDisplay {
command: command_str.into(),
and_item_index: None,
cwd,
task_display: task_node.task_display.clone(),
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "TEST_VAR=hello_world vt tool print-env TEST_VAR",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file vite-task.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "echo Linting",
"and_item_index": 0,
"cwd": "<workspace>/"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print lint --fix",
"and_item_index": 1,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print lint",
"and_item_index": 0,
"cwd": "<workspace>/"
},
"kind": {
Expand Down Expand Up @@ -89,7 +88,6 @@
"package_path": "<workspace>/"
},
"command": "echo 'Linting complete'",
"and_item_index": 1,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file a.txt",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print lint",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print lint",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print lint --fix",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt cache clean",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print lint",
"and_item_index": 1,
"cwd": "<workspace>/src"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt run build",
"and_item_index": 1,
"cwd": "<workspace>/src"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print build",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down Expand Up @@ -105,7 +104,6 @@
"package_path": "<workspace>/"
},
"command": "vt tool print test some-filter",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt run --cache inner",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt run --no-cache inner",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt run inner",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt run inner",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt run --cache inner",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"package_path": "<workspace>/"
},
"command": "vt run inner",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand All @@ -47,7 +46,6 @@
"package_path": "<workspace>/"
},
"command": "vtt print-file package.json",
"and_item_index": null,
"cwd": "<workspace>/"
},
"kind": {
Expand Down
Loading
Loading