6116 Commits

Author SHA1 Message Date
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
Miroslav Jonaš
ec0f4b4173
fix(core): handle failed CI workflows in CNW CLI (#9915) 2022-04-20 20:46:13 -04:00
Miroslav Jonaš
ea9fbd5454
feat(core): throw error on ci generator if nx cloud not set (#9914) 2022-04-21 00:26:59 +02:00
Colum Ferry
991efef5e5
feat(angular): serve static for remotes (#9911) 2022-04-20 21:49:26 +00:00
Craigory Coppola
b225d98aaa
fix(devkit): remove from package-json should pass when dev dependencies null (#9903)
Closes #9877
2022-04-20 16:54:44 -04:00
Colum Ferry
cc389704b5
fix(angular): share secondary entry points (#9896) 2022-04-20 20:31:22 +00:00
Jack Hsu
ff3b3a717c
fix(react): update migrations to work for projects without targets (#9906) 2022-04-20 18:59:30 +00:00
Miroslav Jonaš
5fe8d84396
feat(core): add CI generation to create-nx-workspace (#9611) 2022-04-20 14:51:15 -04:00
Caleb Ukle
c265c4686b
feat(testing): support extra jest cli args (#9904)
pass extra cli args to jest to allow 3rd party plugins to work correct like jest-runner-groups

ISSUES CLOSED: #9873
2022-04-20 18:28:55 +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
James Henry
2e907af1e3
feat(core): add --create-commits option to nx migrate (#9845) 2022-04-20 10:22:54 -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
Colum Ferry
388eb4026d
feat(angular): align config file naming for module federation (#9889) 2022-04-19 22:15:01 +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
Emily Xiong
7c77dced47
bugfix(detox): add verbose to be true for jest.config.js (#9875) 2022-04-19 11:47:40 -04:00
Leosvel Pérez Espinosa
cfaedc8181
feat(angular): support migrating angular cli workspaces with library projects (#9885) 2022-04-19 16:18:26 +01:00
Emily Xiong
367e95a3c0
bugfix(react-native): change the metro-resolver to run tsconfig path resolver first (#9876) 2022-04-19 10:44:16 -04:00
Emily Xiong
a0045b3b8e
bugfix(detox): fix typo option for test to be reuse (#9874) 2022-04-19 10:42:52 -04:00
Colum Ferry
943382ed92
fix(react): path normalize was in correct on windows #9861 (#9882) 2022-04-19 09:28:52 -04:00
Colum Ferry
5fb6fc78bc
fix(angular): path normalize was in correct on windows #9861 (#9881) 2022-04-19 12:47:29 +01:00
Miroslav Jonas
31b647343e fix(core): make CNW preset property open for custom presets 2022-04-19 13:20:13 +02:00
Miroslav Jonaš
67b34a099f
fix(js): enable hidden files as assets (#9880) 2022-04-19 12:48:01 +02:00
Colum Ferry
31de6717db
feat(angular): host generator should create remotes (#9848)
* feat(angular): host generator should create remotes

* fix(angular): remove log line

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-04-19 11:38:45 +01:00
Colum Ferry
c560c8075e
feat(angular): use module-federation-dev-server for hosts (#9850) 2022-04-19 10:38:16 +01:00
Colum Ferry
fc235de1f1
feat(angular): remove unnecessarily generated code for remotes (#9844) 2022-04-19 10:36:56 +01:00
Craigory Coppola
a2546a8074
chore(misc): forward prompt override to connect to nx cloud (#9867) 2022-04-18 18:34:21 +01:00
Katerina Skroumpelou
c0de03bf39
fix(storybook): remove hard-coded ci:true option (#9827)
ISSUES CLOSED: #9681
2022-04-15 12:08:37 +00:00
Craigory Coppola
a162bfb420
feat(core): prompt users to connect to nx cloud when upgrading major versions (#9849) 2022-04-14 17:17:39 -04:00
Jason Jean
d1b471c6d4
feat(core): add NX_MIGRATE_USE_NEXT flag to test next version of migrate (#9829) 2022-04-14 17:09:19 -04:00
Craigory Coppola
1857138e74
fix(core): build-project-graph shouldn't fail when large number of workers are available (#9804)
fixes #9801
2022-04-14 17:08:47 -04:00
Colum Ferry
4b846e8dc9
feat(angular): add module-federation-dev-server builder (#9843) 2022-04-14 15:39:15 -04:00
Caleb Ukle
74a404788d
fix(core): allow parsing dot notation cli args (#9812)
parse dot notation cli args for env args passed to cypress executor to override cypress.env.json
values.
i.e. nx e2e project --env.API_URL=localhost:1234
will now correctly give cypress e2e args to
override the cypress.env.json values

ISSUES CLOSED: #9764
2022-04-14 10:50:09 -04:00
Colum Ferry
e1f64a3896
feat(angular): remove mfe-host alias in favour of host (#9834) 2022-04-14 12:42:02 +01:00
Colum Ferry
73d8967a2b
feat(angular): remove mfe-remote alias in favour of remote (#9832) 2022-04-14 11:11:46 +01:00
Jason Jean
ad4233fe56 feat(core): migrate @nrwl/workspace:run-script to nx:run-script 2022-04-13 17:46:52 -04:00
Jason Jean
f255030c09 feat(core): migrate nx.json presets to come from nx package 2022-04-13 17:46:52 -04:00
Jason Jean
bfbe8fcb21
fix(core): remove @nrwl/workspace when adding nx to monorepo (#9813) 2022-04-13 14:40:24 -04:00
Jack Hsu
67a5b4169f
fix(react): migrate react-test-renderer correctly (#9811) 2022-04-13 09:29:58 -04:00
Chau Tran
2735aa08df
feat(js): add publish target and generate minimal publish script for … (#9806)
* feat(js): add publish target and generate minimal publish script for publishable libraries

* fix(js): adjust minimal publish script to display better error for version validation

* Update packages/js/src/utils/minimal-publish-script.ts

Co-authored-by: Caleb Ukle <caleb@nrwl.io>

Co-authored-by: Caleb Ukle <caleb@nrwl.io>
2022-04-12 15:20:24 -05:00
Caleb Ukle
02cf4be49b
fix(testing): provide descriptive message when the project does not have targets defined. (#9795)
when trying to add cypress to a project that does not contain targets the project will error
out because of a null reference.
Now when trying to add to a project without a serve target a more
descriptive message is logged stating to add a serve target or use the --baseUrl flag
Note: a future
update should add the parameter to override what target to use if so desired.

ISSUES CLOSED: #9756
2022-04-12 14:38:59 -05: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
Noriyuki Shinpuku
945ee01147
fix(core): fix migration for tasks runners (#9778) 2022-04-12 09:10:55 -04: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