6054 Commits

Author SHA1 Message Date
Colum Ferry
fc235de1f1
feat(angular): remove unnecessarily generated code for remotes (#9844) 2022-04-19 10:36:56 +01:00
Craigory Coppola
4f1c14cb75
chore(nxdev): reorganize nx plugin content (#9758) 2022-04-18 13:40:11 -04:00
Craigory Coppola
a2546a8074
chore(misc): forward prompt override to connect to nx cloud (#9867) 2022-04-18 18:34:21 +01:00
Craigory Coppola
2177aae6eb
docs(nx-plugin): add documentation for project inference plugins (#9757) 2022-04-18 13:19:18 -04:00
Benjamin Cabanes
68f883d90c
chore(dep-graph): clean-up dark mode and remove feature flag (#9762)
* feat(dep-graph): add dark mode

* cleanup(dep-graph): fix dep-graph e2e

* chore(dep-graph): remove feature flag on dark mode

Co-authored-by: Philip Fulcher <philip@nrwl.io>
2022-04-16 09:20:38 -06: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
Miroslav Jonaš
4af1179c2d
chore(repo): remove outdated immer resolution from package.json (#9841) 2022-04-14 15:00:03 +02:00
Miroslav Jonaš
e54eccb550
chore(repo): replace manual package cache with orb (#9842) 2022-04-14 12:27:05 +00:00
Colum Ferry
e1f64a3896
feat(angular): remove mfe-host alias in favour of host (#9834) 2022-04-14 12:42:02 +01:00
Miroslav Jonaš
6b49b5f3b2
docs(misc): update CI workflows documentation (#9837) 2022-04-14 11:08:34 +00:00
Colum Ferry
73d8967a2b
feat(angular): remove mfe-remote alias in favour of remote (#9832) 2022-04-14 11:11:46 +01:00
Colum Ferry
40403fa58b
chore(angular): turn off tailwind e2e tests for now (#9833) 2022-04-14 09:48:47 +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
Miroslav Jonaš
7f894889a8
chore(repo): update pnpm action version (#9824) 2022-04-13 16:16:00 +00: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
Benjamin Cabanes
ac4f4c8177
docs(nxdev): add noreferrer for _blank links (#9807) 2022-04-12 15:26:02 +00:00
Benjamin Cabanes
0bcaafbe0c
docs(nxdev): add jason jean nx conf lite talk (#9810) 2022-04-12 15:08:33 +00:00
Benjamin Cabanes
77553ecc6e
docs(core): update mfe guide link (#9808) 2022-04-12 14:55:51 +00:00
Benjamin Cabanes
8a7e5551d7
docs(nxdev): move conference components to ui (#9796) 2022-04-12 14:48:49 +00:00
Benjamin Cabanes
a622ee5f08
docs(nxdev): lookup to package.json version for vercel script (#9803) 2022-04-12 14:09:41 +00: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
Jason Jean
c0471515d2
fix(core): fix migrate race conditions (#9794) 2022-04-12 09:09:42 -04:00
Colum Ferry
9396db03c3
docs(angular): hide mfe options from the app generator (#9798) 2022-04-12 11:39:24 +00:00
Colum Ferry
dfd4a1dd51
fix(angular): remove implicit deps creation from mfe (#9799) 2022-04-12 10:11:04 +00:00
Victor Savkin
8310f6a42d
chore(repo): record all misc commands in nx cloud (#9793) 2022-04-11 20:23:53 -04:00
Craigory Coppola
e4e5c3b63b
chore(repo): relocate types from migrate.ts (#9790) 2022-04-11 13:33:54 -04:00
Leosvel Pérez Espinosa
d860a91a50
feat(angular): allow migrating angular cli workspaces using the @angular-eslint/builder:lint builder (#9750) 2022-04-11 16:30:49 +01:00
Caleb Ukle
696fefdd7b
fix(js): ignore tsx and .test. files with buildable swc libraries (#9540)
include update to simplify existing patterns

ISSUES CLOSED: #9442

Co-authored-by: Caleb Ukle <caleb@Calebs-MBP-2.localdomain>
2022-04-11 08:59:44 -05:00
Benjamin Cabanes
f3e579a9b7
docs(nxdev): add conf q&a (#9785) 2022-04-11 13:56:49 +00:00
Caleb Ukle
b3d59bdcc5
docs(core): Add example of using global scripts for jest and nx libraries (#9483)
* docs(testing): add example on how to use ts path aliases within jest global setup/teardown

Jest global setup/teardown scripts run before path aliaes are mapped, so the path resigstration must
happen in the userland global scripts that are set to run
initially the thought of doing this within
the jest executor was thought, but this will provide an inconsistent way to running tests if the
tests are run via an editor plugin or calling `jest` directly; therefore, it's deferred to register
the paths within userland files that are needing the paths to be registered in order to allow for
proper handling (cleanup) and not to overcall unneeded features when global scripts are not in use
for those not using the feature.

ISSUES CLOSED: #8709

* cleanup(testing): test the usage of jest global scripts to ensure no regressions

streamline e2e jest project testing and update global tests to test global functions are working as
intended
2022-04-11 13:51:29 +00:00
Chau Tran
3e94d4cb3a
fix(js): add init generator placeholder (#9777) 2022-04-11 08:47:08 -05:00
Thomaz Capra
2fe18186c7
docs(nxdev): fix typo in micro frontend (#9774)
Co-authored-by: Thomaz Capra <x190823@bcpcorp.net>
2022-04-11 09:31:51 -04:00
Colum Ferry
7839ed0249
feat(angular): expose mfe package helpers (#9781) 2022-04-11 11:35:58 +01:00
Colum Ferry
33ec4ac6f7
fix(storybook): component props should only consider inputs #9417 (#9780)
Previously, all decorators were being taken into consideration. However, props to an Angular component would be its Inputs.
We should only consider those.

Fixes #9417
2022-04-11 10:14:30 +00:00
Juri
9f1802c45d docs(linter): add link to module boundaries blog post 2022-04-11 10:38:37 +02:00
Jason Jean
bbb08413c2
feat(misc): do not add typescript or @nrwl/cli during add nx to monorepo (#9736) 2022-04-08 15:57:41 -04:00
Giora Guttsait
32b49b6f7c
feat(core): respect packageGroup in nx migrate (#9667)
* cleanup(core): refactor migrate.ts

* feat(core): respect packageGroup in nx migrate

ISSUES CLOSED: #4575

* fix build

* chore(repo): trigger CI

* chore(core): fix review comments, without packageGroup extension

* chore(core): revert `withTempNpmDirectory` changes

* chore(repo): trigger ci

* chore(core): fix unit tests

* chore(core): remove view and pack from pmc

* chore(repo): kick off CI

* chore(core): add tests for recursive packageGroup

* chore(core): add another test for cyclic packageGroup

* chore(repo): kickoff CI

Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-04-08 15:57:24 -04:00