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
支持自定义 Registry #11024
base: master
Are you sure you want to change the base?
支持自定义 Registry #11024
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
registry 是很长比较难记忆的,就算记住了,每次创建项目要手动输入一长串 url 也是不友好的,没人会这么做,实用性不大。 如果你想用自己的 registry,创建完删掉 这个地方如果非要做的话,应该自动识别当前用户全局的 registry 配置,同时和 npm 官方源与 npmmirror 源做对比,处理掉所有的 edge case ,包括 |
道理是这个道理,不过目前创建之后就直接安装依赖了,这个过程就是纯浪费的。换一个角度初始化项目这个场景也不是经常发生,copy一个url实际上还能接受。这个功能对于使用内部源的企业,就十分的爽感。 |
This comment was marked as outdated.
This comment was marked as outdated.
巧了,我们就是隔离开发 |
有其他 opinions 吗?没有就close了 |
优化了下,可以解你的问题,但这么做会让 create-umi 启动慢 1s ,还没想好收益如何 👀 |
感觉不错 |
你们还好吗 |
现在是怎样了 |
No description provided.