Commit Graph

23 Commits

Author SHA1 Message Date
Nikolay Vitkov
744e8944ac
fix: update documentation for ng-schematics (#11533) 2023-12-13 13:32:17 +01:00
Nikolay Vitkov
1b2d920fe6
fix: multi-app project extend root tsconfig.json (#11374) 2023-11-13 14:20:18 +01:00
jrandolf
bd6c246b18
chore: add @typescript-eslint/no-import-type-side-effects (#11040) 2023-09-26 18:24:24 +02:00
jrandolf
c949656a43
chore: use @typescript-eslint/consistent-type-imports (#10913) 2023-09-15 13:00:20 +02:00
Nikolay Vitkov
1376b77a7a
chore: ignore libraries (#10756) 2023-08-18 14:16:07 +00:00
Nikolay Vitkov
c794abc8f6
chore: fix issue with build files (#10754) 2023-08-18 14:56:12 +02:00
Nikolay Vitkov
504778d2dd
test(ng-schematics): add tests (#10753) 2023-08-18 13:45:02 +02:00
Nikolay Vitkov
683e18189c
chore: make builder find command (#10751) 2023-08-18 13:30:23 +02:00
Nikolay Vitkov
35dc2d8840
chore(ng-schematics): refactor away user-side complexity (#10750) 2023-08-18 09:09:26 +00:00
Nikolay Vitkov
7ecfe150a1
chore: tests for multi projects angular (#10675) 2023-08-03 11:02:25 +00:00
Nikolay Vitkov
6bca1db956
feat: support for multi projects repos (#10665) 2023-08-01 13:41:42 +02:00
Nikolay Vitkov
f778b1e2a7
fix: use Node test reporter (#10464) 2023-06-28 08:42:32 +00:00
Nikolay Vitkov
a43b346bfc
fix: port option to run dev and e2e side-by-side (#10458) 2023-06-28 10:01:59 +02:00
Nikolay Vitkov
2d8993b45b
feat: add Test command (#10443) 2023-06-23 15:23:32 +00:00
Nikolay Vitkov
b6a733cdfe
chore: extract hook setup (#10442) 2023-06-23 16:02:52 +02:00
Nikolay Vitkov
60229810c5
chore: bump @puppeteer/ng-schematics versions (#10200) 2023-06-02 10:37:36 +02:00
Nikolay Vitkov
eefe9583d0
chore: Add EsLint rule import/order (#9685) 2023-02-15 15:09:31 -08:00
Nikolay Vitkov
689a084251
chore(ng-schematics): Spawn server when running ng e2e (#9306)
**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**

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2022-11-23 13:10:03 +01:00
Nikolay Vitkov
16784fc8cb chore(ng-schematics): Update ng e2e to custom builder (#9300)
**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**
2022-11-22 19:52:29 +01:00
Nikolay Vitkov
57f7366eb8
chore: Add Node testing option in ng-schematics (#9266)
**What kind of change does this PR introduce?**

It lets Users create an schematic for Puppeteer in Angular project using
Node's new test runner.

**Did you add tests for your changes?**

Yes. Unit test for module.

**If relevant, did you update the documentation?**

No

**Summary**

**Does this PR introduce a breaking change?**

No

**Other information**
2022-11-14 12:57:42 +01:00
Nikolay Vitkov
86abe68849
chore: Add Mocha option to ng-schematic (#9259)
**What kind of change does this PR introduce?**

Adds Mocha as option for `ng-schematics`

**Did you add tests for your changes?**

Yes

**If relevant, did you update the documentation?**

No

**Summary**

User want a simple solution for the Testing library of their choose 

**Does this PR introduce a breaking change?**

No

**Other information**
There are some improvements around the Babel that we can make so we
don't have duplicate code and files (In a Feature PR)
2022-11-14 09:30:49 +01:00
Nikolay Vitkov
1bbecb3bae
chore: Add Jest as a ng-schematics option (#9257)
**What kind of change does this PR introduce?**

Adds Jest in `ng-schematics`. So you can scaffold test with Jest instead
of Jasmine

**Did you add tests for your changes?**

Yes

**If relevant, did you update the documentation?**

No

**Summary**

Users can more easily integrate test with Puppeteer and their library of
choose.

**Does this PR introduce a breaking change?**

No

**Other information**
2022-11-11 14:38:52 +01:00
Nikolay Vitkov
3f2c0590f1
chore(ng-schematics): Add Angular Schematics (#9222)
**What kind of change does this PR introduce?**

It introduces schematic for Angular that integrate with its CLI.
First revision support Jasmine.

**Did you add tests for your changes?**

Added Unit tests for each scenario. 

**Summary**

The idea is to provide a an example for setting up Puppeteer and Angular
for testing user flows.

**Does this PR introduce a breaking change?**

No

**Other information**

For Feature PRs:

- Introduce CL for tests
- Hook up NPM package publishing
- Update README.md
2022-11-09 14:52:10 +01:00