299 Commits

Author SHA1 Message Date
Colum Ferry
4aa72822cd
fix(angular): warning logged when generating MF app with no e2e (#11911) 2022-09-08 09:44:31 +01:00
Colum Ferry
81b5eebfa7
feat(angular): allow component options to be passed to standalone library #11702 (#11890) 2022-09-08 09:37:26 +01:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04: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
458e89b159
fix(angular): host tests were failing due to no navigation (#11825) 2022-09-02 15:15:08 +01:00
Colum Ferry
f51c1becf7
fix(angular): remove double normalize of project name #11819 (#11822) 2022-09-01 12:24:50 +01:00
Colum Ferry
a2647549d4
fix(storybook): support secondary entry points for angular #11446 (#11798) 2022-09-01 09:23:17 +00:00
Caleb Ukle
c7249db386
fix(testing): handle more complex projects for react component testing (#11725)
* fix(testing): use @nrwl/web:webpack utils to generate a more robust webpack config

fixes: #11372

* fix(testing): do not overwrite existing component test

* fix(testing): add component-test to cacheable operations

* chore(testing): address pr feedback
2022-08-30 16:42:42 +00:00
Caleb Ukle
b63893d1cd
docs(core): fix mistakes in @nrwl/workspace usage (#11776)
* docs(core): fix mistakes in @nrwl/workspace usage

@nrwl/workspace docs included a command for generators in the 'nx' package that doesn't contain
generators
update the usage of the 'move' generator to have the usage for the --destination arg

* docs(angular): update examples and add $default for project name
2022-08-30 16:19:33 +00:00
Colum Ferry
bbe7a3679a
fix(linter): use typescript-eslint 5.33.1 as latest requires ts4.8 (#11773) 2022-08-30 10:43:17 -04:00
Colum Ferry
c616f6218c
feat(angular): standalone host and remote generation support (#11708) 2022-08-26 10:05:17 +01:00
Colum Ferry
614b2d2af8
fix(angular): use x-dropdown for nx console project hint (#11706) 2022-08-26 10:04:56 +01:00
Colum Ferry
3822d83200
fix(angular): remote entry component template typo (#11707)
* fix(angular): remote entry component template typo

* fix(angular): snapshot
2022-08-24 12:46:22 +01:00
Colum Ferry
6f0c22f4d9
fix(angular): remote generator should not assume a default host (#11705) 2022-08-24 11:33:42 +00:00
Colum Ferry
a198c95808
cleanup(angular): use app generator and setup-mf for host and remote (#11682) 2022-08-23 14:37:12 +01:00
Colum Ferry
e2c4c5490c
cleanup(angular): deprecate mf signature from app generator (#11680) 2022-08-23 13:12:29 +01:00
Igor Katsuba
9294b64364
fix(angular): adds missing types in the schemes of remote and host generators (#11428) 2022-08-19 10:09:08 +01:00
Colum Ferry
09112ccd24
feat(angular): support library routing setup for standalone routes (#11634) 2022-08-18 15:17:04 +01:00
Colum Ferry
1a5a09b790
chore(angular): add standalone router helper (#11632) 2022-08-18 14:12:06 +01:00
Miroslav Jonaš
187f5200c0
fix(linter): add jest to root .eslintrc if selected as unit test runner (#11555) 2022-08-18 14:51:09 +02:00
Colum Ferry
7891a68715
feat(angular): add scam to standalone conversion generator (#11578) 2022-08-17 12:06:07 +01:00
Colum Ferry
da1741bf56
feat(angular): support standalone component library generation (#11608) 2022-08-17 12:05:54 +01:00
Colum Ferry
af93cfd597
feat(angular): add standalone app generation (#11592) 2022-08-17 12:03:56 +01:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Katerina Skroumpelou
8bc99407aa
feat(storybook): ignore paths when generating stories (#11111)
* feat(storybook): ignore paths when generating stories

ISSUES CLOSED: #10211

* cleanup(storybook): add test for nested component ignore path

* feat(storybook): ensure ignore paths parsed correctly

Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-08-08 14:17:06 +01:00
Caleb Ukle
bd4e6ac323
fix(testing): exclude jest.config.ts in angular project tsconfigs (#11468) 2022-08-05 12:15:56 -05:00
Benjamin Cabanes
1c66a225e5
docs(nxdev): upgrade nextseo dependency (#11402) 2022-08-03 15:38:51 +00:00
Caleb Ukle
b4c4501979
docs(testing): update docs to use correct filenames for cypress and jest (#11394)
ISSUES CLOSED: #11392
2022-08-01 13:25:26 -05:00
Leosvel Pérez Espinosa
712e6dda88
cleanup(angular): move all inline version numbers to versions.ts (#11258) 2022-07-22 17:02:13 +01:00
Leosvel Pérez Espinosa
d372be0043
feat(angular): deprecate generating e2e tests with protractor (#11254) 2022-07-22 16:07:03 +01:00
Leosvel Pérez Espinosa
46ad8c3d63
feat(angular): support angular v14.1.0 (#11155) 2022-07-22 16:01:24 +01:00
Benjamin Cabanes
8c7b76e8f1
docs(nxdev): convert notes into callouts (#11232) 2022-07-20 22:09:33 +00:00
Leosvel Pérez Espinosa
01f7376169
cleanup(misc): consolidate tslib version in generated projects (#11185) 2022-07-19 12:59:37 -04:00
Leosvel Pérez Espinosa
6866122db8
feat(angular): deprecate syntax option from the ngrx generator (#11184) 2022-07-18 15:41:17 +01:00
Leosvel Pérez Espinosa
cc6c2f9c59
feat(angular): deprecate DataPersistence class in favor of data persistence operators (#11183) 2022-07-18 11:40:20 +01:00
Leosvel Pérez Espinosa
ba592f8a99
fix(angular): do not set a module federation remote project as the default project (#11127) 2022-07-13 14:19:06 +01:00
Leosvel Pérez Espinosa
1b6e5874ee
fix(angular): do not generate ts path mappings for lazy loaded libs in app tsconfig file (#11125) 2022-07-13 12:19:36 +01:00
Katerina Skroumpelou
a2d9577553
fix(storybook): fix schema to read projectName from config (#11098) 2022-07-12 09:55:22 -04:00
Leosvel Pérez Espinosa
9352f2ee98
fix(angular): amend wrong project name schema options to hint nx console to show a project dropdown (#11097) 2022-07-11 13:27:33 +01: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
Leosvel Pérez Espinosa
6a63138b08
fix(angular): generate stories for secondary entrypoints (#11005) 2022-07-05 09:11:44 +01:00
Leosvel Pérez Espinosa
a9e1fd06a9
fix(angular): allow generating scam directive and exporting them from secondary entrypoints (#10981) 2022-07-01 17:03:21 +01:00
Leosvel Pérez Espinosa
748fb82bd5
fix(angular): allow generating scam pipe and exporting them from secondary entrypoints (#10977) 2022-07-01 15:42:48 +01:00
Colum Ferry
37072bc5d6
feat(angular): replace mfe references with mf (#10957) 2022-07-01 13:48:38 +00:00
Colum Ferry
769d10fd01
fix(angular): ngrx generator should support multiple stores in one buildable library #10900 (#10932) 2022-06-29 09:28:32 +01:00
Leosvel Pérez Espinosa
f9bb54db88
fix(angular): normalize path in ng-package.json when moving a library project (#10925) 2022-06-28 18:08:01 +01:00
Colum Ferry
8ca7d4bbd6
feat(angular): add option to format files with storybook generators (#10909) 2022-06-27 13:28:17 +01:00
Leosvel Pérez Espinosa
b0205d7a86
fix(angular): allow generating scam and exporting them from secondary entrypoints (#10888) 2022-06-27 10:12:14 +00:00
Leosvel Pérez Espinosa
08899b15d7
feat(angular): support @angular-eslint/* v14.0.0 (#10820) 2022-06-24 18:27:51 +01:00
Katerina Skroumpelou
26d837693c
fix(storybook): fix support for nextjs and swc (#10828)
* fix(storybook): proper path for nextjs stories

* fix(storybook): adding swc options
2022-06-23 20:42:00 +03:00