yarn prune
prune 命令并非必需。yarn install
会清理多余包。
- CLI 简介
- yarn add
- yarn audit
- yarn autoclean
- yarn bin
- yarn cache
- yarn check
- yarn config
- yarn create
- yarn dedupe
- yarn generate-lock-entry
- yarn global
- yarn help
- yarn import
- yarn info
- yarn init
- yarn install
- yarn licenses
- yarn link
- yarn list
- yarn lockfile
- yarn login
- yarn logout
- yarn outdated
- yarn owner
- yarn pack
- yarn policies
- yarn prune
- yarn publish
- yarn remove
- yarn run
- yarn self-update
- yarn tag
- yarn team
- yarn test
- yarn unlink
- yarn upgrade
- yarn upgrade-interactive
- yarn version
- yarn versions
- yarn why
- yarn workspace
- yarn workspaces