152 Commits

Author SHA1 Message Date
Victor Savkin
669f21513b fix(core): add missing deps to support running old migrations 2021-01-29 10:31:52 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Jason Jean
aeec4bd4d9
feat(core): migrate move to devkit (#4558) 2021-01-19 16:45:44 -05:00
Victor Savkin
a1c4d94ea6 fix(core): support setting parallel in nx.json
Closes #4542
2021-01-17 20:00:56 -05:00
Tasos Bekos
96625c77fb fix(repo): fix dependenies/discrepancies causing e2e tests with PNPM to fail 2021-01-16 17:54:54 +02:00
Victor Savkin
683d6f4e19 fix(core): use tmp folder for migrate instead of npx 2021-01-12 20:37:40 -05:00
Victor Savkin
1167e65bf8 feat(core): improve ergonomics of the migrate command 2021-01-12 11:58:29 -05:00
Tasos Bekos
9abdb78a4a feat(repo): run E2E tests on Windows (cmd) 2021-01-06 15:47:18 -05:00
Yannick Galatol
744ea227dc feat(core): add task hash to print-affected result 2021-01-05 12:05:09 -05:00
Sascha Rose
8400d753f1 docs(core): Fix the URL to the specification
This is just a fix to display a working URL in case you use:
`nx affected:apps --all`.
2020-12-23 09:09:58 -05:00
Max Sagan - Yieldbroker
cd8efa47ac feat(misc): allow comments in JSON files 2020-12-22 10:39:06 -05:00
Victor Savkin
ce877bb8ad fix(core): store nx results and nx deps in the configured cache directory 2020-12-19 20:50:53 -05:00
Victor Savkin
f0cf91d0b6 fix(misc): only prompt for nx-cloud when using the default runner
Closes #4295
2020-12-17 21:25:30 -05:00
Victor Savkin
1c22f7fa71 fix(core): throw when invalid config is provided for initiating project 2020-12-15 22:08:43 -05:00
Jason Jean
36282e1354 fix(core): support local builders and generators 2020-12-15 20:58:40 -05:00
Sebastiandg7
30c33d3233 feat(misc): display skip-nx-cache option in help output
Tell the user that --skip-nx-cache option can be used with the execution of targets. The option will be displayed in both 'nx --help' and 'nx [project][:target][:configuration] --help' commands.

ISSUES CLOSED: 3338
2020-12-14 14:05:32 -05:00
Jason Jean
0ac14822ce fix(core): fix generators on windows 2020-12-10 15:45:15 -05:00
Victor Savkin
b405b07361 fix(misc): fix workspace generators written using angular devkit 2020-12-09 10:31:51 -05:00
Tasos Bekos
aa33625321 chore(repo): add @nrwl/devkit in report 2020-12-04 09:56:26 -05:00
victor savkin
a24fb961d8 feat(core): format workspace.json based on version field 2020-12-03 20:20:04 -05:00
Tasos Bekos
c6cb176218 cleanup(core): remove duplicate code about package manager 2020-12-01 12:43:23 +02:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 (#4095) 2020-11-30 14:07:27 -05:00
Martin Hochel
257d072ef2 feat(core): provide better list command for workspace generators 2020-11-20 12:43:42 -05:00
Cédric Hoarau
bb993c36f9 cleanup(core): review 2020-11-20 09:09:44 -05:00
Cédric Hoarau
4c55bbdd26 fix(core): invalidate previous failed projects if they are excluded
ISSUES CLOSED: #4002
2020-11-20 09:09:44 -05:00
Victor Savkin
06e13dae2f cleanup(core): use the use generator instead of schematic 2020-11-19 20:07:13 -05:00
Tasos Bekos
ea17900378 chore(core): add enviroment information on report 2020-11-19 15:41:27 -05:00
Victor Savkin
4a17b7339f feat(core): use the new schematics api for workspace schematics 2020-11-17 19:31:08 -05:00
Victor Savkin
68a4a7eb8c feat(core): add nx devkit builders 2020-11-17 19:31:08 -05:00
Victor Savkin
1c791cfc7f cleanup(core): remove deprected function 2020-11-13 20:58:12 -05:00
Victor Savkin
74195bcf1a Revert "fix(core): add --fork-point arg to git merge"
This reverts commit 444a3930d8134b9649e16af0ac96fc27e519128e.
2020-11-13 20:57:13 -05:00
Tasos Bekos
8676c1a68b fix(core): default to NPM package manager
* Simplify the determination & detection of the desired package manager.
* Add the `package-manager` option on plugin creation.
* Nx Cloud installation uses the appropriate package manager.
2020-11-11 10:02:47 -05:00
Victor Savkin
7a9214bce8 fix(core): allow --all=true in addition to --all 2020-11-09 16:10:04 -05:00
Adrian
992013ca0a
Add possibility to specify port when running dep graph (#3938)
* feat(misc): add possibility to specify port when running dep graph

* feat(docs): documentation was updated with the exposed port

Co-authored-by: adrian.etter <adrian.etter@dswiss.com>
2020-10-30 12:09:35 -06:00
Nadav Sinai
444a3930d8 fix(core): add --fork-point arg to git merge
this fixes getFilesUsingBaseAndHead output in some forking scenarios.
2020-10-28 20:57:06 -04:00
Philip Fulcher
cf7d779b2b
feat(core): add dep-graph-client app (#3695) 2020-10-16 19:00:27 -04:00
Tasos Bekos
341cc6bdba fix(repo): lookup for installed plugins in package.json
In addition, we refactor the plugin capabilities and installed plugin
methods to avoid references to `node_modules`.
2020-09-25 10:29:56 -04:00
Tasos Bekos
6c7b3060b2 cleanup(core): avoid referencing node_modules 2020-09-21 12:37:15 -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
326bff6f1a fix(core): update the version of yargs to fix npm audit 2020-09-04 10:15:07 -04:00
Tasos Bekos
86784b2988
feat(misc): support projects option in format (#3588)
ISSUES CLOSED: #3303, #3090
2020-09-02 12:15:55 +03: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
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
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
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
Victor Savkin
a71dd8586a feat(core): add scan to list of supported flags 2020-08-18 14:56:58 -04:00
Jason Jean
91f4f60328 fix(core): do not print warnings for print-affected 2020-08-07 14:39:50 -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