-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade to angular 19 #585
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: e20e5e3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
8063fc1
to
a428f44
Compare
a428f44
to
a72f148
Compare
4062485
to
0903666
Compare
JounQin
reviewed
Mar 5, 2025
JounQin
reviewed
Mar 5, 2025
JounQin
reviewed
Mar 5, 2025
JounQin
reviewed
Mar 5, 2025
Co-authored-by: JounQin <admin@1stg.me>
JounQin
reviewed
Mar 5, 2025
JounQin
reviewed
Mar 5, 2025
JounQin
reviewed
Mar 5, 2025
JounQin
reviewed
Mar 5, 2025
JounQin
approved these changes
Mar 5, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
升级更改
升级遇到的问题
@angular/cdk@19 的 CDKSrollable 改为了使用 inject() 进行依赖注入, DialogRef 中的 new CDKScrollable() 用法出现 NG0203 问题,导致所有 DialogService.open 全部无法正确打开对话框
处理方法: 增加一个 wrapper 组件在 DOM 使用 CDKScrollable 指令 e52d3e0
升级后存在大量 Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. 的警告,scss 引入了模块系统并会在之后弃用 @import 及全局作用域 https://sass-lang.com/d/import
处理方法: 暂时不处理,AUI 迁移本身成本不高,直接用迁移工具+少量手动修改。但是已有的 FE 项目迁移成本巨大,光靠迁移工具仍有很多手工工作量,后续单独迁移