【发布时间】:2015-11-16 03:39:40
【问题描述】:
bower.json 文件
{
"name": "My App",
"version": "0.0.0",
"homepage": "https://github.com/foo/bar",
"authors": [
"...."
],
"license": "MIT",
"dependencies": {
"my-github-forked-repo": "git@github.com:stoplion/my-github-forked-repo.git#~2.1.4"
}
}
我已经 fork 了一个 Github 存储库,在上面做了自己的提交,并希望通过 Bower 安装它。
阅读Bower docs,您似乎可以将包名称指向一个 github 端点(我已经像上面那样做了)。
问题是通过 Bower 下载的 repo 没有我的任何更改。我已经仔细检查了我的 Github 存储库,并且更改在我的 master 中。我在 bower.json 中的 fork 路径是正确的。我已经运行bower cache clean 以确保它正在获取新副本。
有人遇到这个问题并知道解决方案吗?
【问题讨论】: