2060 Commits

Author SHA1 Message Date
Adam L Barrett
afd99b27de
fix(misc): allow --js flag to be passed to @nrwl/web:lib schematic (#3230)
* 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
2020-08-18 22:07:33 -04:00
Adam L Barrett
4e06d83a1c
feat(nextjs): update nextjs and related packages to current version (9.5.1) (#3485) 2020-08-18 22:02:53 -04:00
Gérôme Grignon
621cef947e fix(docs): github links
fix github links of @nxtend plugins
2020-08-18 21:55:26 -04:00
Jonathan Cammisuli
3f6aae5d55
fix(node): do not include rootDir in tsconfig.lib.json (#3545)
* fix(node): use typescript directly to emit files rather than calling tsc

* chore(node): add migration to remove root dir from projects using @nrwl/node:package

* chore(node): fix unit tests

* chore(node): update package spec and e2es
2020-08-18 18:29:10 -04:00
Jason Jean
d4fe7815cc
fix(web): remove duplicate copy webpack plugin (#3556) 2020-08-18 17:03:34 -04:00
Victor Savkin
a71dd8586a feat(core): add scan to list of supported flags 2020-08-18 14:56:58 -04:00
Jason Jean
3b1a9b601c
fix(core): do not run update task if package is not installed (#3523) 2020-08-18 13:19:55 -04:00
Mehrad Rafigh
78ed02c2cd
feat(testing): pass reporter and reporterOptions to cypress builder (#3536) 2020-08-18 09:49:57 -04:00
Tasos Bekos
c8cb3ceeae
fix(web): clean output bewtween builds (#3544)
ISSUES CLOSED: #3466
2020-08-17 12:45:34 -04:00
Jonathan Cammisuli
028e54eadf
feat(node): add nest schematics with project option (#3304) 2020-08-17 08:54:34 -04:00
Jeremy Forsythe
a4d0f11e73 cleanup(misc): formatter changes 2020-08-15 12:02:27 +01:00
Jeremy Forsythe
fb01c409bd fix(core): remove defaultProject in workspace when removing project
Fixes #3511
2020-08-15 12:02:27 +01:00
Devin Shoemaker
bf3661e896 fix(core): tests 2020-08-15 11:56:14 +01:00
Devin Shoemaker
921b781ac3 fix(core): honor workspace layout with workspace move schematic 2020-08-15 11:56:14 +01:00
Zachary DeRose
8a9565de01
docs(docs): workspace builder (#3526) 2020-08-14 13:43:48 -07:00
Webber Wang
498e23f9b0
fix(repo): registry is set incorrectly when using --local (#3513) 2020-08-14 16:32:05 -04:00
Marvin Luchs
0644c6bb5b
fix(core): update copy-webpack-plugin (#3514)
fixes security vulnerability caused by serialize-javascript < 3.1.0

closes #3506
2020-08-14 15:13:24 -04:00
Jessica Campbell
8a0a2a15f3 Update 08-create-libs.md
Update doc to add missing "ui" in path
2020-08-14 15:08:52 -04:00
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