Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Symlinking local packages #40

Open
rcassamido opened this issue Mar 23, 2022 · 0 comments
Open

Symlinking local packages #40

rcassamido opened this issue Mar 23, 2022 · 0 comments

Comments

@rcassamido
Copy link
Contributor

Problem

By default NPM 8 workspaces symlinks every packages linked in the root package.json. Nuanced functionality is discussed as RFCs (however, the unanswered questions section of this RFC is only just opening the question we're looking to implement here "Is it reasonable that a workspace with a dependency on a sibling workspace should always resolve to its sibling?")

Options

  • Alternative package manager e.g. pnpm to specify when to link locally or not as config
  • Limiting use of OOTB npm workspaces and using lerna link and scripts to manage nuanced requirements

Considerations

  • NPM 8 functionality is OOTB
  • Lerna doesn't require changing much npm 8 functionality
  • pnpm will totally replace npm 8 workspaces and lerna, but requires extra setup
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant