-
Notifications
You must be signed in to change notification settings - Fork 316
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: updates angular starters to v17 #1817
Conversation
3450a02
to
75699e6
Compare
@@ -4,7 +4,7 @@ | |||
<ion-content> | |||
<ion-list id="inbox-list"> | |||
<ion-list-header>Inbox</ion-list-header> | |||
<ion-note>[email protected]</ion-note> |
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.
After upgrading the lint package, using the @
resulted in an error:
Error: src/app/app.component.html:7:23 - error NG5002: Incomplete block "ionicframework". If you meant to write the @ character, you should use the "@" HTML entity instead.
"@ionic/angular-toolkit": "^9.0.0", | ||
"@types/jasmine": "~4.3.0", | ||
"@types/node": "^12.11.1", | ||
"@typescript-eslint/eslint-plugin": "5.3.0", |
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.
Upgraded the lint plugin to v6 as a result of this error:
/Users/sean/Documents/ionic/starters/build/angular-official-sidemenu/src/app/app-routing.module.ts
0:0 error Parsing error: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead
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.
I'm getting the following warning when trying to build an app:
Option "browserTarget" is deprecated: Use 'buildTarget' instead.
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.
Now I'm getting this error:
Error: Schema validation failed with the following errors:
Data path "" must have required property 'browserTarget'.
Not really sure why this error isn't showing up on CI though 🤔
@liamdebeasi which starter template are you testing against? |
|
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! Installing Angular CLI v17 fixed the issue. This all looks good now.
Updates the modules and starter base angular projects to default to Angular 17.
Notes for reviewers:
@types/node
dev-dependency. It was introduced in supporting Angular 11, but is definitely not a required dev dependency for Angular and isn't a part of the project defaults when generating a project withng new
. As such, I've removed it.