1524 Commits

Author SHA1 Message Date
James Henry
122afe7731
fix(repo): tests and e2e, enable linting for workspace to set baseline (#3790)
* chore(repo): enable linting for workspace to set baseline

* fix(repo): broken tests from master branch

* fix(repo): broken e2e tests from master branch
2020-09-23 10:00:20 -04:00
Jason Jean
6d9ff59cd4 fix(core): fix possible memory leak warning from task orchestrator 2020-09-21 12:38:09 -04:00
Tasos Bekos
6c7b3060b2 cleanup(core): avoid referencing node_modules 2020-09-21 12:37:15 -04:00
Jason Jean
ae17586084
fix(angular): fix ng add for angular cli 10.1 (#3771) 2020-09-19 14:29:26 -04:00
Jason Jean
c2a1946fe6
fix(core): enable intelligent tsconfig changes in tsconfig.base.json (#3768) 2020-09-19 12:23:54 -04:00
Jason Jean
66038891ec
fix(core): improve performance of analyzing npm dependencies (#3755) 2020-09-18 21:23:56 -04:00
Jason Jean
ed797617af fix(core): allow-tsconfig.json for project graph 2020-09-17 12:38:26 -04:00
Tasos Bekos
c510cdd3d3
fix(misc): upgrade version of yargs-parser (#3751)
ISSUES CLOSED: #3105
2020-09-17 10:31:10 -04:00
Tasos Bekos
07ba927ed7 cleanup(core): avoid referencing node_modules on workspace creation 2020-09-15 21:53:29 -04:00
Kyle Bastien
b548f1a759 feat(core): adds ability for outputs to be files and not just folders
Makes the cache put code slightly more flexible, which allows for specified outputs to be not
just
folder but also files. This allows for greater flexibility of control when it comes to which
files
you want Nx to cache, so you could exclude sub folders of your dist. This is useful so that
Nx
doesn't spend time copying sometimes complex folder structures to cache (i.e. node_modules in
the
case of using npm link).
2020-09-14 14:15:25 -04:00
Jo Hanna Pearce
001b6ee8cc fix(misc): updates the mv schematic to cope with libs created with --importPath
ISSUES CLOSED: #3476
2020-09-14 13:36:46 -04:00
Tasos Bekos
71c8e9c493 cleanup(repo): avoid referencing node_modules 2020-09-14 13:14:11 -04:00
Tasos Bekos
b11a50f9a0 cleanup(repo): add packages to dependency lists in package.json
This commit also adds a dependency check tool.
2020-09-14 13:07:45 -04:00
Tasos Bekos
ebe49c7917 fix(core): correctly alias format:write to format 2020-09-14 11:13:02 -04:00
Victor Savkin
a615da995d feat(core): add a prompt when using --scan without nx-cloud 2020-09-10 16:32:46 -04:00
Victor Savkin
cb15498d83 fix(core): git hasher should handle unstaged files with spaces 2020-09-10 14:38:13 -04:00
Jason Jean
e9393805c1 feat(core): optimize project locator perf 2020-09-10 14:23:36 -04:00
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins (#3636)
ISSUES CLOSED: #3041
2020-09-08 13:59:36 -04:00
Victor Savkin
326bff6f1a fix(core): update the version of yargs to fix npm audit 2020-09-04 10:15:07 -04:00
Victor Savkin
28fbd5c576 fix(core): set status code to 2 when sigint 2020-09-03 10:44:15 -04:00
German
9b490623e9
fix(core): add forwardAllArgs option to run-commands builder (#3559)
ISSUES CLOSED: #3335
2020-09-03 16:40:31 +03:00
Tasos Bekos
86784b2988
feat(misc): support projects option in format (#3588)
ISSUES CLOSED: #3303, #3090
2020-09-02 12:15:55 +03:00
Victor Savkin
e90fbdae6f feat(core): indicate that a nested process was invoked by nx 2020-09-01 23:32:14 -04:00
Martin Hochel
ac643a70fa feat(core): compile only schematics realted source when using workspace-schematics
ISSUES CLOSED: #1215
2020-09-01 11:59:32 -04:00
Tasos Bekos
a4b37a341f feat(core): support globs for JSON paths in implicitDependencies
ISSUES CLOSED: #2483
2020-09-01 11:47:16 -04:00
Jonathan Cammisuli
10d3d0de3b feat(core): add nest preset 2020-09-01 11:46:46 -04:00
Martin Hochel
c275dcdd4a fix(core): remove invalid --plain flags from affected commands
ISSUES CLOSED: 2720
2020-09-01 11:45:48 -04:00
Tasos Bekos
875e48400d feat(misc): run-commands supports plain args when invloked through Angular CLI 2020-08-31 12:04:55 -04:00
Tasos Bekos
2d1da6b4a7
fix(core): task-orchestrator properly handles arguments (#3560)
The task-orchestrator was converting command line flags to "yargs-compatible" string using a custom logic. This commit makes sure that this happens through `yargs-unparser` to avoid issues with more complex options like arrays and objects.

ISSUES CLOSED: #3450
2020-08-25 10:31:27 +02:00
Jack Hsu
9f35646c65
fix(nextjs): fix Next.js schematics to support dynamic routes and remove unnecessary next plugins (as of 9.5) (#3574)
Closes #2478, #2490
2020-08-21 14:25:22 -04:00
Tasos Bekos
26c13d66a7
cleanup(misc): remove unused error message & simplify quotes in format (#3568)
The yargs conflicts, already handles the message.
2020-08-21 13:29:36 -04:00
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
Victor Savkin
f93346f0e2 fix(core): explicitly store workspace files instead of deriving them from hashes 2020-08-19 14:50:22 -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
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
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
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
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
Jakub Koralewski
f25e70fb3d fix(core): git hasher should handle file that are both renamed and modified 2020-08-13 13:29:10 -04:00
Victor Savkin
23d37728e0 fix(core): remove an unnecessary npm install when connecting to cloud 2020-08-11 11:46:20 -04:00
Martin Hochel
a3fc7e18c0 fix(core): generate proper cli command in lib readme 2020-08-07 14:47:50 -04:00