1236 Commits

Author SHA1 Message Date
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
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
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
Jason Jean
91f4f60328 fix(core): do not print warnings for print-affected 2020-08-07 14:39:50 -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
01d41cab57 fix(core): sort files before creating project graph to make stable hashes 2020-08-05 23:31:04 -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
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
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