SYMBOL INDEX (2976 symbols across 273 files) FILE: .github/scripts/upgrade-deps.mjs constant ROOT (line 4) | const ROOT = process.cwd(); function getLatestTagCommit (line 7) | async function getLatestTagCommit(owner, repo) { function getLatestNpmVersion (line 29) | async function getLatestNpmVersion(packageName) { function updateUpstreamVersions (line 44) | async function updateUpstreamVersions() { function updatePnpmWorkspace (line 59) | async function updatePnpmWorkspace(versions) { function updateTestPackage (line 102) | async function updateTestPackage(vitestVersion) { function updateCorePackage (line 128) | async function updateCorePackage(devtoolsVersion) { FILE: bench/benches/workspace_load.rs type NoOpCommandHandler (line 14) | struct NoOpCommandHandler; method handle_command (line 18) | async fn handle_command( type NoOpUserConfigLoader (line 28) | struct NoOpUserConfigLoader; method load_user_config_file (line 32) | async fn load_user_config_file( type BenchSessionConfig (line 42) | struct BenchSessionConfig { method as_callbacks (line 48) | fn as_callbacks(&mut self) -> SessionConfig<'_> { function bench_workspace_load (line 57) | fn bench_workspace_load(c: &mut Criterion) { FILE: bench/generate-monorepo.ts type Package (line 5) | interface Package { class MonorepoGenerator (line 14) | class MonorepoGenerator { method constructor (line 22) | constructor(private rootDir: string) {} method getRandomInt (line 24) | private getRandomInt(min: number, max: number): number { method getRandomElement (line 28) | private getRandomElement(arr: T[]): T { method generatePackageName (line 32) | private generatePackageName(index: number): string { method generateScriptCommand (line 38) | private generateScriptCommand(scriptName: string, packageName: string)... method generateScripts (line 61) | private generateScripts(packageName: string): Record { method selectDependencies (line 79) | private selectDependencies(currentIndex: number, availablePackages: st... method generatePackages (line 114) | private generatePackages(): void { method addTransitiveScriptDependencies (line 144) | private addTransitiveScriptDependencies(): void { method writePackage (line 171) | private writePackage(pkg: Package): void { method generate (line 228) | public generate(): void { method printStatistics (line 308) | private printStatistics(): void { FILE: crates/vite_command/src/lib.rs type FspyCommandResult (line 14) | pub struct FspyCommandResult { function resolve_bin (line 25) | pub fn resolve_bin( function build_command (line 46) | pub fn build_command(bin_path: &AbsolutePath, cwd: &AbsolutePath) -> Com... function build_shell_command (line 63) | pub fn build_shell_command(shell_cmd: &str, cwd: &AbsolutePath) -> Comma... function run_command (line 103) | pub async fn run_command( function run_command_with_fspy (line 134) | pub async fn run_command_with_fspy( function fix_stdio_streams (line 199) | pub fn fix_stdio_streams() { function create_temp_dir (line 239) | fn create_temp_dir() -> TempDir { function test_run_command_and_find_binary_path (line 248) | async fn test_run_command_and_find_binary_path() { function test_run_command_and_not_find_binary_path (line 262) | async fn test_run_command_and_not_find_binary_path() { function test_run_command_with_fspy (line 284) | async fn test_run_command_with_fspy() { function test_run_command_with_fspy_and_capture_path_accesses_write_file (line 302) | async fn test_run_command_with_fspy_and_capture_path_accesses_write_file... function test_run_command_with_fspy_and_capture_path_accesses_write_and_read_file (line 337) | async fn test_run_command_with_fspy_and_capture_path_accesses_write_and_... function test_run_command_with_fspy_and_not_find_binary_path (line 371) | async fn test_run_command_with_fspy_and_not_find_binary_path() { FILE: crates/vite_error/src/lib.rs type Error (line 8) | pub enum Error { FILE: crates/vite_global_cli/src/cli.rs type RenderOptions (line 24) | pub struct RenderOptions { method default (line 29) | fn default() -> Self { type Args (line 44) | pub struct Args { type Commands (line 55) | pub enum Commands { type EnvArgs (line 722) | pub struct EnvArgs { type EnvSubcommands (line 730) | pub enum EnvSubcommands { type SortingMethod (line 882) | pub enum SortingMethod { type PmCommands (line 892) | pub enum PmCommands { type ConfigCommands (line 1245) | pub enum ConfigCommands { type OwnerCommands (line 1317) | pub enum OwnerCommands { type TokenCommands (line 1356) | pub enum TokenCommands { type DistTagCommands (line 1413) | pub enum DistTagCommands { function determine_save_dependency_type (line 1441) | fn determine_save_dependency_type( function has_flag_before_terminator (line 1460) | fn has_flag_before_terminator(args: &[String], flag: &str) -> bool { function should_force_global_delegate (line 1472) | fn should_force_global_delegate(command: &str, args: &[String]) -> bool { function run_command (line 1484) | pub async fn run_command(cwd: AbsolutePathBuf, args: Args) -> Result ExitStatus { function print_runtime_header (line 1993) | fn print_runtime_header(show_header: bool) { function command_with_help (line 2002) | pub fn command_with_help() -> clap::Command { function command_with_help_with_options (line 2007) | pub fn command_with_help_with_options(render_options: RenderOptions) -> ... function apply_custom_help (line 2012) | fn apply_custom_help(cmd: clap::Command, render_options: RenderOptions) ... function try_parse_args_from (line 2027) | pub fn try_parse_args_from( function try_parse_args_from_with_options (line 2035) | pub fn try_parse_args_from_with_options( function detects_flag_before_option_terminator (line 2049) | fn detects_flag_before_option_terminator() { function ignores_flag_after_option_terminator (line 2057) | fn ignores_flag_after_option_terminator() { function lint_init_forces_global_delegate (line 2065) | fn lint_init_forces_global_delegate() { function fmt_migrate_forces_global_delegate (line 2070) | fn fmt_migrate_forces_global_delegate() { function non_init_does_not_force_global_delegate (line 2075) | fn non_init_does_not_force_global_delegate() { FILE: crates/vite_global_cli/src/command_picker.rs constant NEWLINE (line 19) | const NEWLINE: &str = "\r\n"; constant SELECTED_COLOR (line 20) | const SELECTED_COLOR: crossterm::style::Color = crossterm::style::Color:... constant SELECTED_MARKER (line 21) | const SELECTED_MARKER: &str = "›"; constant UNSELECTED_MARKER (line 22) | const UNSELECTED_MARKER: &str = " "; type PickedCommand (line 25) | pub struct PickedCommand { type TopLevelCommandPick (line 31) | pub enum TopLevelCommandPick { type CommandEntry (line 38) | struct CommandEntry { constant COMMANDS (line 45) | const COMMANDS: &[CommandEntry] = &[ constant CI_ENV_VARS (line 117) | const CI_ENV_VARS: &[&str] = &[ function pick_top_level_command_if_interactive (line 131) | pub fn pick_top_level_command_if_interactive( function should_enable_picker (line 146) | fn should_enable_picker() -> bool { function is_ci_environment (line 153) | fn is_ci_environment() -> bool { function run_picker (line 157) | fn run_picker(command_order: &[usize]) -> io::Result io::Result<()> { function handle_key_event (line 242) | fn handle_key_event( function render_picker (line 295) | fn render_picker( function picker_instruction (line 443) | fn picker_instruction(query: &str) -> String { function compute_viewport_size (line 447) | fn compute_viewport_size( function align_viewport (line 455) | fn align_viewport(current_start: usize, selected_index: usize, viewport_... function truncate_line (line 465) | fn truncate_line(line: &str, max_chars: usize) -> String { function selected_command_parts (line 482) | fn selected_command_parts( function default_command_order (line 501) | fn default_command_order(prioritize_run: bool) -> Vec { function filtered_command_indices (line 523) | fn filtered_command_indices(query: &str, command_order: &[usize]) -> Vec... function commands_are_unique (line 563) | fn commands_are_unique() { function commands_with_required_args_default_to_help (line 571) | fn commands_with_required_args_default_to_help() { function viewport_aligns_to_selected_row (line 583) | fn viewport_aligns_to_selected_row() { function viewport_size_is_clamped (line 591) | fn viewport_size_is_clamped() { function filtering_is_case_insensitive_and_returns_matching_commands_only (line 601) | fn filtering_is_case_insensitive_and_returns_matching_commands_only() { function filtering_with_no_matches_returns_empty (line 613) | fn filtering_with_no_matches_returns_empty() { function filtering_prefers_prefix_matches (line 620) | fn filtering_prefers_prefix_matches() { function default_order_puts_create_first_for_non_vite_plus_projects (line 628) | fn default_order_puts_create_first_for_non_vite_plus_projects() { function default_order_puts_run_first_for_vite_plus_projects (line 634) | fn default_order_puts_run_first_for_vite_plus_projects() { function default_order_hides_migrate_for_vite_plus_projects (line 640) | fn default_order_hides_migrate_for_vite_plus_projects() { function selected_command_parts_appends_summary (line 648) | fn selected_command_parts_appends_summary() { function selected_command_parts_truncates_summary_to_fit_width (line 655) | fn selected_command_parts_truncates_summary_to_fit_width() { function selected_command_parts_truncates_label_when_width_is_tight (line 662) | fn selected_command_parts_truncates_label_when_width_is_tight() { function help_entry_uses_static_inline_description (line 669) | fn help_entry_uses_static_inline_description() { function picker_instruction_mentions_search (line 679) | fn picker_instruction_mentions_search() { FILE: crates/vite_global_cli/src/commands/add.rs type AddCommand (line 16) | pub struct AddCommand { method new (line 21) | pub fn new(cwd: AbsolutePathBuf) -> Self { method execute (line 25) | pub async fn execute( function test_add_command_new (line 66) | fn test_add_command_new() { FILE: crates/vite_global_cli/src/commands/config.rs function execute (line 10) | pub async fn execute(cwd: AbsolutePathBuf, args: &[String]) -> Result Result Self { method execute (line 22) | pub async fn execute( function test_dedupe_command_new (line 41) | fn test_dedupe_command_new() { FILE: crates/vite_global_cli/src/commands/delegate.rs function execute (line 10) | pub async fn execute( function execute_global (line 22) | pub async fn execute_global( function test_delegate_command_module_exists (line 36) | fn test_delegate_command_module_exists() { FILE: crates/vite_global_cli/src/commands/dlx.rs type DlxCommand (line 23) | pub struct DlxCommand { method new (line 28) | pub fn new(cwd: AbsolutePathBuf) -> Self { method execute (line 32) | pub async fn execute( function test_dlx_command_new (line 77) | fn test_dlx_command_new() { FILE: crates/vite_global_cli/src/commands/env/bin_config.rs type BinSource (line 19) | pub enum BinSource { type BinConfig (line 30) | pub struct BinConfig { method new (line 46) | pub fn new(name: String, package: String, version: String, node_versio... method new_npm (line 51) | pub fn new_npm(name: String, package: String, node_version: String) ->... method bins_dir (line 56) | pub fn bins_dir() -> Result { method path (line 61) | pub fn path(bin_name: &str) -> Result { method load_sync (line 66) | pub fn load_sync(bin_name: &str) -> Result, Error> { method save_sync (line 81) | pub fn save_sync(&self) -> Result<(), Error> { method delete_sync (line 94) | pub fn delete_sync(bin_name: &str) -> Result<(), Error> { method load (line 104) | pub async fn load(bin_name: &str) -> Result, Error> { method save (line 116) | pub async fn save(&self) -> Result<(), Error> { method delete (line 132) | pub async fn delete(bin_name: &str) -> Result<(), Error> { method find_by_package (line 144) | pub async fn find_by_package(package_name: &str) -> Result... function test_save_and_load (line 177) | async fn test_save_and_load() { function test_find_by_package (line 201) | async fn test_find_by_package() { function test_delete (line 248) | async fn test_delete() { function test_load_nonexistent (line 278) | async fn test_load_nonexistent() { function test_source_defaults_to_vp (line 289) | fn test_source_defaults_to_vp() { function test_new_npm_source (line 300) | fn test_new_npm_source() { function test_source_backward_compat_deserialize (line 314) | fn test_source_backward_compat_deserialize() { function test_sync_save_load_delete (line 323) | fn test_sync_save_load_delete() { FILE: crates/vite_global_cli/src/commands/env/config.rs constant CONFIG_FILE (line 17) | const CONFIG_FILE: &str = "config.json"; type ShimMode (line 22) | pub enum ShimMode { type Config (line 33) | pub struct Config { function is_default_shim_mode (line 43) | fn is_default_shim_mode(mode: &ShimMode) -> bool { type VersionResolution (line 49) | pub struct VersionResolution { function get_vite_plus_home (line 66) | pub fn get_vite_plus_home() -> Result { function get_bin_dir (line 71) | pub fn get_bin_dir() -> Result { function get_packages_dir (line 76) | pub fn get_packages_dir() -> Result { function get_tmp_dir (line 81) | pub fn get_tmp_dir() -> Result { function get_node_modules_dir (line 93) | pub fn get_node_modules_dir(prefix: &AbsolutePath, package_name: &str) -... function get_config_path (line 118) | pub fn get_config_path() -> Result { function load_config (line 123) | pub async fn load_config() -> Result { function save_config (line 136) | pub async fn save_config(config: &Config) -> Result<(), Error> { constant VERSION_ENV_VAR (line 150) | pub const VERSION_ENV_VAR: &str = vite_shared::env_vars::VITE_PLUS_NODE_... constant SESSION_VERSION_FILE (line 153) | pub const SESSION_VERSION_FILE: &str = ".session-node-version"; function get_session_version_path (line 156) | pub fn get_session_version_path() -> Result { function read_session_version (line 161) | pub async fn read_session_version() -> Option { function read_session_version_sync (line 169) | pub fn read_session_version_sync() -> Option { function write_session_version (line 177) | pub async fn write_session_version(version: &str) -> Result<(), Error> { function delete_session_version (line 188) | pub async fn delete_session_version() -> Result<(), Error> { function resolve_version (line 207) | pub async fn resolve_version(cwd: &AbsolutePath) -> Result Result String { function print_rows (line 36) | fn print_rows(title: &str, rows: &[(&str, String)]) { function execute (line 46) | pub async fn execute(cwd: AbsolutePathBuf, json: bool) -> Result) -> ... function show_default (line 21) | async fn show_default() -> Result { function set_default (line 59) | async fn set_default(version: &str) -> Result { function resolve_alias (line 99) | async fn resolve_alias( FILE: crates/vite_global_cli/src/commands/env/doctor.rs constant IDE_PROFILES (line 21) | const IDE_PROFILES: &[(&str, bool)] = &[(".zshenv", false), (".profile",... constant IDE_PROFILES (line 25) | const IDE_PROFILES: &[(&str, bool)] = &[(".profile", false), (".zshenv",... constant IDE_PROFILES (line 29) | const IDE_PROFILES: &[(&str, bool)] = &[(".profile", false)]; constant ALL_SHELL_PROFILES (line 36) | const ALL_SHELL_PROFILES: &[(&str, bool)] = &[ type EnvSourcingStatus (line 48) | enum EnvSourcingStatus { constant KNOWN_VERSION_MANAGERS (line 58) | const KNOWN_VERSION_MANAGERS: &[(&str, &str)] = &[ constant SHIM_TOOLS (line 68) | const SHIM_TOOLS: &[&str] = &["node", "npm", "npx", "vpx"]; constant KEY_WIDTH (line 71) | const KEY_WIDTH: usize = 18; function print_section (line 74) | fn print_section(name: &str) { function print_check (line 83) | fn print_check(status: &str, key: &str, value: &str) { function print_hint (line 94) | fn print_hint(text: &str) { function abbreviate_home (line 99) | fn abbreviate_home(path: &str) -> String { function execute (line 109) | pub async fn execute(cwd: AbsolutePathBuf) -> Result { function check_vite_plus_home (line 167) | async fn check_vite_plus_home() -> bool { function check_bin_dir (line 197) | async fn check_bin_dir() -> bool { function shim_filename (line 239) | fn shim_filename(tool: &str) -> String { function check_shim_mode (line 253) | async fn check_shim_mode() { function check_env_sourcing (line 296) | fn check_env_sourcing() -> EnvSourcingStatus { function find_system_node (line 345) | fn find_system_node() -> Option { function check_session_override (line 374) | fn check_session_override() { function check_path (line 400) | async fn check_path() -> bool { function find_in_path (line 463) | fn find_in_path(name: &str) -> Option { function print_path_fix (line 469) | fn print_path_fix(bin_dir: &vite_path::AbsolutePath) { function check_profile_files (line 516) | fn check_profile_files(vite_plus_home: &str, profile_files: &[(&str, boo... function print_ide_setup_guidance (line 579) | fn print_ide_setup_guidance(bin_dir: &vite_path::AbsolutePath) { function check_current_resolution (line 629) | async fn check_current_resolution(cwd: &AbsolutePathBuf) { function check_conflicts (line 675) | fn check_conflicts() { function test_shim_filename_consistency (line 733) | fn test_shim_filename_consistency() { function create_fake_executable (line 758) | fn create_fake_executable(dir: &std::path::Path, name: &str) -> std::pat... function create_fake_executable (line 767) | fn create_fake_executable(dir: &std::path::Path, name: &str) -> std::pat... type EnvGuard (line 774) | struct EnvGuard { method new (line 780) | fn new() -> Self { method drop (line 789) | fn drop(&mut self) { function test_find_system_node_skips_bypass_paths (line 805) | fn test_find_system_node_skips_bypass_paths() { function test_find_system_node_returns_none_when_all_paths_bypassed (line 829) | fn test_find_system_node_returns_none_when_all_paths_bypassed() { function test_abbreviate_home (line 847) | fn test_abbreviate_home() { type ProfileEnvGuard (line 859) | struct ProfileEnvGuard { method new (line 867) | fn new( method drop (line 894) | fn drop(&mut self) { function test_check_profile_files_finds_zdotdir (line 915) | fn test_check_profile_files_finds_zdotdir() { function test_check_profile_files_finds_xdg_fish (line 935) | fn test_check_profile_files_finds_xdg_fish() { function test_check_profile_files_finds_posix_env_in_bashrc (line 957) | fn test_check_profile_files_finds_posix_env_in_bashrc() { function test_check_profile_files_finds_fish_env (line 976) | fn test_check_profile_files_finds_fish_env() { function test_check_profile_files_returns_none_when_not_found (line 995) | fn test_check_profile_files_returns_none_when_not_found() { function test_check_profile_files_finds_absolute_path (line 1013) | fn test_check_profile_files_finds_absolute_path() { FILE: crates/vite_global_cli/src/commands/env/exec.rs function execute (line 25) | pub async fn execute( function normalize_wrapper_command (line 87) | fn normalize_wrapper_command(command: &[String]) -> Vec { function normalize_wrapper_command_inner (line 102) | fn normalize_wrapper_command_inner(command: &[String], from_wrapper: boo... function execute_with_version (line 111) | async fn execute_with_version( function resolve_version (line 155) | async fn resolve_version(version: &str, provider: &NodeProvider) -> Resu... function exit_status (line 181) | fn exit_status(code: i32) -> ExitStatus { function test_execute_missing_command (line 201) | async fn test_execute_missing_command() { function test_execute_node_version (line 210) | async fn test_execute_node_version() { function test_resolve_version_exact (line 220) | async fn test_resolve_version_exact() { function test_resolve_version_with_v_prefix (line 227) | async fn test_resolve_version_with_v_prefix() { function test_resolve_version_partial (line 234) | async fn test_resolve_version_partial() { function test_resolve_version_range (line 242) | async fn test_resolve_version_range() { function test_resolve_version_lts (line 250) | async fn test_resolve_version_lts() { function test_shim_mode_error_for_non_shim_command (line 262) | async fn test_shim_mode_error_for_non_shim_command() { function test_normalize_wrapper_command_strips_only_wrapper_separator (line 273) | fn test_normalize_wrapper_command_strips_only_wrapper_separator() { function test_normalize_wrapper_command_no_wrapper_keeps_separator (line 280) | fn test_normalize_wrapper_command_no_wrapper_keeps_separator() { FILE: crates/vite_global_cli/src/commands/env/global_install.rs function install (line 28) | pub async fn install( function uninstall (line 216) | pub async fn uninstall(package_name: &str, dry_run: bool) -> Result<(), ... function parse_package_spec (line 271) | fn parse_package_spec(spec: &str) -> (String, Option) { type BinaryInfo (line 291) | struct BinaryInfo { function extract_binaries (line 299) | fn extract_binaries(package_json: &serde_json::Value) -> Vec { function is_javascript_binary (line 335) | fn is_javascript_binary(path: &AbsolutePath) -> bool { constant CORE_SHIMS (line 366) | pub(crate) const CORE_SHIMS: &[&str] = &["node", "npm", "npx", "vp"]; function create_package_shim (line 372) | async fn create_package_shim( function remove_package_shim (line 434) | async fn remove_package_shim( type FakeTrampolineGuard (line 476) | struct FakeTrampolineGuard; method new (line 480) | fn new(dir: &std::path::Path) -> Self { method drop (line 492) | fn drop(&mut self) { function test_create_package_shim_creates_bin_dir (line 501) | async fn test_create_package_shim_creates_bin_dir() { function test_create_package_shim_skips_core_shims (line 539) | async fn test_create_package_shim_skips_core_shims() { function test_remove_package_shim_removes_shim (line 559) | async fn test_remove_package_shim_removes_shim() { function test_remove_package_shim_handles_missing_shim (line 604) | async fn test_remove_package_shim_handles_missing_shim() { function test_uninstall_removes_shims_from_metadata (line 617) | async fn test_uninstall_removes_shims_from_metadata() { function test_parse_package_spec_simple (line 705) | fn test_parse_package_spec_simple() { function test_parse_package_spec_with_version (line 712) | fn test_parse_package_spec_with_version() { function test_parse_package_spec_scoped (line 719) | fn test_parse_package_spec_scoped() { function test_parse_package_spec_scoped_with_version (line 726) | fn test_parse_package_spec_scoped_with_version() { function test_is_javascript_binary_with_js_extension (line 733) | fn test_is_javascript_binary_with_js_extension() { function test_is_javascript_binary_with_mjs_extension (line 746) | fn test_is_javascript_binary_with_mjs_extension() { function test_is_javascript_binary_with_cjs_extension (line 759) | fn test_is_javascript_binary_with_cjs_extension() { function test_is_javascript_binary_with_node_shebang (line 772) | fn test_is_javascript_binary_with_node_shebang() { function test_is_javascript_binary_with_direct_node_shebang (line 785) | fn test_is_javascript_binary_with_direct_node_shebang() { function test_is_javascript_binary_native_executable (line 798) | fn test_is_javascript_binary_native_executable() { function test_is_javascript_binary_shell_script (line 812) | fn test_is_javascript_binary_shell_script() { function test_is_javascript_binary_python_script (line 825) | fn test_is_javascript_binary_python_script() { function test_is_javascript_binary_empty_file (line 838) | fn test_is_javascript_binary_empty_file() { FILE: crates/vite_global_cli/src/commands/env/list.rs type InstalledVersionJson (line 16) | struct InstalledVersionJson { function list_installed_versions (line 23) | fn list_installed_versions(node_dir: &std::path::Path) -> Vec { function compare_versions (line 46) | fn compare_versions(a: &str, b: &str) -> Ordering { function execute (line 54) | pub async fn execute(cwd: AbsolutePathBuf, json_output: bool) -> Result<... function print_json (line 88) | fn print_json(versions: &[String], current: Option<&str>, default: Optio... function print_human (line 103) | fn print_human(versions: &[String], current: Option<&str>, default: Opti... function test_version_cmp (line 136) | fn test_version_cmp() { function test_list_installed_versions_nonexistent_dir (line 144) | fn test_list_installed_versions_nonexistent_dir() { function test_list_installed_versions_empty_dir (line 150) | fn test_list_installed_versions_empty_dir() { function test_list_installed_versions_with_versions (line 157) | fn test_list_installed_versions_with_versions() { FILE: crates/vite_global_cli/src/commands/env/list_remote.rs constant DEFAULT_MAJOR_VERSIONS (line 14) | const DEFAULT_MAJOR_VERSIONS: usize = 10; type VersionListJson (line 18) | struct VersionListJson { type VersionJson (line 24) | struct VersionJson { function execute (line 32) | pub async fn execute( function filter_versions (line 66) | fn filter_versions<'a>( function extract_major (line 96) | fn extract_major(version: &str) -> Option { function limit_to_recent_majors (line 102) | fn limit_to_recent_majors( function print_json (line 124) | fn print_json( function print_human (line 158) | fn print_human(versions: &[&NodeVersionEntry]) { function make_version (line 185) | fn make_version(version: &str, lts: Option<&str>) -> NodeVersionEntry { function test_filter_versions_lts_only (line 196) | fn test_filter_versions_lts_only() { function test_filter_versions_by_pattern (line 209) | fn test_filter_versions_by_pattern() { function test_limit_to_recent_majors (line 223) | fn test_limit_to_recent_majors() { function test_filter_versions_show_all_returns_all_versions (line 242) | fn test_filter_versions_show_all_returns_all_versions() { function test_filter_versions_show_all_with_lts_filter (line 269) | fn test_filter_versions_show_all_with_lts_filter() { FILE: crates/vite_global_cli/src/commands/env/mod.rs function print_env_header (line 34) | fn print_env_header() { function should_print_env_header (line 39) | fn should_print_env_header(subcommand: &EnvSubcommands) -> bool { function execute (line 51) | pub async fn execute(cwd: AbsolutePathBuf, args: EnvArgs) -> Result Result { function exit_status (line 178) | fn exit_status(code: i32) -> ExitStatus { FILE: crates/vite_global_cli/src/commands/env/off.rs function accent_command (line 13) | fn accent_command(command: &str) -> String { function execute (line 22) | pub async fn execute() -> Result { FILE: crates/vite_global_cli/src/commands/env/on.rs function accent_command (line 12) | fn accent_command(command: &str) -> String { function execute (line 21) | pub async fn execute() -> Result { FILE: crates/vite_global_cli/src/commands/env/package_metadata.rs type PackageMetadata (line 15) | pub struct PackageMetadata { method new (line 45) | pub fn new( method is_js_binary (line 66) | pub fn is_js_binary(&self, bin_name: &str) -> bool { method metadata_path (line 71) | pub fn metadata_path(package_name: &str) -> Result Result, Error> { method save (line 90) | pub async fn save(&self) -> Result<(), Error> { method delete (line 105) | pub async fn delete(package_name: &str) -> Result<(), Error> { method list_all (line 114) | pub async fn list_all() -> Result, Error> { method find_by_binary (line 128) | pub async fn find_by_binary(binary_name: &str) -> Result,... type Platform (line 35) | pub struct Platform { function list_packages_recursive (line 142) | async fn list_packages_recursive( function test_metadata_path_regular_package (line 180) | fn test_metadata_path_regular_package() { function test_metadata_path_scoped_package (line 187) | fn test_metadata_path_scoped_package() { function test_save_scoped_package_metadata (line 199) | async fn test_save_scoped_package_metadata() { function test_list_all_includes_scoped_packages (line 229) | async fn test_list_all_includes_scoped_packages() { function test_find_by_binary (line 272) | async fn test_find_by_binary() { FILE: crates/vite_global_cli/src/commands/env/packages.rs function execute (line 11) | pub async fn execute(json: bool, pattern: Option<&str>) -> Result Result { function find_inherited_version (line 75) | async fn find_inherited_version( function do_pin (line 93) | async fn do_pin( function resolve_version_for_pin (line 174) | async fn resolve_version_for_pin( function do_unpin (line 203) | pub async fn do_unpin(cwd: &AbsolutePathBuf) -> Result { function test_show_pinned_no_file (line 230) | async fn test_show_pinned_no_file() { function test_show_pinned_with_file (line 240) | async fn test_show_pinned_with_file() { function test_find_inherited_version (line 252) | async fn test_find_inherited_version() { function test_do_unpin (line 270) | async fn test_do_unpin() { function test_do_unpin_invalidates_cache (line 289) | async fn test_do_unpin_invalidates_cache() { function test_do_pin_invalidates_cache (line 329) | async fn test_do_pin_invalidates_cache() { function test_do_unpin_no_file (line 371) | async fn test_do_unpin_no_file() { function test_resolve_version_for_pin_partial_version (line 381) | async fn test_resolve_version_for_pin_partial_version() { function test_resolve_version_for_pin_exact_version (line 401) | async fn test_resolve_version_for_pin_exact_version() { FILE: crates/vite_global_cli/src/commands/env/setup.rs constant SHIM_TOOLS (line 27) | const SHIM_TOOLS: &[&str] = &["node", "npm", "npx", "vpx"]; function accent_command (line 29) | fn accent_command(command: &str) -> String { function execute (line 38) | pub async fn execute(refresh: bool, env_only: bool) -> Result bool { function create_shim (line 183) | async fn create_shim( function shim_filename (line 221) | fn shim_filename(tool: &str) -> String { function create_unix_shim (line 239) | async fn create_unix_shim( function create_windows_shim (line 260) | async fn create_windows_shim( function generate_completion_scripts (line 282) | async fn generate_completion_scripts( function get_trampoline_path (line 315) | pub(crate) fn get_trampoline_path() -> Result R... function print_path_instructions (line 591) | fn print_path_instructions(bin_dir: &vite_path::AbsolutePath) { function home_guard (line 652) | fn home_guard(home: impl Into) -> vite_shared::TestE... function test_create_env_files_creates_all_files (line 660) | async fn test_create_env_files_creates_all_files() { function test_create_env_files_replaces_placeholder_with_home_relative_path (line 676) | async fn test_create_env_files_replaces_placeholder_with_home_relative_p... function test_create_env_files_uses_absolute_path_when_not_under_home (line 708) | async fn test_create_env_files_uses_absolute_path_when_not_under_home() { function test_create_env_files_posix_contains_path_guard (line 736) | async fn test_create_env_files_posix_contains_path_guard() { function test_create_env_files_fish_contains_path_guard (line 767) | async fn test_create_env_files_fish_contains_path_guard() { function test_create_env_files_is_idempotent (line 789) | async fn test_create_env_files_is_idempotent() { function test_create_env_files_posix_contains_vp_shell_function (line 811) | async fn test_create_env_files_posix_contains_vp_shell_function() { function test_create_env_files_fish_contains_vp_function (line 838) | async fn test_create_env_files_fish_contains_vp_function() { function test_create_env_files_ps1_contains_vp_function (line 864) | async fn test_create_env_files_ps1_contains_vp_function() { function test_execute_env_only_creates_home_dir_and_env_files (line 884) | async fn test_execute_env_only_creates_home_dir_and_env_files() { function test_generate_completion_scripts_creates_all_files (line 907) | async fn test_generate_completion_scripts_creates_all_files() { function test_create_env_files_contains_completion (line 931) | async fn test_create_env_files_contains_completion() { FILE: crates/vite_global_cli/src/commands/env/unpin.rs function execute (line 12) | pub async fn execute(cwd: AbsolutePathBuf) -> Result { FILE: crates/vite_global_cli/src/commands/env/use.rs type Shell (line 19) | enum Shell { function detect_shell (line 31) | fn detect_shell() -> Shell { function format_export (line 45) | fn format_export(shell: &Shell, value: &str) -> String { function format_unset (line 55) | fn format_unset(shell: &Shell) -> String { function has_eval_wrapper (line 69) | fn has_eval_wrapper() -> bool { function execute (line 74) | pub async fn execute( function test_detect_shell_posix_even_with_psmodulepath (line 175) | fn test_detect_shell_posix_even_with_psmodulepath() { function test_detect_shell_fish (line 188) | fn test_detect_shell_fish() { function test_detect_shell_posix_default (line 198) | fn test_detect_shell_posix_default() { function test_format_export_posix (line 209) | fn test_format_export_posix() { function test_format_export_fish (line 215) | fn test_format_export_fish() { function test_format_export_powershell (line 221) | fn test_format_export_powershell() { function test_format_export_cmd (line 227) | fn test_format_export_cmd() { function test_format_unset_posix (line 233) | fn test_format_unset_posix() { function test_format_unset_fish (line 239) | fn test_format_unset_fish() { function test_format_unset_powershell (line 245) | fn test_format_unset_powershell() { function test_format_unset_cmd (line 251) | fn test_format_unset_cmd() { FILE: crates/vite_global_cli/src/commands/env/which.rs constant CORE_TOOLS (line 23) | const CORE_TOOLS: &[&str] = &["node", "npm", "npx"]; constant LABEL_WIDTH (line 26) | const LABEL_WIDTH: usize = 10; function execute (line 29) | pub async fn execute(cwd: AbsolutePathBuf, tool: &str) -> Result Result) -> St... function execute_package_binary (line 103) | async fn execute_package_binary( function locate_package_binary (line 139) | fn locate_package_binary(package_name: &str, binary_name: &str) -> Resul... function exit_status (line 191) | fn exit_status(code: i32) -> ExitStatus { FILE: crates/vite_global_cli/src/commands/implode.rs constant SHELL_PROFILES (line 17) | const SHELL_PROFILES: &[(&str, bool)] = &[ function abbreviate_home_path (line 27) | fn abbreviate_home_path(path: &AbsolutePath, user_home: &AbsolutePath) -... constant VITE_PLUS_COMMENT (line 35) | const VITE_PLUS_COMMENT: &str = "# Vite+ bin"; function execute (line 37) | pub fn execute(yes: bool) -> Result { type AffectedProfile (line 86) | struct AffectedProfile { type AffectedProfileKind (line 95) | enum AffectedProfileKind { function collect_affected_profiles (line 106) | fn collect_affected_profiles(user_home: &AbsolutePathBuf) -> Vec Result<(), Error> { function build_deferred_delete_script (line 281) | fn build_deferred_delete_script(trash_path: &std::path::Path) -> Str { function spawn_deferred_delete (line 295) | fn spawn_deferred_delete(trash_path: &std::path::Path) -> std::io::Resul... function has_vite_plus_lines (line 306) | fn has_vite_plus_lines(content: &str) -> bool { function remove_vite_plus_lines (line 312) | fn remove_vite_plus_lines(content: &str) -> Str { function remove_windows_path_entry (line 354) | fn remove_windows_path_entry(bin_path: &vite_path::AbsolutePath) -> std:... function test_remove_vite_plus_lines_posix (line 379) | fn test_remove_vite_plus_lines_posix() { function test_remove_vite_plus_lines_no_match (line 386) | fn test_remove_vite_plus_lines_no_match() { function test_remove_vite_plus_lines_absolute_path (line 393) | fn test_remove_vite_plus_lines_absolute_path() { function test_remove_vite_plus_lines_preserves_surrounding (line 400) | fn test_remove_vite_plus_lines_preserves_surrounding() { function test_clean_affected_profiles_integration (line 407) | fn test_clean_affected_profiles_integration() { function test_remove_vite_plus_dir_success (line 427) | fn test_remove_vite_plus_dir_success() { function test_remove_vite_plus_dir_nonexistent (line 440) | fn test_remove_vite_plus_dir_nonexistent() { function test_build_deferred_delete_script (line 451) | fn test_build_deferred_delete_script() { function test_abbreviate_home_path (line 462) | fn test_abbreviate_home_path() { function test_collect_affected_profiles (line 475) | fn test_collect_affected_profiles() { type ProfileEnvGuard (line 499) | struct ProfileEnvGuard { method new (line 506) | fn new(zdotdir: Option<&std::path::Path>, xdg_config: Option<&std::pat... method drop (line 527) | fn drop(&mut self) { function test_collect_affected_profiles_zdotdir (line 544) | fn test_collect_affected_profiles_zdotdir() { function test_collect_affected_profiles_xdg_config (line 565) | fn test_collect_affected_profiles_xdg_config() { function test_execute_not_installed (line 585) | fn test_execute_not_installed() { FILE: crates/vite_global_cli/src/commands/install.rs type InstallCommand (line 10) | pub struct InstallCommand { method new (line 15) | pub fn new(cwd: AbsolutePathBuf) -> Self { method execute (line 19) | pub async fn execute(self, options: &InstallCommandOptions<'_>) -> Res... function test_install_command_new (line 38) | fn test_install_command_new() { function test_install_command_with_package_json_without_package_manager (line 52) | async fn test_install_command_with_package_json_without_package_manager() { function test_install_command_with_package_json_with_package_manager (line 69) | async fn test_install_command_with_package_json_with_package_manager() { function test_ensure_package_json_creates_when_missing (line 88) | async fn test_ensure_package_json_creates_when_missing() { function test_ensure_package_json_does_not_overwrite_existing (line 106) | async fn test_ensure_package_json_does_not_overwrite_existing() { function test_install_command_execute_with_invalid_workspace (line 124) | async fn test_install_command_execute_with_invalid_workspace() { FILE: crates/vite_global_cli/src/commands/link.rs type LinkCommand (line 13) | pub struct LinkCommand { method new (line 18) | pub fn new(cwd: AbsolutePathBuf) -> Self { method execute (line 22) | pub async fn execute( function test_link_command_new (line 41) | fn test_link_command_new() { FILE: crates/vite_global_cli/src/commands/migrate.rs function execute (line 10) | pub async fn execute(cwd: AbsolutePathBuf, args: &[String]) -> Result bool { function ensure_package_json (line 72) | pub async fn ensure_package_json(project_path: &AbsolutePath) -> Result<... function prepend_js_runtime_to_path_env (line 89) | pub async fn prepend_js_runtime_to_path_env(project_path: &AbsolutePath)... function build_package_manager (line 111) | pub async fn build_package_manager(cwd: &AbsolutePath) -> Result Self { method execute (line 23) | pub async fn execute( function test_outdated_command_new (line 67) | fn test_outdated_command_new() { FILE: crates/vite_global_cli/src/commands/pm.rs function execute_info (line 39) | pub async fn execute_info( function execute_pm_subcommand (line 56) | pub async fn execute_pm_subcommand( function test_save_dependency_type (line 360) | fn test_save_dependency_type() { FILE: crates/vite_global_cli/src/commands/remove.rs type RemoveCommand (line 13) | pub struct RemoveCommand { method new (line 18) | pub fn new(cwd: AbsolutePathBuf) -> Self { method execute (line 22) | pub async fn execute( function test_remove_command_new (line 58) | fn test_remove_command_new() { FILE: crates/vite_global_cli/src/commands/run_or_delegate.rs function execute (line 13) | pub async fn execute(cwd: AbsolutePathBuf, args: &[String]) -> Result Result Self { method execute (line 22) | pub async fn execute( function test_unlink_command_new (line 42) | fn test_unlink_command_new() { FILE: crates/vite_global_cli/src/commands/update.rs type UpdateCommand (line 13) | pub struct UpdateCommand { method new (line 18) | pub fn new(cwd: AbsolutePathBuf) -> Self { method execute (line 23) | pub async fn execute( function test_update_command_new (line 67) | fn test_update_command_new() { FILE: crates/vite_global_cli/src/commands/upgrade/install.rs function is_safe_tar_path (line 20) | fn is_safe_tar_path(path: &Path) -> bool { function extract_platform_package (line 37) | pub async fn extract_platform_package( function generate_wrapper_package_json (line 94) | pub async fn generate_wrapper_package_json( function install_production_deps (line 114) | pub async fn install_production_deps( function save_previous_version (line 160) | pub async fn save_previous_version(install_dir: &AbsolutePath) -> Result... function swap_current_link (line 183) | pub async fn swap_current_link(install_dir: &AbsolutePath, version: &str... function refresh_shims (line 244) | pub async fn refresh_shims(install_dir: &AbsolutePath) -> Result<(), Err... function cleanup_old_versions (line 280) | pub async fn cleanup_old_versions( function read_previous_version (line 326) | pub async fn read_previous_version(install_dir: &AbsolutePath) -> Result... function test_is_safe_tar_path_normal (line 344) | fn test_is_safe_tar_path_normal() { function test_is_safe_tar_path_traversal (line 352) | fn test_is_safe_tar_path_traversal() { function test_is_safe_tar_path_absolute (line 359) | fn test_is_safe_tar_path_absolute() { function test_cleanup_preserves_active_downgraded_version (line 365) | async fn test_cleanup_preserves_active_downgraded_version() { function test_cleanup_sorts_by_creation_time_not_semver (line 392) | async fn test_cleanup_sorts_by_creation_time_not_semver() { function test_cleanup_old_versions_with_nonexistent_dir (line 425) | async fn test_cleanup_old_versions_with_nonexistent_dir() { FILE: crates/vite_global_cli/src/commands/upgrade/integrity.rs function verify_integrity (line 14) | pub fn verify_integrity(data: &[u8], expected_sri: &str) -> Result<(), E... function test_verify_integrity_valid (line 39) | fn test_verify_integrity_valid() { function test_verify_integrity_mismatch (line 50) | fn test_verify_integrity_mismatch() { function test_verify_integrity_unsupported_format (line 59) | fn test_verify_integrity_unsupported_format() { function test_verify_integrity_no_prefix (line 68) | fn test_verify_integrity_no_prefix() { FILE: crates/vite_global_cli/src/commands/upgrade/mod.rs type UpgradeOptions (line 21) | pub struct UpgradeOptions { constant MAX_VERSIONS_KEEP (line 39) | const MAX_VERSIONS_KEEP: usize = 5; function execute (line 43) | pub async fn execute(options: UpgradeOptions) -> Result Result { function test_detect_platform_suffix (line 49) | fn test_detect_platform_suffix() { FILE: crates/vite_global_cli/src/commands/upgrade/registry.rs type PackageVersionMetadata (line 13) | pub struct PackageVersionMetadata { type DistInfo (line 20) | pub struct DistInfo { type ResolvedVersion (line 27) | pub struct ResolvedVersion { constant MAIN_PACKAGE_NAME (line 33) | const MAIN_PACKAGE_NAME: &str = "vite-plus"; constant PLATFORM_PACKAGE_SCOPE (line 34) | const PLATFORM_PACKAGE_SCOPE: &str = "@voidzero-dev"; constant CLI_PACKAGE_NAME_PREFIX (line 35) | const CLI_PACKAGE_NAME_PREFIX: &str = "vite-plus-cli"; function resolve_version (line 42) | pub async fn resolve_version( function test_cli_package_name_construction (line 88) | fn test_cli_package_name_construction() { function test_all_platform_suffixes_match_published_cli_packages (line 95) | fn test_all_platform_suffixes_match_published_cli_packages() { FILE: crates/vite_global_cli/src/commands/version.rs type PackageJson (line 20) | struct PackageJson { type LocalVitePlus (line 27) | struct LocalVitePlus { type ToolSpec (line 33) | struct ToolSpec { constant TOOL_SPECS (line 39) | const TOOL_SPECS: [ToolSpec; 7] = [ constant NOT_FOUND (line 69) | const NOT_FOUND: &str = "Not found"; function read_package_json (line 71) | fn read_package_json(package_json_path: &Path) -> Option { function find_local_vite_plus (line 76) | fn find_local_vite_plus(start: &Path) -> Option { function resolve_package_json (line 92) | fn resolve_package_json(base_dir: &Path, package_name: &str) -> Option Option... function accent (line 114) | fn accent(text: &str) -> String { function print_rows (line 118) | fn print_rows(title: &str, rows: &[(&str, String)]) { function format_version (line 127) | fn format_version(version: Option) -> String { function get_node_version_info (line 134) | async fn get_node_version_info(cwd: &AbsolutePathBuf) -> Option<(String,... function detect_system_node_version (line 145) | fn detect_system_node_version() -> Option { function execute (line 163) | pub async fn execute(cwd: AbsolutePathBuf) -> Result { function symlink_dir (line 224) | fn symlink_dir(src: &Path, dst: &Path) { function format_version_values (line 229) | fn format_version_values() { function detect_system_node_version_returns_version (line 235) | fn detect_system_node_version_returns_version() { function resolves_tool_versions_from_pnpm_symlink_layout (line 245) | fn resolves_tool_versions_from_pnpm_symlink_layout() { FILE: crates/vite_global_cli/src/commands/vpx.rs type VpxFlags (line 18) | pub struct VpxFlags { constant VPX_HELP (line 30) | const VPX_HELP: &str = "\ type GlobalBinary (line 52) | struct GlobalBinary { function execute_vpx (line 61) | pub async fn execute_vpx(args: &[String], cwd: &AbsolutePath) -> i32 { function find_global_binary (line 129) | async fn find_global_binary(cmd: &str) -> Option { function execute_global_binary (line 151) | async fn execute_global_binary(bin: GlobalBinary, args: &[String], cwd: ... function find_on_path (line 187) | fn find_on_path(cmd: &str) -> Option { function prepend_node_modules_bin_to_path (line 212) | fn prepend_node_modules_bin_to_path(cwd: &AbsolutePath) { function find_local_binary (line 237) | pub fn find_local_binary(cwd: &AbsolutePath, cmd: &str) -> Option bool { function extract_command_name (line 287) | fn extract_command_name(spec: &str) -> String { function parse_vpx_args (line 309) | pub fn parse_vpx_args(args: &[String]) -> (VpxFlags, Vec) { function test_has_version_spec_simple_package (line 370) | fn test_has_version_spec_simple_package() { function test_has_version_spec_with_version (line 375) | fn test_has_version_spec_with_version() { function test_has_version_spec_with_full_version (line 380) | fn test_has_version_spec_with_full_version() { function test_has_version_spec_scoped_package_no_version (line 385) | fn test_has_version_spec_scoped_package_no_version() { function test_has_version_spec_scoped_package_with_version (line 390) | fn test_has_version_spec_scoped_package_with_version() { function test_has_version_spec_scoped_no_slash (line 395) | fn test_has_version_spec_scoped_no_slash() { function test_has_version_spec_with_tag (line 400) | fn test_has_version_spec_with_tag() { function test_extract_command_name_simple (line 409) | fn test_extract_command_name_simple() { function test_extract_command_name_with_version (line 414) | fn test_extract_command_name_with_version() { function test_extract_command_name_scoped (line 419) | fn test_extract_command_name_scoped() { function test_extract_command_name_scoped_with_version (line 424) | fn test_extract_command_name_scoped_with_version() { function test_extract_command_name_create_vue (line 429) | fn test_extract_command_name_create_vue() { function test_parse_vpx_args_simple_command (line 438) | fn test_parse_vpx_args_simple_command() { function test_parse_vpx_args_with_package_flag (line 449) | fn test_parse_vpx_args_with_package_flag() { function test_parse_vpx_args_with_long_package_flag (line 459) | fn test_parse_vpx_args_with_long_package_flag() { function test_parse_vpx_args_with_package_equals (line 467) | fn test_parse_vpx_args_with_package_equals() { function test_parse_vpx_args_multiple_packages (line 475) | fn test_parse_vpx_args_multiple_packages() { function test_parse_vpx_args_silent (line 491) | fn test_parse_vpx_args_silent() { function test_parse_vpx_args_help (line 499) | fn test_parse_vpx_args_help() { function test_parse_vpx_args_no_args (line 507) | fn test_parse_vpx_args_no_args() { function test_parse_vpx_args_unknown_flag_becomes_positional (line 518) | fn test_parse_vpx_args_unknown_flag_becomes_positional() { function test_find_local_binary_in_cwd (line 530) | fn test_find_local_binary_in_cwd() { function test_find_local_binary_walks_up (line 546) | fn test_find_local_binary_walks_up() { function test_find_local_binary_not_found (line 567) | fn test_find_local_binary_not_found() { function test_find_local_binary_prefers_nearest (line 576) | fn test_find_local_binary_prefers_nearest() { function test_find_global_binary_not_installed (line 604) | async fn test_find_global_binary_not_installed() { function create_fake_executable (line 615) | fn create_fake_executable(dir: &std::path::Path, name: &str) -> std::pat... function create_fake_executable (line 624) | fn create_fake_executable(dir: &std::path::Path, name: &str) -> std::pat... function test_find_on_path_finds_tool (line 632) | fn test_find_on_path_finds_tool() { function test_find_on_path_excludes_vp_bin_dir (line 657) | fn test_find_on_path_excludes_vp_bin_dir() { function test_prepend_node_modules_bin_to_path (line 707) | fn test_prepend_node_modules_bin_to_path() { FILE: crates/vite_global_cli/src/commands/why.rs type WhyCommand (line 13) | pub struct WhyCommand { method new (line 18) | pub fn new(cwd: AbsolutePathBuf) -> Self { method execute (line 23) | pub async fn execute( function test_why_command_new (line 71) | fn test_why_command_new() { FILE: crates/vite_global_cli/src/error.rs type Error (line 9) | pub enum Error { FILE: crates/vite_global_cli/src/help.rs type HelpDoc (line 9) | pub struct HelpDoc { type HelpSection (line 17) | pub enum HelpSection { type HelpRow (line 23) | pub struct HelpRow { type OwnedHelpDoc (line 29) | struct OwnedHelpDoc { type OwnedHelpSection (line 37) | enum OwnedHelpSection { type OwnedHelpRow (line 43) | struct OwnedHelpRow { function row (line 48) | fn row(label: &'static str, description: &'static str) -> HelpRow { function section_rows (line 52) | fn section_rows(title: &'static str, rows: Vec) -> HelpSection { function section_lines (line 56) | fn section_lines(title: &'static str, lines: Vec<&'static str>) -> HelpS... function documentation_url_for_command_path (line 60) | fn documentation_url_for_command_path(command_path: &[&str]) -> Option<&... function render_heading (line 87) | pub fn render_heading(title: &str) -> String { function render_usage_value (line 100) | fn render_usage_value(usage: &str) -> String { function should_accent_heading (line 104) | fn should_accent_heading(title: &str) -> bool { function write_documentation_footer (line 108) | fn write_documentation_footer(output: &mut String, documentation_url: &s... function should_style_help (line 113) | pub fn should_style_help() -> bool { function render_rows (line 120) | fn render_rows(rows: &[HelpRow]) -> Vec { function render_owned_rows (line 143) | fn render_owned_rows(rows: &[OwnedHelpRow]) -> Vec { function split_comment_suffix (line 166) | fn split_comment_suffix(line: &str) -> Option<(&str, &str)> { function render_muted_comment_suffix (line 170) | fn render_muted_comment_suffix(line: &str) -> String { function render_help_doc (line 182) | pub fn render_help_doc(doc: &HelpDoc) -> String { function render_owned_help_doc (line 219) | fn render_owned_help_doc(doc: &OwnedHelpDoc) -> String { function is_section_heading (line 256) | fn is_section_heading(line: &str) -> bool { function split_label_and_description (line 261) | fn split_label_and_description(content: &str) -> Option<(String, String)> { function parse_rows (line 286) | fn parse_rows(lines: &[String]) -> Vec { function strip_ansi (line 323) | fn strip_ansi(value: &str) -> String { function parse_clap_help_to_doc (line 361) | fn parse_clap_help_to_doc(raw_help: &str) -> Option { function top_level_help_doc (line 420) | pub fn top_level_help_doc() -> HelpDoc { function env_help_doc (line 494) | fn env_help_doc() -> HelpDoc { function delegated_help_doc (line 582) | fn delegated_help_doc(command: &str) -> Option { function is_help_flag (line 913) | fn is_help_flag(arg: &str) -> bool { function has_help_flag_before_terminator (line 917) | fn has_help_flag_before_terminator(args: &[String]) -> bool { function skip_clap_unified_help (line 921) | fn skip_clap_unified_help(command: &str) -> bool { function maybe_print_unified_clap_subcommand_help (line 940) | pub fn maybe_print_unified_clap_subcommand_help(argv: &[String]) -> bool { function should_print_unified_delegate_help (line 1003) | pub fn should_print_unified_delegate_help(args: &[String]) -> bool { function maybe_print_unified_delegate_help (line 1007) | pub fn maybe_print_unified_delegate_help( function print_unified_clap_help_for_path (line 1028) | pub fn print_unified_clap_help_for_path(command_path: &[&str]) -> bool { function parse_rows_supports_wrapped_option_labels (line 1068) | fn parse_rows_supports_wrapped_option_labels() { function parse_clap_help_extracts_usage_summary_and_sections (line 1084) | fn parse_clap_help_extracts_usage_summary_and_sections() { function help_flag_before_terminator_is_detected (line 1104) | fn help_flag_before_terminator_is_detected() { function help_flag_after_terminator_is_ignored (line 1110) | fn help_flag_after_terminator_is_ignored() { function strip_ansi_removes_csi_sequences (line 1116) | fn strip_ansi_removes_csi_sequences() { function parse_clap_help_with_ansi_sequences (line 1122) | fn parse_clap_help_with_ansi_sequences() { function split_comment_suffix_extracts_command_comment (line 1142) | fn split_comment_suffix_extracts_command_comment() { function split_comment_suffix_returns_none_without_comment (line 1150) | fn split_comment_suffix_returns_none_without_comment() { function docs_url_is_mapped_for_grouped_commands (line 1155) | fn docs_url_is_mapped_for_grouped_commands() { function render_help_doc_appends_documentation_footer (line 1171) | fn render_help_doc_appends_documentation_footer() { FILE: crates/vite_global_cli/src/js_executor.rs type JsExecutor (line 23) | pub struct JsExecutor { method new (line 39) | pub const fn new(scripts_dir: Option) -> Self { method get_scripts_dir (line 49) | pub fn get_scripts_dir(&self) -> Result { method get_bin_path (line 79) | fn get_bin_path() -> Result { method create_js_command (line 89) | fn create_js_command( method get_cli_package_dir (line 115) | fn get_cli_package_dir(&self) -> Result { method ensure_cli_runtime (line 128) | pub async fn ensure_cli_runtime(&mut self) -> Result<&JsRuntime, Error> { method ensure_project_runtime (line 147) | pub async fn ensure_project_runtime( method download_node (line 196) | pub async fn download_node(&self, version: &str) -> Result Option) -> Vec { type InvalidSubcommandDetails (line 64) | struct InvalidSubcommandDetails { function extract_invalid_subcommand_details (line 69) | fn extract_invalid_subcommand_details(error: &clap::Error) -> Option bool { function should_prompt_for_correction (line 98) | fn should_prompt_for_correction() -> bool { function prompt_to_run_suggested_command (line 102) | fn prompt_to_run_suggested_command(suggestion: &str) -> bool { function read_confirmation_input (line 121) | fn read_confirmation_input() -> Option { function replace_top_level_typoed_subcommand (line 127) | fn replace_top_level_typoed_subcommand( function exit_status_to_exit_code (line 142) | fn exit_status_to_exit_code(exit_status: ExitStatus) -> ExitCode { function run_corrected_args (line 151) | async fn run_corrected_args(cwd: &vite_path::AbsolutePathBuf, raw_args: ... function extract_unknown_argument (line 178) | fn extract_unknown_argument(error: &clap::Error) -> Option { function has_pass_as_value_suggestion (line 185) | fn has_pass_as_value_suggestion(error: &clap::Error) -> bool { function print_unknown_argument_error (line 203) | fn print_unknown_argument_error(error: &clap::Error) -> bool { function main (line 226) | async fn main() -> ExitCode { function unknown_argument_detected_without_pass_as_value_hint (line 377) | fn unknown_argument_detected_without_pass_as_value_hint() { function unknown_argument_detected_with_pass_as_value_hint (line 386) | fn unknown_argument_detected_with_pass_as_value_hint() { function affirmative_response_detection (line 400) | fn affirmative_response_detection() { function replace_top_level_typoed_subcommand_preserves_trailing_args (line 410) | fn replace_top_level_typoed_subcommand_preserves_trailing_args() { function replace_top_level_typoed_subcommand_skips_nested_subcommands (line 418) | fn replace_top_level_typoed_subcommand_skips_nested_subcommands() { FILE: crates/vite_global_cli/src/shim/cache.rs constant CACHE_VERSION (line 16) | const CACHE_VERSION: u32 = 2; constant DEFAULT_MAX_ENTRIES (line 19) | const DEFAULT_MAX_ENTRIES: usize = 4096; type ResolveCacheEntry (line 23) | pub struct ResolveCacheEntry { type ResolveCache (line 44) | pub struct ResolveCache { method load (line 59) | pub fn load(cache_path: &AbsolutePath) -> Self { method save (line 80) | pub fn save(&self, cache_path: &AbsolutePath) { method get (line 92) | pub fn get(&self, cwd: &AbsolutePath) -> Option<&ResolveCacheEntry> { method insert (line 105) | pub fn insert(&mut self, cwd: &AbsolutePath, entry: ResolveCacheEntry) { method is_entry_valid (line 124) | fn is_entry_valid(&self, entry: &ResolveCacheEntry) -> bool { method evict_oldest (line 173) | fn evict_oldest(&mut self) { method default (line 52) | fn default() -> Self { function get_cache_path (line 186) | pub fn get_cache_path() -> Option { function invalidate_cache (line 193) | pub fn invalidate_cache() { function get_file_mtime (line 200) | pub fn get_file_mtime(path: &AbsolutePath) -> Option { function now_timestamp (line 207) | pub fn now_timestamp() -> u64 { function test_range_version_cache_should_expire_after_ttl (line 218) | fn test_range_version_cache_should_expire_after_ttl() { function test_exact_version_cache_uses_mtime_validation (line 271) | fn test_exact_version_cache_uses_mtime_validation() { function test_range_cache_valid_within_ttl (line 311) | fn test_range_cache_valid_within_ttl() { function test_invalidate_cache_removes_file (line 350) | fn test_invalidate_cache_removes_file() { FILE: crates/vite_global_cli/src/shim/dispatch.rs constant RECURSION_ENV_VAR (line 26) | const RECURSION_ENV_VAR: &str = env_vars::VITE_PLUS_TOOL_RECURSION; constant PACKAGE_MANAGER_TOOLS (line 30) | const PACKAGE_MANAGER_TOOLS: &[&str] = &["pnpm", "yarn"]; function is_package_manager_tool (line 32) | fn is_package_manager_tool(tool: &str) -> bool { type NpmGlobalCommand (line 37) | struct NpmGlobalCommand { constant NPM_VALUE_FLAGS (line 46) | const NPM_VALUE_FLAGS: &[&str] = &["--registry", "--tag", "--cache", "--... constant NPM_INSTALL_SUBCOMMANDS (line 49) | const NPM_INSTALL_SUBCOMMANDS: &[&str] = &["install", "i", "add"]; constant NPM_UNINSTALL_SUBCOMMANDS (line 52) | const NPM_UNINSTALL_SUBCOMMANDS: &[&str] = &["uninstall", "un", "remove"... function parse_npm_global_command (line 56) | fn parse_npm_global_command(args: &[String], subcommands: &[&str]) -> Op... function parse_npm_global_install (line 127) | fn parse_npm_global_install(args: &[String]) -> Option { function parse_npm_global_uninstall (line 135) | fn parse_npm_global_uninstall(args: &[String]) -> Option bool { function resolve_package_name (line 157) | fn resolve_package_name(spec: &str) -> Option { function get_npm_global_prefix (line 187) | fn get_npm_global_prefix(npm_path: &AbsolutePath, node_dir: &AbsolutePat... function check_npm_global_install_result (line 217) | fn check_npm_global_install_result( function extract_bin_names (line 378) | fn extract_bin_names(package_json: &serde_json::Value) -> Vec { function extract_bin_path (line 403) | fn extract_bin_path(package_json: &serde_json::Value, bin_name: &str) ->... function create_bin_link (line 419) | fn create_bin_link( function dedup_missing_bins (line 486) | fn dedup_missing_bins( function remove_npm_global_uninstall_links (line 510) | fn remove_npm_global_uninstall_links(bin_entries: &[(String, String)], n... function read_npm_package_json (line 599) | fn read_npm_package_json( function collect_bin_names_from_npm (line 616) | fn collect_bin_names_from_npm( function resolve_npm_prefix (line 644) | fn resolve_npm_prefix( function dispatch (line 661) | pub async fn dispatch(tool: &str, args: &[String]) -> i32 { function dispatch_package_binary (line 832) | async fn dispatch_package_binary(tool: &str, args: &[String]) -> i32 { function find_package_for_binary (line 914) | pub(crate) async fn find_package_for_binary( function locate_package_binary (line 927) | pub(crate) fn locate_package_binary( function bypass_to_system (line 985) | fn bypass_to_system(tool: &str, args: &[String]) -> i32 { function passthrough_to_system (line 1000) | fn passthrough_to_system(tool: &str, args: &[String]) -> i32 { function resolve_with_cache (line 1011) | async fn resolve_with_cache(cwd: &AbsolutePathBuf) -> Result Result<(), String> { function locate_tool (line 1114) | pub(crate) fn locate_tool(version: &str, tool: &str) -> Result ShimMode { function find_system_tool (line 1150) | fn find_system_tool(tool: &str) -> Option { function create_fake_executable (line 1190) | fn create_fake_executable(dir: &std::path::Path, name: &str) -> std::pat... function create_fake_executable (line 1199) | fn create_fake_executable(dir: &std::path::Path, name: &str) -> std::pat... type EnvGuard (line 1206) | struct EnvGuard { method new (line 1212) | fn new() -> Self { method drop (line 1221) | fn drop(&mut self) { function test_find_system_tool_works_without_bypass (line 1237) | fn test_find_system_tool_works_without_bypass() { function test_find_system_tool_skips_single_bypass_path (line 1257) | fn test_find_system_tool_skips_single_bypass_path() { function test_find_system_tool_filters_multiple_bypass_paths (line 1285) | fn test_find_system_tool_filters_multiple_bypass_paths() { function test_find_system_tool_returns_none_when_all_paths_bypassed (line 1318) | fn test_find_system_tool_returns_none_when_all_paths_bypassed() { function test_find_system_tool_cumulative_bypass_prevents_loop (line 1341) | fn test_find_system_tool_cumulative_bypass_prevents_loop() { function test_find_system_tool_returns_none_with_no_real_system_tool (line 1386) | fn test_find_system_tool_returns_none_with_no_real_system_tool() { function s (line 1416) | fn s(strs: &[&str]) -> Vec { function test_parse_npm_global_install_basic (line 1421) | fn test_parse_npm_global_install_basic() { function test_parse_npm_global_install_shorthand (line 1428) | fn test_parse_npm_global_install_shorthand() { function test_parse_npm_global_install_global_first (line 1435) | fn test_parse_npm_global_install_global_first() { function test_parse_npm_global_install_long_global (line 1442) | fn test_parse_npm_global_install_long_global() { function test_parse_npm_global_install_not_uninstall (line 1449) | fn test_parse_npm_global_install_not_uninstall() { function test_parse_npm_global_install_no_global_flag (line 1455) | fn test_parse_npm_global_install_no_global_flag() { function test_parse_npm_global_install_no_packages (line 1461) | fn test_parse_npm_global_install_no_packages() { function test_parse_npm_global_install_local_path (line 1467) | fn test_parse_npm_global_install_local_path() { function test_parse_npm_global_install_skip_registry (line 1475) | fn test_parse_npm_global_install_skip_registry() { function test_parse_npm_global_install_not_run_subcommand (line 1483) | fn test_parse_npm_global_install_not_run_subcommand() { function test_parse_npm_global_install_git_url (line 1489) | fn test_parse_npm_global_install_git_url() { function test_parse_npm_global_install_url (line 1495) | fn test_parse_npm_global_install_url() { function test_parse_npm_global_uninstall_basic (line 1504) | fn test_parse_npm_global_uninstall_basic() { function test_parse_npm_global_uninstall_shorthand_un (line 1511) | fn test_parse_npm_global_uninstall_shorthand_un() { function test_parse_npm_global_uninstall_shorthand_rm (line 1518) | fn test_parse_npm_global_uninstall_shorthand_rm() { function test_parse_npm_global_uninstall_remove (line 1525) | fn test_parse_npm_global_uninstall_remove() { function test_parse_npm_global_uninstall_not_install (line 1532) | fn test_parse_npm_global_uninstall_not_install() { function test_parse_npm_global_uninstall_no_global_flag (line 1538) | fn test_parse_npm_global_uninstall_no_global_flag() { function test_parse_npm_global_uninstall_no_packages (line 1544) | fn test_parse_npm_global_uninstall_no_packages() { function test_parse_npm_global_install_run_subcommand_with_install_arg (line 1550) | fn test_parse_npm_global_install_run_subcommand_with_install_arg() { function test_parse_npm_global_uninstall_run_subcommand_with_uninstall_arg (line 1557) | fn test_parse_npm_global_uninstall_run_subcommand_with_uninstall_arg() { function test_parse_npm_global_install_flag_before_subcommand (line 1564) | fn test_parse_npm_global_install_flag_before_subcommand() { function test_resolve_package_name_simple (line 1574) | fn test_resolve_package_name_simple() { function test_resolve_package_name_with_version (line 1579) | fn test_resolve_package_name_with_version() { function test_resolve_package_name_scoped (line 1584) | fn test_resolve_package_name_scoped() { function test_resolve_package_name_scoped_with_version (line 1589) | fn test_resolve_package_name_scoped_with_version() { function test_resolve_package_name_local_path_with_package_json (line 1594) | fn test_resolve_package_name_local_path_with_package_json() { function test_resolve_package_name_local_path_no_package_json (line 1606) | fn test_resolve_package_name_local_path_no_package_json() { function test_extract_bin_names_single (line 1613) | fn test_extract_bin_names_single() { function test_extract_bin_names_scoped_single (line 1620) | fn test_extract_bin_names_scoped_single() { function test_extract_bin_names_object (line 1627) | fn test_extract_bin_names_object() { function test_extract_bin_names_no_bin (line 1638) | fn test_extract_bin_names_no_bin() { function test_is_local_path_bare_dot (line 1646) | fn test_is_local_path_bare_dot() { function test_is_local_path_bare_dotdot (line 1651) | fn test_is_local_path_bare_dotdot() { function test_is_local_path_relative_dot (line 1656) | fn test_is_local_path_relative_dot() { function test_is_local_path_absolute (line 1662) | fn test_is_local_path_absolute() { function test_is_local_path_package_name (line 1667) | fn test_is_local_path_package_name() { function test_is_local_path_windows_drive (line 1675) | fn test_is_local_path_windows_drive() { function test_dedup_missing_bins_keeps_last_entry (line 1684) | fn test_dedup_missing_bins_keeps_last_entry() { function test_dedup_missing_bins_preserves_unique_entries (line 1707) | fn test_dedup_missing_bins_preserves_unique_entries() { function test_dedup_missing_bins_multiple_dupes (line 1725) | fn test_dedup_missing_bins_multiple_dupes() { function test_parse_npm_global_install_with_prefix (line 1751) | fn test_parse_npm_global_install_with_prefix() { function test_parse_npm_global_install_with_prefix_equals (line 1761) | fn test_parse_npm_global_install_with_prefix_equals() { function test_parse_npm_global_install_without_prefix (line 1770) | fn test_parse_npm_global_install_without_prefix() { function test_parse_npm_global_uninstall_with_prefix (line 1779) | fn test_parse_npm_global_uninstall_with_prefix() { function test_resolve_npm_prefix_relative (line 1792) | fn test_resolve_npm_prefix_relative() { function test_resolve_npm_prefix_absolute (line 1818) | fn test_resolve_npm_prefix_absolute() { function test_resolve_npm_prefix_none_fallback (line 1837) | fn test_resolve_npm_prefix_none_fallback() { FILE: crates/vite_global_cli/src/shim/exec.rs function exit_code_from_status (line 11) | fn exit_code_from_status(status: std::process::ExitStatus) -> i32 { function spawn_tool (line 26) | pub fn spawn_tool(path: &AbsolutePath, args: &[String]) -> i32 { function exec_tool (line 39) | pub fn exec_tool(path: &AbsolutePath, args: &[String]) -> i32 { function exec_unix (line 53) | fn exec_unix(path: &AbsolutePath, args: &[String]) -> i32 { function exec_windows (line 67) | fn exec_windows(path: &AbsolutePath, args: &[String]) -> i32 { function test_exit_code_from_status_normal (line 77) | fn test_exit_code_from_status_normal() { function test_exit_code_from_status_normal (line 85) | fn test_exit_code_from_status_normal() { function test_exit_code_from_status_signal (line 92) | fn test_exit_code_from_status_signal() { FILE: crates/vite_global_cli/src/shim/mod.rs constant CORE_SHIM_TOOLS (line 20) | pub const CORE_SHIM_TOOLS: &[&str] = &["node", "npm", "npx"]; function extract_tool_name (line 29) | pub fn extract_tool_name(argv0: &str) -> String { function is_core_shim_tool (line 40) | pub fn is_core_shim_tool(tool: &str) -> bool { function is_shim_tool (line 50) | pub fn is_shim_tool(tool: &str) -> bool { function is_potential_package_binary (line 73) | fn is_potential_package_binary(tool: &str) -> bool { constant SHIM_TOOL_ENV_VAR (line 102) | const SHIM_TOOL_ENV_VAR: &str = env_vars::VITE_PLUS_SHIM_TOOL; function detect_shim_tool (line 113) | pub fn detect_shim_tool(argv0: &str) -> Option { function test_extract_tool_name (line 153) | fn test_extract_tool_name() { function test_is_shim_tool (line 173) | fn test_is_shim_tool() { function test_is_potential_package_binary_checks_configured_bin (line 196) | fn test_is_potential_package_binary_checks_configured_bin() { function test_detect_shim_tool_vpx (line 208) | fn test_detect_shim_tool_vpx() { FILE: crates/vite_global_cli/src/tips/mod.rs type TipContext (line 14) | pub struct TipContext { method success (line 32) | pub fn success(&self) -> bool { method is_unknown_command_error (line 36) | pub fn is_unknown_command_error(&self) -> bool { method positionals (line 45) | fn positionals(&self) -> impl Iterator { method subcommand (line 50) | pub fn subcommand(&self) -> Option<&str> { method is_subcommand (line 57) | pub fn is_subcommand(&self, pattern: &str) -> bool { method default (line 24) | fn default() -> Self { type Tip (line 64) | pub trait Tip { method matches (line 66) | fn matches(&self, ctx: &TipContext) -> bool; method message (line 68) | fn message(&self) -> &'static str; function all (line 72) | fn all() -> &'static [&'static dyn Tip] { function get_tip (line 81) | pub fn get_tip(context: &TipContext) -> Option<&'static str> { function tip_context_from_command (line 107) | pub fn tip_context_from_command(command: &str) -> TipContext { FILE: crates/vite_global_cli/src/tips/short_aliases.rs constant LONG_FORMS (line 6) | const LONG_FORMS: &[&str] = &["install", "remove", "uninstall", "update"... type ShortAliases (line 9) | pub struct ShortAliases; method matches (line 12) | fn matches(&self, ctx: &TipContext) -> bool { method message (line 16) | fn message(&self) -> &'static str { function matches_long_form_commands (line 27) | fn matches_long_form_commands() { function does_not_match_short_form_commands (line 35) | fn does_not_match_short_form_commands() { function does_not_match_other_commands (line 44) | fn does_not_match_other_commands() { function install_shows_short_alias_tip (line 53) | fn install_shows_short_alias_tip() { function short_form_does_not_show_tip (line 59) | fn short_form_does_not_show_tip() { FILE: crates/vite_global_cli/src/tips/use_vpx_or_run.rs type UseVpxOrRun (line 6) | pub struct UseVpxOrRun; method matches (line 9) | fn matches(&self, ctx: &TipContext) -> bool { method message (line 13) | fn message(&self) -> &'static str { function matches_on_unknown_command (line 24) | fn matches_on_unknown_command() { function does_not_match_on_known_command (line 31) | fn does_not_match_on_known_command() { FILE: crates/vite_install/src/commands/add.rs type SaveDependencyType (line 13) | pub enum SaveDependencyType { type AddCommandOptions (line 26) | pub struct AddCommandOptions<'a> { method run_add_command (line 43) | pub async fn run_add_command( method resolve_add_command (line 55) | pub fn resolve_add_command(&self, options: &AddCommandOptions) -> Resolv... function create_temp_dir (line 217) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 221) | fn create_mock_package_manager(pm_type: PackageManagerType) -> PackageMa... function test_pnpm_basic_add (line 239) | fn test_pnpm_basic_add() { function test_pnpm_add_with_filter (line 258) | fn test_pnpm_add_with_filter() { function test_pnpm_add_with_save_catalog_name (line 277) | fn test_pnpm_add_with_save_catalog_name() { function test_pnpm_add_with_save_catalog_name_and_empty_name (line 299) | fn test_pnpm_add_with_save_catalog_name_and_empty_name() { function test_pnpm_add_with_filter_and_workspace_root (line 318) | fn test_pnpm_add_with_filter_and_workspace_root() { function test_pnpm_add_workspace_root (line 337) | fn test_pnpm_add_workspace_root() { function test_pnpm_add_workspace_only (line 356) | fn test_pnpm_add_workspace_only() { function test_yarn_basic_add (line 375) | fn test_yarn_basic_add() { function test_yarn_add_with_workspace (line 394) | fn test_yarn_add_with_workspace() { function test_yarn_add_workspace_root (line 416) | fn test_yarn_add_workspace_root() { function test_npm_basic_add (line 435) | fn test_npm_basic_add() { function test_npm_add_with_workspace (line 454) | fn test_npm_add_with_workspace() { function test_npm_add_workspace_root (line 473) | fn test_npm_add_workspace_root() { function test_npm_add_multiple_workspaces (line 492) | fn test_npm_add_multiple_workspaces() { function test_npm_add_multiple_workspaces_and_workspace_root (line 514) | fn test_npm_add_multiple_workspaces_and_workspace_root() { function test_pnpm_add_with_allow_build (line 544) | fn test_pnpm_add_with_allow_build() { FILE: crates/vite_install/src/commands/audit.rs type AuditCommandOptions (line 14) | pub struct AuditCommandOptions<'a> { method run_audit_command (line 26) | pub async fn run_audit_command( method resolve_audit_command (line 41) | pub fn resolve_audit_command( function create_temp_dir (line 164) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 168) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_npm_audit (line 186) | fn test_npm_audit() { function test_npm_audit_fix (line 202) | fn test_npm_audit_fix() { function test_pnpm_audit_fix (line 218) | fn test_pnpm_audit_fix() { function test_yarn1_audit (line 234) | fn test_yarn1_audit() { function test_yarn1_audit_fix_not_supported (line 250) | fn test_yarn1_audit_fix_not_supported() { function test_yarn2_audit (line 263) | fn test_yarn2_audit() { function test_yarn2_audit_fix_not_supported (line 279) | fn test_yarn2_audit_fix_not_supported() { function test_audit_with_level_npm (line 292) | fn test_audit_with_level_npm() { function test_audit_with_level_yarn1 (line 308) | fn test_audit_with_level_yarn1() { function test_audit_with_level_yarn2 (line 324) | fn test_audit_with_level_yarn2() { FILE: crates/vite_install/src/commands/cache.rs type CacheCommandOptions (line 14) | pub struct CacheCommandOptions<'a> { method run_cache_command (line 23) | pub async fn run_cache_command( method resolve_cache_command (line 39) | pub fn resolve_cache_command( function create_temp_dir (line 139) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 143) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_cache_dir (line 161) | fn test_pnpm_cache_dir() { function test_npm_cache_dir (line 174) | fn test_npm_cache_dir() { function test_yarn1_cache_dir (line 187) | fn test_yarn1_cache_dir() { function test_yarn2_cache_dir (line 200) | fn test_yarn2_cache_dir() { function test_pnpm_cache_clean (line 213) | fn test_pnpm_cache_clean() { function test_npm_cache_clean (line 226) | fn test_npm_cache_clean() { function test_yarn1_cache_clean (line 239) | fn test_yarn1_cache_clean() { function test_yarn2_cache_clean (line 252) | fn test_yarn2_cache_clean() { FILE: crates/vite_install/src/commands/config.rs type ConfigCommandOptions (line 14) | pub struct ConfigCommandOptions<'a> { method run_config_command (line 26) | pub async fn run_config_command( method resolve_config_command (line 38) | pub fn resolve_config_command(&self, options: &ConfigCommandOptions) -> ... function create_temp_dir (line 149) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 153) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_config_set (line 171) | fn test_pnpm_config_set() { function test_npm_config_set (line 186) | fn test_npm_config_set() { function test_config_set_with_json (line 201) | fn test_config_set_with_json() { function test_config_set_with_location_global (line 219) | fn test_config_set_with_location_global() { function test_yarn2_config_set_location_global (line 237) | fn test_yarn2_config_set_location_global() { function test_yarn1_config_set (line 255) | fn test_yarn1_config_set() { function test_pnpm_config_set_global (line 270) | fn test_pnpm_config_set_global() { function test_npm_config_set_global (line 288) | fn test_npm_config_set_global() { function test_yarn1_config_set_global (line 306) | fn test_yarn1_config_set_global() { function test_pnpm_config_get (line 324) | fn test_pnpm_config_get() { function test_npm_config_delete (line 339) | fn test_npm_config_delete() { function test_yarn2_config_delete (line 354) | fn test_yarn2_config_delete() { function test_yarn2_config_list (line 369) | fn test_yarn2_config_list() { FILE: crates/vite_install/src/commands/dedupe.rs type DedupeCommandOptions (line 13) | pub struct DedupeCommandOptions<'a> { method run_dedupe_command (line 22) | pub async fn run_dedupe_command( method resolve_dedupe_command (line 34) | pub fn resolve_dedupe_command(&self, options: &DedupeCommandOptions) -> ... function create_temp_dir (line 85) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 89) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_dedupe_basic (line 107) | fn test_pnpm_dedupe_basic() { function test_pnpm_dedupe_check (line 115) | fn test_pnpm_dedupe_check() { function test_npm_dedupe_basic (line 124) | fn test_npm_dedupe_basic() { function test_npm_dedupe_check (line 132) | fn test_npm_dedupe_check() { function test_yarn_dedupe_basic (line 141) | fn test_yarn_dedupe_basic() { function test_yarn_dedupe_check (line 149) | fn test_yarn_dedupe_check() { FILE: crates/vite_install/src/commands/deprecate.rs type DeprecateCommandOptions (line 11) | pub struct DeprecateCommandOptions<'a> { method run_deprecate_command (line 22) | pub async fn run_deprecate_command( method resolve_deprecate_command (line 35) | pub fn resolve_deprecate_command( function create_temp_dir (line 75) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 79) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_deprecate_basic (line 97) | fn test_deprecate_basic() { function test_deprecate_with_otp (line 114) | fn test_deprecate_with_otp() { function test_deprecate_with_registry (line 131) | fn test_deprecate_with_registry() { FILE: crates/vite_install/src/commands/dist_tag.rs type DistTagSubcommand (line 13) | pub enum DistTagSubcommand { type DistTagCommandOptions (line 21) | pub struct DistTagCommandOptions<'a> { method run_dist_tag_command (line 29) | pub async fn run_dist_tag_command( method resolve_dist_tag_command (line 42) | pub fn resolve_dist_tag_command( function create_temp_dir (line 105) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 109) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_npm_dist_tag_list (line 127) | fn test_npm_dist_tag_list() { function test_pnpm_dist_tag_list (line 138) | fn test_pnpm_dist_tag_list() { function test_yarn1_dist_tag_list (line 149) | fn test_yarn1_dist_tag_list() { function test_yarn2_dist_tag_list (line 160) | fn test_yarn2_dist_tag_list() { function test_dist_tag_add (line 171) | fn test_dist_tag_add() { function test_dist_tag_rm (line 185) | fn test_dist_tag_rm() { FILE: crates/vite_install/src/commands/dlx.rs type DlxCommandOptions (line 14) | pub struct DlxCommandOptions<'a> { method run_dlx_command (line 29) | pub async fn run_dlx_command( method resolve_dlx_command (line 41) | pub fn resolve_dlx_command(&self, options: &DlxCommandOptions) -> Resolv... method resolve_pnpm_dlx (line 58) | fn resolve_pnpm_dlx( method resolve_npm_dlx (line 92) | fn resolve_npm_dlx( method resolve_yarn_dlx (line 148) | fn resolve_yarn_dlx( method resolve_npx_fallback (line 180) | fn resolve_npx_fallback( function build_npx_args (line 196) | pub fn build_npx_args(options: &DlxCommandOptions<'_>) -> Vec { function build_shell_command (line 227) | fn build_shell_command(package_spec: &str, args: &[String]) -> String { function extract_command_from_spec (line 242) | fn extract_command_from_spec(spec: &str) -> String { function create_temp_dir (line 272) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 276) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_extract_command_from_spec (line 294) | fn test_extract_command_from_spec() { function test_pnpm_dlx_basic (line 305) | fn test_pnpm_dlx_basic() { function test_pnpm_dlx_with_version (line 320) | fn test_pnpm_dlx_with_version() { function test_pnpm_dlx_with_packages (line 335) | fn test_pnpm_dlx_with_packages() { function test_pnpm_dlx_with_shell_mode (line 353) | fn test_pnpm_dlx_with_shell_mode() { function test_pnpm_dlx_with_silent (line 369) | fn test_pnpm_dlx_with_silent() { function test_npm_exec_basic (line 384) | fn test_npm_exec_basic() { function test_npm_exec_with_version (line 400) | fn test_npm_exec_with_version() { function test_npm_exec_with_packages (line 427) | fn test_npm_exec_with_packages() { function test_npm_exec_with_silent (line 455) | fn test_npm_exec_with_silent() { function test_npm_exec_shell_mode_places_command_after_flag (line 473) | fn test_npm_exec_shell_mode_places_command_after_flag() { function test_npm_exec_shell_mode_with_additional_args (line 497) | fn test_npm_exec_shell_mode_with_additional_args() { function test_npm_exec_scoped_package_with_version (line 514) | fn test_npm_exec_scoped_package_with_version() { function test_npm_exec_scoped_package_without_version (line 534) | fn test_npm_exec_scoped_package_without_version() { function test_npm_exec_version_requires_package_flag_and_extracted_command (line 555) | fn test_npm_exec_version_requires_package_flag_and_extracted_command() { function test_yarn_v1_fallback_to_npx (line 580) | fn test_yarn_v1_fallback_to_npx() { function test_yarn_v1_fallback_with_packages (line 596) | fn test_yarn_v1_fallback_with_packages() { function test_yarn_v1_fallback_shell_mode_places_command_after_flag (line 612) | fn test_yarn_v1_fallback_shell_mode_places_command_after_flag() { function test_yarn_v2_dlx_basic (line 629) | fn test_yarn_v2_dlx_basic() { function test_yarn_v2_dlx_with_packages (line 644) | fn test_yarn_v2_dlx_with_packages() { function test_yarn_v2_dlx_with_quiet (line 659) | fn test_yarn_v2_dlx_with_quiet() { function test_yarn_v3_dlx (line 674) | fn test_yarn_v3_dlx() { function test_yarn_v2_dlx_with_version (line 689) | fn test_yarn_v2_dlx_with_version() { FILE: crates/vite_install/src/commands/fund.rs type FundCommandOptions (line 11) | pub struct FundCommandOptions<'a> { method run_fund_command (line 19) | pub async fn run_fund_command( method resolve_fund_command (line 32) | pub fn resolve_fund_command(&self, options: &FundCommandOptions) -> Reso... function create_temp_dir (line 61) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 65) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_fund_basic (line 83) | fn test_fund_basic() { function test_fund_with_json (line 92) | fn test_fund_with_json() { FILE: crates/vite_install/src/commands/install.rs type InstallCommandOptions (line 14) | pub struct InstallCommandOptions<'a> { method run_install_command (line 57) | pub async fn run_install_command( method resolve_install_command_with_options (line 69) | pub fn resolve_install_command_with_options( method resolve_install_command (line 301) | pub fn resolve_install_command(&self, args: &Vec) -> ResolveComm... method is_yarn_berry (line 313) | fn is_yarn_berry(&self) -> bool { function create_temp_dir (line 326) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 330) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_basic_install (line 348) | fn test_pnpm_basic_install() { function test_pnpm_prod_install (line 356) | fn test_pnpm_prod_install() { function test_pnpm_frozen_lockfile (line 366) | fn test_pnpm_frozen_lockfile() { function test_pnpm_filter (line 376) | fn test_pnpm_filter() { function test_pnpm_fix_lockfile (line 387) | fn test_pnpm_fix_lockfile() { function test_pnpm_resolution_only (line 397) | fn test_pnpm_resolution_only() { function test_pnpm_shamefully_hoist (line 407) | fn test_pnpm_shamefully_hoist() { function test_npm_basic_install (line 417) | fn test_npm_basic_install() { function test_npm_frozen_lockfile_uses_ci (line 425) | fn test_npm_frozen_lockfile_uses_ci() { function test_npm_prod_install (line 435) | fn test_npm_prod_install() { function test_npm_filter (line 445) | fn test_npm_filter() { function test_yarn_classic_basic_install (line 456) | fn test_yarn_classic_basic_install() { function test_yarn_classic_frozen_lockfile (line 464) | fn test_yarn_classic_frozen_lockfile() { function test_yarn_classic_prod_install (line 474) | fn test_yarn_classic_prod_install() { function test_yarn_berry_basic_install (line 484) | fn test_yarn_berry_basic_install() { function test_yarn_berry_frozen_lockfile (line 492) | fn test_yarn_berry_frozen_lockfile() { function test_yarn_berry_fix_lockfile (line 502) | fn test_yarn_berry_fix_lockfile() { function test_yarn_berry_ignore_scripts (line 512) | fn test_yarn_berry_ignore_scripts() { function test_yarn_berry_lockfile_only_takes_priority_over_ignore_scripts (line 522) | fn test_yarn_berry_lockfile_only_takes_priority_over_ignore_scripts() { function test_yarn_berry_filter (line 535) | fn test_yarn_berry_filter() { function test_pnpm_all_options (line 546) | fn test_pnpm_all_options() { function test_pnpm_silent (line 577) | fn test_pnpm_silent() { function test_yarn_classic_silent (line 587) | fn test_yarn_classic_silent() { function test_npm_silent (line 597) | fn test_npm_silent() { function test_pnpm_no_frozen_lockfile (line 607) | fn test_pnpm_no_frozen_lockfile() { function test_pnpm_no_frozen_lockfile_overrides_frozen_lockfile (line 617) | fn test_pnpm_no_frozen_lockfile_overrides_frozen_lockfile() { function test_yarn_classic_no_frozen_lockfile (line 629) | fn test_yarn_classic_no_frozen_lockfile() { function test_yarn_classic_no_frozen_lockfile_overrides_frozen_lockfile (line 639) | fn test_yarn_classic_no_frozen_lockfile_overrides_frozen_lockfile() { function test_yarn_berry_no_frozen_lockfile (line 650) | fn test_yarn_berry_no_frozen_lockfile() { function test_yarn_berry_no_frozen_lockfile_overrides_frozen_lockfile (line 660) | fn test_yarn_berry_no_frozen_lockfile_overrides_frozen_lockfile() { function test_npm_no_frozen_lockfile_uses_install (line 671) | fn test_npm_no_frozen_lockfile_uses_install() { function test_npm_no_frozen_lockfile_overrides_frozen_lockfile (line 682) | fn test_npm_no_frozen_lockfile_overrides_frozen_lockfile() { FILE: crates/vite_install/src/commands/link.rs type LinkCommandOptions (line 13) | pub struct LinkCommandOptions<'a> { method run_link_command (line 22) | pub async fn run_link_command( method resolve_link_command (line 34) | pub fn resolve_link_command(&self, options: &LinkCommandOptions) -> Reso... function create_temp_dir (line 76) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 80) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_link_no_package (line 98) | fn test_pnpm_link_no_package() { function test_pnpm_link_package (line 106) | fn test_pnpm_link_package() { function test_pnpm_link_directory (line 117) | fn test_pnpm_link_directory() { function test_pnpm_link_absolute_directory (line 128) | fn test_pnpm_link_absolute_directory() { function test_yarn_link_basic (line 139) | fn test_yarn_link_basic() { function test_yarn_link_package (line 147) | fn test_yarn_link_package() { function test_npm_link_basic (line 158) | fn test_npm_link_basic() { function test_npm_link_package (line 166) | fn test_npm_link_package() { FILE: crates/vite_install/src/commands/list.rs type ListCommandOptions (line 14) | pub struct ListCommandOptions<'a> { method run_list_command (line 36) | pub async fn run_list_command( method resolve_list_command (line 52) | pub fn resolve_list_command( method format_npm_list_args (line 211) | fn format_npm_list_args(args: &mut Vec, options: &ListCommandOpt... function create_temp_dir (line 287) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 291) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_list_basic (line 309) | fn test_pnpm_list_basic() { function test_pnpm_list_recursive (line 319) | fn test_pnpm_list_recursive() { function test_npm_list_basic (line 330) | fn test_npm_list_basic() { function test_npm_list_recursive (line 340) | fn test_npm_list_recursive() { function test_yarn1_list_basic (line 351) | fn test_yarn1_list_basic() { function test_yarn1_list_recursive_ignored (line 361) | fn test_yarn1_list_recursive_ignored() { function test_yarn2_list_not_supported (line 372) | fn test_yarn2_list_not_supported() { function test_pnpm_list_global_uses_npm (line 379) | fn test_pnpm_list_global_uses_npm() { function test_npm_list_global (line 390) | fn test_npm_list_global() { function test_yarn1_list_global_uses_npm (line 401) | fn test_yarn1_list_global_uses_npm() { function test_global_list_with_depth (line 412) | fn test_global_list_with_depth() { function test_pnpm_list_with_filter (line 426) | fn test_pnpm_list_with_filter() { function test_pnpm_list_with_multiple_filters (line 440) | fn test_pnpm_list_with_multiple_filters() { function test_npm_list_with_filter (line 454) | fn test_npm_list_with_filter() { function test_yarn1_list_with_filter_ignored (line 468) | fn test_yarn1_list_with_filter_ignored() { function test_pnpm_list_prod (line 482) | fn test_pnpm_list_prod() { function test_npm_list_prod (line 493) | fn test_npm_list_prod() { function test_yarn1_list_prod_ignored (line 504) | fn test_yarn1_list_prod_ignored() { function test_pnpm_list_dev (line 515) | fn test_pnpm_list_dev() { function test_npm_list_dev (line 526) | fn test_npm_list_dev() { function test_yarn1_list_dev_ignored (line 537) | fn test_yarn1_list_dev_ignored() { function test_pnpm_list_no_optional (line 548) | fn test_pnpm_list_no_optional() { function test_npm_list_no_optional (line 559) | fn test_npm_list_no_optional() { function test_yarn1_list_no_optional_ignored (line 570) | fn test_yarn1_list_no_optional_ignored() { function test_pnpm_list_only_projects (line 581) | fn test_pnpm_list_only_projects() { function test_npm_list_only_projects_ignored (line 594) | fn test_npm_list_only_projects_ignored() { function test_yarn1_list_only_projects_ignored (line 607) | fn test_yarn1_list_only_projects_ignored() { function test_pnpm_list_exclude_peers (line 620) | fn test_pnpm_list_exclude_peers() { function test_npm_list_exclude_peers (line 633) | fn test_npm_list_exclude_peers() { function test_yarn1_list_exclude_peers_ignored (line 646) | fn test_yarn1_list_exclude_peers_ignored() { function test_pnpm_list_find_by (line 659) | fn test_pnpm_list_find_by() { function test_npm_list_find_by_ignored (line 672) | fn test_npm_list_find_by_ignored() { function test_yarn1_list_find_by_ignored (line 685) | fn test_yarn1_list_find_by_ignored() { FILE: crates/vite_install/src/commands/login.rs type LoginCommandOptions (line 13) | pub struct LoginCommandOptions<'a> { method run_login_command (line 22) | pub async fn run_login_command( method resolve_login_command (line 35) | pub fn resolve_login_command(&self, options: &LoginCommandOptions) -> Re... function create_temp_dir (line 87) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 91) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_npm_login (line 109) | fn test_npm_login() { function test_pnpm_login_uses_npm (line 121) | fn test_pnpm_login_uses_npm() { function test_yarn1_login (line 133) | fn test_yarn1_login() { function test_yarn2_login (line 145) | fn test_yarn2_login() { function test_login_with_registry (line 157) | fn test_login_with_registry() { function test_login_with_scope (line 169) | fn test_login_with_scope() { FILE: crates/vite_install/src/commands/logout.rs type LogoutCommandOptions (line 13) | pub struct LogoutCommandOptions<'a> { method run_logout_command (line 22) | pub async fn run_logout_command( method resolve_logout_command (line 35) | pub fn resolve_logout_command(&self, options: &LogoutCommandOptions) -> ... function create_temp_dir (line 87) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 91) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_npm_logout (line 109) | fn test_npm_logout() { function test_pnpm_logout_uses_npm (line 121) | fn test_pnpm_logout_uses_npm() { function test_yarn1_logout (line 133) | fn test_yarn1_logout() { function test_yarn2_logout (line 145) | fn test_yarn2_logout() { function test_logout_with_registry (line 157) | fn test_logout_with_registry() { FILE: crates/vite_install/src/commands/outdated.rs type Format (line 14) | pub enum Format { method as_str (line 25) | pub const fn as_str(self) -> &'static str { method fmt (line 48) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Err (line 35) | type Err = String; method from_str (line 37) | fn from_str(s: &str) -> Result { type OutdatedCommandOptions (line 55) | pub struct OutdatedCommandOptions<'a> { method run_outdated_command (line 75) | pub async fn run_outdated_command( method resolve_outdated_command (line 87) | pub fn resolve_outdated_command( method format_npm_outdated_args (line 233) | fn format_npm_outdated_args(args: &mut Vec, options: &OutdatedCo... function create_temp_dir (line 294) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 298) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_outdated_basic (line 316) | fn test_pnpm_outdated_basic() { function test_pnpm_outdated_with_packages (line 324) | fn test_pnpm_outdated_with_packages() { function test_pnpm_outdated_json (line 336) | fn test_pnpm_outdated_json() { function test_npm_outdated_basic (line 347) | fn test_npm_outdated_basic() { function test_npm_outdated_json (line 355) | fn test_npm_outdated_json() { function test_yarn_outdated_basic (line 366) | fn test_yarn_outdated_basic() { function test_pnpm_outdated_with_filter (line 374) | fn test_pnpm_outdated_with_filter() { function test_pnpm_outdated_prod_only (line 387) | fn test_pnpm_outdated_prod_only() { function test_npm_outdated_list_format (line 396) | fn test_npm_outdated_list_format() { function test_npm_outdated_recursive (line 407) | fn test_npm_outdated_recursive() { function test_npm_outdated_with_workspace (line 418) | fn test_npm_outdated_with_workspace() { function test_global_outdated (line 430) | fn test_global_outdated() { function test_pnpm_outdated_with_workspace_root (line 441) | fn test_pnpm_outdated_with_workspace_root() { function test_pnpm_outdated_with_workspace_root_and_recursive (line 452) | fn test_pnpm_outdated_with_workspace_root_and_recursive() { function test_pnpm_outdated_with_all_flags (line 464) | fn test_pnpm_outdated_with_all_flags() { function test_npm_outdated_with_workspace_root (line 502) | fn test_npm_outdated_with_workspace_root() { function test_npm_outdated_with_workspace_root_and_workspace (line 513) | fn test_npm_outdated_with_workspace_root_and_workspace() { FILE: crates/vite_install/src/commands/owner.rs type OwnerSubcommand (line 11) | pub enum OwnerSubcommand { method run_owner_command (line 20) | pub async fn run_owner_command( method resolve_owner_command (line 33) | pub fn resolve_owner_command(&self, subcommand: &OwnerSubcommand) -> Res... function create_temp_dir (line 85) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 89) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_owner_list_uses_npm (line 107) | fn test_pnpm_owner_list_uses_npm() { function test_npm_owner_add (line 118) | fn test_npm_owner_add() { function test_yarn_owner_rm_uses_npm (line 130) | fn test_yarn_owner_rm_uses_npm() { function test_owner_with_otp (line 142) | fn test_owner_with_otp() { FILE: crates/vite_install/src/commands/pack.rs type PackCommandOptions (line 15) | pub struct PackCommandOptions<'a> { method run_pack_command (line 28) | pub async fn run_pack_command( method resolve_pack_command (line 52) | pub fn resolve_pack_command(&self, options: &PackCommandOptions) -> Reso... function create_temp_dir (line 195) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 199) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_pack_basic (line 217) | fn test_pnpm_pack_basic() { function test_pnpm_pack_recursive (line 225) | fn test_pnpm_pack_recursive() { function test_pnpm_pack_with_out (line 234) | fn test_pnpm_pack_with_out() { function test_pnpm_pack_with_destination (line 245) | fn test_pnpm_pack_with_destination() { function test_pnpm_pack_with_gzip_level (line 256) | fn test_pnpm_pack_with_gzip_level() { function test_pnpm_pack_json (line 267) | fn test_pnpm_pack_json() { function test_pnpm_pack_with_filter (line 276) | fn test_pnpm_pack_with_filter() { function test_pnpm_pack_with_multiple_filters (line 288) | fn test_pnpm_pack_with_multiple_filters() { function test_npm_pack_basic (line 300) | fn test_npm_pack_basic() { function test_npm_pack_recursive (line 308) | fn test_npm_pack_recursive() { function test_npm_pack_with_destination (line 317) | fn test_npm_pack_with_destination() { function test_npm_pack_json (line 328) | fn test_npm_pack_json() { function test_npm_pack_with_filter (line 337) | fn test_npm_pack_with_filter() { function test_npm_pack_with_multiple_filters (line 349) | fn test_npm_pack_with_multiple_filters() { function test_yarn1_pack_basic (line 361) | fn test_yarn1_pack_basic() { function test_yarn1_pack_recursive_ignored (line 369) | fn test_yarn1_pack_recursive_ignored() { function test_yarn1_pack_with_out (line 378) | fn test_yarn1_pack_with_out() { function test_yarn1_pack_json (line 389) | fn test_yarn1_pack_json() { function test_yarn1_pack_with_filter_ignored (line 398) | fn test_yarn1_pack_with_filter_ignored() { function test_yarn2_pack_basic (line 410) | fn test_yarn2_pack_basic() { function test_yarn2_pack_recursive (line 418) | fn test_yarn2_pack_recursive() { function test_yarn2_pack_with_out (line 427) | fn test_yarn2_pack_with_out() { function test_yarn2_pack_json (line 438) | fn test_yarn2_pack_json() { function test_yarn2_pack_with_filter (line 447) | fn test_yarn2_pack_with_filter() { function test_yarn2_pack_with_multiple_filters (line 459) | fn test_yarn2_pack_with_multiple_filters() { function test_yarn2_pack_with_filter_and_recursive (line 474) | fn test_yarn2_pack_with_filter_and_recursive() { function test_npm_pack_destination_creates_directory (line 488) | async fn test_npm_pack_destination_creates_directory() { function test_pnpm_pack_destination_no_directory_creation (line 523) | async fn test_pnpm_pack_destination_no_directory_creation() { FILE: crates/vite_install/src/commands/ping.rs type PingCommandOptions (line 11) | pub struct PingCommandOptions<'a> { method run_ping_command (line 19) | pub async fn run_ping_command( method resolve_ping_command (line 32) | pub fn resolve_ping_command(&self, options: &PingCommandOptions) -> Reso... function create_temp_dir (line 62) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 66) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_ping_basic (line 84) | fn test_ping_basic() { function test_ping_with_registry (line 93) | fn test_ping_with_registry() { FILE: crates/vite_install/src/commands/prune.rs type PruneCommandOptions (line 14) | pub struct PruneCommandOptions<'a> { method run_prune_command (line 24) | pub async fn run_prune_command( method resolve_prune_command (line 40) | pub fn resolve_prune_command( function create_temp_dir (line 97) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 101) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_prune (line 119) | fn test_pnpm_prune() { function test_pnpm_prune_prod (line 129) | fn test_pnpm_prune_prod() { function test_npm_prune (line 140) | fn test_npm_prune() { function test_npm_prune_prod (line 150) | fn test_npm_prune_prod() { function test_npm_prune_no_optional (line 161) | fn test_npm_prune_no_optional() { function test_npm_prune_both_flags (line 174) | fn test_npm_prune_both_flags() { function test_yarn1_prune_not_supported (line 188) | fn test_yarn1_prune_not_supported() { function test_yarn2_prune_not_supported (line 195) | fn test_yarn2_prune_not_supported() { FILE: crates/vite_install/src/commands/publish.rs type PublishCommandOptions (line 14) | pub struct PublishCommandOptions<'a> { method run_publish_command (line 33) | pub async fn run_publish_command( method resolve_publish_command (line 46) | pub fn resolve_publish_command(&self, options: &PublishCommandOptions) -... function create_temp_dir (line 190) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 194) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_publish (line 212) | fn test_pnpm_publish() { function test_npm_publish (line 220) | fn test_npm_publish() { function test_yarn1_publish_uses_npm (line 228) | fn test_yarn1_publish_uses_npm() { function test_yarn2_publish_uses_npm (line 236) | fn test_yarn2_publish_uses_npm() { function test_yarn_publish_with_tag (line 244) | fn test_yarn_publish_with_tag() { function test_pnpm_publish_recursive (line 255) | fn test_pnpm_publish_recursive() { function test_npm_publish_recursive (line 266) | fn test_npm_publish_recursive() { function test_pnpm_publish_with_filter (line 277) | fn test_pnpm_publish_with_filter() { function test_npm_publish_with_filter (line 289) | fn test_npm_publish_with_filter() { function test_yarn_publish_with_filter (line 301) | fn test_yarn_publish_with_filter() { function test_pnpm_publish_json (line 313) | fn test_pnpm_publish_json() { function test_npm_publish_json_ignored (line 322) | fn test_npm_publish_json_ignored() { function test_pnpm_publish_branch (line 331) | fn test_pnpm_publish_branch() { function test_npm_publish_branch_ignored (line 342) | fn test_npm_publish_branch_ignored() { function test_pnpm_publish_report_summary (line 353) | fn test_pnpm_publish_report_summary() { function test_npm_publish_report_summary_ignored (line 364) | fn test_npm_publish_report_summary_ignored() { function test_pnpm_publish_otp (line 375) | fn test_pnpm_publish_otp() { function test_npm_publish_otp (line 386) | fn test_npm_publish_otp() { function test_yarn_publish_otp (line 397) | fn test_yarn_publish_otp() { FILE: crates/vite_install/src/commands/rebuild.rs type RebuildCommandOptions (line 14) | pub struct RebuildCommandOptions<'a> { method run_rebuild_command (line 22) | pub async fn run_rebuild_command( method resolve_rebuild_command (line 37) | pub fn resolve_rebuild_command( function create_temp_dir (line 85) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 89) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_npm_rebuild (line 107) | fn test_npm_rebuild() { function test_pnpm_rebuild (line 117) | fn test_pnpm_rebuild() { function test_yarn1_rebuild_not_supported (line 127) | fn test_yarn1_rebuild_not_supported() { function test_yarn2_rebuild_not_supported (line 134) | fn test_yarn2_rebuild_not_supported() { FILE: crates/vite_install/src/commands/remove.rs type RemoveCommandOptions (line 13) | pub struct RemoveCommandOptions<'a> { method run_remove_command (line 29) | pub async fn run_remove_command( method resolve_remove_command (line 41) | pub fn resolve_remove_command(&self, options: &RemoveCommandOptions) -> ... function create_temp_dir (line 149) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 153) | fn create_mock_package_manager(pm_type: PackageManagerType) -> PackageMa... function test_pnpm_basic_remove (line 171) | fn test_pnpm_basic_remove() { function test_pnpm_remove_with_filter (line 189) | fn test_pnpm_remove_with_filter() { function test_pnpm_remove_workspace_root (line 207) | fn test_pnpm_remove_workspace_root() { function test_pnpm_remove_recursive (line 225) | fn test_pnpm_remove_recursive() { function test_pnpm_remove_multiple_filters (line 243) | fn test_pnpm_remove_multiple_filters() { function test_yarn_basic_remove (line 261) | fn test_yarn_basic_remove() { function test_yarn_remove_with_workspace (line 279) | fn test_yarn_remove_with_workspace() { function test_yarn_remove_recursive (line 300) | fn test_yarn_remove_recursive() { function test_npm_basic_remove (line 318) | fn test_npm_basic_remove() { function test_npm_remove_with_workspace (line 336) | fn test_npm_remove_with_workspace() { function test_npm_remove_workspace_root (line 354) | fn test_npm_remove_workspace_root() { function test_npm_remove_recursive (line 372) | fn test_npm_remove_recursive() { function test_npm_remove_multiple_workspaces (line 393) | fn test_npm_remove_multiple_workspaces() { function test_global_remove (line 414) | fn test_global_remove() { function test_remove_multiple_packages (line 432) | fn test_remove_multiple_packages() { function test_remove_with_pass_through_args (line 450) | fn test_remove_with_pass_through_args() { function test_pnpm_remove_save_dev (line 468) | fn test_pnpm_remove_save_dev() { function test_pnpm_remove_save_optional (line 486) | fn test_pnpm_remove_save_optional() { function test_pnpm_remove_save_prod (line 504) | fn test_pnpm_remove_save_prod() { function test_npm_remove_save_dev (line 522) | fn test_npm_remove_save_dev() { function test_npm_remove_save_optional (line 540) | fn test_npm_remove_save_optional() { function test_npm_remove_save_prod (line 558) | fn test_npm_remove_save_prod() { function test_yarn_remove_save_flags_ignored (line 576) | fn test_yarn_remove_save_flags_ignored() { function test_yarn_remove_with_recursive (line 596) | fn test_yarn_remove_with_recursive() { function test_yarn_remove_with_multiple_filters (line 614) | fn test_yarn_remove_with_multiple_filters() { function test_yarn_remove_with_recursive_and_multiple_filters (line 645) | fn test_yarn_remove_with_recursive_and_multiple_filters() { FILE: crates/vite_install/src/commands/run.rs method run_script_command (line 13) | pub async fn run_script_command( method resolve_run_script_command (line 25) | pub fn resolve_run_script_command(&self, args: &[String]) -> ResolveComm... function create_temp_dir (line 48) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 52) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_run_script (line 70) | fn test_pnpm_run_script() { function test_pnpm_run_script_with_args (line 78) | fn test_pnpm_run_script_with_args() { function test_npm_run_script (line 86) | fn test_npm_run_script() { function test_npm_run_script_with_args (line 94) | fn test_npm_run_script_with_args() { function test_yarn_run_script (line 102) | fn test_yarn_run_script() { function test_run_script_no_args (line 110) | fn test_run_script_no_args() { FILE: crates/vite_install/src/commands/search.rs type SearchCommandOptions (line 11) | pub struct SearchCommandOptions<'a> { method run_search_command (line 22) | pub async fn run_search_command( method resolve_search_command (line 35) | pub fn resolve_search_command(&self, options: &SearchCommandOptions) -> ... function create_temp_dir (line 77) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 81) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_search_basic (line 99) | fn test_search_basic() { function test_search_with_json (line 114) | fn test_search_with_json() { function test_search_multiple_terms (line 129) | fn test_search_multiple_terms() { FILE: crates/vite_install/src/commands/token.rs type TokenSubcommand (line 11) | pub enum TokenSubcommand { method run_token_command (line 34) | pub async fn run_token_command( method resolve_token_command (line 47) | pub fn resolve_token_command(&self, subcommand: &TokenSubcommand) -> Res... function create_temp_dir (line 126) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 130) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_token_list (line 148) | fn test_token_list() { function test_token_create (line 160) | fn test_token_create() { function test_token_create_with_flags (line 174) | fn test_token_create_with_flags() { function test_token_revoke (line 202) | fn test_token_revoke() { FILE: crates/vite_install/src/commands/unlink.rs type UnlinkCommandOptions (line 14) | pub struct UnlinkCommandOptions<'a> { method run_unlink_command (line 24) | pub async fn run_unlink_command( method resolve_unlink_command (line 36) | pub fn resolve_unlink_command(&self, options: &UnlinkCommandOptions) -> ... function create_temp_dir (line 90) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 94) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_unlink_no_package (line 112) | fn test_pnpm_unlink_no_package() { function test_pnpm_unlink_package (line 120) | fn test_pnpm_unlink_package() { function test_pnpm_unlink_recursive (line 131) | fn test_pnpm_unlink_recursive() { function test_pnpm_unlink_package_recursive (line 142) | fn test_pnpm_unlink_package_recursive() { function test_yarn_unlink_basic (line 154) | fn test_yarn_unlink_basic() { function test_yarn_unlink_package (line 162) | fn test_yarn_unlink_package() { function test_yarn_unlink_recursive (line 173) | fn test_yarn_unlink_recursive() { function test_npm_unlink_basic (line 184) | fn test_npm_unlink_basic() { function test_npm_unlink_package (line 192) | fn test_npm_unlink_package() { FILE: crates/vite_install/src/commands/update.rs type UpdateCommandOptions (line 14) | pub struct UpdateCommandOptions<'a> { method run_update_command (line 34) | pub async fn run_update_command( method resolve_update_command (line 46) | pub fn resolve_update_command(&self, options: &UpdateCommandOptions) -> ... function create_temp_dir (line 201) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 205) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_basic_update (line 223) | fn test_pnpm_basic_update() { function test_pnpm_update_latest (line 245) | fn test_pnpm_update_latest() { function test_pnpm_update_all (line 257) | fn test_pnpm_update_all() { function test_pnpm_update_with_filter (line 269) | fn test_pnpm_update_with_filter() { function test_pnpm_update_recursive (line 281) | fn test_pnpm_update_recursive() { function test_pnpm_update_interactive (line 293) | fn test_pnpm_update_interactive() { function test_pnpm_update_dev_only (line 305) | fn test_pnpm_update_dev_only() { function test_pnpm_update_no_optional (line 317) | fn test_pnpm_update_no_optional() { function test_pnpm_update_no_save (line 329) | fn test_pnpm_update_no_save() { function test_pnpm_update_workspace_only (line 341) | fn test_pnpm_update_workspace_only() { function test_yarn_v1_basic_update (line 354) | fn test_yarn_v1_basic_update() { function test_yarn_v1_update_latest (line 365) | fn test_yarn_v1_update_latest() { function test_yarn_v1_update_with_workspace (line 377) | fn test_yarn_v1_update_with_workspace() { function test_yarn_v4_basic_update (line 389) | fn test_yarn_v4_basic_update() { function test_yarn_v4_update_interactive (line 400) | fn test_yarn_v4_update_interactive() { function test_yarn_v4_update_with_filter (line 412) | fn test_yarn_v4_update_with_filter() { function test_yarn_v4_update_recursive (line 427) | fn test_yarn_v4_update_recursive() { function test_npm_basic_update (line 439) | fn test_npm_basic_update() { function test_npm_update_all (line 450) | fn test_npm_update_all() { function test_npm_update_with_workspace (line 459) | fn test_npm_update_with_workspace() { function test_npm_update_recursive (line 471) | fn test_npm_update_recursive() { function test_npm_update_dev_only (line 483) | fn test_npm_update_dev_only() { function test_npm_update_no_optional (line 495) | fn test_npm_update_no_optional() { function test_npm_update_no_save (line 507) | fn test_npm_update_no_save() { function test_global_update (line 519) | fn test_global_update() { function test_pnpm_update_multiple_packages (line 531) | fn test_pnpm_update_multiple_packages() { function test_pnpm_update_complex (line 543) | fn test_pnpm_update_complex() { function test_yarn_v4_update_multiple_filters (line 573) | fn test_yarn_v4_update_multiple_filters() { FILE: crates/vite_install/src/commands/view.rs type ViewCommandOptions (line 11) | pub struct ViewCommandOptions<'a> { method run_view_command (line 21) | pub async fn run_view_command( method resolve_view_command (line 34) | pub fn resolve_view_command(&self, options: &ViewCommandOptions) -> Reso... function create_temp_dir (line 69) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 73) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_view_uses_npm (line 91) | fn test_pnpm_view_uses_npm() { function test_npm_view (line 104) | fn test_npm_view() { function test_yarn_view_uses_npm (line 117) | fn test_yarn_view_uses_npm() { function test_view_with_nested_field (line 130) | fn test_view_with_nested_field() { FILE: crates/vite_install/src/commands/whoami.rs type WhoamiCommandOptions (line 14) | pub struct WhoamiCommandOptions<'a> { method run_whoami_command (line 23) | pub async fn run_whoami_command( method resolve_whoami_command (line 38) | pub fn resolve_whoami_command( function create_temp_dir (line 89) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 93) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_npm_whoami (line 111) | fn test_npm_whoami() { function test_pnpm_whoami_uses_npm (line 124) | fn test_pnpm_whoami_uses_npm() { function test_yarn1_whoami_not_supported (line 137) | fn test_yarn1_whoami_not_supported() { function test_yarn2_whoami (line 147) | fn test_yarn2_whoami() { function test_whoami_with_registry (line 160) | fn test_whoami_with_registry() { FILE: crates/vite_install/src/commands/why.rs type WhyCommandOptions (line 14) | pub struct WhyCommandOptions<'a> { method run_why_command (line 36) | pub async fn run_why_command( method resolve_why_command (line 48) | pub fn resolve_why_command(&self, options: &WhyCommandOptions) -> Resolv... function create_temp_dir (line 222) | fn create_temp_dir() -> TempDir { function create_mock_package_manager (line 226) | fn create_mock_package_manager(pm_type: PackageManagerType, version: &st... function test_pnpm_why_basic (line 244) | fn test_pnpm_why_basic() { function test_pnpm_why_multiple_packages (line 254) | fn test_pnpm_why_multiple_packages() { function test_pnpm_why_json (line 264) | fn test_pnpm_why_json() { function test_npm_explain_basic (line 277) | fn test_npm_explain_basic() { function test_npm_explain_multiple_packages (line 287) | fn test_npm_explain_multiple_packages() { function test_npm_explain_with_workspace (line 297) | fn test_npm_explain_with_workspace() { function test_yarn_why_basic (line 311) | fn test_yarn_why_basic() { function test_yarn_why_with_exclude_peers (line 321) | fn test_yarn_why_with_exclude_peers() { function test_yarn1_why_no_peers (line 334) | fn test_yarn1_why_no_peers() { function test_pnpm_why_with_filter (line 345) | fn test_pnpm_why_with_filter() { function test_pnpm_why_with_depth (line 359) | fn test_pnpm_why_with_depth() { function test_pnpm_why_with_find_by (line 372) | fn test_pnpm_why_with_find_by() { FILE: crates/vite_install/src/config.rs function npm_registry (line 4) | pub fn npm_registry() -> String { function get_npm_package_tgz_url (line 9) | pub fn get_npm_package_tgz_url(name: &str, version: &str) -> String { function get_npm_package_version_url (line 16) | pub fn get_npm_package_version_url(name: &str, version_or_tag: &str) -> ... function test_npm_registry_default (line 26) | fn test_npm_registry_default() { function test_npm_registry_custom (line 33) | fn test_npm_registry_custom() { function test_npm_tgz_url (line 46) | fn test_npm_tgz_url() { FILE: crates/vite_install/src/main.rs function main (line 6) | async fn main() -> Result<(), Error> { FILE: crates/vite_install/src/package_manager.rs type PackageJson (line 34) | struct PackageJson { type PackageManagerType (line 43) | pub enum PackageManagerType { method fmt (line 50) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ResolveCommandResult (line 61) | pub struct ResolveCommandResult { type PackageManager (line 71) | pub struct PackageManager { method builder (line 155) | pub fn builder(cwd: impl AsRef) -> PackageManagerBuilder { method get_bin_prefix (line 160) | pub fn get_bin_prefix(&self) -> AbsolutePathBuf { method get_fingerprint_ignores (line 165) | pub fn get_fingerprint_ignores(&self) -> Result, Error> { type PackageManagerBuilder (line 84) | pub struct PackageManagerBuilder { method new (line 90) | pub fn new(cwd: impl AsRef) -> Self { method package_manager_type (line 95) | pub const fn package_manager_type(mut self, package_manager_type: Pack... method build (line 102) | pub async fn build(&self) -> Result { method build_with_default (line 137) | pub async fn build_with_default(&self) -> Result { function get_package_manager_type_and_version (line 233) | pub fn get_package_manager_type_and_version( function open_exists_file (line 322) | fn open_exists_file(path: impl AsRef) -> Result, Erro... function is_exists_file (line 332) | fn is_exists_file(path: impl AsRef) -> Result { function get_latest_version (line 340) | async fn get_latest_version(package_manager_type: PackageManagerType) ->... function download_package_manager (line 354) | pub async fn download_package_manager( function remove_dir_all_force (line 453) | async fn remove_dir_all_force(path: impl AsRef) -> Result<(), std:... function create_shim_files (line 475) | async fn create_shim_files( function set_package_manager_field (line 518) | async fn set_package_manager_field( constant CI_ENV_VARS (line 548) | const CI_ENV_VARS: &[&str] = &[ function is_ci_environment (line 563) | fn is_ci_environment() -> bool { function interactive_package_manager_menu (line 568) | fn interactive_package_manager_menu() -> Result Result Result { function create_temp_dir (line 780) | fn create_temp_dir() -> TempDir { function create_package_json (line 784) | fn create_package_json(dir: &AbsolutePath, content: &str) { function create_pnpm_workspace_yaml (line 788) | fn create_pnpm_workspace_yaml(dir: &AbsolutePath, content: &str) { function test_find_package_root (line 794) | fn test_find_package_root() { function test_find_workspace_root_with_pnpm (line 823) | fn test_find_workspace_root_with_pnpm() { function test_find_workspace_root_with_npm_workspaces (line 840) | fn test_find_workspace_root_with_npm_workspaces() { function test_find_workspace_root_fallback_to_package_root (line 857) | fn test_find_workspace_root_fallback_to_package_root() { function test_find_workspace_root_with_package_json_not_found (line 877) | fn test_find_workspace_root_with_package_json_not_found() { function test_find_package_root_with_package_json_in_current_dir (line 890) | fn test_find_package_root_with_package_json_in_current_dir() { function test_find_package_root_with_package_json_in_parent_dir (line 901) | fn test_find_package_root_with_package_json_in_parent_dir() { function test_find_package_root_with_package_json_in_grandparent_dir (line 915) | fn test_find_package_root_with_package_json_in_grandparent_dir() { function test_find_workspace_root_with_pnpm_workspace_yaml (line 929) | fn test_find_workspace_root_with_pnpm_workspace_yaml() { function test_find_workspace_root_with_pnpm_workspace_yaml_in_parent_dir (line 940) | fn test_find_workspace_root_with_pnpm_workspace_yaml_in_parent_dir() { function test_find_workspace_root_with_package_json_workspaces (line 954) | fn test_find_workspace_root_with_package_json_workspaces() { function test_find_workspace_root_with_package_json_workspaces_in_parent_dir (line 966) | fn test_find_workspace_root_with_package_json_workspaces_in_parent_dir() { function test_find_workspace_root_prioritizes_pnpm_workspace_over_package_json (line 981) | fn test_find_workspace_root_prioritizes_pnpm_workspace_over_package_json... function test_find_workspace_root_falls_back_to_package_root_when_no_workspace_found (line 998) | fn test_find_workspace_root_falls_back_to_package_root_when_no_workspace... function test_find_workspace_root_with_nested_structure (line 1012) | fn test_find_workspace_root_with_nested_structure() { function test_find_workspace_root_without_workspace_files_returns_package_root (line 1026) | fn test_find_workspace_root_without_workspace_files_returns_package_root... function test_find_workspace_root_with_invalid_package_json_handles_error (line 1037) | fn test_find_workspace_root_with_invalid_package_json_handles_error() { function test_find_workspace_root_with_mixed_structure (line 1048) | fn test_find_workspace_root_with_mixed_structure() { function test_detect_package_manager_with_pnpm_workspace_yaml (line 1069) | async fn test_detect_package_manager_with_pnpm_workspace_yaml() { function test_detect_package_manager_with_pnpm_lock_yaml (line 1081) | async fn test_detect_package_manager_with_pnpm_lock_yaml() { function test_detect_package_manager_with_yarn_lock (line 1107) | async fn test_detect_package_manager_with_yarn_lock() { function test_detect_package_manager_with_package_lock_json (line 1140) | async fn test_detect_package_manager_with_package_lock_json() { function test_detect_package_manager_with_package_manager_field (line 1188) | async fn test_detect_package_manager_with_package_manager_field() { function test_parse_package_manager_with_hash (line 1226) | async fn test_parse_package_manager_with_hash() { function test_parse_package_manager_with_sha1_hash (line 1248) | async fn test_parse_package_manager_with_sha1_hash() { function test_parse_package_manager_with_sha224_hash (line 1267) | async fn test_parse_package_manager_with_sha224_hash() { function test_parse_package_manager_with_sha256_hash (line 1289) | async fn test_parse_package_manager_with_sha256_hash() { function test_parse_package_manager_without_hash (line 1311) | async fn test_parse_package_manager_without_hash() { function test_download_success_package_manager_with_hash (line 1329) | async fn test_download_success_package_manager_with_hash() { function test_download_failed_package_manager_with_hash (line 1372) | async fn test_download_failed_package_manager_with_hash() { function test_download_success_package_manager_with_sha1_and_sha224 (line 1396) | async fn test_download_success_package_manager_with_sha1_and_sha224() { function test_detect_package_manager_with_yarn_package_manager_field (line 1421) | async fn test_detect_package_manager_with_yarn_package_manager_field() { function test_detect_package_manager_with_npm_package_manager_field (line 1471) | async fn test_detect_package_manager_with_npm_package_manager_field() { function test_detect_package_manager_with_invalid_package_manager_field (line 1485) | async fn test_detect_package_manager_with_invalid_package_manager_field() { function test_detect_package_manager_with_not_exists_version_in_package_manager_field (line 1502) | async fn test_detect_package_manager_with_not_exists_version_in_package_... function test_detect_package_manager_with_invalid_semver (line 1522) | async fn test_detect_package_manager_with_invalid_semver() { function test_detect_package_manager_with_default_fallback (line 1535) | async fn test_detect_package_manager_with_default_fallback() { function test_detect_package_manager_without_any_indicators (line 1558) | async fn test_detect_package_manager_without_any_indicators() { function test_detect_package_manager_prioritizes_package_manager_field_over_lock_files (line 1575) | async fn test_detect_package_manager_prioritizes_package_manager_field_o... function test_detect_package_manager_prioritizes_pnpm_workspace_over_lock_files (line 1593) | async fn test_detect_package_manager_prioritizes_pnpm_workspace_over_loc... function test_detect_package_manager_from_subdirectory (line 1615) | async fn test_detect_package_manager_from_subdirectory() { function test_download_package_manager (line 1633) | async fn test_download_package_manager() { function test_get_latest_version (line 1655) | async fn test_get_latest_version() { function test_detect_package_manager_with_yarnrc_yml (line 1669) | async fn test_detect_package_manager_with_yarnrc_yml() { function test_detect_package_manager_with_pnpmfile_cjs (line 1703) | async fn test_detect_package_manager_with_pnpmfile_cjs() { function test_detect_package_manager_with_yarn_config_cjs (line 1734) | async fn test_detect_package_manager_with_yarn_config_cjs() { function test_detect_package_manager_priority_order_lock_over_config (line 1768) | async fn test_detect_package_manager_priority_order_lock_over_config() { function test_detect_package_manager_pnpmfile_over_yarn_config (line 1803) | async fn test_detect_package_manager_pnpmfile_over_yarn_config() { function create_mock_package_manager (line 1835) | fn create_mock_package_manager( function test_get_fingerprint_ignores_monorepo (line 1856) | fn test_get_fingerprint_ignores_monorepo() { function test_pnpm_fingerprint_ignores (line 1904) | fn test_pnpm_fingerprint_ignores() { function test_yarn_fingerprint_ignores (line 1990) | fn test_yarn_fingerprint_ignores() { function test_npm_fingerprint_ignores (line 2064) | fn test_npm_fingerprint_ignores() { FILE: crates/vite_install/src/request.rs type HttpClient (line 16) | pub struct HttpClient { method new (line 29) | pub const fn new() -> Self { method with_config (line 39) | pub const fn with_config(max_times: usize, min_delay: u64) -> Self { method get_bytes (line 53) | pub async fn get_bytes(&self, url: &str) -> Result, Error> { method get (line 59) | async fn get(&self, url: &str) -> Result { method get_json (line 82) | pub async fn get_json(&self, url: &str) -> Result... method download_file (line 101) | pub async fn download_file( method write_response_to_file (line 118) | async fn write_response_to_file( method default (line 22) | fn default() -> Self { function extract_tgz (line 138) | fn extract_tgz(tgz_file: impl AsRef, target_dir: impl AsRef)... function download_and_extract_tgz_with_hash (line 163) | pub async fn download_and_extract_tgz_with_hash( function compute_hash (line 213) | fn compute_hash(content: &[u8]) -> String { function verify_file_hash (line 228) | pub async fn verify_file_hash( function create_mock_package_tgz (line 272) | fn create_mock_package_tgz() -> Vec { function test_extract_tgz_function (line 320) | async fn test_extract_tgz_function() { function test_extract_tgz_large_file (line 361) | async fn test_extract_tgz_large_file() { function test_extract_tgz_invalid_file (line 402) | async fn test_extract_tgz_invalid_file() { function test_extract_tgz_empty_file (line 418) | async fn test_extract_tgz_empty_file() { function test_http_client_get_json (line 433) | async fn test_http_client_get_json() { function test_http_client_download_file (line 470) | async fn test_http_client_download_file() { function test_http_client_retry_on_server_error (line 495) | async fn test_http_client_retry_on_server_error() { function test_download_and_extract_tgz (line 516) | async fn test_download_and_extract_tgz() { function test_verify_file_hash_sha1 (line 540) | async fn test_verify_file_hash_sha1() { function test_verify_file_hash_sha224 (line 569) | async fn test_verify_file_hash_sha224() { function test_http_client_download_with_404_error (line 597) | async fn test_http_client_download_with_404_error() { function test_http_client_json_with_invalid_response (line 620) | async fn test_http_client_json_with_invalid_response() { FILE: crates/vite_install/src/shim.rs function write_shims (line 9) | pub async fn write_shims( function sh_shim (line 36) | pub fn sh_shim(relative_file: &str) -> String { function cmd_shim (line 60) | pub fn cmd_shim(relative_file: &str) -> String { function pwsh_shim (line 77) | pub fn pwsh_shim(relative_file: &str) -> String { function format_shim (line 120) | fn format_shim(shim: &str) -> String { function test_sh_shim (line 125) | fn test_sh_shim() { function test_cmd_shim (line 132) | fn test_cmd_shim() { function test_pwsh_shim (line 157) | fn test_pwsh_shim() { function test_write_shims_basic (line 164) | async fn test_write_shims_basic() { function test_write_shims_relative_paths (line 198) | async fn test_write_shims_relative_paths() { function test_write_shims_windows_path_conversion (line 227) | async fn test_write_shims_windows_path_conversion() { function test_write_shims_overwrite_existing (line 255) | async fn test_write_shims_overwrite_existing() { function test_write_shims_complex_relative_path (line 286) | async fn test_write_shims_complex_relative_path() { function test_sh_shim_content_validation (line 307) | async fn test_sh_shim_content_validation() { function test_cmd_shim_content_validation (line 324) | async fn test_cmd_shim_content_validation() { function test_pwsh_shim_content_validation (line 340) | async fn test_pwsh_shim_content_validation() { function test_write_shims_error_handling (line 364) | async fn test_write_shims_error_handling() { function test_cmd_shim_path_separator_conversion (line 376) | fn test_cmd_shim_path_separator_conversion() { function test_relative_path_formats (line 389) | fn test_relative_path_formats() { FILE: crates/vite_js_runtime/src/cache.rs function get_cache_dir (line 10) | pub(crate) fn get_cache_dir() -> Result { FILE: crates/vite_js_runtime/src/dev_engines.rs function parse_node_version_content (line 31) | pub fn parse_node_version_content(content: &str) -> Option { function read_node_version_file (line 54) | pub async fn read_node_version_file(project_path: &AbsolutePath) -> Opti... function write_node_version_file (line 71) | pub async fn write_node_version_file( function test_parse_node_version_content_three_part (line 88) | fn test_parse_node_version_content_three_part() { function test_parse_node_version_content_with_v_prefix (line 95) | fn test_parse_node_version_content_with_v_prefix() { function test_parse_node_version_content_two_part (line 102) | fn test_parse_node_version_content_two_part() { function test_parse_node_version_content_single_part (line 108) | fn test_parse_node_version_content_single_part() { function test_parse_node_version_content_with_whitespace (line 114) | fn test_parse_node_version_content_with_whitespace() { function test_parse_node_version_content_empty (line 120) | fn test_parse_node_version_content_empty() { function test_read_node_version_file (line 127) | async fn test_read_node_version_file() { function test_write_node_version_file (line 140) | async fn test_write_node_version_file() { function test_parse_node_version_content_lts_latest (line 158) | fn test_parse_node_version_content_lts_latest() { function test_parse_node_version_content_lts_codename (line 166) | fn test_parse_node_version_content_lts_codename() { function test_parse_node_version_content_lts_offset (line 177) | fn test_parse_node_version_content_lts_offset() { FILE: crates/vite_js_runtime/src/download.rs type CachedFetchResponse (line 19) | pub struct CachedFetchResponse { function download_file (line 35) | pub async fn download_file( function download_text (line 116) | pub async fn download_text(url: &str) -> Result { function fetch_with_cache_headers (line 136) | pub async fn fetch_with_cache_headers( function parse_max_age (line 191) | fn parse_max_age(cache_control: &str) -> Option { function verify_file_hash (line 202) | pub async fn verify_file_hash( function extract_archive (line 228) | pub async fn extract_archive( function extract_tar_gz (line 246) | fn extract_tar_gz(archive_path: &AbsolutePath, target_dir: &AbsolutePath... function extract_zip (line 262) | fn extract_zip(archive_path: &AbsolutePath, target_dir: &AbsolutePath) -... function move_to_cache (line 281) | pub async fn move_to_cache( function test_parse_max_age (line 332) | fn test_parse_max_age() { FILE: crates/vite_js_runtime/src/error.rs type Error (line 6) | pub enum Error { FILE: crates/vite_js_runtime/src/platform.rs type Platform (line 5) | pub struct Platform { method current (line 28) | pub const fn current() -> Self { method fmt (line 34) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Os (line 12) | pub enum Os { method current (line 49) | pub const fn current() -> Self { method fmt (line 72) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Arch (line 20) | pub enum Arch { method current (line 90) | pub const fn current() -> Self { method fmt (line 109) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function test_platform_detection (line 122) | fn test_platform_detection() { function test_platform_display (line 135) | fn test_platform_display() { function test_os_display (line 151) | fn test_os_display() { function test_arch_display (line 158) | fn test_arch_display() { FILE: crates/vite_js_runtime/src/provider.rs type ArchiveFormat (line 13) | pub enum ArchiveFormat { method extension (line 23) | pub const fn extension(self) -> &'static str { type HashVerification (line 33) | pub enum HashVerification { type DownloadInfo (line 46) | pub struct DownloadInfo { type JsRuntimeProvider (line 64) | pub trait JsRuntimeProvider: Send + Sync { method name (line 66) | fn name(&self) -> &'static str; method platform_string (line 70) | fn platform_string(&self, platform: Platform) -> Str; method get_download_info (line 73) | fn get_download_info(&self, version: &str, platform: Platform) -> Down... method binary_relative_path (line 77) | fn binary_relative_path(&self, platform: Platform) -> Str; method bin_dir_relative_path (line 81) | fn bin_dir_relative_path(&self, platform: Platform) -> Str; method parse_shasums (line 89) | fn parse_shasums(&self, shasums_content: &str, filename: &str) -> Resu... FILE: crates/vite_js_runtime/src/providers/node.rs constant DEFAULT_NODE_DIST_URL (line 19) | const DEFAULT_NODE_DIST_URL: &str = "https://nodejs.org/dist"; constant DEFAULT_CACHE_TTL_SECS (line 24) | const DEFAULT_CACHE_TTL_SECS: u64 = 3600; type NodeVersionEntry (line 28) | pub struct NodeVersionEntry { method is_lts (line 39) | pub fn is_lts(&self) -> bool { type LtsInfo (line 47) | pub enum LtsInfo { type VersionIndexCache (line 59) | struct VersionIndexCache { type NodeProvider (line 71) | pub struct NodeProvider; method new (line 76) | pub const fn new() -> Self { method is_exact_version (line 85) | pub fn is_exact_version(version_str: &str) -> bool { method find_cached_version (line 106) | pub async fn find_cached_version( method archive_format (line 164) | const fn archive_format(platform: Platform) -> ArchiveFormat { method fetch_version_index (line 180) | pub async fn fetch_version_index(&self) -> Result Result Result { method is_lts_alias (line 318) | pub fn is_lts_alias(version: &str) -> bool { method is_latest_alias (line 327) | pub fn is_latest_alias(version: &str) -> bool { method is_version_alias (line 333) | pub fn is_version_alias(version: &str) -> bool { method resolve_lts_alias (line 351) | pub async fn resolve_lts_alias(&self, alias: &str) -> Result Result Result Result Option) -> u64 { function get_dist_url (line 533) | fn get_dist_url() -> Str { method name (line 542) | fn name(&self) -> &'static str { method platform_string (line 546) | fn platform_string(&self, platform: Platform) -> Str { method get_download_info (line 559) | fn get_download_info(&self, version: &str, platform: Platform) -> Downlo... method binary_relative_path (line 579) | fn binary_relative_path(&self, platform: Platform) -> Str { method bin_dir_relative_path (line 586) | fn bin_dir_relative_path(&self, platform: Platform) -> Str { method parse_shasums (line 593) | fn parse_shasums(&self, shasums_content: &str, filename: &str) -> Result... function test_platform_string (line 616) | fn test_platform_string() { function test_get_download_info (line 634) | fn test_get_download_info() { function test_get_download_info_windows (line 656) | fn test_get_download_info_windows() { function test_binary_relative_path (line 667) | fn test_binary_relative_path() { function test_bin_dir_relative_path (line 685) | fn test_bin_dir_relative_path() { function test_parse_shasums (line 699) | fn test_parse_shasums() { function test_get_dist_url_default (line 725) | fn test_get_dist_url_default() { function test_get_dist_url_with_mirror (line 732) | fn test_get_dist_url_with_mirror() { function test_get_dist_url_trims_trailing_slash (line 745) | fn test_get_dist_url_trims_trailing_slash() { function test_parse_lts_info (line 758) | fn test_parse_lts_info() { function test_fetch_version_index (line 774) | async fn test_fetch_version_index() { function test_resolve_version_from_list_caret (line 791) | fn test_resolve_version_from_list_caret() { function test_resolve_version_from_list_tilde (line 809) | fn test_resolve_version_from_list_tilde() { function test_resolve_version_from_list_exact (line 826) | fn test_resolve_version_from_list_exact() { function test_resolve_version_from_list_range (line 841) | fn test_resolve_version_from_list_range() { function test_resolve_version_from_list_no_match (line 861) | fn test_resolve_version_from_list_no_match() { function test_resolve_version_from_list_empty (line 875) | fn test_resolve_version_from_list_empty() { function test_resolve_version_from_list_invalid_range (line 884) | fn test_resolve_version_from_list_invalid_range() { function test_resolve_version_from_list_unordered_finds_max (line 898) | fn test_resolve_version_from_list_unordered_finds_max() { function test_find_latest_lts_version (line 916) | fn test_find_latest_lts_version() { function test_find_latest_lts_version_unordered (line 946) | fn test_find_latest_lts_version_unordered() { function test_find_latest_lts_version_no_lts (line 968) | fn test_find_latest_lts_version_no_lts() { function test_find_latest_lts_version_empty (line 983) | fn test_find_latest_lts_version_empty() { function test_is_lts (line 992) | fn test_is_lts() { function test_is_exact_version (line 1007) | fn test_is_exact_version() { function test_find_cached_version (line 1033) | async fn test_find_cached_version() { function test_resolve_version_from_list_prefers_lts (line 1086) | fn test_resolve_version_from_list_prefers_lts() { function test_resolve_version_from_list_falls_back_to_non_lts (line 1102) | fn test_resolve_version_from_list_falls_back_to_non_lts() { function test_resolve_version_from_list_complex_range_prefers_lts (line 1116) | fn test_resolve_version_from_list_complex_range_prefers_lts() { function test_resolve_version_from_list_only_matches_in_range_lts (line 1132) | fn test_resolve_version_from_list_only_matches_in_range_lts() { function test_is_lts_alias (line 1151) | fn test_is_lts_alias() { function test_is_latest_alias (line 1175) | fn test_is_latest_alias() { function test_is_version_alias (line 1191) | fn test_is_version_alias() { function test_resolve_lts_alias_latest (line 1207) | async fn test_resolve_lts_alias_latest() { function test_resolve_lts_alias_codename_iron (line 1221) | async fn test_resolve_lts_alias_codename_iron() { function test_resolve_lts_alias_codename_jod (line 1231) | async fn test_resolve_lts_alias_codename_jod() { function test_resolve_lts_alias_codename_case_insensitive (line 1241) | async fn test_resolve_lts_alias_codename_case_insensitive() { function test_resolve_lts_alias_offset (line 1252) | async fn test_resolve_lts_alias_offset() { function test_resolve_lts_alias_unknown_codename (line 1263) | async fn test_resolve_lts_alias_unknown_codename() { function test_resolve_lts_alias_invalid_offset (line 1272) | async fn test_resolve_lts_alias_invalid_offset() { FILE: crates/vite_js_runtime/src/runtime.rs type JsRuntimeType (line 16) | pub enum JsRuntimeType { method fmt (line 22) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type JsRuntime (line 31) | pub struct JsRuntime { method get_binary_path (line 44) | pub fn get_binary_path(&self) -> AbsolutePathBuf { method get_bin_prefix (line 50) | pub fn get_bin_prefix(&self) -> AbsolutePathBuf { method runtime_type (line 60) | pub const fn runtime_type(&self) -> JsRuntimeType { method version (line 66) | pub fn version(&self) -> &str { function download_runtime (line 82) | pub async fn download_runtime( function download_runtime_with_provider (line 105) | pub async fn download_runtime_with_provider( type VersionSource (line 194) | pub enum VersionSource { method fmt (line 204) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type VersionResolution (line 215) | pub struct VersionResolution { function resolve_node_version (line 245) | pub async fn resolve_node_version( function download_runtime_for_project (line 342) | pub async fn download_runtime_for_project(project_path: &AbsolutePath) -... function resolve_version_for_project (line 401) | async fn resolve_version_for_project( function check_version_compatibility (line 444) | fn check_version_compatibility( function check_constraint (line 471) | fn check_constraint( function is_valid_version (line 497) | pub fn is_valid_version(version: &str) -> bool { function normalize_version (line 521) | pub fn normalize_version(version: &Str, source: &str) -> Option { function read_package_json (line 536) | pub async fn read_package_json( function test_js_runtime_type_display (line 556) | fn test_js_runtime_type_display() { function test_install_dir_path_construction (line 563) | fn test_install_dir_path_construction() { function test_download_runtime_for_project_with_dev_engines (line 596) | async fn test_download_runtime_for_project_with_dev_engines() { function test_download_runtime_for_project_with_multiple_runtimes (line 619) | async fn test_download_runtime_for_project_with_multiple_runtimes() { function test_download_runtime_for_project_no_dev_engines (line 644) | async fn test_download_runtime_for_project_no_dev_engines() { function test_download_runtime_for_project_does_not_write_back_when_no_version (line 676) | async fn test_download_runtime_for_project_does_not_write_back_when_no_v... function test_download_runtime_for_project_does_not_write_back_when_version_specified (line 706) | async fn test_download_runtime_for_project_does_not_write_back_when_vers... function test_download_runtime_for_project_with_v_prefix_exact_version (line 737) | async fn test_download_runtime_for_project_with_v_prefix_exact_version() { function test_download_runtime_for_project_no_package_json (line 757) | async fn test_download_runtime_for_project_no_package_json() { function test_download_runtime_for_project_inherits_parent_node_version (line 775) | async fn test_download_runtime_for_project_inherits_parent_node_version() { function test_download_node_integration (line 801) | async fn test_download_node_integration() { function test_download_node_cache_reuse (line 828) | async fn test_download_node_cache_reuse() { function test_incomplete_installation_cleanup (line 849) | async fn test_incomplete_installation_cleanup() { function test_concurrent_downloads (line 882) | async fn test_concurrent_downloads() { function test_node_version_file_takes_priority (line 955) | async fn test_node_version_file_takes_priority() { function test_engines_node_takes_priority_over_dev_engines (line 976) | async fn test_engines_node_takes_priority_over_dev_engines() { function test_only_engines_node_source (line 995) | async fn test_only_engines_node_source() { function test_node_version_file_partial_version (line 1013) | async fn test_node_version_file_partial_version() { function test_node_version_file_single_part_version (line 1035) | async fn test_node_version_file_single_part_version() { function test_version_source_display (line 1055) | fn test_version_source_display() { function test_invalid_node_version_file_is_ignored (line 1066) | async fn test_invalid_node_version_file_is_ignored() { function test_invalid_engines_node_is_ignored (line 1088) | async fn test_invalid_engines_node_is_ignored() { function test_invalid_dev_engines_runtime_is_ignored (line 1107) | async fn test_invalid_dev_engines_runtime_is_ignored() { function test_invalid_node_version_file_falls_through_to_valid_engines (line 1126) | async fn test_invalid_node_version_file_falls_through_to_valid_engines() { function test_invalid_engines_falls_through_to_valid_dev_engines (line 1145) | async fn test_invalid_engines_falls_through_to_valid_dev_engines() { function test_normalize_version_exact (line 1164) | fn test_normalize_version_exact() { function test_normalize_version_with_v_prefix (line 1170) | fn test_normalize_version_with_v_prefix() { function test_normalize_version_range (line 1176) | fn test_normalize_version_range() { function test_normalize_version_partial (line 1182) | fn test_normalize_version_partial() { function test_normalize_version_invalid (line 1192) | fn test_normalize_version_invalid() { function test_normalize_version_real_world_ranges (line 1201) | fn test_normalize_version_real_world_ranges() { function test_normalize_version_with_negation (line 1227) | fn test_normalize_version_with_negation() { function test_normalize_version_with_whitespace (line 1238) | fn test_normalize_version_with_whitespace() { function test_normalize_version_empty_or_whitespace_only (line 1256) | fn test_normalize_version_empty_or_whitespace_only() { function test_normalize_version_lts_aliases (line 1265) | fn test_normalize_version_lts_aliases() { function test_normalize_version_latest_alias (line 1275) | fn test_normalize_version_latest_alias() { function test_download_runtime_for_project_with_lts_alias_in_node_version (line 1283) | async fn test_download_runtime_for_project_with_lts_alias_in_node_versio... function test_download_runtime_for_project_with_lts_latest_alias (line 1305) | async fn test_download_runtime_for_project_with_lts_latest_alias() { function test_download_runtime_for_project_with_latest_alias_in_node_version (line 1327) | async fn test_download_runtime_for_project_with_latest_alias_in_node_ver... function test_resolve_node_version_no_walk_up (line 1354) | async fn test_resolve_node_version_no_walk_up() { function test_resolve_node_version_with_walk_up (line 1369) | async fn test_resolve_node_version_with_walk_up() { function test_resolve_node_version_engines_node (line 1391) | async fn test_resolve_node_version_engines_node() { function test_resolve_node_version_dev_engines (line 1405) | async fn test_resolve_node_version_dev_engines() { function test_resolve_node_version_priority (line 1419) | async fn test_resolve_node_version_priority() { function test_resolve_node_version_none_when_no_sources (line 1435) | async fn test_resolve_node_version_none_when_no_sources() { function test_resolve_node_version_child_package_json_over_parent_node_version (line 1457) | async fn test_resolve_node_version_child_package_json_over_parent_node_v... FILE: crates/vite_migration/src/ast_grep.rs function apply_rules (line 21) | pub(crate) fn apply_rules(content: &str, rule_yaml: &str) -> Result<(Str... function load_rules (line 29) | pub(crate) fn load_rules(yaml: &str) -> Result String { function test_rewrite_eslint_script (line 36) | fn test_rewrite_eslint_script() { function test_rewrite_eslint_compound_commands (line 113) | fn test_rewrite_eslint_compound_commands() { function test_rewrite_eslint_cross_env (line 134) | fn test_rewrite_eslint_cross_env() { FILE: crates/vite_migration/src/file_walker.rs constant TS_JS_EXTENSIONS (line 8) | const TS_JS_EXTENSIONS: &[&str] = &["ts", "tsx", "mts", "js", "jsx", "mj... type WalkResult (line 12) | pub struct WalkResult { function find_ts_files (line 48) | pub fn find_ts_files(root: &Path) -> Result { function test_find_ts_files_basic (line 88) | fn test_find_ts_files_basic() { function test_find_ts_files_nested (line 104) | fn test_find_ts_files_nested() { function test_find_ts_files_respects_gitignore (line 122) | fn test_find_ts_files_respects_gitignore() { function test_find_ts_files_all_extensions (line 147) | fn test_find_ts_files_all_extensions() { function test_find_ts_files_empty_directory (line 171) | fn test_find_ts_files_empty_directory() { function test_find_ts_files_skips_hidden (line 180) | fn test_find_ts_files_skips_hidden() { FILE: crates/vite_migration/src/import_rewriter.rs constant REWRITE_VITE_RULES (line 19) | const REWRITE_VITE_RULES: &str = r#"--- constant REWRITE_VITEST_RULES (line 110) | const REWRITE_VITEST_RULES: &str = r#"--- constant REWRITE_TSDOWN_RULES (line 245) | const REWRITE_TSDOWN_RULES: &str = r#"--- function apply_regex_replace (line 327) | fn apply_regex_replace(content: &mut String, re: &Regex, replacement: &s... function rewrite_reference_types (line 344) | fn rewrite_reference_types(content: &mut String, skip_packages: &SkipPac... type SkipPackages (line 506) | struct SkipPackages { method all_skipped (line 517) | fn all_skipped(&self) -> bool { function find_nearest_package_json (line 524) | fn find_nearest_package_json(file_path: &Path, root: &Path) -> Option Skip... type RewriteResult (line 578) | struct RewriteResult { type BatchRewriteResult (line 587) | pub struct BatchRewriteResult { function rewrite_imports_in_directory (line 625) | pub fn rewrite_imports_in_directory(root: &Path) -> Result Res... function rewrite_import_content (line 705) | fn rewrite_import_content( function test_rewrite_import_content_vite (line 757) | fn test_rewrite_import_content_vite() { function test_rewrite_import_content_vite_double_quotes (line 777) | fn test_rewrite_import_content_vite_double_quotes() { function test_rewrite_import_content_vitest_config (line 797) | fn test_rewrite_import_content_vitest_config() { function test_rewrite_import_content_multiple_imports (line 821) | fn test_rewrite_import_content_multiple_imports() { function test_rewrite_import_content_already_vite_plus (line 843) | fn test_rewrite_import_content_already_vite_plus() { function test_rewrite_import_with_file (line 856) | fn test_rewrite_import_with_file() { function test_rewrite_import_content_vitest (line 889) | fn test_rewrite_import_content_vitest() { function test_rewrite_import_content_vitest_double_quotes (line 913) | fn test_rewrite_import_content_vitest_double_quotes() { function test_rewrite_import_content_vitest_browser (line 929) | fn test_rewrite_import_content_vitest_browser() { function test_rewrite_import_content_vitest_browser_double_quotes (line 945) | fn test_rewrite_import_content_vitest_browser_double_quotes() { function test_rewrite_import_content_vitest_browser_playwright (line 961) | fn test_rewrite_import_content_vitest_browser_playwright() { function test_rewrite_import_content_vitest_browser_playwright_double_quotes (line 977) | fn test_rewrite_import_content_vitest_browser_playwright_double_quotes() { function test_rewrite_import_content_vitest_browser_subpath (line 993) | fn test_rewrite_import_content_vitest_browser_subpath() { function test_rewrite_import_content_vitest_browser_playwright_subpath (line 1009) | fn test_rewrite_import_content_vitest_browser_playwright_subpath() { function test_rewrite_import_content_vitest_browser_preview (line 1025) | fn test_rewrite_import_content_vitest_browser_preview() { function test_rewrite_import_content_vitest_browser_preview_subpath (line 1041) | fn test_rewrite_import_content_vitest_browser_preview_subpath() { function test_rewrite_import_content_vitest_browser_webdriverio (line 1057) | fn test_rewrite_import_content_vitest_browser_webdriverio() { function test_rewrite_import_content_vitest_browser_webdriverio_subpath (line 1073) | fn test_rewrite_import_content_vitest_browser_webdriverio_subpath() { function test_rewrite_import_content_vite_subpath (line 1089) | fn test_rewrite_import_content_vite_subpath() { function test_rewrite_import_content_vite_subpath_double_quotes (line 1105) | fn test_rewrite_import_content_vite_subpath_double_quotes() { function test_rewrite_import_content_vitest_subpath (line 1121) | fn test_rewrite_import_content_vitest_subpath() { function test_rewrite_import_content_vitest_subpath_double_quotes (line 1152) | fn test_rewrite_import_content_vitest_subpath_double_quotes() { function test_rewrite_import_content_mixed_imports (line 1168) | fn test_rewrite_import_content_mixed_imports() { function test_rewrite_imports_in_directory (line 1201) | fn test_rewrite_imports_in_directory() { function test_rewrite_imports_in_directory_empty (line 1267) | fn test_rewrite_imports_in_directory_empty() { function test_rewrite_imports_in_directory_nested (line 1278) | fn test_rewrite_imports_in_directory_nested() { function test_rewrite_declare_module_vite (line 1337) | fn test_rewrite_declare_module_vite() { function test_rewrite_declare_module_vite_double_quotes (line 1357) | fn test_rewrite_declare_module_vite_double_quotes() { function test_rewrite_declare_module_vitest (line 1377) | fn test_rewrite_declare_module_vitest() { function test_rewrite_declare_module_vitest_config (line 1397) | fn test_rewrite_declare_module_vitest_config() { function test_rewrite_declare_module_vite_subpath (line 1417) | fn test_rewrite_declare_module_vite_subpath() { function test_rewrite_declare_module_vitest_subpath (line 1437) | fn test_rewrite_declare_module_vitest_subpath() { function test_rewrite_declare_module_vitest_browser (line 1457) | fn test_rewrite_declare_module_vitest_browser() { function test_rewrite_declare_module_vitest_browser_subpath (line 1477) | fn test_rewrite_declare_module_vitest_browser_subpath() { function test_rewrite_declare_module_vitest_browser_playwright (line 1497) | fn test_rewrite_declare_module_vitest_browser_playwright() { function test_rewrite_declare_module_vitest_browser_preview (line 1517) | fn test_rewrite_declare_module_vitest_browser_preview() { function test_rewrite_declare_module_vitest_browser_webdriverio (line 1537) | fn test_rewrite_declare_module_vitest_browser_webdriverio() { function test_rewrite_mixed_imports_and_declare_modules (line 1557) | fn test_rewrite_mixed_imports_and_declare_modules() { function test_rewrite_declare_module_already_vite_plus (line 1599) | fn test_rewrite_declare_module_already_vite_plus() { function test_rewrite_multiple_declare_modules (line 1612) | fn test_rewrite_multiple_declare_modules() { function test_rewrite_declare_module_vitest_double_quotes (line 1668) | fn test_rewrite_declare_module_vitest_double_quotes() { function test_rewrite_declare_module_vitest_browser_playwright_subpath (line 1688) | fn test_rewrite_declare_module_vitest_browser_playwright_subpath() { function test_rewrite_declare_module_vitest_browser_preview_subpath (line 1708) | fn test_rewrite_declare_module_vitest_browser_preview_subpath() { function test_rewrite_declare_module_vitest_browser_webdriverio_subpath (line 1728) | fn test_rewrite_declare_module_vitest_browser_webdriverio_subpath() { function test_rewrite_declare_module_complex_interface (line 1748) | fn test_rewrite_declare_module_complex_interface() { function test_rewrite_import_content_tsdown (line 1792) | fn test_rewrite_import_content_tsdown() { function test_rewrite_import_content_tsdown_double_quotes (line 1812) | fn test_rewrite_import_content_tsdown_double_quotes() { function test_rewrite_declare_module_tsdown (line 1832) | fn test_rewrite_declare_module_tsdown() { function test_rewrite_declare_module_tsdown_double_quotes (line 1852) | fn test_rewrite_declare_module_tsdown_double_quotes() { function test_skip_vite_when_peer_dependency (line 1876) | fn test_skip_vite_when_peer_dependency() { function test_skip_vitest_when_peer_dependency (line 1899) | fn test_skip_vitest_when_peer_dependency() { function test_skip_all_when_all_peer_dependencies (line 1922) | fn test_skip_all_when_all_peer_dependencies() { function test_skip_packages_all_skipped (line 1938) | fn test_skip_packages_all_skipped() { function test_get_skip_packages_from_package_json_with_vite_peer_dep (line 1950) | fn test_get_skip_packages_from_package_json_with_vite_peer_dep() { function test_get_skip_packages_from_package_json_with_all_peer_deps (line 1972) | fn test_get_skip_packages_from_package_json_with_all_peer_deps() { function test_get_skip_packages_from_package_json_with_vite_dependency (line 1996) | fn test_get_skip_packages_from_package_json_with_vite_dependency() { function test_get_skip_packages_from_package_json_no_file (line 2018) | fn test_get_skip_packages_from_package_json_no_file() { function test_get_skip_packages_from_package_json_no_deps (line 2030) | fn test_get_skip_packages_from_package_json_no_deps() { function test_get_skip_packages_mixed_peer_and_regular_deps (line 2049) | fn test_get_skip_packages_mixed_peer_and_regular_deps() { function test_rewrite_imports_in_directory_with_vite_dependency (line 2074) | fn test_rewrite_imports_in_directory_with_vite_dependency() { function test_rewrite_imports_in_directory_with_peer_deps (line 2117) | fn test_rewrite_imports_in_directory_with_peer_deps() { function test_rewrite_imports_skips_file_when_all_peer_deps (line 2160) | fn test_rewrite_imports_skips_file_when_all_peer_deps() { function test_find_nearest_package_json (line 2195) | fn test_find_nearest_package_json() { function test_rewrite_imports_monorepo_different_peer_deps (line 2234) | fn test_rewrite_imports_monorepo_different_peer_deps() { function test_rewrite_reference_types_vite_client (line 2306) | fn test_rewrite_reference_types_vite_client() { function test_rewrite_reference_types_vite_client_single_quotes (line 2314) | fn test_rewrite_reference_types_vite_client_single_quotes() { function test_rewrite_reference_types_bare_vite (line 2322) | fn test_rewrite_reference_types_bare_vite() { function test_rewrite_reference_types_bare_vitest (line 2330) | fn test_rewrite_reference_types_bare_vitest() { function test_rewrite_reference_types_vitest_globals (line 2338) | fn test_rewrite_reference_types_vitest_globals() { function test_rewrite_reference_types_vitest_config (line 2346) | fn test_rewrite_reference_types_vitest_config() { function test_rewrite_reference_types_vitest_browser (line 2354) | fn test_rewrite_reference_types_vitest_browser() { function test_rewrite_reference_types_vitest_scoped_browser_matchers_not_rewritten (line 2362) | fn test_rewrite_reference_types_vitest_scoped_browser_matchers_not_rewri... function test_rewrite_reference_types_vitest_scoped_browser_context (line 2371) | fn test_rewrite_reference_types_vitest_scoped_browser_context() { function test_rewrite_reference_types_vitest_scoped_browser_playwright (line 2379) | fn test_rewrite_reference_types_vitest_scoped_browser_playwright() { function test_rewrite_reference_types_vitest_scoped_browser_playwright_pkg (line 2390) | fn test_rewrite_reference_types_vitest_scoped_browser_playwright_pkg() { function test_rewrite_reference_types_vitest_scoped_browser_webdriverio (line 2401) | fn test_rewrite_reference_types_vitest_scoped_browser_webdriverio() { function test_rewrite_reference_types_tsdown_subpath_not_rewritten (line 2412) | fn test_rewrite_reference_types_tsdown_subpath_not_rewritten() { function test_rewrite_reference_types_vitest_scoped_not_matching (line 2421) | fn test_rewrite_reference_types_vitest_scoped_not_matching() { function test_rewrite_reference_types_inside_template_literal_not_rewritten (line 2430) | fn test_rewrite_reference_types_inside_template_literal_not_rewritten() { function test_rewrite_reference_types_preamble_only (line 2442) | fn test_rewrite_reference_types_preamble_only() { function test_rewrite_reference_types_after_block_comment (line 2463) | fn test_rewrite_reference_types_after_block_comment() { function test_rewrite_reference_types_after_multiline_block_comment (line 2475) | fn test_rewrite_reference_types_after_multiline_block_comment() { function test_rewrite_reference_types_block_comment_with_trailing_code (line 2488) | fn test_rewrite_reference_types_block_comment_with_trailing_code() { function test_rewrite_reference_types_block_comment_with_trailing_comment (line 2497) | fn test_rewrite_reference_types_block_comment_with_trailing_comment() { function test_rewrite_reference_types_multiline_block_comment_closes_into_code (line 2509) | fn test_rewrite_reference_types_multiline_block_comment_closes_into_code... function test_rewrite_reference_types_multiline_block_comment_closes_into_comment (line 2518) | fn test_rewrite_reference_types_multiline_block_comment_closes_into_comm... function test_rewrite_reference_types_block_close_into_new_block_comment (line 2530) | fn test_rewrite_reference_types_block_close_into_new_block_comment() { function test_rewrite_reference_types_multiple_inline_block_comments_then_code (line 2542) | fn test_rewrite_reference_types_multiple_inline_block_comments_then_code... function test_rewrite_reference_types_multiple_inline_block_comments_no_code (line 2551) | fn test_rewrite_reference_types_multiple_inline_block_comments_no_code() { function test_rewrite_reference_types_vitest_browser_providers_playwright (line 2563) | fn test_rewrite_reference_types_vitest_browser_providers_playwright() { function test_rewrite_reference_types_crlf (line 2575) | fn test_rewrite_reference_types_crlf() { function test_rewrite_reference_types_crlf_with_block_comment (line 2588) | fn test_rewrite_reference_types_crlf_with_block_comment() { function test_rewrite_reference_types_no_space_after_slashes (line 2601) | fn test_rewrite_reference_types_no_space_after_slashes() { function test_rewrite_reference_types_tab_after_slashes (line 2610) | fn test_rewrite_reference_types_tab_after_slashes() { function test_rewrite_reference_types_after_shebang (line 2619) | fn test_rewrite_reference_types_after_shebang() { function test_rewrite_reference_types_after_bom (line 2631) | fn test_rewrite_reference_types_after_bom() { function test_rewrite_reference_types_bare_tsdown (line 2640) | fn test_rewrite_reference_types_bare_tsdown() { function test_rewrite_reference_types_already_migrated (line 2648) | fn test_rewrite_reference_types_already_migrated() { function test_rewrite_reference_types_preserves_non_matching (line 2656) | fn test_rewrite_reference_types_preserves_non_matching() { function test_rewrite_reference_types_with_leading_whitespace (line 2666) | fn test_rewrite_reference_types_with_leading_whitespace() { function test_rewrite_reference_types_env_d_ts_style (line 2674) | fn test_rewrite_reference_types_env_d_ts_style() { function test_rewrite_reference_types_mixed_with_imports (line 2694) | fn test_rewrite_reference_types_mixed_with_imports() { function test_rewrite_reference_types_skip_vite (line 2712) | fn test_rewrite_reference_types_skip_vite() { function test_rewrite_reference_types_skip_vitest (line 2728) | fn test_rewrite_reference_types_skip_vitest() { function test_rewrite_reference_types_skip_tsdown (line 2746) | fn test_rewrite_reference_types_skip_tsdown() { function test_rewrite_reference_types_skip_all (line 2762) | fn test_rewrite_reference_types_skip_all() { FILE: crates/vite_migration/src/package.rs constant CROSS_ENV_MARKER (line 10) | const CROSS_ENV_MARKER: &str = "__CROSS_ENV__=1 "; constant CROSS_ENV_REPLACEMENT (line 11) | const CROSS_ENV_REPLACEMENT: &str = "cross-env "; function rewrite_script (line 14) | fn rewrite_script(script: &str, rules: &[RuleConfig]) -> St... function transform_scripts_json (line 41) | fn transform_scripts_json( function rewrite_eslint (line 88) | pub fn rewrite_eslint(scripts_json: &str) -> Result, Erro... function rewrite_prettier (line 96) | pub fn rewrite_prettier(scripts_json: &str) -> Result, Er... function rewrite_scripts (line 101) | pub fn rewrite_scripts(scripts_json: &str, rules_yaml: &str) -> Result String { function test_rewrite_prettier_script (line 72) | fn test_rewrite_prettier_script() { function test_rewrite_prettier_compound_commands (line 147) | fn test_rewrite_prettier_compound_commands() { function test_rewrite_prettier_cross_env (line 168) | fn test_rewrite_prettier_cross_env() { function test_rewrite_prettier_list_different_to_check (line 195) | fn test_rewrite_prettier_list_different_to_check() { function test_rewrite_prettier_short_flags (line 215) | fn test_rewrite_prettier_short_flags() { function test_rewrite_prettier_ignore_unknown_stripped (line 226) | fn test_rewrite_prettier_ignore_unknown_stripped() { function test_rewrite_prettier_value_flags (line 248) | fn test_rewrite_prettier_value_flags() { FILE: crates/vite_migration/src/script_rewrite.rs type FlagConversion (line 5) | pub(crate) struct FlagConversion { type ScriptRewriteConfig (line 16) | pub(crate) struct ScriptRewriteConfig { constant SHELL_CONTINUATION_KEYWORDS (line 30) | const SHELL_CONTINUATION_KEYWORDS: &[&str] = &["then", "do", "else", "el... function rewrite_script (line 34) | pub(crate) fn rewrite_script(script: &str, config: &ScriptRewriteConfig)... function rewrite_in_program (line 51) | fn rewrite_in_program(program: &mut ast::Program, config: &ScriptRewrite... function rewrite_in_compound_list (line 59) | fn rewrite_in_compound_list(list: &mut ast::CompoundList, config: &Scrip... function rewrite_in_and_or_list (line 67) | fn rewrite_in_and_or_list(list: &mut ast::AndOrList, config: &ScriptRewr... function rewrite_in_pipeline (line 79) | fn rewrite_in_pipeline(pipeline: &mut ast::Pipeline, config: &ScriptRewr... function rewrite_in_compound_command (line 95) | fn rewrite_in_compound_command( function make_suffix_word (line 137) | fn make_suffix_word(value: &str) -> ast::CommandPrefixOrSuffixItem { function rewrite_in_simple_command (line 141) | fn rewrite_in_simple_command(cmd: &mut ast::SimpleCommand, config: &Scri... function rewrite_in_cross_env (line 166) | fn rewrite_in_cross_env(cmd: &mut ast::SimpleCommand, config: &ScriptRew... function strip_flags_from_suffix (line 191) | fn strip_flags_from_suffix( function collapse_newlines (line 268) | fn collapse_newlines(s: &str) -> String { function needs_semicolon (line 294) | fn needs_semicolon(before: &str) -> bool { function normalize_pipe_spacing (line 316) | fn normalize_pipe_spacing(s: &str) -> String { function test_normalize_pipe_spacing (line 339) | fn test_normalize_pipe_spacing() { FILE: crates/vite_migration/src/vite_config.rs type MergeResult (line 12) | pub struct MergeResult { function merge_json_config (line 66) | pub fn merge_json_config( function merge_json_config_content (line 96) | fn merge_json_config_content( function strip_schema_property (line 127) | fn strip_schema_property(config: &str) -> Cow<'_, str> { function check_function_callback (line 132) | fn check_function_callback(vite_config_content: &str) -> Result String { function indent_multiline (line 270) | fn indent_multiline(s: &str, spaces: usize) -> String { function merge_tsdown_config (line 301) | pub fn merge_tsdown_config( function merge_tsdown_config_content (line 316) | fn merge_tsdown_config_content( function test_check_function_callback (line 362) | fn test_check_function_callback() { function test_merge_json_config_content_simple (line 386) | fn test_merge_json_config_content_simple() { function test_merge_json_config_content_with_existing_config (line 416) | fn test_merge_json_config_content_with_existing_config() { function test_merge_json_config_content_function_callback (line 442) | fn test_merge_json_config_content_function_callback() { function test_merge_json_config_content_complex_function_callback (line 467) | fn test_merge_json_config_content_complex_function_callback() { function test_generate_merge_rule (line 554) | fn test_generate_merge_rule() { function test_merge_json_config_content_arrow_wrapper (line 582) | fn test_merge_json_config_content_arrow_wrapper() { function test_merge_json_config_content_plain_export (line 609) | fn test_merge_json_config_content_plain_export() { function test_merge_json_config_content_return_variable (line 652) | fn test_merge_json_config_content_return_variable() { function test_merge_json_config_content_with_format_key (line 707) | fn test_merge_json_config_content_with_format_key() { function test_merge_json_config_with_files (line 730) | fn test_merge_json_config_with_files() { function test_merge_json_config_with_jsonc_file (line 785) | fn test_merge_json_config_with_jsonc_file() { function test_merge_json_config_with_inline_comments (line 843) | fn test_merge_json_config_with_inline_comments() { function test_strip_schema_property (line 893) | fn test_strip_schema_property() { function test_merge_json_config_content_strips_schema (line 920) | fn test_merge_json_config_content_strips_schema() { function test_indent_multiline (line 939) | fn test_indent_multiline() { function test_merge_json_config_content_no_trailing_comma (line 953) | fn test_merge_json_config_content_no_trailing_comma() { function test_merge_json_config_content_with_trailing_comma (line 983) | fn test_merge_json_config_content_with_trailing_comma() { function test_merge_tsdown_config_content_simple (line 1016) | fn test_merge_tsdown_config_content_simple() { function test_merge_tsdown_config_content_with_existing_imports (line 1041) | fn test_merge_tsdown_config_content_with_existing_imports() { function test_merge_tsdown_config_content_function_callback (line 1067) | fn test_merge_tsdown_config_content_function_callback() { function test_merge_tsdown_config_content_idempotent (line 1091) | fn test_merge_tsdown_config_content_idempotent() { function test_merge_tsdown_config_content_no_imports (line 1134) | fn test_merge_tsdown_config_content_no_imports() { function test_merge_tsdown_config_content_no_false_positive_stdlib (line 1155) | fn test_merge_tsdown_config_content_no_false_positive_stdlib() { function test_merge_tsdown_config_content_mts_extension (line 1171) | fn test_merge_tsdown_config_content_mts_extension() { function test_merge_tsdown_config_content_cts_extension (line 1183) | fn test_merge_tsdown_config_content_cts_extension() { function test_merge_tsdown_config_content_js_extension_unchanged (line 1195) | fn test_merge_tsdown_config_content_js_extension_unchanged() { FILE: crates/vite_shared/src/env_config.rs type EnvConfig (line 53) | pub struct EnvConfig { method from_env (line 131) | pub fn from_env() -> Self { method init (line 161) | pub fn init() { method get (line 170) | pub fn get() -> Self { method test_scope (line 199) | pub fn test_scope(config: Self, f: impl FnOnce() -> R) -> R { method for_test (line 220) | pub fn for_test() -> Self { method for_test_with_home (line 240) | pub fn for_test_with_home(home: impl Into) -> Self { method test_guard (line 246) | pub fn test_guard(config: Self) -> TestEnvGuard { type TestEnvGuard (line 253) | pub struct TestEnvGuard { method drop (line 258) | fn drop(&mut self) { function test_for_test_returns_defaults (line 270) | fn test_for_test_returns_defaults() { function test_for_test_with_home (line 279) | fn test_for_test_with_home() { function test_struct_update_syntax (line 285) | fn test_struct_update_syntax() { function test_scope_overrides_get (line 297) | fn test_scope_overrides_get() { function test_scope_restores_previous (line 305) | fn test_scope_restores_previous() { function test_nested_scopes (line 315) | fn test_nested_scopes() { function test_from_env_runs_without_panic (line 336) | fn test_from_env_runs_without_panic() { FILE: crates/vite_shared/src/env_vars.rs constant VITE_PLUS_HOME (line 16) | pub const VITE_PLUS_HOME: &str = "VITE_PLUS_HOME"; constant VITE_LOG (line 19) | pub const VITE_LOG: &str = "VITE_LOG"; constant NPM_CONFIG_REGISTRY (line 22) | pub const NPM_CONFIG_REGISTRY: &str = "npm_config_registry"; constant NPM_CONFIG_REGISTRY_UPPER (line 25) | pub const NPM_CONFIG_REGISTRY_UPPER: &str = "NPM_CONFIG_REGISTRY"; constant VITE_NODE_DIST_MIRROR (line 28) | pub const VITE_NODE_DIST_MIRROR: &str = "VITE_NODE_DIST_MIRROR"; constant VITE_PLUS_NODE_VERSION (line 31) | pub const VITE_PLUS_NODE_VERSION: &str = "VITE_PLUS_NODE_VERSION"; constant VITE_PLUS_DEBUG_SHIM (line 34) | pub const VITE_PLUS_DEBUG_SHIM: &str = "VITE_PLUS_DEBUG_SHIM"; constant VITE_PLUS_ENV_USE_EVAL_ENABLE (line 37) | pub const VITE_PLUS_ENV_USE_EVAL_ENABLE: &str = "VITE_PLUS_ENV_USE_EVAL_... constant VITE_UPDATE_TASK_TYPES (line 40) | pub const VITE_UPDATE_TASK_TYPES: &str = "VITE_UPDATE_TASK_TYPES"; constant VITE_GLOBAL_CLI_JS_SCRIPTS_DIR (line 43) | pub const VITE_GLOBAL_CLI_JS_SCRIPTS_DIR: &str = "VITE_GLOBAL_CLI_JS_SCR... constant VITE_PLUS_BYPASS (line 50) | pub const VITE_PLUS_BYPASS: &str = "VITE_PLUS_BYPASS"; constant VITE_PLUS_TOOL_RECURSION (line 53) | pub const VITE_PLUS_TOOL_RECURSION: &str = "VITE_PLUS_TOOL_RECURSION"; constant VITE_PLUS_ACTIVE_NODE (line 56) | pub const VITE_PLUS_ACTIVE_NODE: &str = "VITE_PLUS_ACTIVE_NODE"; constant VITE_PLUS_RESOLVE_SOURCE (line 59) | pub const VITE_PLUS_RESOLVE_SOURCE: &str = "VITE_PLUS_RESOLVE_SOURCE"; constant VITE_PLUS_SHIM_TOOL (line 62) | pub const VITE_PLUS_SHIM_TOOL: &str = "VITE_PLUS_SHIM_TOOL"; constant VITE_PLUS_SHIM_WRAPPER (line 68) | pub const VITE_PLUS_SHIM_WRAPPER: &str = "VITE_PLUS_SHIM_WRAPPER"; constant VITE_PLUS_CLI_BIN (line 71) | pub const VITE_PLUS_CLI_BIN: &str = "VITE_PLUS_CLI_BIN"; constant VITE_PLUS_GLOBAL_VERSION (line 74) | pub const VITE_PLUS_GLOBAL_VERSION: &str = "VITE_PLUS_GLOBAL_VERSION"; constant VITE_PLUS_TRAMPOLINE_PATH (line 82) | pub const VITE_PLUS_TRAMPOLINE_PATH: &str = "VITE_PLUS_TRAMPOLINE_PATH"; FILE: crates/vite_shared/src/header.rs constant ESC (line 24) | const ESC: &str = "\x1b"; constant CSI (line 25) | const CSI: &str = "\x1b["; constant RESET (line 26) | const RESET: &str = "\x1b[0m"; constant HEADER_SUFFIX (line 28) | const HEADER_SUFFIX: &str = " - The Unified Toolchain for the Web"; constant RESET_FG (line 30) | const RESET_FG: &str = "\x1b[39m"; constant DEFAULT_BLUE (line 31) | const DEFAULT_BLUE: Rgb = Rgb(88, 146, 255); constant DEFAULT_MAGENTA (line 32) | const DEFAULT_MAGENTA: Rgb = Rgb(187, 116, 247); constant ANSI_BLUE_INDEX (line 33) | const ANSI_BLUE_INDEX: u8 = 4; constant ANSI_MAGENTA_INDEX (line 34) | const ANSI_MAGENTA_INDEX: u8 = 5; constant HEADER_SUFFIX_FADE_GAMMA (line 35) | const HEADER_SUFFIX_FADE_GAMMA: f64 = 1.35; function is_warp_terminal (line 42) | pub fn is_warp_terminal() -> bool { type Rgb (line 49) | struct Rgb(u8, u8, u8); type HeaderColors (line 51) | struct HeaderColors { function bold (line 56) | fn bold(text: &str, enabled: bool) -> String { function fg_rgb (line 60) | fn fg_rgb(color: Rgb) -> String { function should_colorize (line 64) | fn should_colorize() -> bool { function supports_true_color (line 69) | fn supports_true_color() -> bool { function lerp (line 74) | fn lerp(a: f64, b: f64, t: f64) -> f64 { function gradient_eased (line 78) | fn gradient_eased(count: usize, start: Rgb, end: Rgb, gamma: f64) -> Vec... function gradient_three_stop (line 94) | fn gradient_three_stop(count: usize, start: Rgb, middle: Rgb, end: Rgb, ... function colorize (line 120) | fn colorize(text: &str, colors: &[Rgb]) -> String { function to_8bit (line 140) | fn to_8bit(hex: &str) -> Option { function parse_rgb_triplet (line 157) | fn parse_rgb_triplet(input: &str) -> Option { function parse_osc10_rgb (line 168) | fn parse_osc10_rgb(buffer: &str) -> Option { function parse_osc4_rgb (line 176) | fn parse_osc4_rgb(buffer: &str, index: u8) -> Option { function is_osc_query_unsupported (line 190) | fn is_osc_query_unsupported() -> bool { constant DA1 (line 255) | const DA1: &str = "\x1b[c"; function read_until_either (line 260) | fn read_until_either( function query_terminal_colors (line 297) | fn query_terminal_colors(palette_indices: &[u8]) -> (Option, Vec<(u... function query_terminal_colors (line 483) | fn query_terminal_colors(_palette_indices: &[u8]) -> (Option, Vec<(... function palette_color (line 487) | fn palette_color(palette: &[(u8, Rgb)], index: u8) -> Option { function get_header_colors (line 491) | fn get_header_colors() -> &'static HeaderColors { function render_header_variant (line 517) | fn render_header_variant( function vite_plus_header (line 530) | pub fn vite_plus_header() -> String { function to_8bit_matches_js_rules (line 549) | fn to_8bit_matches_js_rules() { function to_8bit_single_digit (line 558) | fn to_8bit_single_digit() { function to_8bit_three_digit (line 565) | fn to_8bit_three_digit() { function to_8bit_empty_returns_none (line 572) | fn to_8bit_empty_returns_none() { function to_8bit_invalid_hex_returns_none (line 577) | fn to_8bit_invalid_hex_returns_none() { function parse_rgb_triplet_standard (line 583) | fn parse_rgb_triplet_standard() { function parse_rgb_triplet_four_digit_channels (line 589) | fn parse_rgb_triplet_four_digit_channels() { function parse_rgb_triplet_mixed_digit_channels (line 596) | fn parse_rgb_triplet_mixed_digit_channels() { function parse_rgb_triplet_trailing_junk_ignored (line 602) | fn parse_rgb_triplet_trailing_junk_ignored() { function parse_rgb_triplet_missing_channel_returns_none (line 608) | fn parse_rgb_triplet_missing_channel_returns_none() { function parse_osc10_response_extracts_rgb (line 614) | fn parse_osc10_response_extracts_rgb() { function parse_osc10_bel_terminated (line 620) | fn parse_osc10_bel_terminated() { function parse_osc10_no_match_returns_none (line 626) | fn parse_osc10_no_match_returns_none() { function parse_osc4_response_extracts_rgb (line 632) | fn parse_osc4_response_extracts_rgb() { function parse_osc4_bel_terminated (line 638) | fn parse_osc4_bel_terminated() { function parse_osc4_wrong_index_returns_none (line 644) | fn parse_osc4_wrong_index_returns_none() { function parse_osc4_no_match_returns_none (line 650) | fn parse_osc4_no_match_returns_none() { function parse_osc_multiple_responses_in_buffer (line 656) | fn parse_osc_multiple_responses_in_buffer() { function parse_osc_buffer_with_da1_response (line 667) | fn parse_osc_buffer_with_da1_response() { function gradient_counts_match (line 674) | fn gradient_counts_match() { function query_terminal_colors_does_not_hang (line 683) | fn query_terminal_colors_does_not_hang() { function read_until_either_stops_at_first_delimiter (line 692) | fn read_until_either_stops_at_first_delimiter() { function read_until_either_stops_at_second_delimiter (line 702) | fn read_until_either_stops_at_second_delimiter() { function read_until_either_no_delimiter_reads_all (line 712) | fn read_until_either_no_delimiter_reads_all() { function read_until_either_empty_input (line 722) | fn read_until_either_empty_input() { function read_until_either_delimiter_at_start (line 732) | fn read_until_either_delimiter_at_start() { function read_until_either_multi_chunk (line 742) | fn read_until_either_multi_chunk() { FILE: crates/vite_shared/src/home.rs constant VITE_PLUS_HOME_DIR (line 7) | const VITE_PLUS_HOME_DIR: &str = ".vite-plus"; function get_vite_plus_home (line 13) | pub fn get_vite_plus_home() -> std::io::Result { function test_get_vite_plus_home (line 39) | fn test_get_vite_plus_home() { function test_get_vite_plus_home_with_custom_path (line 45) | fn test_get_vite_plus_home_with_custom_path() { FILE: crates/vite_shared/src/output.rs constant CHECK (line 10) | pub const CHECK: &str = "\u{2713}"; constant CROSS (line 12) | pub const CROSS: &str = "\u{2717}"; constant WARN_SIGN (line 14) | pub const WARN_SIGN: &str = "\u{26A0}"; constant ARROW (line 16) | pub const ARROW: &str = "\u{2192}"; function info (line 20) | pub fn info(msg: &str) { function pass (line 26) | pub fn pass(msg: &str) { function warn (line 32) | pub fn warn(msg: &str) { function error (line 38) | pub fn error(msg: &str) { function note (line 44) | pub fn note(msg: &str) { function success (line 50) | pub fn success(msg: &str) { function raw (line 56) | pub fn raw(msg: &str) { function raw_inline (line 62) | pub fn raw_inline(msg: &str) { FILE: crates/vite_shared/src/package_json.rs type RuntimeEngine (line 12) | pub struct RuntimeEngine { type RuntimeEngineConfig (line 28) | pub enum RuntimeEngineConfig { method find_by_name (line 38) | pub fn find_by_name(&self, name: &str) -> Option<&RuntimeEngine> { type DevEngines (line 49) | pub struct DevEngines { type Engines (line 57) | pub struct Engines { type PackageJson (line 66) | pub struct PackageJson { function test_parse_single_runtime (line 80) | fn test_parse_single_runtime() { function test_parse_multiple_runtimes (line 104) | fn test_parse_multiple_runtimes() { function test_parse_no_dev_engines (line 138) | fn test_parse_no_dev_engines() { function test_parse_empty_dev_engines (line 146) | fn test_parse_empty_dev_engines() { function test_parse_runtime_with_missing_fields (line 155) | fn test_parse_runtime_with_missing_fields() { function test_parse_engines_node (line 175) | fn test_parse_engines_node() { function test_parse_engines_node_empty (line 182) | fn test_parse_engines_node_empty() { function test_parse_both_engines_and_dev_engines (line 189) | fn test_parse_both_engines_and_dev_engines() { FILE: crates/vite_shared/src/path_env.rs type PrependOptions (line 12) | pub struct PrependOptions { type PrependResult (line 20) | pub enum PrependResult { function format_path_with_prepend (line 42) | pub fn format_path_with_prepend(dir: impl AsRef, options: PrependO... function prepend_to_path_env (line 84) | pub fn prepend_to_path_env(dir: &AbsolutePath, options: PrependOptions) ... function format_path_prepended (line 105) | pub fn format_path_prepended(bin_prefix: impl AsRef) -> String { function test_prepend_options_default (line 118) | fn test_prepend_options_default() { function test_format_path_prepended (line 124) | fn test_format_path_prepended() { function test_format_path_with_prepend_dedupe_first (line 130) | fn test_format_path_with_prepend_dedupe_first() { function test_format_path_with_prepend_dedupe_anywhere (line 138) | fn test_format_path_with_prepend_dedupe_anywhere() { function test_format_path_prepended_always_prepends (line 146) | fn test_format_path_prepended_always_prepends() { FILE: crates/vite_shared/src/string_similarity.rs function levenshtein_distance (line 5) | pub fn levenshtein_distance(left: &str, right: &str) -> usize { function pick_best_suggestion (line 29) | pub fn pick_best_suggestion(input: &str, candidates: &[String]) -> Optio... function distance_works_for_simple_inputs (line 41) | fn distance_works_for_simple_inputs() { function pick_best_prefers_closest_match (line 47) | fn pick_best_prefers_closest_match() { FILE: crates/vite_shared/src/tracing.rs function init_tracing (line 19) | pub fn init_tracing() { FILE: crates/vite_static_config/src/lib.rs type FieldValue (line 16) | pub enum FieldValue { type FieldMapInner (line 35) | enum FieldMapInner { type FieldMap (line 41) | pub struct FieldMap(FieldMapInner); method unanalyzable (line 46) | fn unanalyzable() -> Self { method no_config (line 52) | fn no_config() -> Self { method get (line 64) | pub fn get(&self, key: &str) -> Option { constant CONFIG_FILE_NAMES (line 81) | const CONFIG_FILE_NAMES: &[&str] = &[ function resolve_config_path (line 93) | fn resolve_config_path(dir: &AbsolutePath) -> Option FieldMap { function parse_json_config (line 127) | fn parse_json_config(source: &str) -> FieldMap { function parse_js_ts_config (line 139) | fn parse_js_ts_config(source: &str, extension: &str) -> FieldMap { function extract_config_fields (line 163) | fn extract_config_fields(program: &Program<'_>) -> FieldMap { function extract_config_from_expr (line 195) | fn extract_config_from_expr(expr: &Expression<'_>) -> FieldMap { function extract_config_from_function_body (line 235) | fn extract_config_from_function_body(body: &oxc_ast::ast::FunctionBody<'... function count_returns_in_stmts (line 268) | fn count_returns_in_stmts(stmts: &[Statement<'_>]) -> usize { function count_returns_in_stmt (line 276) | fn count_returns_in_stmt(stmt: &Statement<'_>) -> usize { function extract_object_fields (line 333) | fn extract_object_fields(obj: &oxc_ast::ast::ObjectExpression<'_>) -> Fi... function f64_to_json_number (line 368) | fn f64_to_json_number(value: f64) -> serde_json::Value { function expr_to_json (line 385) | fn expr_to_json(expr: &Expression<'_>) -> Option { function parse (line 453) | fn parse(source: &str) -> FieldMap { function assert_json (line 458) | fn assert_json(map: &FieldMap, key: &str, expected: serde_json::Value) { function assert_non_static (line 463) | fn assert_non_static(map: &FieldMap, key: &str) { function resolves_ts_config (line 474) | fn resolves_ts_config() { function resolves_js_config (line 483) | fn resolves_js_config() { function resolves_mts_config (line 492) | fn resolves_mts_config() { function js_takes_priority_over_ts (line 501) | fn js_takes_priority_over_ts() { function returns_empty_map_for_no_config (line 514) | fn returns_empty_map_for_no_config() { function parses_json_config (line 524) | fn parses_json_config() { function plain_export_default_object (line 543) | fn plain_export_default_object() { function export_default_empty_object (line 550) | fn export_default_empty_object() { function define_config_call (line 558) | fn define_config_call() { function module_exports_object (line 575) | fn module_exports_object() { function module_exports_define_config (line 581) | fn module_exports_define_config() { function module_exports_non_object (line 595) | fn module_exports_non_object() { function module_exports_unknown_call (line 600) | fn module_exports_unknown_call() { function string_values (line 607) | fn string_values() { function numeric_values (line 614) | fn numeric_values() { function numeric_overflow_to_infinity_is_null (line 623) | fn numeric_overflow_to_infinity_is_null() { function negative_zero_is_zero (line 631) | fn negative_zero_is_zero() { function boolean_values (line 638) | fn boolean_values() { function null_value (line 645) | fn null_value() { function array_of_strings (line 653) | fn array_of_strings() { function nested_arrays (line 659) | fn nested_arrays() { function empty_array (line 665) | fn empty_array() { function nested_object (line 673) | fn nested_object() { function non_static_function_call_values (line 705) | fn non_static_function_call_values() { function non_static_identifier_values (line 717) | fn non_static_identifier_values() { function non_static_template_literal_with_expressions (line 729) | fn non_static_template_literal_with_expressions() { function keeps_pure_template_literal (line 741) | fn keeps_pure_template_literal() { function non_static_spread_in_object_value (line 747) | fn non_static_spread_in_object_value() { function spread_unknown_keys_not_in_map (line 759) | fn spread_unknown_keys_not_in_map() { function spread_invalidates_previous_fields (line 774) | fn spread_invalidates_previous_fields() { function spread_only (line 790) | fn spread_only() { function spread_then_explicit_run (line 802) | fn spread_then_explicit_run() { function no_spread_absent_is_none (line 814) | fn no_spread_absent_is_none() { function computed_key_unknown_not_in_map (line 821) | fn computed_key_unknown_not_in_map() { function computed_key_invalidates_previous_fields (line 834) | fn computed_key_invalidates_previous_fields() { function non_static_array_with_spread (line 849) | fn non_static_array_with_spread() { function string_literal_keys (line 863) | fn string_literal_keys() { function real_world_run_config (line 871) | fn real_world_run_config() { function real_world_with_non_json_fields (line 901) | fn real_world_with_non_json_fields() { function skips_non_default_exports (line 947) | fn skips_non_default_exports() { function define_config_arrow_block_body (line 961) | fn define_config_arrow_block_body() { function define_config_arrow_expression_body (line 978) | fn define_config_arrow_expression_body() { function define_config_function_expression (line 992) | fn define_config_function_expression() { function define_config_arrow_no_return_object (line 1008) | fn define_config_arrow_no_return_object() { function define_config_arrow_multiple_returns (line 1024) | fn define_config_arrow_multiple_returns() { function define_config_arrow_empty_body (line 1043) | fn define_config_arrow_empty_body() { function returns_none_for_no_default_export (line 1053) | fn returns_none_for_no_default_export() { function returns_none_for_non_object_default_export (line 1058) | fn returns_none_for_non_object_default_export() { function returns_none_for_unknown_function_call (line 1063) | fn returns_none_for_unknown_function_call() { function handles_trailing_commas (line 1071) | fn handles_trailing_commas() { function task_with_cache_config (line 1083) | fn task_with_cache_config() { function non_static_method_call_in_nested_value (line 1113) | fn non_static_method_call_in_nested_value() { function cache_scripts_only (line 1132) | fn cache_scripts_only() { FILE: crates/vite_trampoline/src/main.rs function main (line 22) | fn main() { function install_ctrl_handler (line 83) | fn install_ctrl_handler() { FILE: docs/.vitepress/theme/data/performance.ts type PerformanceData (line 1) | interface PerformanceData { FILE: docs/.vitepress/theme/data/terminal-transcripts.ts type TerminalTone (line 1) | type TerminalTone = 'base' | 'muted' | 'brand' | 'accent' | 'success' | ... type TerminalSegment (line 3) | interface TerminalSegment { type TerminalLine (line 9) | interface TerminalLine { type TerminalTranscript (line 14) | interface TerminalTranscript { FILE: docs/.vitepress/theme/data/testimonials.ts type TestimonialData (line 1) | interface TestimonialData { FILE: ecosystem-ci/clone.ts function exec (line 10) | function exec(cmd: string, execCwd: string = cwd): string { function getRemoteUrl (line 14) | function getRemoteUrl(dir: string): string | null { function normalizeGitUrl (line 22) | function normalizeGitUrl(url: string): string { function isSameRepo (line 31) | function isSameRepo(url1: string, url2: string): boolean { function getCurrentHash (line 35) | function getCurrentHash(dir: string): string | null { function cloneRepo (line 43) | function cloneRepo(repoUrl: string, targetDir: string): void { function checkoutHash (line 48) | function checkoutHash(dir: string, hash: string): void { function cloneProject (line 54) | function cloneProject(repoName: string): void { FILE: packages/cli/binding/build.rs function main (line 1) | fn main() { FILE: packages/cli/binding/index.cjs function requireNative (line 65) | function requireNative() { FILE: packages/cli/binding/src/cli.rs type ResolvedUniversalViteConfig (line 34) | pub struct ResolvedUniversalViteConfig { type ResolveCommandResult (line 44) | pub struct ResolveCommandResult { type SynthesizableSubcommand (line 51) | pub enum SynthesizableSubcommand { type CLIArgs (line 126) | enum CLIArgs { type BoxedResolverFn (line 141) | pub type BoxedResolverFn = type ViteConfigResolverFn (line 146) | pub type ViteConfigResolverFn = Arc< type CliOptions (line 153) | pub struct CliOptions { type ResolvedSubcommand (line 164) | struct ResolvedSubcommand { method into_synthetic_plan_request (line 172) | fn into_synthetic_plan_request(self) -> SyntheticPlanRequest { type SubcommandResolver (line 184) | pub struct SubcommandResolver { method fmt (line 190) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method new (line 199) | pub fn new(workspace_path: Arc) -> Self { method with_cli_options (line 203) | pub fn with_cli_options(mut self, cli_options: CliOptions) -> Self { method resolve_universal_vite_config (line 208) | async fn resolve_universal_vite_config(&self) -> anyhow::Result) -> std::fmt::Result { method new (line 528) | pub fn new(resolver: SubcommandResolver) -> Self { method handle_command (line 535) | async fn handle_command( type VitePlusConfigLoader (line 584) | pub struct VitePlusConfigLoader { method new (line 589) | pub fn new(resolve_fn: ViteConfigResolverFn) -> Self { method fmt (line 595) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method load_user_config_file (line 602) | async fn load_user_config_file( function resolve_and_build_command (line 651) | async fn resolve_and_build_command( function resolve_and_execute (line 689) | async fn resolve_and_execute( function resolve_and_execute_with_stdout_filter (line 707) | async fn resolve_and_execute_with_stdout_filter( type CapturedCommandOutput (line 732) | struct CapturedCommandOutput { function resolve_and_capture_output (line 738) | async fn resolve_and_capture_output( type CheckSummary (line 767) | struct CheckSummary { type FmtSuccess (line 774) | struct FmtSuccess { type FmtFailure (line 779) | struct FmtFailure { type LintSuccess (line 786) | struct LintSuccess { type LintFailure (line 791) | struct LintFailure { type LintMessageKind (line 799) | enum LintMessageKind { method from_lint_config (line 805) | fn from_lint_config(lint_config: Option<&serde_json::Value>) -> Self { method success_label (line 815) | fn success_label(self) -> &'static str { method warning_heading (line 822) | fn warning_heading(self) -> &'static str { method issue_heading (line 829) | fn issue_heading(self) -> &'static str { function parse_check_summary (line 837) | fn parse_check_summary(line: &str) -> Option { function parse_issue_count (line 847) | fn parse_issue_count(line: &str, prefix: &str) -> Option { function parse_warning_error_counts (line 852) | fn parse_warning_error_counts(line: &str) -> Option<(usize, usize)> { function format_elapsed (line 860) | fn format_elapsed(elapsed: std::time::Duration) -> String { function format_count (line 868) | fn format_count(count: usize, singular: &str, plural: &str) -> String { function print_stdout_block (line 872) | fn print_stdout_block(block: &str) { function print_summary_line (line 884) | fn print_summary_line(message: &str) { function print_error_block (line 907) | fn print_error_block(error_msg: &str, combined_output: &str, summary_msg... function print_pass_line (line 915) | fn print_pass_line(message: &str, detail: Option<&str>) { function analyze_fmt_check_output (line 923) | fn analyze_fmt_check_output(output: &str) -> Option Option Result { function normalize_help_args (line 1346) | fn normalize_help_args(args: Vec) -> Vec { function is_vitest_help_flag (line 1360) | fn is_vitest_help_flag(arg: &str) -> bool { function is_vitest_watch_flag (line 1364) | fn is_vitest_watch_flag(arg: &str) -> bool { function is_vitest_test_subcommand (line 1368) | fn is_vitest_test_subcommand(arg: &str) -> bool { function has_flag_before_terminator (line 1372) | fn has_flag_before_terminator(args: &[String], flag: &str) -> bool { function should_suppress_subcommand_stdout (line 1384) | fn should_suppress_subcommand_stdout(subcommand: &SynthesizableSubcomman... function should_prepend_vitest_run (line 1395) | fn should_prepend_vitest_run(args: &[String]) -> bool { function should_print_help (line 1414) | fn should_print_help(args: &[String]) -> bool { function extract_invalid_subcommand_details (line 1418) | fn extract_invalid_subcommand_details(error: &clap::Error) -> Option<(St... function print_invalid_subcommand_error (line 1435) | fn print_invalid_subcommand_error(error: &clap::Error) -> bool { function extract_unknown_argument (line 1452) | fn extract_unknown_argument(error: &clap::Error) -> Option { function has_pass_as_value_suggestion (line 1459) | fn has_pass_as_value_suggestion(error: &clap::Error) -> bool { function print_unknown_argument_error (line 1477) | fn print_unknown_argument_error(error: &clap::Error) -> bool { function print_help (line 1496) | fn print_help() { function run_config_types_in_sync (line 1545) | fn run_config_types_in_sync() { function unknown_argument_detected_without_pass_as_value_hint (line 1566) | fn unknown_argument_detected_without_pass_as_value_hint() { function unknown_argument_detected_with_pass_as_value_hint (line 1573) | fn unknown_argument_detected_with_pass_as_value_hint() { function test_without_args_defaults_to_run_mode (line 1581) | fn test_without_args_defaults_to_run_mode() { function test_with_filters_defaults_to_run_mode (line 1586) | fn test_with_filters_defaults_to_run_mode() { function test_with_options_defaults_to_run_mode (line 1591) | fn test_with_options_defaults_to_run_mode() { function test_with_run_subcommand_does_not_prepend_run (line 1596) | fn test_with_run_subcommand_does_not_prepend_run() { function test_with_watch_subcommand_does_not_prepend_run (line 1601) | fn test_with_watch_subcommand_does_not_prepend_run() { function test_with_watch_flag_does_not_prepend_run (line 1606) | fn test_with_watch_flag_does_not_prepend_run() { function test_with_help_flag_does_not_prepend_run (line 1612) | fn test_with_help_flag_does_not_prepend_run() { function test_with_explicit_run_flag_does_not_prepend_run (line 1618) | fn test_with_explicit_run_flag_does_not_prepend_run() { function test_ignores_flags_after_option_terminator (line 1623) | fn test_ignores_flags_after_option_terminator() { function lint_init_suppresses_stdout (line 1632) | fn lint_init_suppresses_stdout() { function fmt_migrate_suppresses_stdout (line 1638) | fn fmt_migrate_suppresses_stdout() { function normal_lint_does_not_suppress_stdout (line 1645) | fn normal_lint_does_not_suppress_stdout() { function lint_message_kind_defaults_to_lint_only_without_typecheck (line 1651) | fn lint_message_kind_defaults_to_lint_only_without_typecheck() { function lint_message_kind_detects_typecheck_from_vite_config (line 1660) | fn lint_message_kind_detects_typecheck_from_vite_config() { function global_subcommands_produce_invalid_subcommand_error (line 1675) | fn global_subcommands_produce_invalid_subcommand_error() { FILE: packages/cli/binding/src/exec/args.rs type ExecArgs (line 15) | pub(crate) struct ExecArgs { FILE: packages/cli/binding/src/exec/mod.rs function execute (line 15) | pub async fn execute(exec_args: ExecArgs, cwd: &AbsolutePathBuf) -> Resu... FILE: packages/cli/binding/src/exec/workspace.rs function execute_exec_workspace (line 16) | pub(super) async fn execute_exec_workspace( function build_package_path_env (line 279) | fn build_package_path_env( function build_exec_command (line 296) | fn build_exec_command( function topological_sort_packages (line 321) | fn topological_sort_packages(subgraph: &DiGraphMap... function test_absolute_path (line 351) | fn test_absolute_path(suffix: &str) -> Arc { function build_test_graph (line 364) | fn build_test_graph() function build_subgraph (line 397) | fn build_subgraph( function test_topological_sort_simple (line 418) | fn test_topological_sort_simple() { function test_topological_sort_with_cycles (line 435) | fn test_topological_sort_with_cycles() { function test_topological_sort_cycle_with_dependent (line 479) | fn test_topological_sort_cycle_with_dependent() { function test_topological_sort_cycle_with_non_cyclic_dependency (line 523) | fn test_topological_sort_cycle_with_non_cyclic_dependency() { FILE: packages/cli/binding/src/lib.rs function init (line 33) | pub fn init() { type CliOptions (line 39) | pub struct CliOptions { type JsCommandResolvedResult (line 55) | pub struct JsCommandResolvedResult { method from (line 61) | fn from(value: JsCommandResolvedResult) -> Self { function create_resolver (line 71) | fn create_resolver( function create_vite_config_resolver (line 94) | fn create_vite_config_resolver( function format_error_message (line 114) | fn format_error_message(error: &(dyn StdError + 'static)) -> String { function run (line 132) | pub async fn run(options: CliOptions) -> Result { function vite_plus_header (line 203) | pub fn vite_plus_header() -> String { FILE: packages/cli/binding/src/migration.rs function rewrite_scripts (line 24) | pub fn rewrite_scripts(scripts_json: String, rules_yaml: String) -> Resu... function rewrite_eslint (line 43) | pub fn rewrite_eslint(scripts_json: String) -> Result> { function rewrite_prettier (line 61) | pub fn rewrite_prettier(scripts_json: String) -> Result> { type MergeJsonConfigResult (line 68) | pub struct MergeJsonConfigResult { function merge_json_config (line 104) | pub fn merge_json_config( type BatchRewriteError (line 125) | pub struct BatchRewriteError { type BatchRewriteResult (line 134) | pub struct BatchRewriteResult { function merge_tsdown_config (line 167) | pub fn merge_tsdown_config( function rewrite_imports_in_directory (line 208) | pub fn rewrite_imports_in_directory(root: String) -> Result Result Result = { constant PLATFORM_META (line 66) | const PLATFORM_META: Record = { FILE: packages/cli/rolldown.config.ts method external (line 19) | external(source) { method renderChunk (line 42) | renderChunk(code) { method renderChunk (line 54) | renderChunk(code) { FILE: packages/cli/snap-tests-global/migration-from-tsdown-json-config/src/index.ts function hello (line 1) | function hello(name: string): string { FILE: packages/cli/snap-tests-global/migration-from-tsdown/src/index.ts function hello (line 1) | function hello(name: string): string { FILE: packages/cli/snap-tests-global/migration-monorepo-skip-vite-peer-dependency/packages/vite-plugin/src/index.ts function myVitePlugin (line 4) | function myVitePlugin(): Plugin { FILE: packages/cli/snap-tests-global/migration-rewrite-declare-module/src/index.ts type UserConfig (line 5) | interface UserConfig { FILE: packages/cli/snap-tests-global/migration-skip-vite-dependency/src/index.ts function myApp (line 4) | function myApp(): Plugin { FILE: packages/cli/snap-tests-global/migration-skip-vite-peer-dependency/src/index.ts function myVitePlugin (line 4) | function myVitePlugin(): Plugin { FILE: packages/cli/snap-tests-todo/command-pack-watch-restart/src/index.ts function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-fail-fast/src/index.js function hello (line 1) | function hello( ) { FILE: packages/cli/snap-tests/check-fix-missing-stderr/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-fix-paths/src/index.js function hello (line 1) | function hello( ) { FILE: packages/cli/snap-tests/check-fix-reformat/src/index.js function hello (line 1) | function hello(x) { FILE: packages/cli/snap-tests/check-fix/src/index.js function hello (line 1) | function hello( ) { FILE: packages/cli/snap-tests/check-fmt-fail/src/index.js function hello (line 1) | function hello( ) { FILE: packages/cli/snap-tests/check-lint-fail-no-typecheck/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-lint-fail-typecheck/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-lint-fail/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-lint-warn/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-no-fmt/src/index.js function hello (line 1) | function hello( ) { FILE: packages/cli/snap-tests/check-no-lint/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-pass-no-typecheck/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-pass-typecheck-github-actions/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-pass-typecheck/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/check-pass/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/command-pack-monorepo/packages/array-config/src/sub/hello.ts function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/command-pack-monorepo/packages/default-config/src/hello.ts function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/command-pack-monorepo/packages/hello/src/hello.ts function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/command-pack/src/hello.ts function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/fmt-check-with-vite-config/src/valid.js function example (line 2) | function example() { FILE: packages/cli/snap-tests/fmt-ignore-patterns/src/ignored/badly-formatted.js function badlyFormatted (line 2) | function badlyFormatted( ){ FILE: packages/cli/snap-tests/fmt-ignore-patterns/src/valid.js function validCode (line 2) | function validCode() { FILE: packages/cli/snap-tests/lint-ignore-patterns/src/valid.js function validCode (line 2) | function validCode() { FILE: packages/cli/snap-tests/lint-vite-config-rules/src/has-console.js function example (line 2) | function example() { FILE: packages/cli/snap-tests/lint-vite-config-rules/src/valid.js function example (line 2) | function example() { FILE: packages/cli/snap-tests/oxlint-typeaware/types.ts type Foo (line 1) | type Foo = number; FILE: packages/cli/snap-tests/workspace-lint-subpackage/packages/app-a/src/index.js function hello (line 1) | function hello() { FILE: packages/cli/snap-tests/workspace-root-vite-config/packages/app-b/index.js function formatCode (line 1) | function formatCode() { FILE: packages/cli/src/__tests__/init-config.spec.ts function createTempDir (line 12) | function createTempDir() { FILE: packages/cli/src/bin.ts function getErrorMessage (line 26) | function getErrorMessage(err: unknown): string { FILE: packages/cli/src/config/__tests__/hooks.spec.ts function countDirnameCalls (line 10) | function countDirnameCalls(script: string): number { FILE: packages/cli/src/config/bin.ts function main (line 20) | async function main() { FILE: packages/cli/src/config/hooks.ts constant HOOKS (line 5) | const HOOKS = [ function nestedDirname (line 23) | function nestedDirname(depth: number): string { function hookScript (line 33) | function hookScript(dir: string): string { type InstallResult (line 62) | interface InstallResult { function install (line 67) | function install(dir = '.vite-hooks'): InstallResult { FILE: packages/cli/src/create/__tests__/prompts.spec.ts function makeTempDir (line 17) | function makeTempDir() { FILE: packages/cli/src/create/bin.ts type Options (line 180) | interface Options { function parseArgs (line 192) | function parseArgs() { function describeScaffold (line 236) | function describeScaffold(templateName: string, templateArgs: string[]) { function getTemplateOption (line 259) | function getTemplateOption(args: string[]) { function hasExplicitTargetDir (line 272) | function hasExplicitTargetDir(args: string[]) { function formatTemplateName (line 276) | function formatTemplateName(templateName: string) { function formatDuration (line 299) | function formatDuration(durationMs: number) { function getNextCommand (line 310) | function getNextCommand(projectDir: string, command: string) { function showCreateSummary (line 317) | function showCreateSummary(options: { function main (line 352) | async function main() { function showAvailableTemplates (line 979) | async function showAvailableTemplates() { FILE: packages/cli/src/create/command.ts type ExecutionResult (line 9) | interface ExecutionResult { type RunCommandOptions (line 14) | interface RunCommandOptions { function runCommandAndDetectProjectDir (line 22) | async function runCommandAndDetectProjectDir( type RunCommandResult (line 92) | interface RunCommandResult extends ExecutionResult { function runCommandSilently (line 97) | async function runCommandSilently(options: RunCommandOptions): Promise { function getRandomProjectName (line 14) | function getRandomProjectName( FILE: packages/cli/src/create/templates/builtin.ts function executeBuiltinTemplate (line 12) | async function executeBuiltinTemplate( FILE: packages/cli/src/create/templates/generator.ts function executeGeneratorScaffold (line 14) | async function executeGeneratorScaffold( FILE: packages/cli/src/create/templates/monorepo.ts function executeMonorepoTemplate (line 21) | async function executeMonorepoTemplate( constant RENAME_FILES (line 200) | const RENAME_FILES: Record = { function renameFiles (line 206) | function renameFiles(projectDir: string) { function getScopeFromPackageName (line 215) | function getScopeFromPackageName(packageName: string) { FILE: packages/cli/src/create/templates/remote.ts function executeRemoteTemplate (line 17) | async function executeRemoteTemplate( function runRemoteTemplateCommand (line 81) | async function runRemoteTemplateCommand( function autoFixRemoteTemplateCommand (line 108) | function autoFixRemoteTemplateCommand(templateInfo: TemplateInfo, worksp... FILE: packages/cli/src/create/templates/types.ts type BuiltinTemplate (line 9) | type BuiltinTemplate = (typeof BuiltinTemplate)[keyof typeof BuiltinTemp... type TemplateType (line 16) | type TemplateType = (typeof TemplateType)[keyof typeof TemplateType]; type TemplateInfo (line 18) | interface TemplateInfo { type BuiltinTemplateInfo (line 29) | interface BuiltinTemplateInfo extends Omit { FILE: packages/cli/src/create/utils.ts function copy (line 10) | function copy(src: string, dest: string) { function copyDir (line 19) | function copyDir(srcDir: string, destDir: string) { function formatTargetDir (line 50) | function formatTargetDir(input: string): { function getProjectDirFromPackageName (line 101) | function getProjectDirFromPackageName(packageName: string) { function setPackageName (line 108) | function setPackageName(projectDir: string, packageName: string) { function formatDisplayTargetDir (line 115) | function formatDisplayTargetDir(targetDir: string) { function deriveDefaultPackageName (line 131) | function deriveDefaultPackageName( FILE: packages/cli/src/define-config.ts type ViteUserConfigFnObject (line 8) | type ViteUserConfigFnObject = (env: ConfigEnv) => UserConfig; type ViteUserConfigFnPromise (line 9) | type ViteUserConfigFnPromise = (env: ConfigEnv) => Promise; type ViteUserConfigFn (line 10) | type ViteUserConfigFn = (env: ConfigEnv) => UserConfig | Promise = { constant VITE_CONFIG_FILES (line 30) | const VITE_CONFIG_FILES = [ type InitCommandInspection (line 39) | interface InitCommandInspection { type ApplyToolInitResult (line 46) | interface ApplyToolInitResult { function optionTerminatorIndex (line 53) | function optionTerminatorIndex(args: string[]): number { function hasTriggerFlag (line 58) | function hasTriggerFlag(args: string[], triggerFlags: string[]): boolean { function extractConfigPathArg (line 69) | function extractConfigPathArg(args: string[]): string | null { function resolveGeneratedConfigPath (line 87) | function resolveGeneratedConfigPath( function findViteConfigPath (line 110) | function findViteConfigPath(projectPath: string): string | null { function ensureViteConfigPath (line 120) | function ensureViteConfigPath(projectPath: string): string { function hasConfigKey (line 136) | function hasConfigKey(viteConfigPath: string, configKey: string): boolean { function vpFmt (line 141) | async function vpFmt(cwd: string, filePath: string): Promise { function resolveInitSpec (line 159) | function resolveInitSpec(command: string | undefined, args: string[]): I... function inspectInitCommand (line 170) | function inspectInitCommand( function applyToolInitConfigToViteConfig (line 203) | async function applyToolInitConfigToViteConfig( FILE: packages/cli/src/mcp/bin.ts type DocPage (line 5) | interface DocPage { type SearchResult (line 12) | interface SearchResult { type JsonRpcRequest (line 19) | interface JsonRpcRequest { type DocIndex (line 26) | interface DocIndex { constant PROTOCOL_VERSION (line 31) | const PROTOCOL_VERSION = '2024-11-05'; constant TOOLS (line 33) | const TOOLS = [ function findPackageRoot (line 70) | function findPackageRoot(from: string): string { function readPackageVersion (line 85) | function readPackageVersion(pkgRoot: string): string { function resolveDocsDir (line 91) | function resolveDocsDir(pkgRoot: string): string { function collectMarkdownFiles (line 105) | function collectMarkdownFiles(rootDir: string, relativeDir = ''): string... function normalizeDocId (line 129) | function normalizeDocId(value: string): string { function createSlug (line 140) | function createSlug(relativePath: string): string { function buildAliases (line 151) | function buildAliases(page: DocPage, basenameCounts: Map... function loadDocs (line 174) | function loadDocs(pkgRoot: string): DocIndex { function searchDocs (line 218) | function searchDocs(pages: DocPage[], query: string): SearchResult[] { function resolvePageBySlug (line 274) | function resolvePageBySlug(index: DocIndex, rawSlug: string): DocPage | ... function makeErrorResponse (line 278) | function makeErrorResponse(id: number | string | null, code: number, mes... function handleRequest (line 286) | function handleRequest(index: DocIndex, serverVersion: string, req: Json... function writeMessage (line 392) | function writeMessage(payload: object): void { function findHeadersBoundary (line 398) | function findHeadersBoundary(buffer: Buffer): { end: number; separatorLe... function parseContentLength (line 411) | function parseContentLength(rawHeaders: string): number | null { function startStdioServer (line 426) | function startStdioServer(index: DocIndex, serverVersion: string): void { FILE: packages/cli/src/migration/bin.ts function warnPackageLevelEslint (line 58) | function warnPackageLevelEslint() { function warnLegacyEslintConfig (line 64) | function warnLegacyEslintConfig(legacyConfigFile: string) { function confirmEslintMigration (line 72) | async function confirmEslintMigration(interactive: boolean): Promise = { '*': 'vp check -... function ensurePreCommitHook (line 1847) | function ensurePreCommitHook(projectPath: string, dir = '.vite-hooks'): ... function createPreCommitHook (line 1854) | function createPreCommitHook(projectPath: string, dir = '.vite-hooks'): ... function rewritePrepareScript (line 1909) | function rewritePrepareScript(rootDir: string): string | undefined { function setPackageManager (line 1951) | function setPackageManager( FILE: packages/cli/src/migration/report.ts type MigrationReport (line 1) | interface MigrationReport { function createMigrationReport (line 17) | function createMigrationReport(): MigrationReport { function addMigrationWarning (line 35) | function addMigrationWarning(report: MigrationReport | undefined, warnin... function addManualStep (line 42) | function addManualStep(report: MigrationReport | undefined, step: string) { FILE: packages/cli/src/pack-bin.ts constant EXTERNAL_DTS_INTERNAL_RE (line 25) | const EXTERNAL_DTS_INTERNAL_RE = /node_modules\/(postcss|lightningcss)\/... constant EXTERNAL_DTS_CONSUMER_RE (line 29) | const EXTERNAL_DTS_CONSUMER_RE = constant EXTERNAL_DTS_FIX_RE (line 31) | const EXTERNAL_DTS_FIX_RE = new RegExp( function externalDtsTypeOnlyPlugin (line 35) | function externalDtsTypeOnlyPlugin() { constant DEFAULT_ENV_PREFIXES (line 62) | const DEFAULT_ENV_PREFIXES = ['VITE_PACK_', 'TSDOWN_']; function runBuild (line 130) | async function runBuild() { function runCLI (line 162) | async function runCLI(): Promise { FILE: packages/cli/src/pack.ts type PackUserConfig (line 5) | interface PackUserConfig extends TsdownUserConfig { FILE: packages/cli/src/resolve-doc.ts function doc (line 26) | async function doc(): Promise<{ FILE: packages/cli/src/resolve-fmt.ts function fmt (line 26) | async function fmt(): Promise<{ FILE: packages/cli/src/resolve-lint.ts function lint (line 31) | async function lint(): Promise<{ FILE: packages/cli/src/resolve-pack.ts function pack (line 24) | async function pack(): Promise<{ FILE: packages/cli/src/resolve-test.ts function test (line 26) | async function test(): Promise<{ FILE: packages/cli/src/resolve-vite-config.ts constant VITE_CONFIG_FILES (line 4) | const VITE_CONFIG_FILES = [ function findViteConfigUp (line 17) | function findViteConfigUp(startDir: string, stopDir: string): string | u... function hasViteConfig (line 37) | function hasViteConfig(dir: string): boolean { function findWorkspaceRoot (line 45) | function findWorkspaceRoot(startDir: string): string | undefined { type ResolveViteConfigOptions (line 74) | interface ResolveViteConfigOptions { function resolveViteConfig (line 81) | async function resolveViteConfig(cwd: string, options?: ResolveViteConfi... function resolveUniversalViteConfig (line 97) | async function resolveUniversalViteConfig(err: null | Error, viteConfigC... FILE: packages/cli/src/resolve-vite.ts function vite (line 27) | async function vite(): Promise<{ FILE: packages/cli/src/run-config.ts type Task (line 3) | type Task = { type UserGlobalCacheConfig (line 59) | type UserGlobalCacheConfig = type RunConfig (line 83) | type RunConfig = { FILE: packages/cli/src/staged-config.ts type StagedConfig (line 1) | type StagedConfig = Record; FILE: packages/cli/src/types/package.ts type PackageManager (line 6) | type PackageManager = (typeof PackageManager)[keyof typeof PackageManager]; type DependencyType (line 14) | type DependencyType = (typeof DependencyType)[keyof typeof DependencyType]; FILE: packages/cli/src/types/workspace.ts type WorkspacePackage (line 4) | interface WorkspacePackage { type WorkspaceInfo (line 13) | interface WorkspaceInfo { type WorkspaceInfoOptional (line 32) | interface WorkspaceInfoOptional extends Omit< FILE: packages/cli/src/utils/__tests__/agent.spec.ts type MockNode (line 18) | type MockNode = class InMemoryFs (line 23) | class InMemoryFs { method constructor (line 26) | constructor() { method existsSync (line 30) | existsSync(filePath: fs.PathLike): boolean { method lstatSync (line 34) | lstatSync(filePath: fs.PathLike): fs.Stats { method lstat (line 41) | async lstat(filePath: fs.PathLike): Promise { method mkdir (line 45) | async mkdir(dirPath: fs.PathLike, options: { recursive: true }): Promi... method readFile (line 52) | async readFile(filePath: fs.PathLike): Promise { method writeFile (line 61) | async writeFile(filePath: fs.PathLike, content: string): Promise { method appendFile (line 67) | async appendFile(filePath: fs.PathLike, content: string): Promise { method realpath (line 81) | async realpath(filePath: fs.PathLike): Promise { method symlink (line 85) | async symlink(target: string, filePath: fs.PathLike): Promise { method readlink (line 91) | async readlink(filePath: fs.PathLike): Promise { method unlink (line 99) | async unlink(filePath: fs.PathLike): Promise { method readFileSync (line 107) | readFileSync(filePath: fs.PathLike): string { method isSymlink (line 116) | isSymlink(filePath: string): boolean { method readlinkSync (line 120) | readlinkSync(filePath: string): string { method readText (line 128) | async readText(filePath: string): Promise { method normalize (line 132) | private normalize(filePath: fs.PathLike): string { method getNode (line 136) | private getNode(filePath: fs.PathLike): MockNode { method ensureDirectory (line 145) | private ensureDirectory(dirPath: string): void { method resolvePath (line 165) | private resolvePath(filePath: fs.PathLike): string { method resolvePathForWrite (line 185) | private resolvePathForWrite(filePath: fs.PathLike): string { constant AGENT_TEMPLATE (line 195) | const AGENT_TEMPLATE = ['', 'template block', ' = { constant AGENTS (line 171) | const AGENTS = [ type AgentSelection (line 192) | type AgentSelection = string | string[] | false; constant AGENT_STANDARD_PATH (line 193) | const AGENT_STANDARD_PATH = 'AGENTS.md'; constant AGENT_INSTRUCTIONS_START_MARKER (line 194) | const AGENT_INSTRUCTIONS_START_MARKER = ''; constant AGENT_INSTRUCTIONS_END_MARKER (line 195) | const AGENT_INSTRUCTIONS_END_MARKER = ''; function selectAgentTargetPaths (line 197) | async function selectAgentTargetPaths({ function selectAgentTargetPath (line 237) | async function selectAgentTargetPath({ function detectExistingAgentTargetPaths (line 250) | function detectExistingAgentTargetPaths(projectRoot: string) { function detectExistingAgentTargetPath (line 266) | function detectExistingAgentTargetPath(projectRoot: string) { function hasExistingAgentInstructions (line 270) | function hasExistingAgentInstructions(projectRoot: string): boolean { function updateExistingAgentInstructions (line 291) | function updateExistingAgentInstructions(projectRoot: string): void { function resolveAgentTargetPaths (line 318) | function resolveAgentTargetPaths(agent?: string | string[]) { function resolveAgentTargetPath (line 334) | function resolveAgentTargetPath(agent?: string) { function parseAgentNames (line 338) | function parseAgentNames(agent?: string | string[]) { function resolveSingleAgentTargetPath (line 350) | function resolveSingleAgentTargetPath(agent: string) { type AgentConflictInfo (line 361) | interface AgentConflictInfo { function detectAgentConflicts (line 370) | async function detectAgentConflicts({ function writeAgentInstructions (line 442) | async function writeAgentInstructions({ function appendAgentContent (line 577) | async function appendAgentContent( function normalizeAgentName (line 591) | function normalizeAgentName(value: string) { function replaceMarkedAgentInstructionsSection (line 598) | function replaceMarkedAgentInstructionsSection(existing: string, incomin... function tryLinkTargetToAgents (line 623) | async function tryLinkTargetToAgents(projectRoot: string, targetPath: st... function getExistingPathKind (line 667) | async function getExistingPathKind(filePath: string) { function getMarkedRange (line 675) | function getMarkedRange(content: string, startMarker: string, endMarker:... FILE: packages/cli/src/utils/command.ts type RunCommandOptions (line 3) | interface RunCommandOptions { type RunCommandResult (line 10) | interface RunCommandResult { function runCommandSilently (line 16) | async function runCommandSilently(options: RunCommandOptions): Promise { FILE: packages/cli/src/utils/constants.ts constant VITE_PLUS_NAME (line 3) | const VITE_PLUS_NAME = 'vite-plus'; constant VITE_PLUS_VERSION (line 4) | const VITE_PLUS_VERSION = process.env.VITE_PLUS_VERSION || 'latest'; constant VITE_PLUS_OVERRIDE_PACKAGES (line 6) | const VITE_PLUS_OVERRIDE_PACKAGES: Record = process.env function isForceOverrideMode (line 19) | function isForceOverrideMode(): boolean { function resolve (line 25) | function resolve(path: string) { constant BASEURL_TSCONFIG_WARNING (line 31) | const BASEURL_TSCONFIG_WARNING = constant DEFAULT_ENVS (line 35) | const DEFAULT_ENVS = { FILE: packages/cli/src/utils/editor.ts constant VSCODE_SETTINGS (line 9) | const VSCODE_SETTINGS = { constant VSCODE_EXTENSIONS (line 21) | const VSCODE_EXTENSIONS = { constant ZED_SETTINGS (line 25) | const ZED_SETTINGS = { constant EDITORS (line 138) | const EDITORS = [ type EditorId (line 158) | type EditorId = (typeof EDITORS)[number]['id']; function selectEditor (line 160) | async function selectEditor({ function detectExistingEditor (line 209) | function detectExistingEditor(projectRoot: string): EditorId | undefined { type EditorConflictInfo (line 221) | interface EditorConflictInfo { function detectEditorConflicts (line 230) | function detectEditorConflicts({ function writeEditorConfigs (line 260) | async function writeEditorConfigs({ function mergeAndWriteEditorConfig (line 336) | function mergeAndWriteEditorConfig( function mergeEditorConfigs (line 351) | function mergeEditorConfigs( function deepMerge (line 372) | function deepMerge( function resolveEditorId (line 397) | function resolveEditorId(editor: string): EditorId | undefined { FILE: packages/cli/src/utils/help.ts type CliDoc (line 3) | type CliDoc = { type CliSection (line 10) | type CliSection = { type CliRow (line 16) | type CliRow = { type RenderCliDocOptions (line 21) | type RenderCliDocOptions = { function toLines (line 25) | function toLines(value?: readonly string[] | string): string[] { function visibleLength (line 33) | function visibleLength(value: string): number { function padVisible (line 37) | function padVisible(value: string, width: number): string { function renderRows (line 42) | function renderRows(rows: readonly CliRow[]): string[] { function heading (line 69) | function heading(label: string, color: boolean): string { function renderCliDoc (line 79) | function renderCliDoc(doc: CliDoc, options: RenderCliDocOptions = {}): s... FILE: packages/cli/src/utils/json.ts function readJsonFile (line 7) | function readJsonFile>( function writeJsonFile (line 16) | function writeJsonFile>(file: string, data: ... function editJsonFile (line 28) | function editJsonFile>( function isJsonFile (line 39) | function isJsonFile(file: string): boolean { FILE: packages/cli/src/utils/package.ts function getScopeFromPackageName (line 8) | function getScopeFromPackageName(packageName: string): string { type PackageMetadata (line 15) | interface PackageMetadata { function detectPackageMetadata (line 21) | function detectPackageMetadata( function readNearestPackageJson (line 47) | function readNearestPackageJson>(currentDir:... function hasVitePlusDependency (line 58) | function hasVitePlusDependency( function checkNpmPackageExists (line 72) | async function checkNpmPackageExists(packageName: string): Promise>(file: string): T { type YamlDocument (line 10) | type YamlDocument = Document.Parsed; function editYamlFile (line 12) | function editYamlFile(file: string, callback: (doc: YamlDocument) => voi... function scalarString (line 20) | function scalarString(value: string): Scalar { FILE: packages/cli/src/version.ts type PackageJson (line 13) | interface PackageJson { type LocalPackageMetadata (line 20) | interface LocalPackageMetadata { type ToolVersionSpec (line 26) | interface ToolVersionSpec { function getGlobalVersion (line 33) | function getGlobalVersion(): string | null { function getCliVersion (line 37) | function getCliVersion(): string | null { function getLocalMetadata (line 42) | function getLocalMetadata(cwd: string): LocalPackageMetadata | null { function isVitePlusDeclaredInAncestors (line 49) | function isVitePlusDeclaredInAncestors(cwd: string): boolean { function readPackageJsonFromPath (line 66) | function readPackageJsonFromPath(packageJsonPath: string): PackageJson |... function resolvePackageJson (line 74) | function resolvePackageJson(packageName: string, baseDir: string): Packa... function resolveToolVersion (line 103) | function resolveToolVersion(tool: ToolVersionSpec, localPackagePath: str... function printVersion (line 125) | async function printVersion(cwd: string) { FILE: packages/cli/templates/generator/src/template.ts method produce (line 19) | async produce({ options }) { FILE: packages/core/build-support/build-cjs-deps.ts function createModuleEntryFileName (line 6) | function createModuleEntryFileName(module: string) { function buildCjsDeps (line 12) | async function buildCjsDeps(modules: Set, distDir: string) { FILE: packages/core/build-support/find-create-require.ts function isThirdPartyModule (line 25) | function isThirdPartyModule(specifier: string): boolean { function replaceThirdPartyCjsRequires (line 44) | async function replaceThirdPartyCjsRequires( type RequireCall (line 90) | interface RequireCall { function findRequireCalls (line 99) | function findRequireCalls(ast: ParseResult, requireVarName: string): Req... function findCreateRequireInStaticImports (line 136) | function findCreateRequireInStaticImports( function isProcessExpression (line 188) | function isProcessExpression(expr: Expression): boolean { function isGetBuiltinModuleCall (line 206) | function isGetBuiltinModuleCall(expr: Expression): boolean { function findCreateRequireInGlobalModule (line 243) | function findCreateRequireInGlobalModule( FILE: packages/core/build-support/rewrite-imports.ts method handler (line 9) | handler(id: string) { FILE: packages/core/build-support/rewrite-module-specifiers.ts type ReplacementRule (line 3) | interface ReplacementRule { type RewriteOptions (line 10) | interface RewriteOptions { function getLangForFile (line 17) | function getLangForFile(filePath: string): Lang { function getStringContent (line 35) | function getStringContent(node: SgNode): string { function getQuoteChar (line 51) | function getQuoteChar(node: SgNode): string { function matchesFrom (line 60) | function matchesFrom(specifier: string, from: string): boolean { function applyRules (line 75) | function applyRules(specifier: string, rules: ReplacementRule[]): string... function findStringLiterals (line 102) | function findStringLiterals(node: SgNode): SgNode[] { function rewriteModuleSpecifiers (line 119) | function rewriteModuleSpecifiers( function createViteRewriteRules (line 187) | function createViteRewriteRules(targetPackage: string): ReplacementRule[] { function createRolldownRewriteRules (line 197) | function createRolldownRewriteRules(targetPackage: string): ReplacementR... FILE: packages/core/build.ts function toPosixPath (line 10) | function toPosixPath(nativePath: string): string { function buildVite (line 93) | async function buildVite() { function bundleRolldownPluginutils (line 326) | async function bundleRolldownPluginutils() { function bundleRolldown (line 334) | async function bundleRolldown() { function bundleTsdown (line 375) | async function bundleTsdown() { function brandTsdown (line 438) | async function brandTsdown() { function bundleVitepress (line 550) | async function bundleVitepress() { function mergePackageJson (line 632) | async function mergePackageJson() { function syncLicenseFromRoot (line 674) | async function syncLicenseFromRoot() { FILE: packages/prompts/src/__tests__/render.spec.ts type PromptConfig (line 3) | type PromptConfig = { class SelectPrompt (line 18) | class SelectPrompt<_Value> { method constructor (line 19) | constructor(config: PromptConfig) { method prompt (line 23) | prompt() { class MultiSelectPrompt (line 28) | class MultiSelectPrompt<_Value> { method constructor (line 29) | constructor(config: PromptConfig) { method prompt (line 33) | prompt() { class GroupMultiSelectPrompt (line 38) | class GroupMultiSelectPrompt<_Value> { method constructor (line 39) | constructor(config: PromptConfig) { method prompt (line 43) | prompt() { class AutocompletePrompt (line 48) | class AutocompletePrompt<_Value> { method constructor (line 49) | constructor(config: PromptConfig) { method prompt (line 53) | prompt() { class ConfirmPrompt (line 58) | class ConfirmPrompt { method constructor (line 59) | constructor(config: PromptConfig) { method prompt (line 63) | prompt() { class SelectKeyPrompt (line 68) | class SelectKeyPrompt<_Value> { method constructor (line 69) | constructor(config: PromptConfig) { method prompt (line 73) | prompt() { class TextPrompt (line 78) | class TextPrompt { method constructor (line 79) | constructor(config: PromptConfig) { method prompt (line 83) | prompt() { class PasswordPrompt (line 88) | class PasswordPrompt { method constructor (line 89) | constructor(config: PromptConfig) { method prompt (line 93) | prompt() { FILE: packages/prompts/src/autocomplete.ts function getLabel (line 17) | function getLabel(option: Option) { function getFilteredOption (line 21) | function getFilteredOption(searchText: string, option: Option): bo... function getSelectedOptions (line 33) | function getSelectedOptions(values: T[], options: Option[]): Optio... type AutocompleteSharedOptions (line 82) | interface AutocompleteSharedOptions extends CommonOptions { type AutocompleteOptions (line 110) | interface AutocompleteOptions extends AutocompleteSharedOptions extends AutocompleteShar... method render (line 315) | render() { FILE: packages/prompts/src/box.ts type BoxAlignment (line 21) | type BoxAlignment = 'left' | 'center' | 'right'; type BoxSymbols (line 23) | type BoxSymbols = [topLeft: string, topRight: string, bottomLeft: string... type BoxOptions (line 33) | interface BoxOptions extends CommonOptions { function getPaddingForLine (line 43) | function getPaddingForLine( FILE: packages/prompts/src/common.ts constant S_POINTER_ACTIVE (line 13) | const S_POINTER_ACTIVE = unicodeOr('›', '>'); constant S_POINTER_INACTIVE (line 14) | const S_POINTER_INACTIVE = ' '; constant S_STEP_ACTIVE (line 15) | const S_STEP_ACTIVE = S_POINTER_ACTIVE; constant S_STEP_CANCEL (line 16) | const S_STEP_CANCEL = unicodeOr('■', 'x'); constant S_STEP_ERROR (line 17) | const S_STEP_ERROR = unicodeOr('▲', 'x'); constant S_STEP_SUBMIT (line 18) | const S_STEP_SUBMIT = unicodeOr('◇', 'o'); constant S_BAR_START (line 20) | const S_BAR_START = unicodeOr('┌', 'T'); constant S_BAR (line 21) | const S_BAR = unicodeOr('│', '|'); constant S_BAR_END (line 22) | const S_BAR_END = unicodeOr('└', '—'); constant S_BAR_START_RIGHT (line 23) | const S_BAR_START_RIGHT = unicodeOr('┐', 'T'); constant S_BAR_END_RIGHT (line 24) | const S_BAR_END_RIGHT = unicodeOr('┘', '—'); constant S_RADIO_ACTIVE (line 26) | const S_RADIO_ACTIVE = S_POINTER_ACTIVE; constant S_RADIO_INACTIVE (line 27) | const S_RADIO_INACTIVE = S_POINTER_INACTIVE; constant S_CHECKBOX_ACTIVE (line 28) | const S_CHECKBOX_ACTIVE = unicodeOr('◻', '[•]'); constant S_CHECKBOX_SELECTED (line 29) | const S_CHECKBOX_SELECTED = unicodeOr('◼', '[+]'); constant S_CHECKBOX_INACTIVE (line 30) | const S_CHECKBOX_INACTIVE = unicodeOr('◻', '[ ]'); constant S_PASSWORD_MASK (line 31) | const S_PASSWORD_MASK = unicodeOr('▪', '•'); constant S_BAR_H (line 33) | const S_BAR_H = unicodeOr('─', '-'); constant S_CORNER_TOP_RIGHT (line 34) | const S_CORNER_TOP_RIGHT = unicodeOr('╮', '+'); constant S_CONNECT_LEFT (line 35) | const S_CONNECT_LEFT = unicodeOr('├', '+'); constant S_CORNER_BOTTOM_RIGHT (line 36) | const S_CORNER_BOTTOM_RIGHT = unicodeOr('╯', '+'); constant S_CORNER_BOTTOM_LEFT (line 37) | const S_CORNER_BOTTOM_LEFT = unicodeOr('╰', '+'); constant S_CORNER_TOP_LEFT (line 38) | const S_CORNER_TOP_LEFT = unicodeOr('╭', '+'); constant S_INFO (line 40) | const S_INFO = unicodeOr('●', '•'); constant S_SUCCESS (line 41) | const S_SUCCESS = unicodeOr('◆', '*'); constant S_WARN (line 42) | const S_WARN = unicodeOr('▲', '!'); constant S_ERROR (line 43) | const S_ERROR = unicodeOr('■', 'x'); type CommonOptions (line 75) | interface CommonOptions { FILE: packages/prompts/src/confirm.ts type ConfirmOptions (line 13) | interface ConfirmOptions extends CommonOptions { method render (line 30) | render() { FILE: packages/prompts/src/group-multi-select.ts type GroupMultiSelectOptions (line 17) | interface GroupMultiSelectOptions extends CommonOptions { method validate (line 136) | validate(selected: Value[] | undefined) { method render (line 147) | render() { FILE: packages/prompts/src/group.ts type Prettify (line 3) | type Prettify = { type PromptGroupAwaitedReturn (line 7) | type PromptGroupAwaitedReturn = { type PromptGroupOptions (line 11) | interface PromptGroupOptions { type PromptGroup (line 19) | type PromptGroup = { FILE: packages/prompts/src/limit-options.ts type LimitOptionsParams (line 9) | interface LimitOptionsParams extends CommonOptions { FILE: packages/prompts/src/log.ts type LogMessageOptions (line 14) | interface LogMessageOptions extends CommonOptions { FILE: packages/prompts/src/multi-select.ts type MultiSelectOptions (line 19) | interface MultiSelectOptions extends CommonOptions { method validate (line 132) | validate(selected: Value[] | undefined) { method render (line 143) | render() { FILE: packages/prompts/src/note.ts type FormatFn (line 21) | type FormatFn = (line: string) => string; type NoteOptions (line 22) | interface NoteOptions extends CommonOptions { FILE: packages/prompts/src/password.ts type PasswordOptions (line 6) | interface PasswordOptions extends CommonOptions { method render (line 19) | render() { FILE: packages/prompts/src/path.ts type PathOptions (line 7) | interface PathOptions extends CommonOptions { method validate (line 22) | validate(value) { method options (line 35) | options() { FILE: packages/prompts/src/progress-bar.ts constant S_PROGRESS_CHAR (line 7) | const S_PROGRESS_CHAR: Record, str... type ProgressOptions (line 13) | interface ProgressOptions extends SpinnerOptions { type ProgressResult (line 19) | interface ProgressResult extends SpinnerResult { function progress (line 23) | function progress({ FILE: packages/prompts/src/select-key.ts type SelectKeyOptions (line 14) | interface SelectKeyOptions extends CommonOptions { method render (line 67) | render() { FILE: packages/prompts/src/select.ts type Primitive (line 15) | type Primitive = Readonly; type Option (line 17) | type Option = Value extends Primitive type SelectOptions (line 69) | interface SelectOptions extends CommonOptions { method render (line 140) | render() { FILE: packages/prompts/src/spinner.ts type SpinnerOptions (line 17) | interface SpinnerOptions extends CommonOptions { type SpinnerResult (line 27) | interface SpinnerResult { method isCancelled (line 257) | get isCancelled() { FILE: packages/prompts/src/task-log.ts type TaskLogOptions (line 17) | interface TaskLogOptions extends CommonOptions { type TaskLogMessageOptions (line 24) | interface TaskLogMessageOptions { type TaskLogCompletionOptions (line 28) | interface TaskLogCompletionOptions { type BufferEntry (line 32) | interface BufferEntry { method message (line 183) | message(msg: string, mopts?: TaskLogMessageOptions) { method group (line 186) | group(name: string) { method error (line 211) | error(message: string, opts?: TaskLogCompletionOptions): void { method success (line 222) | success(message: string, opts?: TaskLogCompletionOptions): void { FILE: packages/prompts/src/task.ts type Task (line 4) | type Task = { FILE: packages/prompts/src/text.ts type TextOptions (line 6) | interface TextOptions extends CommonOptions { method render (line 23) | render() { FILE: packages/test/__tests__/build-artifacts.spec.ts function findCliApiChunk (line 18) | function findCliApiChunk(): string { FILE: packages/test/build.ts constant CORE_PACKAGE_NAME (line 67) | const CORE_PACKAGE_NAME = '@voidzero-dev/vite-plus-core'; constant VITEST_PACKAGES_TO_COPY (line 72) | const VITEST_PACKAGES_TO_COPY = [ constant VITEST_PACKAGE_TO_PATH (line 88) | const VITEST_PACKAGE_TO_PATH: Record = { constant EXTERNAL_BLOCKLIST (line 142) | const EXTERNAL_BLOCKLIST = new Set([ constant CJS_REEXPORT_PACKAGES (line 174) | const CJS_REEXPORT_PACKAGES = new Set(['expect-type']); constant NODE_BUILTINS (line 177) | const NODE_BUILTINS = new Set([...builtinModules, ...builtinModules.map(... function mergePackageJson (line 250) | async function mergePackageJson(pluginExports: Array<{ exportPath: strin... function syncLicenseFromRoot (line 436) | async function syncLicenseFromRoot() { function bundleVitest (line 442) | async function bundleVitest() { function brandVitest (line 496) | async function brandVitest() { function copyVitestPackages (line 597) | async function copyVitestPackages() { function copyDirRecursive (line 650) | async function copyDirRecursive(srcDir: string, destDir: string): Promis... function collectLeafDependencies (line 675) | async function collectLeafDependencies(): Promise> { function isLeafDependency (line 745) | function isLeafDependency(specifier: string): boolean { function bundleLeafDeps (line 786) | async function bundleLeafDeps(leafDeps: Set): Promise { function isTextFile (line 259) | function isTextFile(filePath: string): boolean { function extractPackageName (line 263) | function extractPackageName(regionPath: string): string | undefined { function resolvePackageDir (line 286) | function resolvePackageDir(packageName: string, resolveFrom: string[]): ... function resolvePackageDirInPnpmStore (line 320) | function resolvePackageDirInPnpmStore( function addPackageReference (line 356) | function addPackageReference( function readDependencyInfo (line 377) | function readDependencyInfo(packageRef: PackageReference): DependencyInf... function readPackageJson (line 431) | function readPackageJson(packageDir: string): Record | ... function readLicenseText (line 444) | function readLicenseText(packageRef: PackageReference): string | undefin... function sortDependencies (line 459) | function sortDependencies(dependencies: DependencyInfo[]): DependencyInf... function sortLicenses (line 463) | function sortLicenses(licenses: Set): string[] { function getDependencyInformation (line 481) | function getDependencyInformation(dependency: DependencyInfo): Formatted... function normalizeGitUrl (line 510) | function normalizeGitUrl(url: string): string {