* feat(linter): add explicit file extension to config files
* feat(linter): update references to .eslintrc for new projects
* fix(linter): fix quotes in global eslint config
* 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>
* fix(misc): rename format option to `libs-and-apps`
* fix(misc): format only workspace projects with `apps-and-libs`
Retrieving and npm project dependecies is throwing exception when trying to read the `root` of the projects, causing a fallback to all files.
* fix(misc): allow --js flag to be passed to @nrwl/web:lib schematic
creates js files instead of ts files
s
ISSUES CLOSED: #2985
* fix(misc): add tests for --js flag in workspace
* 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>
* feat(testing): add util to update jest configs.
* feat(testing): place configurations in jest config file rather than just the builder
* feat(testing): create migration and unit tests
* feat(testing): fix jest template
* feat(testing): fix jest template to correct unit tests
* feat(testing): include globals.ts-jest for all non babel configs
* feat(testing): include globals.ts-jest for node e2e
* feat(testing): fix migration to run properly. Also check for angular tests using the setupfile rather than builder
* feat(testing): clean up jest config functions and fix errors with some migrations
* feat(testing): add new line to package.json
* feat(testing): update object check to actually check for undefined
* chore(testing): loop through all project targets as well as targets
* chore(testing): update migration to be 10.0.0-beta.2
* feat(core): adds configurable base branch in nx.json
new field in nx.json - defaultBranch
ISSUES CLOSED: #1791
* feat(core): split affected into config options for base and head in nx.json
Co-authored-by: agriggs <alex.griggs@gmail.com>