Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: move package managers into a dir #5379

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rigor789
Copy link
Member

@rigor789 rigor789 commented Sep 7, 2020

The goal is to clean up package management throughout the CLI - this is the first step (and it's WIP) towards that goal.

Right now we have 2 services responsible for package management:

  • PackageManager
  • PackageInstallationManager

The goal is to combine them with a decoupled API from the specifics of each package manager. The interfaces have been created for NPM, and are tailored to npm's cli flags and terminology. We should abstract the specifics like save-dev should just be a combination of dev: true and save: true and each package manager would then use the correct flags: --save-dev or -D etc.

@project-bot project-bot bot added this to Pull Request in CLI Team Sep 7, 2020
@cla-bot cla-bot bot added the cla: yes label Sep 7, 2020
@rigor789 rigor789 added this to the 8.3 milestone Jul 9, 2022
@rigor789 rigor789 modified the milestones: 8.3, 8.4 Jul 25, 2022
@NathanWalker NathanWalker modified the milestones: 8.4, 9.0 Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
CLI Team
  
Pull Request
Development

Successfully merging this pull request may close these issues.

None yet

2 participants