Commit 930f74c
refactor: split vite_package_manager into vite_workspace and vite_install (#261)
# Rename vite_package_manager to vite_install and extract workspace functionality to vite_workspace
This PR splits the functionality of the former `vite_package_manager` crate into two more focused crates:
1. `vite_install` - Handles package manager detection, installation, and commands (install, add, remove, update)
2. `vite_workspace` - Manages workspace detection, package discovery, and dependency graph building
The separation provides clearer responsibilities and better code organization:
- `vite_install` focuses on package manager operations
- `vite_workspace` handles workspace structure and relationships
Added README files to both crates to document their primary responsibilities.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ffcb2bf commit 930f74c
28 files changed
Lines changed: 219 additions & 151 deletions
File tree
- crates
- vite_install
- src
- commands
- vite_task
- src/config
- vite_workspace
- src
- packages/cli/binding
- src
- commands
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
26 | 23 | | |
27 | 24 | | |
28 | 25 | | |
| |||
31 | 28 | | |
32 | 29 | | |
33 | 30 | | |
34 | | - | |
35 | 31 | | |
36 | 32 | | |
37 | | - | |
| 33 | + | |
38 | 34 | | |
39 | 35 | | |
40 | 36 | | |
| |||
48 | 44 | | |
49 | 45 | | |
50 | 46 | | |
| 47 | + | |
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments