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

[rush] Support native package manager workspaces #1553

Open
octogonz opened this issue Sep 30, 2019 · 2 comments

Comments

@octogonz
Copy link
Collaborator

@octogonz octogonz commented Sep 30, 2019

NPM recently announced that version 7 will finally provide support for monorepos. Today, the monorepo support implemented by Yarn and PNPM is already reasonably close to what we do in rush install and rush link. Thus, we're planning an overhaul of Rush that would delegate most of the installation/linking operations to the underlying package manager. I'm opening this thread to track that effort.

Benefits: The Rush maintainers currently spend a lot of time investigating/maintaining issues with installation edge cases, so this would offload a lot of that, freeing us up to focus on more differentiating features such as sharded builds, multi-project watch, publishing workflows, etc.

Drawbacks: One downside is that NPM and Yarn classic will lose Rush's protection against phantom dependencies. But we've found that users with complex installs inevitably move to PNPM or Yarn Plug'n'Play anyway. But an upside is that you would be able to use the package manager's monorepo commands in your Rush repo.

@wbern

This comment has been minimized.

Copy link

@wbern wbern commented Oct 2, 2019

Absolutely vital to rush so we can leverage functionality from pnpm and the other managers better! Also not to mention that rush has other more abstract needs as mentioned above.

@octogonz

This comment has been minimized.

Copy link
Collaborator Author

@octogonz octogonz commented Oct 17, 2019

I just bumped this to the top of our roadmap for upcoming investments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Bug Triage
  
Needs Investigation
3 participants
You can’t perform that action at this time.