Jonathan Cammisuli
2569b0270d
feat(testing): update jest to v26 ( #3449 )
2020-08-14 14:54:01 -04:00
Jonathan Cammisuli
4b646ec01a
fix(core): use tsconfig.*?.json in root eslintrc ( #3447 )
2020-08-14 14:14:10 -04:00
Victor Savkin
ab96bcc851
fix(core): add a workaround for potential bugs in git hasher ( #3521 )
2020-08-14 14:02:47 -04:00
Victor Savkin
7dba20ba05
Release 10.0.12
2020-08-13 16:01:47 -04:00
Mehrad Rafigh
8a7cb350a8
feat(testing): pass ignoreTestFiles to cypress builder
...
ISSUES CLOSED : #3439
2020-08-13 14:15:28 -04:00
Jakub Koralewski
f25e70fb3d
fix(core): git hasher should handle file that are both renamed and modified
2020-08-13 13:29:10 -04: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
Zachary DeRose
86b4f4e7b8
fix(testing): builder should let baseUrl option take precidence if present ( #3487 )
2020-08-12 12:11:39 -04:00
Fernando Montoya
b33815b0a7
fix(react): remove empty space from describe name ( #3504 )
2020-08-12 12:09:12 -04:00
Victor Savkin
7363ef0720
Release 10.0.11
2020-08-11 11:49:27 -04:00
Victor Savkin
23d37728e0
fix(core): remove an unnecessary npm install when connecting to cloud
2020-08-11 11:46:20 -04:00
Spencer Elliott
5b6df632cb
fix(core): resolve webpack loaders with require.resolve() ( #3436 )
...
* fix(core): resolve webpack loaders with `require.resolve()`
With strict package managers such as pnpm or Yarn PnP, transitive
dependencies are *not* hoisted to the root node_modules folder. This
means that a webpack config defined within a package like
'@nrwl/cypress' cannot resolve loaders like 'ts-loader', unless
'ts-loader' is declared in the workspace's own package.json.
This is a problem because the workspace might define a different version
of 'ts-loader', incompatible with the version declared by
'@nrwl/cypress/package.json'. The workspace should not need to declare
a dependency on 'ts-loader' anyway.
See also:
* https://github.com/pnpm/pnpm/issues/801
* https://github.com/webpack/webpack/issues/5087
* fix(core): resolve absolute 'raw-loader' path
When replacing the 'raw-loader' rule in the `getStylesPartial` function,
check for the absolute path of 'raw-loader' rather than just the name.
2020-08-08 17:53:00 -04:00
Victor Savkin
86108ae510
Release 10.0.10
2020-08-07 22:17:01 -04:00
Victor Savkin
f51d0d257c
fix(core): create-nx-workspace uses a unix-style path on windows
2020-08-07 22:13:16 -04:00
Webber Wang
1fd8fc2958
fix(nx-plugin): add plugin under directory option ( #3365 )
...
ISSUES CLOSED : #3347
Co-authored-by: Webber Wang <webber@codelabstudios.com>
2020-08-07 15:53:11 -04:00
Andrew Luca
fdab3b9225
fix(web): use missing umdName option in package builder
2020-08-07 15:52:52 -04:00
Bram Borggreve
757bce79fb
fix(core): create-nx-workspace preset and cli params should work with spaces
2020-08-07 14:55:10 -04:00
Martin Hochel
a3fc7e18c0
fix(core): generate proper cli command in lib readme
2020-08-07 14:47:50 -04:00
Jason Jean
91f4f60328
fix(core): do not print warnings for print-affected
2020-08-07 14:39:50 -04:00
Victor Savkin
4febf87337
Release 10.0.9
2020-08-07 11:52:01 -04:00
Victor Savkin
ac40036215
feat(misc): flip set default linter to assume eslint
2020-08-07 11:50:05 -04:00
Victor Savkin
aff592b930
feat(angular): add an option to use eslint
2020-08-06 22:08:16 -04:00
Victor Savkin
e4f7a6d976
Revert "fix(nest): add default linter for new nest projects ( #3469 )"
...
This reverts commit 8136b7ad4057cfa99b224a33de8fa4a381afb85e.
2020-08-06 12:08:35 -04:00
Victor Savkin
ad894bc867
Release 10.0.8
2020-08-05 23:32:46 -04:00
Victor Savkin
01d41cab57
fix(core): sort files before creating project graph to make stable hashes
2020-08-05 23:31:04 -04:00
Christopher Dieringer
68e169ba70
feat(core): pass through builder options to custom rollup config
...
Just as the default rollup config is a function of builder options, so too should-be/could-be userland rollup configuration
Pass in full options to userland rollup config function
2020-08-05 23:13:16 -04:00
Przemyslaw Figura
8136b7ad40
fix(nest): add default linter for new nest projects ( #3469 )
...
* fix(nest): add default linter for new nest projects
Closes : #3063
2020-08-05 23:09:37 -04:00
Sharif Jubayer Arefin
5fd392fd40
docs(docs): Add missing class todo in todos.component.html
2020-08-05 23:07:03 -04:00
Juri
1c4efa213f
fix(core): accidental removal of libsDir(host)
2020-08-05 23:02:18 -04:00
Jason Jean
4d4749c9b1
fix(core): warn for invalid eslintrc
2020-08-05 22:56:58 -04:00
Philip Fulcher
d6b2201a21
fix(core): fix crosshair icon for dep-graph
2020-08-05 22:52:56 -04:00
Jason Jean
aa09d70b6a
fix(misc): fix exit code for running nx outside of a workspace
2020-08-05 22:52:11 -04:00
Rares Matei
100989eacb
fix(core): fix an issue with path normalization on windows when invoking external schematic
...
ISSUES CLOSED: 3233
2020-08-05 22:51:45 -04:00
Hugh Loughrey
94c230bc4d
docs(docs): update documentation on e2e watch mode
...
ISSUES CLOSED: 2963
2020-08-05 22:49:55 -04:00
Muhammad Muhajir
920328ca71
fix(storybook): properly resolve TS paths in storybook webpack config
...
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2020-08-01 11:41:42 +02:00
Juri Strumpflohner
87fee3f5e8
docs(repo): add video showcasing local nx release process ( #3443 )
2020-07-31 16:56:52 +02:00
Jo Hanna Pearce
53b69272eb
fix(misc): add regex pattern to schematics to prevent empty app/lib creation ( #3396 )
...
ISSUES CLOSED : #2924
2020-07-31 10:44:31 -04:00
Jason Jean
7af13bbcbe
fix(core): properly resolve tsconfig when serving from project root ( #3403 )
2020-07-31 10:41:11 -04:00
Isaac Mann
6196c380e5
docs(docs): fix react configuration ToC formatting ( #3444 )
...
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-07-31 10:36:43 -04:00
Juri Strumpflohner
574f97c240
cleanup(repo): fix formatting ( #3442 )
2020-07-31 15:17:09 +02:00
Jo Hanna Pearce
2a5c1988ee
fix(angular): show a nicer error when running nx in an angular workspace
2020-07-31 13:50:39 +01:00
Jack Hsu
b1d6c392a9
fix(react): add styled-jsx to babel jest setup to avoid warnings ( #3242 )
2020-07-31 02:02:05 -04:00
Jack Hsu
62889c3a7a
fix(react): add babel plugin for styled-jsx for libs ( #3441 )
2020-07-31 01:09:35 -04:00
Sushruth Shastry
c835ecfaa9
Using @typescript-eslint/no-unused-expressions instead ( #3297 )
...
Co-authored-by: Sushruth Sastry <susastry@microsoft.com>
2020-07-31 00:28:09 -04:00
Jason Jean
e2f123dc56
fix(core): override --prod with --configuration
2020-07-29 17:10:03 -04:00
Isaac Mann
50a4453129
docs(docs): update react configuration docs too
2020-07-29 17:09:48 -04:00
Isaac Mann
fdec75a495
docs(docs): document tasksRunnerOptions
2020-07-29 17:09:48 -04:00
Victor Savkin
0fa790303a
Release 10.0.7
2020-07-29 15:31:13 -04:00
Victor Savkin
635f49150e
fix(misc): add nx binary to nx package
2020-07-29 15:29:47 -04:00
Victor Savkin
3cd9f4fe6c
feat(misc): add nx package to make installing global cli easier
2020-07-29 12:16:12 -04:00