Skip to content

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Dec 2, 2024

Includes the following fixes for the mat.core migration:

fix(material/schematics): error if stylesheet contains syntax errors

Fixes that the mat.core migration was breaking the whole update process if a stylesheet has syntax errors.

fix(material/schematics): avoid parsing stylesheets that don't include Material

Adds a check in the mat.core migration so that it avoids parsing stylesheets that don't contain @angular/material altogether. This both makes the schematic faster and avoids potential issues for stylesheets we don't care about.

Fixes #30115.

Fixes that the `mat.core` migration was breaking the whole update process if a stylesheet has syntax errors.

Fixes angular#30115.
…e Material

Adds a check in the `mat.core` migration so that it avoids parsing stylesheets that don't contain `@angular/material` altogether. This both makes the schematic faster and avoids potential issues for stylesheets we don't care about.
@crisbeto crisbeto added target: patch This PR is targeted for the next patch release merge: preserve commits When the PR is merged, a rebase and merge should be performed labels Dec 2, 2024
@crisbeto crisbeto requested a review from a team as a code owner December 2, 2024 10:45
@crisbeto crisbeto requested review from andrewseguin and mmalerba and removed request for a team December 2, 2024 10:45
@crisbeto crisbeto removed the request for review from mmalerba December 2, 2024 18:20
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Dec 2, 2024
@crisbeto crisbeto merged commit 4ef3baa into angular:main Dec 2, 2024
23 of 26 checks passed
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker merge: preserve commits When the PR is merged, a rebase and merge should be performed target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"✖ Migration failed: <css input>:73:2: Unclosed string" While updating Angular Material v18 to v19

2 participants