2325 Commits

Author SHA1 Message Date
Victor Savkin
b1a0117b71 fix(repo): fix broken tests 2020-08-21 10:48:54 -04:00
Victor Savkin
f96377b74e fix(misc): increase buffer limit of run-commands 2020-08-20 21:40:05 -04:00
Jonathan Cammisuli
c9fb2ee9a4
chore(testing): change migration to target beta.4 (#3573) 2020-08-20 08:46:10 -04:00
Zachary DeRose
8d9d99796c
docs(docs): Shared > Migration > Preserving Git Histories (#3569) 2020-08-20 06:47:07 -04:00
Tasos Bekos
7fcf136cad
fix(web): clean output bewtween library builds (#3547)
* fix(web): clean output bewtween library builds

* fix(web): avoid deleting files before differential loading build
2020-08-19 22:14:00 -04:00
Jonathan Cammisuli
31128c3db6
fix(testing): add jest migration for 10.1.0 (#3566) 2020-08-19 18:50:23 -04:00
Jason Jean
106b04f157
docs(core): define affected (#3524) 2020-08-19 17:23:12 -04:00
Jonathan Cammisuli
7407aa41a8
fix(node): add srcRootForCompilationRoot option for node package builder (#3564) 2020-08-19 17:22:44 -04:00
Victor Savkin
f93346f0e2 fix(core): explicitly store workspace files instead of deriving them from hashes 2020-08-19 14:50:22 -04:00
Victor Savkin
34df63df46 fix(core): dont override sigint 2020-08-19 13:26:21 -04:00
Jonathan Cammisuli
7dbf48a11e
chore(repo): update to 10.1.0-beta (#3561) 2020-08-19 13:06:12 -04:00
Tasos Bekos
9c5028e005
fix(misc): format only workspace projects with libs-and-apps (#3498)
* 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.
2020-08-19 11:16:54 -04:00
Tasos Bekos
e859264964
feat(core): support globs for file paths in implicitDependencies (#3554)
ISSUES CLOSED: #625
2020-08-19 10:36:51 -04:00
Victor Savkin
7476fdfa69 fix(docs): fix typo in tutorials 2020-08-18 22:59:46 -04:00
Victor Savkin
b03a5d8474 fix(core): respect nxignore when using git hashing 2020-08-18 22:58:25 -04:00
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