Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@nguniversal/builders): spawn static server for build artifacts #2141

Merged

Conversation

lacolaco
Copy link
Contributor

Using express to spawn a local static server for browser build artifacts which allows HTTP requests to a relative path like /assets/data.json while rendering.

Close #2132

cc/ @alan-agius4

@google-cla google-cla bot added the cla: yes label May 29, 2021
@lacolaco lacolaco force-pushed the proposal-clover-transfer-assets branch 2 times, most recently from cdfaf58 to 79c2982 Compare May 29, 2021 14:06
@alan-agius4
Copy link
Collaborator

Can you please add a basic test in https://github.com/angular/universal/blob/master/integration/clover/test.js?

Copy link
Collaborator

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

Couple of small NITS.

Thanks for this @lacolaco.

@lacolaco
Copy link
Contributor Author

@alan-agius4 Thank you for the review. I've fixed all that was pointed out. BTW, unfortunately, promisify(app.listen) that you suggested doesn't work as expected.

Copy link
Collaborator

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

Last couple of things.

Can you also please squash? Thanks.

@alan-agius4 alan-agius4 added the target: minor target: minor This PR is targeted for the next minor release label May 31, 2021
@lacolaco lacolaco force-pushed the proposal-clover-transfer-assets branch 2 times, most recently from 87cd779 to 787878d Compare May 31, 2021 14:09
@lacolaco lacolaco force-pushed the proposal-clover-transfer-assets branch from 787878d to f0c6733 Compare May 31, 2021 14:14
@lacolaco
Copy link
Contributor Author

CI test fails due to unrelated files. Is it a flaky test?

@alan-agius4
Copy link
Collaborator

CI test fails due to unrelated files. Is it a flaky test?

Looks like it.

Copy link
Collaborator

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

Thanks again.

@alan-agius4 alan-agius4 added the action: merge PR author is ready for this to merge label May 31, 2021
@alan-agius4 alan-agius4 merged commit 8982199 into angular:master Jun 1, 2021
@lacolaco lacolaco deleted the proposal-clover-transfer-assets branch June 1, 2021 10:52
@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 Jul 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge PR author is ready for this to merge target: minor target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[clover] Proposal: transferrable assets
2 participants