Loosen pinned dependency versions to internal google packages

未关闭
#8,603 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
冷清
技术栈
nodejs, typescript

调研方向

未指定任何仓库文件或测试。首先复现 google-gax、gcp-metadata、google-auth-library 和 google-api-commons 的依赖项更新流程,然后追踪它们的传递版本是如何解析的。完成的标准是,仓库拥有一项已达成共识并已实现的依赖项版本策略,可防止非预期的降级。

由索引模型根据 Issue 内容生成。

描述

Our dependency update process update some google packages but that lead to downgrades of some transitive dependencies. Some newer dependency versions seem to depend on pinned older versions of other libraries which lead to downgrades in our repository.

Is this an intentional behavior? I see two possible solutions:

  1. Use caret-style versions to allow newer versions.
  2. Always update the versions once an update happens in this monorepo so everyone pulls the latest version.

Examples:

google-gax is forced to an older version of [email protected]:
Image


gcp-metadata is forced to an older version of [email protected]:
Image


google-auth-library is forced to an older version of [email protected]:
Image


google-api-commons is forced to older versions of [email protected] and [email protected]:
Image

主要语言
TypeScript
星标
3.2k
派生
732
平均合并
2 天 11 小时
30 天内合并 PR
99

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

googleapis/google-cloud-node 的其他 Issue

查看 googleapis/google-cloud-node 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。