-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
This issue will link all related discussions and RFC.
Prior art (wrappers on top of yarn and npm):
- https://github.com/lerna/lerna
- https://github.com/whitecolor/yall and https://github.com/whitecolor/yalc
- https://github.com/sindresorhus/np (nice publish experience)
RFC:
- RFC for
link::link dependencies rfcs#34, will help when workspaces reference each other - RFC for workspaces install workspaces phase 1: aggregated install rfcs#60
- RFC for workspaces add/remove/upgrade/* Workspaces phase 2: commands to manage workspaces rfcs#61
- RFC for workspaces linking Workspaces phase 3: linking rfcs#66
- RFC for publishConfig Initial RFC for publishConfig for yarn rfcs#40
- RFC for
knitcommand "yarn knit" -- a command to test libraries while working on them rfcs#41 - simulates publishing a dep instead of just symlinking to a folder. That may be useful for Phase 3 described in workspaces phase 1: aggregated install rfcs#60 - RFC for
project:that is similar toknitidea Add 'project:' dependencies rfcs#59 - Full workspaces RFC aggregated [RFC] Yarn Workspaces rfcs#62
- RFC for publish and workspaces (phase 5) (looking for a champion)
Pull requests:
-
project:proof of concept Add 'project:' dependencies #3281 - workspaces install phase 1 workspaces: first phase: install node_modules aggregated from all workspaces #3229
- workspaces add/remove commands phase 2 Workspaces phase 2: executing commands #3365
- workspaces linking each other phase 3 & 4 Workspace phase 3 & 4 #3516
-
link:PR feat(type): add support for new link: dependency type #3359
Issues/discussions:
- Yarn npm_package_config equivalent #2989 - npm config base equivalent (needs clarification)
- Option to not prune on install #2919, Allow child packages to install into a single node_modules in the root package #711, Support unpublished
lernapackages – ignore symlinked packages or not found failures #2863 - common node_modules, should be fixed with Phase 1
Implementation phase:
- (0.25) 1. Installing dependencies of all workspaces in the root node_modules
- (0.26) 2. Commands to manage (add/remove/upgrade) dependencies in workspaces from the parent directory
- (0.27) 3. Ability for workspaces to refer each other, e.g. jest-diff → jest-matcher-utils inside jest monorepo
- (0.27) 4. package-hoister for workspaces, e.g. when dependencies conflict and can't be installed on root level
- 5. Remove the experimental flag and turn on by default
- 6. Command to publish all workspaces in one go (looking for a champion)
Reactions are currently unavailable