-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Novice tasks for umi contributros 🙌 #10716
Labels
Comments
认领 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
此贴收集所有适合 Umi 新贡献者的任务,通常具备时间消耗适中、有助于熟悉 Umi、与其他功能低耦合、有一定挑战等特点,欢迎对 Umi 感兴趣的朋友们认领 ❤️
为了避免任务领取冲突,请务必先评论任务领取意图并确认主贴对应的任务已经艾特自己后再开始编码。
任务列表
001. 提供
umi cache
命令跟进人:
背景:Umi 将
node_modules/.cache
作为缓存目录,有时候需要手动清除缓存(例如改了node_modules
里的文件想验证结果),但对不熟悉 Umi 的用户来说很难知道有缓存目录的存在方案:
--help
是 CLI 共识,可以提供umi cache clean
命令来删除node_modules/.cache
,当用户使用umi --help
时即可看到cache
命令,另外还可以增加umi cache ls
命令,输出缓存目录树及大小,类似:. └── [768kb] node_modules/.cache ├── [512kb] bundler-webpack └── [10kb] logger
The text was updated successfully, but these errors were encountered: