-
Notifications
You must be signed in to change notification settings - Fork 33
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
Migration to Angular 18 #1070
Migration to Angular 18 #1070
Conversation
Affected libs:
|
5a1d72f
to
fecc6b7
Compare
📷 Screenshots are here! |
45749cb
to
3ccd41d
Compare
95760c0
to
5ddca3f
Compare
This is ready for review! I marked the PR as breaking change since the NPM package now requires Angular 18+ as well as a new peer dependency: The SSR part of the project has been disabled for now and will have to be restored properly in a different way. |
5e62cc7
to
e14114b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the big work @jahow !
I've started the datahub, editor, web components, storybook and couldn't make out any bugs.
Couldn't achieve to install the npm package in an ng 17 app, but this seems to be expected.
@@ -111,10 +111,10 @@ <h2>Next Steps</h2> | |||
<summary>Add UI library</summary> | |||
<pre> | |||
# Generate UI lib | |||
nx g @nx/angular:lib ui | |||
nx g @nx/angular:lib ui |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is on purpose, I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, the @
was causing compilation issues :) see c831ae8
Also fix warnings
Also fix JSON type assertion in script
This was missing so storybook entries were not using the path shortcuts
* wait for results to show up before logging out otherwise we might end up with duplicated session cookies => not good * wait a bit before duplicating a record to be sure to pick the right one
This was making runs fail on the CI
Description
Migration to Angular 18 and Nx 20. Most of the work was:
Note: migration to Angular 19 was attempted and then left out because ng-mocks is not compatible with it yet.
To do:
Architectural changes
Screenshots
no visual changes
Quality Assurance Checklist
breaking change
labelbackport <release branch>
labelThis work is sponsored by IGN.