refactor(global): install command without cache#344
Merged
Conversation
This was referenced Dec 15, 2025
Member
Author
620042c to
920cb33
Compare
7516e4d to
dee5413
Compare
dee5413 to
953d4d8
Compare
dfd9310 to
c8d3b03
Compare
ac619b7 to
cbf3d21
Compare
cbf3d21 to
23a45e8
Compare
c8d3b03 to
17d6984
Compare
17d6984 to
b9acebf
Compare
23a45e8 to
bc4d4c2
Compare
bc4d4c2 to
9afc36d
Compare
9afc36d to
461ef24
Compare
ee45142 to
f5c1988
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 30 out of 31 changed files in this pull request and generated 9 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
f5c1988 to
6716f71
Compare
6716f71 to
5acfe9e
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 30 out of 31 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
5acfe9e to
abd0919
Compare
abd0919 to
10d5bc5
Compare
Member
|
cursor review |
Brooooooklyn
approved these changes
Dec 24, 2025
10d5bc5 to
ecb915f
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 30 out of 31 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

TL;DR
Add a comprehensive
vite installcommand that adapts to the detected package manager (pnpm/yarn/npm) with support for common flags and workspace operations.What changed?
InstallCommandOptionsstruct to handle various install options (prod, dev, frozen-lockfile, etc.)The implementation translates a unified command interface into the appropriate package manager-specific commands:
--frozen-lockfiletonpm cifor npm--immutablevs--frozen-lockfile)--filterflagHow to test?
Run the install command with various options:
Verify that the command correctly translates to the appropriate package manager command based on the detected package manager in the project.
Why make this change?
This change provides a unified interface for installing dependencies across different package managers, eliminating the need to remember different syntaxes for pnpm, yarn, and npm. It simplifies workflows in monorepos and ensures consistent behavior regardless of the underlying package manager.
The implementation follows the same patterns as other package management commands while providing an intuitive interface that works across all supported package managers, making it easier for developers to work with different projects without having to learn package manager-specific commands.
Note
Introduces a unified, package-manager–aware
installflow and removes the previous task-graph/caching approach.InstallCommandOptionsandPackageManager::resolve/run_install_commandto translate flags for pnpm/yarn (v1 & v2+)/npm, includingnpm cifor frozen lockfile, Yarn Berry modes,--filter, workspace root, and pass-through argsinstallsubcommand: rich flags, optional package args (acts as add), updated help; removes auto-install/task caching paths and simplifiesCache; makescommands::installpublicrfcs/install-command.md) documenting design and mappingsWritten by Cursor Bugbot for commit 10d5bc5. This will update automatically on new commits. Configure here.