Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Move the repo's build and test targets off the deprecated `@angular-devkit/build-angular` builders

Geschlossen
#3,806 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

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

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

comp: build/pipeline type: chore

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: build to @angular/build:ng-packagr and test to @angular/build:karma.
  • karma.conf.js: drop the @angular-devkit/build-angular framework and plugin entries, since the package is gone.
  • Root package.json: @angular/build replaces @angular-devkit/build-angular in 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

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus angular/angularfire

Alle Issues in angular/angularfire

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.