Skip to content

docs: update universal documentation as per starter#26444

Closed
alan-agius4 wants to merge 1 commit intoangular:masterfrom
alan-agius4:docs_universal
Closed

docs: update universal documentation as per starter#26444
alan-agius4 wants to merge 1 commit intoangular:masterfrom
alan-agius4:docs_universal

Conversation

@alan-agius4
Copy link
Copy Markdown
Contributor

@alan-agius4 alan-agius4 commented Oct 15, 2018

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
[x] angular.io application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

At the moment the docs here do not reflect the starter kit in https://github.com/angular/universal-starter

What is the new behavior?

This PR aligns them.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

//cc @jenniferfell & @CaerusKaru

Follow up of #25752

@mary-poppins
Copy link
Copy Markdown

@mary-poppins
Copy link
Copy Markdown

@mary-poppins
Copy link
Copy Markdown

@mary-poppins
Copy link
Copy Markdown

@mary-poppins
Copy link
Copy Markdown

@brandonroberts brandonroberts added comp: docs action: review The PR is still awaiting reviews from at least one requested reviewer effort1: hours refactoring Issue that involves refactoring or code-cleanup freq1: low area: server Issues related to server-side rendering target: patch This PR is targeted for the next patch release labels Oct 18, 2018
@ngbot ngbot Bot added this to the needsTriage milestone Oct 18, 2018
@ngbot ngbot Bot modified the milestones: needsTriage, Backlog Oct 18, 2018
@thanhpd thanhpd mentioned this pull request Oct 25, 2018
3 tasks
@brandonroberts brandonroberts self-assigned this Oct 29, 2018
@brandonroberts
Copy link
Copy Markdown
Contributor

@alan-agius4 will you rebase this on master?

@alan-agius4
Copy link
Copy Markdown
Contributor Author

rebase done

@mary-poppins
Copy link
Copy Markdown

Comment thread aio/content/guide/universal.md 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.

When using lazy loaded modules together with an app shell, you ...

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

Comment thread aio/content/guide/universal.md Outdated
@mary-poppins
Copy link
Copy Markdown

@mary-poppins
Copy link
Copy Markdown

@jbogarthyde
Copy link
Copy Markdown
Contributor

LGTM --jb

@brandonroberts
Copy link
Copy Markdown
Contributor

@alan-agius4 the example dependencies need to be updated also. The ts-loader and webpack-cli dependencies should be removed from https://github.com/angular/angular/blob/master/aio/tools/examples/shared/package.json and https://github.com/angular/angular/blob/master/aio/tools/examples/shared/boilerplate/universal/package.json

You'll also need to run yarn in the aio/tools/examples/shared folder to update the yarn.lock file.

@brandonroberts
Copy link
Copy Markdown
Contributor

@IgorMinar will you review/approve this so it can land?

Comment thread aio/content/guide/universal.md Outdated
@mary-poppins
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@IgorMinar IgorMinar left a comment

Choose a reason for hiding this comment

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

This looks good to me, except that now that we had ng add shouldn’t this guide use that instead of manual setup?

I think it’s fine to merge this as is, but we should follow up with refactoring this doc to rely on ng add.

@alan-agius4 can you please rebase this on top of master before labeling this for merge? Thanks

@IgorMinar IgorMinar added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 10, 2019
@alan-agius4
Copy link
Copy Markdown
Contributor Author

@IgorMinar, rebased

Yeah, indeed as as there is also a bit of confusion as in the CLI itself we have ng generate universal, which is a subset of what ng add does.

I'll open an issue tomorrow to keep track of it.

PS: I cannot change labels on angular/angular, I don't have access :(

@alan-agius4 alan-agius4 requested a review from a team January 11, 2019 20:37
@mary-poppins
Copy link
Copy Markdown

@gkalpak gkalpak added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Jan 12, 2019
@gkalpak
Copy link
Copy Markdown
Member

gkalpak commented Jan 12, 2019

Marking it for merge based on the conversation above.

@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 Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: discuss action: merge The PR is ready for merge by the caretaker area: server Issues related to server-side rendering cla: yes effort1: hours freq1: low refactoring Issue that involves refactoring or code-cleanup risk: low target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants