-
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 angular v18 #573
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: e408c02 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 |
其他依赖也检查一下有没有新版本。 |
好, 我把 fe 处理好就看下
嗯, 升级 v8 之后现在的就都不能用了, 要转换成 csf , 然后所有的文案就都没有了,只有组件演示 ; 看样子是要变成 mdx1 + csf 的形式, 这个还是单独升吧 |
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.
升级更改
升级遇到的问题
Typescript 无法升级到 >=5.2 的版本, 升级之后不能正常解析
extends
相关问题: Error when using ts-node with tsonfig/bases and typescript 5.3.2 TypeStrong/ts-node#2088
处理方法: 升级 ts-node 到
v10.9.2
zonejs 升级到
v0.14.x
之后不再支持深度导入, 而 storybook 的一部分是使用的zone.js/dist/zone
导入处理方法: 升级 storybook 到
^7.5.0
, 不升级到 v8 是因为对 stories 处理的变更较大. 需要大量修改 mdxaluada-fe
升级后及一些其他的新建 Angular 应用使用 aui 时aui-table
不能正常渲染行问题原因:
alauda-fe
升级之后aui-table
不能正常渲染可能是因为这个 fix(cdk/table): error if outlets are assigned too early angular/components#28551 解决的问题. 这个 PR 为 CdkTable 引入了 ContentInit 的生命周期而新建 Angular 应用则是因为安装的
@angular/cdk
较新, 使用的 AuiTable 的ngAfterContentInit
没有调用super.ngAfterContentinit
导致没有渲染行解决方式: aui 升级
@angular/cdk
到v18
, 并做升级更改, 之后alauda-fe
也要升级@angular/cdk
eslint@9
变更很大,配置文件需要使用 flat config, 先暂时使用一个临时的配置文件