610 Commits

Author SHA1 Message Date
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Jonathan Wagner
c35b13dd26
fix(react): migrations should not crash when adding development configuration (#10261) 2022-05-12 14:30:33 -04:00
Chau Tran
512237caf7
feat(core): add nx.json, workspace.json, and project.json JSON schemas (#10228)
* feat(core): add nx.json, workspace.json, and project.json JSON schemas

ISSUES CLOSED: #8574, #2299

* fix(core): add ajv to test generated config files based on JSON schema

* fix(core): only add $schema to project.json if it is standalone and in create mode

* feat(core): add migration to add json schema to config files for 14.2.0

* fix(core): adjust schemas

* chore(core): adjust tests across repo to adhere to JSON schema if generated

* fix(core): construct the json schema object instead of using a boolean flag

* chore(core): add ajv tests for workspacejson and nxjson

* chore(core): remove unnecessary standalone check
2022-05-10 15:05:26 -05:00
James Garbutt
99252cccfa
fix(react): aliases should be an array in schematics (#10198) 2022-05-09 23:58:51 +00:00
Leosvel Pérez Espinosa
425adf1d00
feat(react): add support for passing additional shared dependencies in the module federation config (#10169) 2022-05-09 09:00:31 -04:00
Jack Hsu
c4e5b7c7c0
fix(react): host server exits when one of the remotes fail (#10185) 2022-05-06 12:41:40 -04:00
Leosvel Pérez Espinosa
67e233d8d7
fix(react): remove collected dependency from module federation shared config when not found in package.json (#10157) 2022-05-05 10:43:37 -04:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
95412cfa17
fix(misc): fix incorrect nx imports (#10131) 2022-05-04 14:24:31 +00:00
Jack Hsu
2ad824a316
feat(nextjs): update styled-jsx to match the version supported by next.js (#10101) 2022-05-02 20:16:54 +00:00
Jack Hsu
0f2edf2f8f
feat(react): update react packages (#10093) 2022-05-02 10:29:38 -04:00
Katerina Skroumpelou
a74ed0ecfc
fix(storybook): include all react exports for story generation (#10030) 2022-04-29 08:20:56 -04:00
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