Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Jan 20, 2023

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #48163

What is the new behavior?

The main entry point for the @angular/localize package no longer imports the @angular/compiler package and now has no external dependencies. This allows the main functionality of the package to be used without requiring any other Angular packages. Only the message digest algorithm implementation from the @angular/compiler package was being used and this code is now bundled directly into the final npm package for @angular/localize.
The tooling secondary entry point still leverages and requires Angular related packages (@angular/compiler/@angular/compiler-cli). However, the tooling functionality is not intended to be used and/or bundled in a web application.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@clydin clydin added the area: i18n Issues related to localization and internationalization label Jan 20, 2023
@ngbot ngbot bot added this to the Backlog milestone Jan 20, 2023
@pullapprove pullapprove bot requested review from dgp1130 January 20, 2023 17:15
@clydin clydin added the target: patch This PR is targeted for the next patch release label Jan 20, 2023
Copy link
Contributor

@dgp1130 dgp1130 left a comment

Choose a reason for hiding this comment

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

Minor typo in commit message: @angular-compiler-cli -> @angular/compiler-cli.

@clydin clydin added the merge: squash commits When the PR is merged, a squash and merge should be performed label Jan 24, 2023
…ackage

The main entry point for the `@angular/localize` package no longer imports
the `@angular/compiler` package and now has no external dependencies. This
allows the main functionality of the package to be used without requiring
any other Angular packages. Only the message digest algorithm implementation
from the `@angular/compiler` package was being used and this code is now
bundled directly into the final npm package for `@angular/localize`.
The `tooling` secondary entry point still leverages and requires Angular
related packages (`@angular/compiler`/`@angular/compiler-cli`). However,
the tooling functionality is not intended to be used and/or bundled in
a web application.

Closes angular#48163
@clydin clydin force-pushed the i18n/localize-bundle-digest branch from 3015257 to 7ca5bd5 Compare January 24, 2023 16:41
@clydin clydin force-pushed the i18n/localize-bundle-digest branch from 1102f10 to ce528cf Compare January 24, 2023 16:57
@pullapprove pullapprove bot requested review from alxhub and atscott January 24, 2023 17:24
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 24, 2023
Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

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

Reviewed-for: size-tracking

@clydin clydin removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Jan 24, 2023
@clydin clydin added the action: merge The PR is ready for merge by the caretaker label Jan 24, 2023
@clydin clydin linked an issue Jan 24, 2023 that may be closed by this pull request
@jessicajaniuk
Copy link
Contributor

This PR was merged into the repository by commit 402fcc5.

jessicajaniuk pushed a commit that referenced this pull request Jan 24, 2023
…ackage (#48799)

The main entry point for the `@angular/localize` package no longer imports
the `@angular/compiler` package and now has no external dependencies. This
allows the main functionality of the package to be used without requiring
any other Angular packages. Only the message digest algorithm implementation
from the `@angular/compiler` package was being used and this code is now
bundled directly into the final npm package for `@angular/localize`.
The `tooling` secondary entry point still leverages and requires Angular
related packages (`@angular/compiler`/`@angular/compiler-cli`). However,
the tooling functionality is not intended to be used and/or bundled in
a web application.

Closes #48163

PR Close #48799
@clydin clydin deleted the i18n/localize-bundle-digest branch January 24, 2023 18:32
trekladyone pushed a commit to trekladyone/angular that referenced this pull request Feb 1, 2023
…ackage (angular#48799)

The main entry point for the `@angular/localize` package no longer imports
the `@angular/compiler` package and now has no external dependencies. This
allows the main functionality of the package to be used without requiring
any other Angular packages. Only the message digest algorithm implementation
from the `@angular/compiler` package was being used and this code is now
bundled directly into the final npm package for `@angular/localize`.
The `tooling` secondary entry point still leverages and requires Angular
related packages (`@angular/compiler`/`@angular/compiler-cli`). However,
the tooling functionality is not intended to be used and/or bundled in
a web application.

Closes angular#48163

PR Close angular#48799
@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 Feb 24, 2023
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: i18n Issues related to localization and internationalization merge: squash commits When the PR is merged, a squash 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.

@angular/localize should not depend on @angular/compiler
5 participants