`ng add @angular/fire@canary` installs the release candidate instead of the canary build
Maintainer antworten meist innerhalb von 3 Tagen
Ein zugehöriger Pull Request wurde bereits gemerged.
- #3780 von @armando-navarro — gemerged
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- angular, firebase, typescript
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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].
- Vorherrschende Sprache
- TypeScript
- Sterne
- 7.8k
- Forks
- 2.2k
- Ø Merge
- 2 T. 14 Std.
- Gemergte PRs (30 T.)
- 19
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
-
Use `TransferState` to hand server-rendered Firestore data to the browser, instead of reading every document twiceEvtl. wieder frei @armando-navarro hat das vor 43 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 43 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 · 2 Kommentare · 24 Reaktionen ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 52/100
angular/angularfire#3715 ·
Maintainer antworten meist innerhalb von 3 Tagen
-
comp: build/pipeline type: RFC / discussion / question
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
angular/angularfire#3699 · 17 Kommentare · 4 Reaktionen ·
Maintainer antworten meist innerhalb von 3 Tagen
Alle Issues in angular/angularfire
Ähnliche Issues
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 70/100
siyuan-note/siyuan#20517 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
NaturalIntelligence/fast-xml-parser#890 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 3 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
zsviczian/obsidian-excalidraw-plugin#3000 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
pnpm/get.pnpm.io#68 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
nuxt-modules/better-auth#578 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag