10 Commits

Author SHA1 Message Date
Jay Bell
090350bb5d
feat(angular): allow for ivy to be enable for buildable libraries (#4058) 2020-11-20 13:58:58 -06:00
Ashley Hunter
10911e25c2
feat(angular): add an option to add strict type checking (#3465)
* 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>
2020-08-12 18:15:59 -05:00
Victor Savkin
aff592b930 feat(angular): add an option to use eslint 2020-08-06 22:08:16 -04:00
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) (#2840)
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
Jo Hanna Pearce
319f7d0f26 feat(angular): add addModuleSpec flag to library schematic + refactor 2020-06-03 16:46:42 -04:00
Victor Savkin
6e9fb0efa0 docs(core): clean up generated docs 2020-03-30 13:08:41 -04:00
Victor Savkin
2c42431130 feat(core): rewrite path mappings when buildings apps 2020-03-19 21:41:03 -04:00
Juri
7723e941c0 docs(core): adjusts description on library schematics
right now "where the app is placed" is displayed which might be confusing given we generate a
library
2020-02-20 08:26:28 -05:00
Victor Savkin
64063f72df docs(nx): update api docs to contain examples 2019-08-21 11:56:21 -04:00
Victor Savkin
9a8f637899 docs(nx): generate different flavours of nx docs 2019-08-17 13:25:22 -04:00