plotly / plotly/angular-plotly.js
Feature request: please add migration guide
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 242
- Forks
- 81
- Ø Merge
- 8 Std. 48 Min.
- Gemergte PRs (30 T.)
- 18
Beschreibung
Hello,
I'm maintaining an app with angular 12 and angular-plotly.js 2.0.0.
When migrating to angular 13, I got this error:
$ ng update @angular/core@13 @angular/cli@13
Fetching dependency metadata from registry...
Package "angular-plotly.js" has an incompatible peer dependency to "@angular/core" (requires "^9.0.0" (extended), would install "13.4.0").
✖ Migration failed: Incompatible peer dependencies found.
Peer dependency warnings when installing dependencies means that those dependencies might not work correctly together.
You can use the '--force' option to ignore incompatible peer dependencies and instead address these warnings later.
Looking through this repo by tags and checking at the package.json, I'm assuming that the right version for angular 13 is angular-plotly.js 5.0.0
It would be great to have a simple version mapping between angular-plotly.js and Angular (e.g. angular.dev/reference/versions), and especially a short list of breaking changes if any for each major version . That would really help developers trying to upgrade.
Thanks in advance 🙏
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Prüfung von package.json und den Repository-Tags, um zu verifizieren, welche angular-plotly.js-Versionen welchen Angular-Releases entsprechen. Dokumentiere die Versionszuordnung und prüfe die Historie der Major-Versionen auf Breaking Changes. Als erledigt gilt die Aufgabe, wenn ein kurzer Migrationsleitfaden jede Zuordnung und die dazugehörigen relevanten Upgrade-Hinweise abdeckt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100