Skip to content
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

feat(angular): update component generator to use a single string styles or styleUrl property #20146

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

leosvelperez
Copy link
Member

@leosvelperez leosvelperez commented Nov 9, 2023

Current Behavior

Components are always generated with styles or styleUrls properties with an array value.

Expected Behavior

For Angular v17, components should be generated with styles or styleUrl properties with a single string value.

Related Issue(s)

Fixes #

@leosvelperez leosvelperez self-assigned this Nov 9, 2023
@leosvelperez leosvelperez requested a review from a team as a code owner November 9, 2023 11:20
@leosvelperez leosvelperez requested a review from Coly010 November 9, 2023 11:20
Copy link

vercel bot commented Nov 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Nov 13, 2023 9:00am

@leosvelperez
Copy link
Member Author

The failing E2E tests are caused by an issue with jest-preset-angular being addressed by thymikee/jest-preset-angular#2186. This PR is blocked until a new release of jest-preset-angular with the fix comes out.

@leosvelperez leosvelperez force-pushed the angular/cmp-styles-metadata branch from ad794ac to 20dc419 Compare November 13, 2023 08:59
@leosvelperez leosvelperez marked this pull request as ready for review November 13, 2023 10:08
@leosvelperez leosvelperez merged commit 2883fa3 into nrwl:master Nov 13, 2023
6 checks passed
@leosvelperez leosvelperez deleted the angular/cmp-styles-metadata branch November 13, 2023 14:22
FrozenPandaz pushed a commit that referenced this pull request Nov 13, 2023
…les` or `styleUrl` property (#20146)

(cherry picked from commit 2883fa3)
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants