`ng add @angular/fire@canary` installs the release candidate instead of the canary build
维护者通常 3 天内回复
已经有一个关联 PR 被合并了。
- #3780 来自 @armando-navarro —— 已合并
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 55/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- angular, firebase, typescript
调研方向
Start by reproducing ng add @angular/fire@canary and comparing it with npm install @angular/fire@canary; trace how the ng add setup resolves the dist-tag and saves the dependency. Done means the command installs the canary build and preserves a version constraint that does not later resolve to the release candidate or stable release.
由索引模型根据 Issue 内容生成。
描述
ng add @angular/fire@canary looks up the canary tag, then installs and saves the range ^<that version>, and npm installs the highest version in that range. Since #3767 every canary is named 21.0.0-canary.*, which ranks below 21.0.0-rc.1, so the command installs the release candidate. The ng add setup step then saves 21.0.0-rc.1 as an exact version.
Details
- Today:
ng add @angular/fire@canaryon an Angular 21 app installs21.0.0-rc.1and saves it exactly. - After
21.0.0ships: canaries are still named21.0.0-canary.*, which rank below21.0.0, so the same command installs21.0.0. npm install @angular/fire@canaryinstalls the canary but saves^<canary>, so a later install without the lockfile moves to the release candidate.
Workaround
Pass the exact canary version, from npm view @angular/fire@canary version, to ng add, for example ng add @angular/[email protected].
- 主要语言
- TypeScript
- 星标
- 7.8k
- 派生
- 2.2k
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
angular/angularfire 的其他 Issue
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twice可能重新可做 @armando-navarro 于 42 天前认领,目前没有进行中的 PR。 未关闭comp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 已指派 1 人 ·
维护者通常 3 天内回复
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachable可能重新可做 @armando-navarro 于 42 天前认领,目前没有进行中的 PR。 未关闭comp: core type: feature
angular/angularfire#3755 · 已指派 1 人 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
angular/angularfire#3737 · 2 条评论 · 24 个 reaction ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
angular/angularfire#3715 ·
维护者通常 3 天内回复
-
comp: build/pipeline type: RFC / discussion / question
难度 5/5 一周以上 新手友好度 25/100
angular/angularfire#3699 · 17 条评论 · 4 个 reaction ·
维护者通常 3 天内回复
查看 angular/angularfire 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 77/100
apache/rocketmq-dashboard#6610 ·
维护者通常 3 天内回复
-
nextjs-tracking
难度 2/5 1-3 小时 新手友好度 69/100
cloudflare/vinext#3920 ·
维护者通常 1 天内回复
-
Team:Dashboards
难度 2/5 1-3 小时 新手友好度 65/100
elastic/kibana#297299 · 1 条评论 ·
维护者通常 1 天内回复
-
analytics beginner friendly community contributions-welcome good first issue hacktoberfest help wanted up-for-grabs
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
affected/v17 affected/v18 area/frontend type/bug
难度 2/5 1-3 小时 新手友好度 82/100
umbraco/Umbraco-CMS#24186 ·
维护者通常 2 天内回复