282 Commits

Author SHA1 Message Date
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
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Colum Ferry
251af50674
feat(angular): add entity name to entity model for ngrx classes #10845 (#10853) 2022-06-23 09:40:00 +01:00
Katerina Skroumpelou
26627e3441
fix(storybook): pass tsConfiguration option from framework generators to storybook (#10837) 2022-06-21 19:35:46 +00:00
Sicarius
a7888552b8
fix(linter): update @typescript-eslint/* deps
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-06-21 10:33:42 +00:00
Leosvel Pérez Espinosa
ca92b7aa0b
fix(angular): set default project if not set when creating an application (#10789) 2022-06-17 11:58:01 +01:00
Dylan Andersen
8cae2c9eca
docs(core): fix links to nx tutorials (#10763)
Co-authored-by: Dylan Andersen <dylan@joinhandshake.com@Dylans-MBP.attlocal.net>
2022-06-16 10:54:22 -04:00
Victor Savkin
f86a5ffe2e feat(core): generalize setting target defaults 2022-06-15 12:51:26 -04:00
Leosvel Pérez Espinosa
25b268247f
fix(angular): remove unnecessary unused entry module import from new mf remote apps (#10749) 2022-06-15 14:00:09 +01:00
Leosvel Pérez Espinosa
beb748625e
feat(storybook): generate stories for angular standalone components (#10728) 2022-06-14 10:10:26 +01:00
Jason Jean
5b17335f4d Revert "feat(core): support nested ignore files (#10455)"
This reverts commit 36d8ee26c430def7b68b123d1b87b792928411d2.
2022-06-13 13:16:05 -04:00
Gabriel Terwesten
36d8ee26c4
feat(core): support nested ignore files (#10455) 2022-06-10 14:05:41 -04:00
Katerina Skroumpelou
56dbb0d602
fix(storybook): tsConfig option for storybook angular (#10663) 2022-06-09 14:42:49 +00:00
Leosvel Pérez Espinosa
f828da9d37
fix(angular): handle paths correctly on window when migrating angular cli workspaces to nx (#10611) 2022-06-07 13:26:36 +01:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators (#10601) 2022-06-06 20:03:46 +00:00
Craigory Coppola
7f7bc1a095
fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format (#10497)
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format

* chore(repo): update usage of new readModulePackageJson function
2022-06-03 20:54:15 +00:00
Leosvel Pérez Espinosa
eea2470619
feat(angular): support angular v14.0.0 (#10559) 2022-06-03 10:23:09 -04:00
Leosvel Pérez Espinosa
914f0ce707
feat(misc): update typescript to 4.7 (#10560) 2022-06-02 13:29:11 -04:00