* feat(angular): eslint config including template linting
* feat(angular): migration add-template-support-and-presets
* feat(angular): add support for component and directive prefix in lint config
* fix(angular): tests
* fix(angular): e2e tests
* fix(angular): update to latest and make updates
* fix(angular): update to latest and make updates
* fix(angular): lockfile
* fix(angular): update to latest and make updates
* fix(angular): bump angular-eslint
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
loading child paths into an angular library was not checking to see if an import path exists, so it
generated the wrong path.
the unit tests of the angular package are working. I generated a local
release with verdaccio after the correction and generated the right children path.
* feat(misc): add linter flag to create-nx-workspace
* fix(core): prompt linter when preset is angular or angular-nest
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
* feat(core): add flag to set dependant libs in either peerDependencies or dependencies
* fix(core): mark new property as optional
* feat(core): add migration for new option
* Update migrations.json
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
* feat(testing): add projects into jest config
* chore(testing): update unit tests and fix presets with spreading a default
* chore(testing): fix node e2e
* chore(testing): review comment changes
useDataPersistence only worker for the creator syntax. This PR will add the ability to use the
classes syntax without nrwls datapersistence
Closes: #2448
* feat(angular): add an option to add strict type checking
Adding support for strict type checking to Angular application and library generate schematics.
E.g.
`nx generate application myapp --strict`
`nx generate lib mylib --strict`
Closes#3383.
Performs the following configuration changes:
- Enables strict mode in TypeScript, as well as other strictness flags recommended by the TypeScript team. Specifically, forceConsistentCasingInFileNames, noImplicitReturns, noFallthroughCasesInSwitch.
- Turns on strict Angular compiler flags strictTemplates and strictInjectionParameters
These match the flags used in the standard CLI strict mode.
* cleanup(misc): updating import path
Co-authored-by: Ashley Hunter <ashley.hunter@hotmail.co.uk>