yarn-install
Per-Branch Yarn Lock Installer¶
Manages per-branch yarn.lock files — saves and restores branch-specific lockfiles.
Aliases¶
yarn-install(default)y-installyarn-per-branch-lock-installer
Usage¶
Options¶
| Option | Description |
|---|---|
-h, --help |
Show help message |
Description¶
- Saves the current
yarn.lockto a branch-specific file before switching branches - Restores the branch-specific
yarn.lockwhen returning to a branch - Runs
yarn installoryarn upto sync dependencies
Source¶
See src/yarn-per-branch-lock-installer.cjs