yarn unlink
This command will remove any resolutions in the project-level manifest that would have been added via a yarn link with similar arguments.
If the --all flag is used without any arguments, Yarn will remove all resolutions that use the portal: protocol.
If the --all flag is used with a path argument, Yarn will unlink all workspaces from the specified project.
Otherwise, you can specify package names (with glob support) or paths to individual packages to unlink specific resolutions.
Options
| Option | Description |
|---|---|
--all | Unlink all portal resolutions, or all workspaces from the target project |