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 摘要。