Move the repo's build and test targets off the deprecated `@angular-devkit/build-angular` builders
维护者通常 3 天内回复
已经有一个关联 PR 被合并了。
- #3807 来自 @armando-navarro —— 已合并
评估
- 难度
- 4/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- angular, firebase, typescript
- 领域
- build-system, testing
调研方向
Start with angular.json and compare the build and test targets with the proposed @angular/build builders. Then update the Karma entries in karma.conf.js and the root package.json, and regenerate the lockfile. Run the build and browser specs in Chrome and Firefox; done means all 160 specs run with the same 48 pending skips and the deprecation warning is gone.
由索引模型根据 Issue 内容生成。
描述
Angular CLI 22.0.0 deprecated the builders in @angular-devkit/build-angular as part of ending its webpack support, in favor of @angular/build. This repository still builds the library with @angular-devkit/build-angular:ng-packagr and runs the browser specs with @angular-devkit/build-angular:karma, so every npm run build prints the deprecation warning, and the package can be removed in Angular 23.
Proposal
Switch both targets in AngularFire 22, while the change is small and nothing else is moving:
angular.json:buildto@angular/build:ng-packagrandtestto@angular/build:karma.karma.conf.js: drop the@angular-devkit/build-angularframework and plugin entries, since the package is gone.- Root
package.json:@angular/buildreplaces@angular-devkit/build-angularin the devDependencies. The regenerated lockfile loses the webpack tree.
What changes for contributors
The spec bundle is built by esbuild instead of webpack. The same 160 specs run, with the same 48 pending() skips, in Chrome and Firefox.
Nothing changes for apps: the published package is built by the same ng-packagr with the same configuration.
- 主要语言
- TypeScript
- 星标
- 7.8k
- 派生
- 2.2k
- 平均合并
- 3 天 36 分钟
- 30 天内合并 PR
- 24
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
angular/angularfire 的其他 Issue
-
comp: compat comp: firestore comp: storage type: chore
难度 4/5 3-5 天 新手友好度 48/100
angular/angularfire#3822 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 55/100
angular/angularfire#3800 · 1 个 reaction ·
维护者通常 3 天内回复
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twice可能重新可做 @armando-navarro 于 57 天前认领,目前没有进行中的 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 于 57 天前认领,目前没有进行中的 PR。 未关闭comp: core type: feature
angular/angularfire#3755 · 已指派 1 人 ·
维护者通常 3 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
angular/angularfire#3737 · 3 条评论 · 24 个 reaction ·
维护者通常 3 天内回复
查看 angular/angularfire 的全部 Issue
相似的 Issue
-
check:passed streams:add
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
type: enhancement
难度 2/5 1-3 小时 新手友好度 62/100
franciscoBSalgueiro/en-croissant#1061 ·
维护者通常 3 天内回复
-
S: triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
comp/desktop desktop/shell os/windows P3 tool/file type/bug
难度 2/5 1-3 小时 新手友好度 76/100
NousResearch/hermes-agent#145928 ·
维护者通常 1 天内回复