Skip to content

Update Angular CLI packages, and add CLI lazy chunks and ngDevMode integration test - #32957

Closed
filipesilva wants to merge 3 commits into
angular:masterfrom
filipesilva:update-cli-and-ngdevmode
Closed

filipesilva wants to merge 3 commits into
angular:masterfrom
filipesilva:update-cli-and-ngdevmode

Conversation

@filipesilva

@filipesilva filipesilva commented Oct 2, 2019 •

Copy link
Copy Markdown
Contributor

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: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@filipesilva filipesilva changed the title Update cli and ngdevmode Update Angular CLI packages, and add CLI ngDevMode integration test Oct 2, 2019
@atscott atscott added the area: build & ci Related the build and CI infrastructure of the project label Oct 2, 2019
@ngbot ngbot Bot added this to the needsTriage milestone Oct 2, 2019
@filipesilva

Copy link
Copy Markdown
Contributor Author

Blocked by angular/angular-cli#15749, this seems to be the cause of the size regressions.

@filipesilva filipesilva added the target: major This PR is targeted for the next major release label Oct 15, 2019
@filipesilva filipesilva changed the title Update Angular CLI packages, and add CLI ngDevMode integration test Update Angular CLI packages, and add CLI lazy chunks and ngDevMode integration test Oct 15, 2019
@filipesilva
filipesilva requested review from gkalpak and kara October 15, 2019 15:13
@filipesilva
filipesilva marked this pull request as ready for review October 15, 2019 15:14
@filipesilva
filipesilva requested review from a team and josephperrott October 15, 2019 15:14
@filipesilva
filipesilva removed the request for review from josephperrott October 17, 2019 10:55
Comment thread integration/_payload-limits.json Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sizes for this test changed because they weren't actually being tracked. When I changed run_tests.sh to run over all cli-hello-world* tests, they started being tracked.

@filipesilva filipesilva added the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 17, 2019

@gkalpak gkalpak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are the package-lock.json files checked in by accident in cli-hello-world-lazy and cli-hello-world-lazy-rollup?

@filipesilva filipesilva mentioned this pull request Oct 17, 2019
2 of 3 tasks

@gkalpak gkalpak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Other than #32957 (review), it lgtm 🎉

@kara kara left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, aside from a few small things

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe slightly more info in case contributors don't have context

Suggested change
throw new Error(`Found '${ngDevModeVariable}' referenced in ${filesWithNgDevMode}`);
throw new Error(`Found '${ngDevModeVariable}' referenced in ${filesWithNgDevMode. These references should be tree-shaken away!}`);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same here as the other error message

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Comment thread package.json Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We are installing devkit next.11 in the size tests, but CLI next.9. Why don't they match?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated

@kara kara added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Oct 17, 2019
@filipesilva filipesilva removed the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Oct 18, 2019

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@josephperrott josephperrott removed the action: review The PR is still awaiting reviews from at least one requested reviewer label Oct 21, 2019
@filipesilva filipesilva added the action: merge The PR is ready for merge by the caretaker label Oct 21, 2019
@matsko matsko closed this in abd2a58 Oct 21, 2019
matsko pushed a commit that referenced this pull request Oct 21, 2019
@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 Nov 21, 2019
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: build & ci Related the build and CI infrastructure of the project cla: yes target: major This PR is targeted for the next major release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants