Skip to content

fix(platform-server): remove peer dependency on animations#58997

Closed
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:unused-peer-deps
Closed

fix(platform-server): remove peer dependency on animations#58997
crisbeto wants to merge 1 commit intoangular:mainfrom
crisbeto:unused-peer-deps

Conversation

@crisbeto
Copy link
Copy Markdown
Member

@crisbeto crisbeto commented Dec 2, 2024

The @angular/platform-server package had a peer dependency on @angular/animations which wasn't being used anywhere.

@crisbeto crisbeto added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Dec 2, 2024
@crisbeto crisbeto requested a review from alan-agius4 December 2, 2024 08:02
@pkozlowski-opensource pkozlowski-opensource added the area: server Issues related to server-side rendering label Dec 2, 2024
@ngbot ngbot bot added this to the Backlog milestone Dec 2, 2024
Copy link
Copy Markdown
Contributor

@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.

LGTM

@alan-agius4
Copy link
Copy Markdown
Contributor

Nit: might also be worth removing https://github.com/angular/angular/blob/37b6bd5addfbdd9949dfbec825c2c8203d2a076d/packages/platform-server/BUILD.bazel#L18

The `@angular/platform-server` package had a peer dependency on `@angular/animations` which wasn't being used anywhere.
@crisbeto crisbeto 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 Dec 2, 2024
pkozlowski-opensource pushed a commit that referenced this pull request Dec 2, 2024
The `@angular/platform-server` package had a peer dependency on `@angular/animations` which wasn't being used anywhere.

PR Close #58997
@pkozlowski-opensource
Copy link
Copy Markdown
Member

This PR was merged into the repository by commit 1cfbfc6.

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

@davidbusuttil
Copy link
Copy Markdown

Now, we are getting:

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@angular/animations' imported from C:\Users...\node_modules@angular\platform-browser\fesm2022\animations.mjs

@angular-automatic-lock-bot
Copy link
Copy Markdown

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 4, 2025
PrajaktaB27 pushed a commit to PrajaktaB27/angular that referenced this pull request Feb 7, 2025
…8997)

The `@angular/platform-server` package had a peer dependency on `@angular/animations` which wasn't being used anywhere.

PR Close angular#58997
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: server Issues related to server-side rendering target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants