yalc add <package>
Copy the current version from the store to your project
Arguments
Name | Description |
---|---|
package | The package you want to add |
Options
Name | Description |
---|---|
--link | Add a 'link:' dependency instead of 'file:' |
--dev | Add yalc package to dev dependencies |
--pure | Do not touch 'package.json' or 'node_modules' |
--workspace, -W | Add dependency with 'workspace:' protocol |