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>
* fix(react): add typings as devDep for react-redux schematic
Tell the user that --skip-nx-cache option can be used with the execution of targets. The option
will
be displayed in both 'nx --help' and 'nx [project][:target][:configuration] --help'
commands.
ISSUES CLOSED: 3338
ISSUES CLOSED: 4225
* feat(core): add move npm package workspace utility
Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between dependencies or
devDependencies
ISSUES CLOSED: 4242
* feat(react): add 11.0.0 migration to move react-redux types to devDeps
Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between dependencies
or
devDependencies
ISSUES CLOSED: 4242
* cleanup(core): rename moveNpmPackages param name to match type
Provide the moveNpmPackage workspace utilite to move one/multiple package(s) between
dependencies
or
devDependencies
ISSUES CLOSED: 4242
* chore(react): update emotion to new versions and new package names on react plugin
* chore(nextjs): update emotion to latest version and the new package names
* feat(misc): have react and next plugin migrations update emotion imports
* add renamePackageImports and renameNpmPackage rules to workspace utils
* update migrations to update emotion imports to the new name and version
- removes the `differentialLoading` build option
- differential loading is always enabled for prod builds
BEFORE (without ESM):
Benchmark #1: nx build demo --prod
Time (mean ± σ): 13.834 s ± 1.731 s [User: 11.817 s, System: 1.352 s]
Range (min … max): 11.947 s … 16.015 s 10 runs
AFTER (with ESM):
Benchmark #1: nx build demo --prod
Time (mean ± σ): 18.711 s ± 1.310 s [User: 12.172 s, System: 1.394 s]
Range (min … max): 17.232 s … 20.770 s 10 runs