64 Commits

Author SHA1 Message Date
Colum Ferry
1e6a4f8e65
feat(angular): prompt users for standalone components in application (#14987) 2023-02-17 20:44:10 +00:00
Leosvel Pérez Espinosa
3bb87eac3f
fix(misc): fix moving a project into a subfolder (#14988) 2023-02-15 16:05:07 +00:00
Emily Xiong
032efc2cfb
fix(angular): ensure peer deps are installed when initializing the plugin (#14906)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-02-14 11:07:51 -05:00
Colum Ferry
762b9f336c
feat(core): remove unused CLI option from CNW (#14865) 2023-02-10 11:35:01 -05:00
Colum Ferry
fe6ffa20d9
feat(angular): set angular devkit packages as peer deps (#14723) 2023-02-01 17:09:29 +00:00
Leosvel Pérez Espinosa
954f78c3db
cleanup(misc): reenable cypress component tests e2e tests (#14668) 2023-01-30 08:09:46 -05:00
Leosvel Pérez Espinosa
6b49a6a6c1
cleanup(misc): disable cypress component tests e2e tests (#14608) 2023-01-25 15:07:13 +00:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Craigory Coppola
7992ec618f
chore(repo): setup negative config for several targets (#14080) 2023-01-04 11:34:50 -05:00
Colum Ferry
16a0891d30
feat(angular): add parent flag to ngrx generator (#14105) 2023-01-03 13:35:53 +00:00
Colum Ferry
b084dddff0
feat(angular): support for Angular 15 (#12112) 2022-11-17 09:31:45 -05:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Caleb Ukle
5a137d0b3f
fix(testing): handle path offsets for angular component testing (#12863) 2022-11-04 11:43:21 -05:00
Victor Savkin
23de788b5e
chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04:00
Caleb Ukle
80635dbae2
fix(testing): move to using cy.mount (#12273) 2022-10-12 20:50:41 +00:00
Leosvel Pérez Espinosa
b3676e8019
cleanup(angular): remove deprecated DataPersistence service and generator option to use it (#12236) 2022-09-28 16:13:43 +01:00
Craigory Coppola
9b63ce167a
feat(core): don't generate workspace.json for v2 workspaces (#12127) 2022-09-27 23:16:22 +00:00
Jason Jean
b210c416dc chore(repo): fix nx g move e2e tests 2022-09-23 14:26:10 -07:00
Leosvel Pérez Espinosa
46c2d57664
cleanup(angular): remove deprecated syntax option from ngrx generator (#12153) 2022-09-21 16:37:11 +01:00
Miroslav Jonaš
96be1f55fe
fix(testing): add cleanup on cypress e2e tests (#12089) 2022-09-19 19:22:07 +00:00
Caleb Ukle
d535cf3d43
fix(testing): use cypress generated tsconfig for angular ct (#12014) 2022-09-14 15:32:38 +00:00
Caleb Ukle
1a9df531b6
fix(testing): normalize paths for component-testing (#11963)
* fix(testing): normalize paths before accessing the project graph

* fix(testing): return object with offset input instead of string

* fix(testing): update schemas to provide better prompts
2022-09-13 14:17:49 +00:00
Caleb Ukle
a0904a601b
feat(testing): support angular cypress component testing (#11790)
* feat(testing): ng cypress component testing

closes: #11602

* chore(testing): move story utils into common util area

* feat(testing): add options for ng component testing

* docs(testing): add more info for component testing

* chore(testing): address PR feedback

* chore(testing): remove logs
2022-09-07 13:32:19 +00:00
Colum Ferry
41bd2cfe6e
chore(angular): use npm for e2e-angular-extensions (#11643) 2022-08-19 10:49:56 +01:00
Colum Ferry
4d25ade55f
chore(angular): turn on e2es with yarn (#11618) 2022-08-17 15:33:56 +01:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04: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
Colum Ferry
b215362bdb
chore(testing): refactor e2e-workspace tests to e2e-nx tests (#10739)
remove run commands

remove workspace core e2e

chore(testing): remove e2e-cli package

chore(testing): add nx-run e2e package

chore(testing): refactor cache tests

chore(testing): remove empty workspace-core e2e lib

chore(testing): update graph asset
2022-06-17 09:37:41 +01:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Colum Ferry
40403fa58b
chore(angular): turn off tailwind e2e tests for now (#9833) 2022-04-14 09:48:47 +01:00
Leosvel Pérez Espinosa
a82edb1bc4
feat(angular): add buildLibsFromSource option to @nrwl/angular:webpack-browser executor (#9334) 2022-03-15 15:33:56 +00:00
Colum Ferry
4643da2699
chore(storybook): turn on disabled e2es (#8999)
* chore(storybook): turn on disabled e2es

* fix(storybook): build error for template in helper

* chore(storybook): run e2es on macos
2022-02-23 13:54:23 +02:00
Leosvel Pérez Espinosa
5afd3d6d2c
fix(angular): update tailwind content glob pattern to ignore stories and tests (#8637) 2022-01-21 11:02:23 +00:00
Leosvel Pérez Espinosa
ad72d7a95e
fix(angular): configure tailwind content and purge properties for libraries (#8556) 2022-01-20 10:04:08 +00:00
Colum Ferry
e918d2d6b2
chore(angular): e2e improvements (#8529)
* chore(angular): e2e improvements

* chore(angular): move lib tests from extensions to core

* chore(angular): change test to cover child buildable lib

* chore(angular): minor PR review cleanups
2022-01-14 15:25:22 +00:00
Colum Ferry
37fd829459
chore(angular): improve e2e testing (#8489)
* chore(angular): improve e2e testing

* chore(angular): improve angular-extensions tests

* chore(angular): spread tests out between angular packages

* chore(angular): dont rerun secondary entry test in library tests

* chore(angular): reduce library tests to single for both scenarios

* chore(angular): consolidate parallel testing

* chore(angular): remove irrelevant router test
2022-01-14 10:17:22 +00:00
Leosvel Pérez Espinosa
b989e8de19
feat(angular): simplify generated tailwind config for v3 (#8471) 2022-01-12 11:33:29 +00:00
Colum Ferry
ae0f8dc999
feat(angular): switch new workspaces to v2 config (#8473)
* feat(angular): switch new workspaces to v2 config

* fix(angular): e2e tests
2022-01-12 11:21:59 +00:00
Leosvel Pérez Espinosa
80f20db51a
fix(angular): fix tailwind css support in libraries using components with inline styles (#8393) 2022-01-06 10:17:15 +00:00
Victor Savkin
20f731990c docs(misc): rework the top section of docs 2022-01-04 14:11:31 -05:00
Miroslav Jonaš
495f5c6d8d
chore(repo): update CI node version to v16 (#8186) 2021-12-23 23:14:14 +00:00
Leosvel Pérez Espinosa
2b00c99db1
feat(angular): add support for configuring tailwind in existing and new apps and buildable/publishable libs (#8043) 2021-12-16 17:25:32 +00:00
Juri
6f4226af75 feat(storybook): upgrade to Storybook 6.4 2021-12-09 10:06:10 -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
Victor Savkin
8806d1f815 Revert "feat(storybook): upgrade to Storybook 6.4 (#7917)"
This reverts commit e4595867cc16cd5fe20d02e242d6ccbc727bd1f1.
2021-12-06 20:02:54 -05:00
Juri Strumpflohner
e4595867cc
feat(storybook): upgrade to Storybook 6.4 (#7917) 2021-12-06 12:49:16 +02:00