**What kind of change does this PR introduce?** This replaces the default `ng e2e` with our custom builder. In the feature it seem possible to remove the necessity of the user running the server separately and run it from the builder - that will improve the easy of use and CI of this schematic. **Did you add tests for your changes?** **If relevant, did you update the documentation?** Yes - Updated `@puppeteer/ng-schematics` README.md **Summary** We want to not see the default `ng e2e` and we want to make it easier for the user to run commands. Angular Developer are likely to also use its' CLI. **Does this PR introduce a breaking change?** Yes. Users need to delete the default and initialize the schematics again. **Other information**
11 lines
274 B
JSON
11 lines
274 B
JSON
{
|
|
"$schema": "../../../../node_modules/@angular-devkit/architect/src/builders-schema.json",
|
|
"builders": {
|
|
"puppeteer": {
|
|
"implementation": "./puppeteer",
|
|
"schema": "./puppeteer/schema.json",
|
|
"description": "Run e2e test with Puppeteer"
|
|
}
|
|
}
|
|
}
|