34 Commits

Author SHA1 Message Date
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Leosvel Pérez Espinosa
1247e043f4
feat(angular): skip invalid projects or targets instead of erroring when migrating from angular cli to nx monorepo (#13871) 2022-12-16 16:26:20 +01:00
Leosvel Pérez Espinosa
2dd2eeae63
fix(angular): ensure apps/libs layout is created when migrating from angular cli to nx monorepo layout (#13577) 2022-12-02 15:10:44 +01:00
Leosvel Pérez Espinosa
f448477e9d
feat(misc): add support for angular cli workspaces to nx init (#13404) 2022-11-29 13:08:18 -05:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Colum Ferry
b084dddff0
feat(angular): support for Angular 15 (#12112) 2022-11-17 09:31:45 -05:00
Jason Jean
145dda709b
feat(core): properly passthrough flags unparsed to executors (#12890) 2022-11-01 15:05:30 -04:00
Colum Ferry
66a086413b
fix(angular): ng-add migration should set default project (#12513)
* fix(angular): ng-add migration should set default project

* fix(angular): add pr suggestions

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-10-11 15:28:00 +01:00
Victor Savkin
a914f78701 chore(repo): fix e2e tests 2022-09-12 13:47:49 -04:00
Katerina Skroumpelou
35744c1dc9
fix(testing): update cypress argument name (#11797) 2022-08-31 15:25:21 +03:00
Caleb Ukle
8154191eb1
feat(testing): Cypress 10 and component testing support (#9201)
* feat(testing): add generator to aid in the migration to cypress 10

cypress 10 introduces a new configuration format and new layout that requires update settings and
files for e2e projects

* feat(testing): cypress component tests for react/next

initial work for cypress component tests for react and next

* feat(testing): add support for v10 e2e cypress projects

create the correct files for cypress projects >v10 and reorganize tests based on version to allow
easier parsing of tests

* feat(testing): add utils for modifying cypress v10 config

provide ts transformers to take in an existing cypress config and update/add properties within the
given configuration

* fix(testing): fix tests affected by the cypress v10 changes

update tests to assert the correct files/folders/file contents due to the cypress changes in v10

* cleanup(testing): move cypress component testing plugins into the respective packages

move the plugins into out of cypress plugins into the specific vertical plugin to prevent issues
with circular refs

* cleanup(testing): bump cypress version

bump to latest cypress v10 release

* docs(testing): update docs for cypress 10

update cypress docs to include info about component testing and migration to cypress v10

* fix(repo): revert cypress version bump

keep v9 of cypress installed for nx repo until v10 release

* fix(testing): update cypress gen tsconfig and infer targets with converter

* fix(testing): make sure tests use the cypress v10 (for the intermediate)

* fix(testing): update target name after feedback

* fix(testing): support multiple target w/custom configs for cypress v10 migration

* fix(testing): refactor cy component tests into seperate verticals

* feat(testing): create storybook cypress preset

* fix(testing): clean up cy v10 migration

* fix(testing): don't branch for cypress executor testingType

* fix(testing): move cy comp test generator to next

* fix(testing): bump cypress deps

* fix(testing): clean up cy component testing generators

* fix(testing): update cy component testing docs

* fix(testign): dep check. runtime plugin pulls from @nrwl/react

* fix(testing): move e2e into verticals

* fix(testing): address PR feedback

* fix(testing): clean up unit tests

* feat(angular): support migrating angular cli workspaces using cypress v10

* chore(testing): update e2e tests

* fix(testing): address pr feedback

* chore(testing): remove cypress component testing for next.js

* fix(testing): address pr feedback

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-07-08 14:34:00 -05:00
Victor Savkin
f86a5ffe2e feat(core): generalize setting target defaults 2022-06-15 12:51:26 -04:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators (#10601) 2022-06-06 20:03:46 +00:00
Leosvel Pérez Espinosa
ec906251b0
fix(angular): do not configure e2e test runner when generating a library (#10553) 2022-06-02 12:51:36 +01:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Jason Jean
5e23c07077
fix(core): automatically add root to the project.json projects (#9977)
* fix(core): automatically add root to the project.json projects

* chore(core): move project-configuration generator utils to nx package

* fix(core): add migrations to remove root
2022-04-28 13:24:35 -04:00
Leosvel Pérez Espinosa
2e8e1a45e0
feat(angular): support migrating angular cli workspaces with multiple applications (#10020) 2022-04-27 15:35:56 +01:00
Leosvel Pérez Espinosa
cfaedc8181
feat(angular): support migrating angular cli workspaces with library projects (#9885) 2022-04-19 16:18:26 +01:00
Leosvel Pérez Espinosa
d860a91a50
feat(angular): allow migrating angular cli workspaces using the @angular-eslint/builder:lint builder (#9750) 2022-04-11 16:30:49 +01:00
Leosvel Pérez Espinosa
557b241859
feat(angular): support migrating angular cli workspaces with multiple projects when keeping the angular cli layout (#9649) 2022-04-01 15:49:16 +01:00
Leosvel Pérez Espinosa
18776f6764
feat(angular): update ng-add generator so the migration result is more aligned with new nx workspaces (#9630) 2022-03-31 16:30:06 +01:00
Leosvel Pérez Espinosa
63f2c02323
cleanup(angular): fix migration from angular cli e2e tests (#9518) 2022-03-25 17:39:50 +00:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Leosvel Pérez Espinosa
3d573b3606
cleanup(angular): cleanup some leftover from moving the ng-add generator (#9423) 2022-03-21 11:27:01 +00:00
Leosvel Pérez Espinosa
88a7ad7654
cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular (#9244)
* cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular

* cleanup(angular): support merged packages (cli, tao, nx)

* cleanup(angular): update make-angular-cli-faster to support packages consolidation
2022-03-18 17:18:10 -04:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Leosvel Pérez Espinosa
615955afec
feat(angular): support migrating angular cli workspaces using cypress for e2e tests (#9105) 2022-02-28 11:03:09 +00:00
Leosvel Pérez Espinosa
176fdc71c2
chore(angular): make ng-add e2e tests more deterministic when checking the defaultBase (#9090) 2022-02-23 10:12:19 +00:00
Leosvel Pérez Espinosa
33c9ca98ae
fix(angular): change --preserveAngularCLILayout to --preserve-angular-cli-layout (#9051) 2022-02-21 12:00:34 +00:00
Leosvel Pérez Espinosa
dfcc853b50
fix(angular): set the right defaultBase when migrating an angular cli workspace (#9050) 2022-02-21 05:59:48 -05:00
Leosvel Pérez Espinosa
14f0f24554
chore(angular): enable ng add e2e tests (#9023) 2022-02-21 09:47:29 +00:00
Isaac Mann
07ebdb36a3
feat(core): add nx graph as alias of nx dep-graph (#8539)
* feat(core): add nx graph as alias of nx dep-graph

* docs(core): add note about old dep-graph syntax

* cleanup(core): formatting

* feat(core): formatting

* feat(core): formatting

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-01-21 11:15:23 -05:00
Miroslav Jonaš
bd5f04835f
chore(repo): extend e2e project cleanup to stop the daemon as well (#8037) 2021-12-08 00:01:03 +01:00
Miroslav Jonaš
1ca34f9669
chore(repo): split angular e2e tests into core and extensions (#6470) 2021-07-22 15:46:23 +02:00