Commit 2c1aa1a
authored
feat(vp): refactor global cli to rust entry point (#514)
The binary can now be used as a drop-in replacement for the Node.js
global CLI for package manager operations.
Verification Tests
- [x] [install.sh](http://install.sh)
- [x] install.ps1
- [x] e2e1 parent 4446c3c commit 2c1aa1a
300 files changed
Lines changed: 6413 additions & 4648 deletions
File tree
- .claude/skills/add-ecosystem-ci
- .github
- actions/build-upstream
- workflows
- crates
- vite_global_cli
- src
- commands
- vite_install/src
- vite_js_runtime/src
- docs
- vite/guide
- ecosystem-ci
- packages
- cli
- binding
- src
- bin
- global
- binding
- src
- commands
- bin
- snap-tests
- cli-helper-message
- command-add-npm10-with-workspace
- command-add-npm10
- command-add-npm11-with-workspace
- command-add-npm11
- command-add-pnpm10-with-workspace
- command-add-pnpm10
- command-add-pnpm9-with-workspace
- command-add-pnpm9
- command-add-yarn4-with-workspace
- command-add-yarn4
- command-cache-npm10
- command-cache-pnpm10
- command-cache-yarn4
- command-config-npm10
- command-config-pnpm10
- command-config-yarn1
- command-config-yarn4
- command-dedupe-npm10
- command-dedupe-pnpm10
- command-dedupe-yarn4
- command-dlx-npm10
- command-dlx-pnpm10
- command-dlx-yarn4
- command-install-bug-31
- command-link-npm10
- command-link-pnpm10
- command-link-yarn4
- command-list-npm10-with-workspace
- command-list-npm10
- command-list-pnpm10-with-workspace
- command-list-pnpm10
- command-list-yarn1
- command-list-yarn4
- command-outdated-npm10-with-workspace
- command-outdated-npm10
- command-outdated-pnpm10-with-workspace
- command-outdated-pnpm10
- command-outdated-yarn4
- command-owner-npm10
- command-owner-pnpm10
- command-owner-yarn1
- command-owner-yarn4
- command-pack-npm10-with-workspace
- command-pack-npm10
- command-pack-pnpm10-with-workspace
- command-pack-pnpm10
- command-pack-yarn4-with-workspace
- command-pack-yarn4
- command-prune-npm10
- command-prune-pnpm10
- command-prune-yarn4
- command-publish-npm10
- command-publish-pnpm10
- command-publish-yarn1
- command-publish-yarn4
- command-remove-npm10-with-workspace
- command-remove-npm10
- command-remove-pnpm10-with-workspace
- command-remove-pnpm10
- command-remove-yarn4-with-workspace
- command-remove-yarn4
- command-unlink-npm10
- command-unlink-pnpm10
- command-unlink-yarn4
- command-update-npm10-with-workspace
- command-update-npm10
- command-update-pnpm10-with-workspace
- command-update-pnpm10
- command-update-yarn4-with-workspace
- command-update-yarn4
- command-view-npm10
- command-view-pnpm10
- command-view-yarn1
- command-view-yarn4
- command-why-npm10-with-workspace
- command-why-npm10
- command-why-pnpm10-with-workspace
- command-why-pnpm10
- command-why-yarn4
- dev-engines-runtime-pnpm10
- migration-agent-claude
- migration-already-vite-plus
- migration-auto-create-vite-config
- migration-check
- migration-from-tsdown-json-config
- migration-from-tsdown
- migration-from-vitest-config
- migration-from-vitest-files
- migration-lintstagedrc-json
- migration-lintstagedrc-not-support
- migration-merge-vite-config-js
- migration-merge-vite-config-ts
- migration-monorepo-pnpm-overrides-dependency-selector
- migration-monorepo-pnpm
- migration-monorepo-skip-vite-peer-dependency
- migration-monorepo-yarn4
- migration-no-agent
- migration-not-supported-npm8.2
- migration-not-supported-pnpm9.4
- migration-not-supported-vite6
- migration-not-supported-vitest3
- migration-rewrite-declare-module
- migration-skip-vite-dependency
- migration-skip-vite-peer-dependency
- migration-subpath
- new-check
- new-create-tsdown
- new-create-vite-with-scope-name
- new-create-vite
- new-vite-monorepo
- src
- global
- local
- migration
- new
- utils
- tools/src
- rfcs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
77 | | - | |
| 76 | + | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
27 | | - | |
| 24 | + | |
28 | 25 | | |
29 | | - | |
| 26 | + | |
30 | 27 | | |
31 | 28 | | |
32 | 29 | | |
| |||
40 | 37 | | |
41 | 38 | | |
42 | 39 | | |
| 40 | + | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
59 | | - | |
| 58 | + | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
69 | | - | |
| 68 | + | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
75 | 74 | | |
76 | 75 | | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
| 89 | + | |
89 | 90 | | |
90 | | - | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
98 | 111 | | |
99 | 112 | | |
100 | 113 | | |
| |||
109 | 122 | | |
110 | 123 | | |
111 | 124 | | |
| 125 | + | |
| 126 | + | |
112 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| |||
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
197 | | - | |
198 | | - | |
199 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
200 | 208 | | |
201 | 209 | | |
202 | | - | |
| 210 | + | |
203 | 211 | | |
204 | 212 | | |
205 | | - | |
| 213 | + | |
206 | 214 | | |
207 | 215 | | |
208 | 216 | | |
209 | 217 | | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
220 | 223 | | |
221 | | - | |
| 224 | + | |
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
| |||
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
257 | | - | |
| 260 | + | |
258 | 261 | | |
259 | 262 | | |
260 | 263 | | |
| |||
0 commit comments