Move the repo's build and test targets off the deprecated `@angular-devkit/build-angular` builders
Maintainer antworten meist innerhalb von 3 Tagen
Ein zugehöriger Pull Request wurde bereits gemerged.
- #3807 von @armando-navarro — gemerged
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- angular, firebase, typescript
- Bereich
- build-system, testing
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 7.8k
- Forks
- 2.2k
- Ø Merge
- 3 T. 36 Min.
- Gemergte PRs (30 T.)
- 24
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus angular/angularfire
-
comp: compat comp: firestore comp: storage type: chore
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
angular/angularfire#3822 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 55/100
angular/angularfire#3800 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twiceEvtl. wieder frei @armando-navarro hat das vor 57 Tagen übernommen, und es ist kein Pull Request offen. Offencomp: firestore comp: ssr priority: P0 (critical) type: feature version: current (v17+)
angular/angularfire#3757 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Six `firebase` entry points have no `@angular/fire` equivalent, so their exports are unreachableEvtl. wieder frei @armando-navarro hat das vor 57 Tagen übernommen, und es ist kein Pull Request offen. Offencomp: core type: feature
angular/angularfire#3755 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 35/100
angular/angularfire#3737 · 3 Kommentare · 24 Reaktionen ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in angular/angularfire
Ähnliche Issues
-
[Integration]: eRPCOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
ava-labs/builders-hub#4826 ·
Maintainer antworten meist innerhalb von 1 Tag
-
记忆分析的默认模型显示与实际使用不一致Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
anomalyco/opencode#59886 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
-
a10y a10y-audit ai-driven-qa claude
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
Maintainer antworten meist innerhalb von 1 Tag