Skip to content

ngcc: move logging and sourcemaps - #37114

Closed
petebacondarwin wants to merge 3 commits into
angular:masterfrom
petebacondarwin:ngcc-move-logging-and-sourcemaps
Closed

petebacondarwin wants to merge 3 commits into
angular:masterfrom
petebacondarwin:ngcc-move-logging-and-sourcemaps

Conversation

@petebacondarwin

Copy link
Copy Markdown
Contributor

This refactoring is another precursor to i18n message extraction in @angular/localize.

@petebacondarwin petebacondarwin added action: review The PR is still awaiting reviews from at least one requested reviewer refactoring Issue that involves refactoring or code-cleanup target: major This PR is targeted for the next major release comp: ngcc area: compiler Issues related to `ngc`, Angular's template compiler labels May 14, 2020
@petebacondarwin
petebacondarwin requested a review from alxhub May 14, 2020 20:25
@ngbot ngbot Bot modified the milestone: needsTriage May 14, 2020
@pullapprove
pullapprove Bot requested a review from IgorMinar May 14, 2020 20:25
@alxhub

alxhub commented May 15, 2020

Copy link
Copy Markdown
Member

Presubmit

@petebacondarwin

Copy link
Copy Markdown
Contributor Author

@IgorMinar this is another refactoring that will be used by the @angular/localize package to support message extraction.

@petebacondarwin
petebacondarwin force-pushed the ngcc-move-logging-and-sourcemaps branch 3 times, most recently from d851165 to 4c0623d Compare May 19, 2020 18:21
@petebacondarwin
petebacondarwin force-pushed the ngcc-move-logging-and-sourcemaps branch 2 times, most recently from 7b9b6b4 to 8be5b56 Compare June 1, 2020 08:58
@petebacondarwin
petebacondarwin removed the request for review from IgorMinar June 2, 2020 16:41
@petebacondarwin petebacondarwin added action: presubmit The PR is in need of a google3 presubmit and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 4, 2020
@petebacondarwin
petebacondarwin force-pushed the ngcc-move-logging-and-sourcemaps branch 4 times, most recently from 77fca0f to 024e8cc Compare June 10, 2020 14:40
@alxhub

alxhub commented Jun 10, 2020

Copy link
Copy Markdown
Member

Caretaker: cl/315733339 is a prereq for this PR. It patches the sync process to not sync sourcemaps.

Presubmit

@petebacondarwin
petebacondarwin force-pushed the ngcc-move-logging-and-sourcemaps branch 2 times, most recently from 01e7a52 to aca9274 Compare June 13, 2020 17:11
@petebacondarwin petebacondarwin added action: merge The PR is ready for merge by the caretaker and removed action: presubmit The PR is in need of a google3 presubmit labels Jun 14, 2020
@mhevery

mhevery commented Jun 15, 2020

Copy link
Copy Markdown
Contributor

presubmit

@petebacondarwin
petebacondarwin force-pushed the ngcc-move-logging-and-sourcemaps branch 6 times, most recently from 3ddd430 to fbbd41a Compare June 20, 2020 09:26
The `Logger` interface and its related classes are general purpose
and could be used by other tooling. Moving it into ngtsc is a more
suitable place from which to share it - similar to the FileSystem stuff.
The `SourceFile` and associated code is general and reusable in
other projects (such as `@angular/localize`). Moving it to `ngtsc`
makes it more easily shared.
* Re-order the `load` and `package` statements
* Make `srcs` glob more generic
* Remove unnecessary dependencies
@petebacondarwin
petebacondarwin force-pushed the ngcc-move-logging-and-sourcemaps branch from fbbd41a to 7ee8b2f Compare June 22, 2020 18:53
@mhevery mhevery closed this in 6de5a12 Jun 22, 2020
mhevery pushed a commit that referenced this pull request Jun 22, 2020
The `SourceFile` and associated code is general and reusable in
other projects (such as `@angular/localize`). Moving it to `ngtsc`
makes it more easily shared.

PR Close #37114
mhevery pushed a commit that referenced this pull request Jun 22, 2020
…37114)

* Re-order the `load` and `package` statements
* Make `srcs` glob more generic
* Remove unnecessary dependencies

PR Close #37114
@petebacondarwin
petebacondarwin deleted the ngcc-move-logging-and-sourcemaps branch June 22, 2020 21:21
ngwattcos pushed a commit to ngwattcos/angular that referenced this pull request Jun 25, 2020
The `Logger` interface and its related classes are general purpose
and could be used by other tooling. Moving it into ngtsc is a more
suitable place from which to share it - similar to the FileSystem stuff.

PR Close angular#37114
ngwattcos pushed a commit to ngwattcos/angular that referenced this pull request Jun 25, 2020
The `SourceFile` and associated code is general and reusable in
other projects (such as `@angular/localize`). Moving it to `ngtsc`
makes it more easily shared.

PR Close angular#37114
ngwattcos pushed a commit to ngwattcos/angular that referenced this pull request Jun 25, 2020
…ngular#37114)

* Re-order the `load` and `package` statements
* Make `srcs` glob more generic
* Remove unnecessary dependencies

PR Close angular#37114
@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 Jul 23, 2020
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
The `Logger` interface and its related classes are general purpose
and could be used by other tooling. Moving it into ngtsc is a more
suitable place from which to share it - similar to the FileSystem stuff.

PR Close angular#37114
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
The `SourceFile` and associated code is general and reusable in
other projects (such as `@angular/localize`). Moving it to `ngtsc`
makes it more easily shared.

PR Close angular#37114
profanis pushed a commit to profanis/angular that referenced this pull request Sep 5, 2020
…ngular#37114)

* Re-order the `load` and `package` statements
* Make `srcs` glob more generic
* Remove unnecessary dependencies

PR Close angular#37114
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: compiler Issues related to `ngc`, Angular's template compiler cla: yes refactoring Issue that involves refactoring or code-cleanup target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants