Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented May 29, 2025

A newly generated application no longer adds the zone.js dependency to the workspace if the zoneless option is enabled.

Closes #30419

@clydin clydin added the target: patch This PR is targeted for the next patch release label May 29, 2025
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label May 29, 2025
Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would break in the case a workspace is create without zone.js and a new library is created.

ng new --zoneless
ng g lib

…ations

A newly generated application no longer adds the `zone.js` dependency to
the workspace if the `zoneless` option is enabled.
@clydin clydin force-pushed the schematics/zoneless-zone-dep branch from c15214c to 05b4936 Compare June 3, 2025 11:39
@clydin clydin requested a review from alan-agius4 June 3, 2025 11:39
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 3, 2025
@clydin clydin merged commit 7ca250a into angular:main Jun 3, 2025
31 checks passed
@clydin
Copy link
Member Author

clydin commented Jun 3, 2025

The changes were merged into the following branches: main, 20.0.x

@clydin clydin deleted the schematics/zoneless-zone-dep branch June 3, 2025 13:29
@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 Jul 4, 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 area: @schematics/angular target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Zoneless option still include zone.js in the dependencies

2 participants