yarn unlink
disconnect the local project from another one
yarn unlink ...
Examples
Section titled “Examples”Unregister a remote workspace in the current project :
yarn unlink ~/ts-loader
Unregister all workspaces from a remote project in the current project :
yarn unlink ~/jest --all
Unregister all previously linked workspaces :
yarn unlink --all
Unregister all workspaces matching a glob :
yarn unlink '@babel/*' 'pkg-{a,b}'
Details
Section titled “Details”This command will remove any resolutions in the project-level manifest that would have been added via a yarn link with similar arguments.
Options
Section titled “Options”Definition | Description |
---|---|
| Unlink all workspaces belonging to the target project from the current one |