647 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
91fc6f6866
cleanup(react): simplify collecting mf application dependencies (#10024) 2022-04-28 15:09:39 +01:00
Jay Bell
4d17b3275e
fix(angular): shared transitive npm deps from host and remote applica… (#9997) 2022-04-26 17:29:15 +01:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Caleb Ukle
88971468db
fix(testing): pass --js flag to jest generators (#9965) 2022-04-22 22:43:59 -04:00
Juri Strumpflohner
fa1bc7b289
fix(react): use Routes component wrapper for react router v6 (#9936) 2022-04-22 11:40:48 -04:00
Jonathan Cammisuli
c1c5f0b57d
feat(misc): add application x-type for host and remote generators (#9954) 2022-04-22 14:42:25 +00:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files (#9854)
* feat(testing): move jest config to .ts

move jest config and preset to ts files

ISSUES CLOSED: #8344

* fix(testing): update tests for jest.config.ts changes

update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Jack Hsu
7913f31cff
fix(react): use normalized app name in host/remote generators (#9909) 2022-04-21 02:54:39 +00:00
Victor Savkin
920d8aa355
chore(repo): update repo to nx14 (#9908) 2022-04-20 21:40:12 -04:00
Jack Hsu
ff3b3a717c
fix(react): update migrations to work for projects without targets (#9906) 2022-04-20 18:59:30 +00:00
Jack Hsu
e7447685cc
fix(react): update migration to work without targets (#9901) 2022-04-20 18:25:57 +00:00
Jason Jean
cb7fb22bca
feat(core): remove @types/node from default workspace (#9853)
Signed-off-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-20 12:43:23 -04:00
Jack Hsu
8171e68da7
fix(react): handle transform properly for js/ts files in @nrwl/react/plugin/jest (#9898)
Fixes #9640
2022-04-20 16:37:10 +00:00
Jack Hsu
e32932d267
feat(react): add ability to serve remote apps in dev or static mode (#9893) 2022-04-20 12:27:49 -04:00
Jack Hsu
2b421117bf
feat(react): add default development configuration for React and Next.js apps (#9892) 2022-04-20 04:27:19 +00:00
Jack Hsu
586501aa35
chore(react): update MFE language to module federation (#9888) 2022-04-19 20:48:49 +00:00
Jack Hsu
25c63b6795
feat(react): upgrade to React 18 (#9847)
BREAKING CHANGE: react-router API has changed, and @testing-library/react-hooks has been deprecated (See: https://nx.dev/guides/react-18)
2022-04-19 11:50:27 -04:00
Colum Ferry
943382ed92
fix(react): path normalize was in correct on windows #9861 (#9882) 2022-04-19 09:28:52 -04:00
Jack Hsu
67a5b4169f
fix(react): migrate react-test-renderer correctly (#9811) 2022-04-13 09:29:58 -04:00
James Henry
46e7b4d49c
chore(core): improve help output for generators and executors (#9800) 2022-04-12 14:05:55 -04:00
Jack Hsu
d4682be058
feat(react): update @types/react and other packages (#9767) 2022-04-12 11:29:01 -04:00
Katerina Skroumpelou
ad0002586b
feat(storybook): removing support for Storybook 5 (#9380) 2022-04-12 16:58:20 +03:00
Giora Guttsait
75b0744955
fix(core): init generators should not crash when trying to remove dependencies when package.json does not have dependencies (#9765)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-04-12 09:10:13 -04:00
Craigory Coppola
728f420f52
chore(repo): migrate to Nx 13.10 (#9731)
additionally, removes references to nrwl plugins that can be fully resolved through local plugin resolution. Notable holdouts:

- @nrwl/react and @nrwl/next: referenced in jest.config.js, so not resolved during runtime.
- @nrwl/web: dependency of @nrwl/react
- @nrwl/eslint-plugin-nx: required during eslint startup, not resolved by Nx
2022-04-08 10:51:09 -04:00
Jack Hsu
cf54cc99ef
feat(react): update production setup for MFE host app (#9699) 2022-04-06 01:21:40 +00:00
Jack Hsu
70985b1052
feat(react): update MFE config and routes when adding remote to host (#9687) 2022-04-05 13:50:43 -04:00
Katerina Skroumpelou
9579aec307
feat(storybook): add projectBuildConfig as an option in generator (#9655)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-04-05 16:16:25 +00:00
Kayla Altepeter
274c050fc9
fix(react): case sensitive file import with react app generator when … (#9670) 2022-04-05 14:25:52 +00:00
Nicholas Cunningham
12f0f195d2
feat(react): add support for MFEs (#9413)
* feat(react): Add MFE  Generator for Host and Remote Apps
Host generator will be able use the mfe-remote generator when remotes are passed into the CLI for the mfe-host command

* docs(react): React Documentation Update

Co-authored-by: Nicholas Cunningham <nico@Nicholass-MacBook-Pro.local>
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-04-04 15:44:18 -04:00
Jack Hsu
b02beb551b
feat(react): update to react 18 (#9613) 2022-03-30 17:48:37 +00:00
Miroslav Jonaš
3b21f4dfea
fix(core): switch from appRootPath to workspaceRoot (#9600) 2022-03-30 09:15:20 -04:00
Jack Hsu
d4ded4063c
feat(react): update packages (#9538) 2022-03-26 10:10:53 -04:00
Benjamin Cabanes
e5212ec443
docs(core): add description to react package (#9524) 2022-03-25 19:08:08 +00:00
Victor Savkin
74317bebea
chore(repo): fix flaky tests 2022-03-24 17:10:33 -04:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Benjamin Cabanes
1723e8e6b3
docs(nxdev): remove unused versions & flavors feature (#9462) 2022-03-22 17:44:35 +00:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Jack Hsu
ec533c521d
feat(react): update packages (#9296) 2022-03-11 12:18:40 -05:00
Victor Savkin
4e9375f5f4 chore(repo): update the version of nx 2022-03-11 10:40:40 -05:00
Jason Jean
94687e993c
chore(repo): ensure license file exists for all published packages (#9274) 2022-03-10 18:33:06 -05:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -05:00
Miroslav Jonaš
a2c5010678
chore(react): fix storybook test failing on local (#9224) 2022-03-07 23:22:13 +00:00
Miroslav Jonaš
06ff832ea9
chore(react): fix version on eslint-plugin-react (#9121) 2022-02-25 17:25:06 +01:00
Jack Hsu
7c16cc4199
chore(web): update generated css module file (#9098) 2022-02-23 12:42:09 -05:00
Jack Hsu
e6941e4fc4
fix(react): component generator outputs correct CSS module setup (#9084) 2022-02-22 13:31:07 -05:00
Katerina Skroumpelou
1abba90f4d
fix(react): get component name for self-closing elements as well (#8991)
ISSUES CLOSED: #8715
2022-02-16 09:07:37 -05:00
Emily Xiong
19efdfc938
feat(react-native): add storybook to react native (#8886) 2022-02-14 10:13:23 -05:00
Colum Ferry
78976bcfa1
fix(storybook): do not update existing react stories (#8920) 2022-02-10 18:25:15 +02:00
Jack Hsu
85da21bf29
fix(react): update storybook config to skip type checking (#8922) 2022-02-10 17:32:52 +02:00