更新时间:2022-06-12 22:21:04
以下在我需要的所有场景中都可以正常工作:
The following worked just fine in all scenarios i needed :
"dependencies": { "GitRepo": "git+https://<token-from-github>:x-oauth-basic@github.com/<user>/<GitRepo>.git" }
npm 通过 package.json 中的依赖项安装私有 github 存储库
如何使用私有 Github 存储库作为 npm 依赖项