804 Commits

Author SHA1 Message Date
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
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
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
Victor Savkin
3cd9f4fe6c feat(misc): add nx package to make installing global cli easier 2020-07-29 12:16:12 -04:00
Juri Strumpflohner
40a85e8eee
fix(core): remove speakingurl pkg as not used (#3401) 2020-07-24 18:29:03 -04:00
Isaac Mann
29c0b809c9
docs(core): expand description of outputPath for run-commands builder and schematic (#3398) 2020-07-24 16:13:06 -05:00
Victor Savkin
78275ef892 fix(core): with-deps should handle circular dependencies 2020-07-23 22:27:01 -04:00
Victor Savkin
4ec68d3464 cleanup(core): add unit tests to verify edge cases of git hashing 2020-07-23 22:27:01 -04:00
Victor Savkin
6eb8b0198c fix(core): handle git renames and spaces in filenames when doing git hashing 2020-07-22 23:57:02 -04:00
Victor Savkin
8b3e054d5e fix(misc): workspace-lint should respect nested gitignores 2020-07-22 15:13:24 -04:00
Juri Strumpflohner
ed0a9a7405
fix: generated tsconfig path mapping for publishable libs (when generated in nested folders) (#2840)
fix(core): require importPath for publishable libs
2020-07-22 12:39:44 -04:00
Victor Savkin
30d740615b fix(core): remove deleted files from git-hashers result 2020-07-21 22:28:30 -04:00