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

chore(ng-schematics): Spawn server when running ng e2e #9306

Merged
merged 3 commits into from Nov 23, 2022

Conversation

Lightning00Blade
Copy link
Collaborator

What kind of change does this PR introduce?

Spawn own server when running ng e2e. Give user option to not replace ng e2e.

Did you add tests for your changes?

Yes.

If relevant, did you update the documentation?

Yes, ng-schematics README.md updated.

Summary

When running ng-schematics's ng e2e command spawns it's own server. This way we remove the need of developers to run ng server separately thus increasing ease of use in development and CI.

We want to support Protractor migration so we give the user the option to opt out of replacing ng e2e so they can have a gradual migration.
(Note: There may be issues with folder conflicts, to be address in a PR for adding better Migration support)

Does this PR introduce a breaking change?

Yes, as we don't check if required options are there before spawning the server.

Other information

@Lightning00Blade Lightning00Blade changed the title chore: Add builder to replace default E2E command chore(ng-schematics): Spawn server when running ng e2e Nov 23, 2022
Lightning00Blade and others added 3 commits November 23, 2022 13:09
chore: Post Review fix

chore(ng-schematics): Spawn own server

chore: Spawn test server

chore: Fix non-default installs
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
@OrKoN OrKoN force-pushed the feat/ng-schematics-remove-server-need branch from 9e7fb7f to a284f82 Compare November 23, 2022 12:09
@OrKoN OrKoN merged commit 689a084 into main Nov 23, 2022
@OrKoN OrKoN deleted the feat/ng-schematics-remove-server-need branch November 23, 2022 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants