plotly / plotly/angular-plotly.js

Feature request: please add migration guide

未關閉
#285 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
TypeScript
星號
242
分支
81
平均合併
8 小時 48 分鐘
30 天內合併 PR
18

描述

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 🙏

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

首先檢視 package.json 和儲存庫標籤,以確認哪些 angular-plotly.js 版本對應哪些 Angular 發行版本。記錄版本對應關係,並檢查主要版本歷史中的 breaking changes;當一份簡短的移轉指南涵蓋每個對應關係及其相關升級說明時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, typescript
領域
documentation
Issue 類型
文件
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。