* docs(angular): add mfe guide
Add guide "How to setup a Micro Frontend with Angular and Nx" to docs
* docs(angular): fix some issues with mfe guide
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
1- Implement a hook generator which provides the skeleton for a new hook, including a test which
uses @testing-library/react-hooks
2- add --pascalCaseDirs to the component generator, so you can
have 'SomeComponent/SomeComponent.tsx' instead of 'some-component/SomeComponent.tsx'
Co-authored-by: Sam Clement <samclement@msn.com>
* feat(node): add TS plugins support for build executor
ISSUES CLOSED: #2147
* docs(node): add tsPlugins to node build executor schema
* chore(node): reformat schema json
* chore(repo): update yarn.lock
* cleanup(node): adjust tsPlugins test for node build executor
* cleanup(node): remove packageJson check for tsPlugins test
* cleanup(node): increase timeout for tsPlugins e2e test
* cleanup(node): use type import for typescript types instead of importing typescript
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
* docs(storybook): re-arrange content for a more concise Storybook overview guide
* docs(storybook): re-arrange content to have a more concise Storybook guide
* feat(devkit): make nx.json optional (#5678)
Allow project configuration functions to work without nx.json configuration file, this is particulary handy for regular Angular CLI projects.
* docs(devkit): make `NxJsonConfiguration` partial
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
* docs(core): fix outdated references to ng in react and angular
* Update docs/angular/examples/react-and-angular.md
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Add a host option to MFE generator to allow a remote to specify a host that it should be consumed
by.
Use this value to update the host application's webpack.config,js
Previously, naming convention of consuming applications for MFEs was `shell`.
Change it to match Webpack Module Federation's naming convention of calling it `host`.
BREAKING CHANGE:
The `mfeType` options have changed from `shell | remote` to `host | remote`.
* docs(core): cleanup tutorials
* chore: review fix
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>