1578 Commits

Author SHA1 Message Date
Jo Hanna Pearce
06a7080132 feat(core): implicitDependency tests for mv & rm schematics 2020-06-22 12:38:52 +01:00
Hanna Walter
a4fa80a351 fix(core): remove matching implicitDependency when removing a project 2020-06-22 12:38:52 +01:00
Hanna Walter
37894f689f fix(core): rename implicitDependencies during move
ISSUES CLOSED: #2906
2020-06-22 12:38:52 +01:00
Jason Jean
0ab2fc7875
fix(repo): register local collections for unit tests (#3207) 2020-06-20 03:01:03 -04:00
Victor Savkin
06f1ac6a89
fix(core): remove tmp hack for running e2e tests (#3206) 2020-06-20 01:10:44 -04:00
Adam L Barrett
3cc2521914
fix(core): fix task-orchastrator to convert boolean flags properly (#3198)
the task-orchastrator was converting boolean command line flags to a string value `true` instead of
preserving the boolean flag, this commit checks for a boolean value and adds a flag accordingly

ISSUES CLOSED: #3197
2020-06-19 16:20:08 -04:00
Victor Savkin
7cbf4ffd88 feat(core): add oss preset to create-nx-workspace 2020-06-19 13:01:57 -04:00
Juan Carlos Valerio Arrieta
a638d86490 fix(core): read tsconfig file using readJsonInTree 2020-06-18 09:50:21 -04:00
Juan Carlos Valerio
c1b494c22e fix(generate): improve error handling
Deliver better errors than `Unexpected token } in JSON at position X`
Fix issue #1047

https://github.com/nrwl/nx/issues/1047
2020-06-17 23:23:59 -04:00
Victor Savkin
73bcba6ac5 fix(core): only set FORCE_COLOR=true when using pipe to capture output 2020-06-16 10:10:29 -04:00
Victor Savkin
96a7f69d33 feat(core): add second way of capturing output 2020-06-15 16:55:35 -04:00
Victor Savkin
1e593a2b07 fix(misc): minor format changes in readmes 2020-06-15 10:27:07 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Jason Jean
7301930d3d
fix(core): consider overrides for output path (#3172) 2020-06-13 12:59:13 -04:00
Jason Jean
fc61fcb2ab
fix(linter): fix dependencies from projects on themselves when another circular dependency exists (#3163) 2020-06-12 10:07:56 -04:00
Victor Savkin
0cd4cdf4f0 fix(misc): fix run-command schematic to not error when no architect section 2020-06-11 14:27:33 -04:00
Victor Savkin
71690c0d38 fix(core): update decorate script to implement a more reliable way of "symlinking' on windows 2020-06-11 14:27:33 -04:00
Victor Savkin
842e458cc1 fix(core): decorate cli postinstall script doen not work on windows 2020-06-11 14:27:33 -04:00
Jason Jean
e923ae621c fix(angular): fix angular cli decoration for windows 2020-06-11 10:23:56 -04:00
Victor Savkin
13280b5282 fix(angular): always append ngcc postinstall script 2020-06-10 16:34:35 -04:00
Victor Savkin
41e4714dd0 feat(core): decorate angular cli when creating workspaces powered by Angular CLI 2020-06-10 13:30:43 -04:00
Victor Savkin
e5f8ac28d7 fix(core): set NX_CLI_SET when running any command 2020-06-09 13:39:55 -04:00
Victor Savkin
4224ab9731 fix(core): hash package.json files from node_modules more selectively
They can be updated by other tools
2020-06-09 13:39:55 -04:00
Victor Savkin
5d6cd1aefc fix(angular): fix decorate-angular-cli script to path index file 2020-06-09 09:17:23 -04:00
Victor Savkin
d84a2bd075 fix(repo): misc fixes to stabilize e2e tests 2020-06-08 17:11:18 -04:00
Victor Savkin
acf92e4e2b fix(core): handle empty list of cacheable targets 2020-06-08 11:25:04 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Jason Jean
014dc4931d
fix(core): fix 9.4 lint migrations (#3126) 2020-06-06 14:51:00 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Rares Matei
6384bde734
feat(core): load root .env in all nx processes (#3081)
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>

Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2020-06-05 14:49:10 -04:00
Jonathan Cammisuli
3a4a3bea13
fix(core): use typescript module resolution for linting (#3075)
* fix(core): use typescript module resolution only for linting

* fix(core): fix unit tests

* fix(core): pass npm scope to target project locator for fallback

* chore(core): move comment about npmscope
2020-06-05 11:11:17 -04:00
Victor Savkin
260f73a338 feat(angular): add a script to warn when ng is used instead of nx 2020-06-04 21:05:01 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Victor Savkin
2c96d7a137
feat(misc): improve the ux of the run-commands builder (#3092) 2020-06-02 10:25:44 -04:00
Victor Savkin
606ad29b93 feat(core): support other targets but build that require strict ordering 2020-05-30 00:06:03 -04:00
Victor Savkin
b8a71420ef fix(core): handle edge cases when a task process is killed 2020-05-29 23:32:17 -04:00
Brandon
6e79f255a0
fix(core): support --only-failed option with run-many command (#3054) 2020-05-29 17:26:43 -04:00
Jack Hsu
c2b8c22555
fix(linter): remove config builder option for @nrwl/linter:lint when using eslint (#3093)
- eslint automatically detects .eslintrc files already
- removing the config option also enables nested configs
- provide a migration to remove config as long as users didn't customize it
2020-05-29 16:30:32 -04:00
Jack Hsu
d593153a33
feat(react): refactored babel support so options are more easily customized (#3089)
This reverts commit 7679df22f5b90d085b5f32f2135d828036ee5aa7.
2020-05-29 02:09:47 -04:00
Victor Savkin
a6220f7b0a fix(core): handle passing arrays as arguments 2020-05-28 23:17:10 -04:00
Victor Savkin
48d953e4d7 feat(angular): add preserveAngularCLILayout option to ng-add 2020-05-28 20:07:32 -04:00
Victor Savkin
690be207be fix(misc): several misc fixes 2020-05-28 15:02:06 -04:00
Victor Savkin
d97d76090b feat(core): add an option to connect to free distributed caching 2020-05-28 14:35:18 -04:00
Victor Savkin
7679df22f5 Revert "feat(react): refactored babel support so options are more easily customized (#3058)"
This reverts commit 0e036272cbe156fe9750a2f2bc6498a08cf7f457.
2020-05-28 13:11:56 -04:00
Jack Hsu
0e036272cb
feat(react): refactored babel support so options are more easily customized (#3058) 2020-05-26 09:16:36 -04:00
Jonathan Cammisuli
b9fd69b161
fix(core): split namespace for library dependencies (#3073)
* fix(core): split namespace for library dependencies

npm deps have `npm:` included in their names, and we should not check that namespace when looking into the package.json

* fix(core): review changes
2020-05-25 14:40:01 -04:00
Benedikt D Valdez
dbda2b8904
feat(core): generate static website with dep-graph --file=foldername.html (#3049)
* feat(core): generate static website with dep-graph --file=dep-graph.html

ISSUES CLOSED: #3048, #2005

* fix(core): only allow .json and .html extensions in dep-graph file arg

# Conflicts:
#	packages/workspace/src/command-line/dep-graph.ts
2020-05-25 13:46:14 -04:00
Ryan Hutchison
b5025ef316
fix(core): fix module resolution in project locator (#2941)
On windows, there is a bug in project module resolution, cause by path separator.  TypeScript resolveModuleName will always return a posix normalized path, so our appRootPath needs to be normalized for string replacement.

I came across the issue when trying to run dep-graph, but other areas (ex: affected:*) which rely on TargetProjectLocator are going to be impacted.
2020-05-24 15:20:55 -04:00
Jo Hanna Pearce
260583622e
feat(core): add nx cloud to the new workspace readme (#2945) 2020-05-24 14:58:48 -04:00
Jason Jean
bdbd12de69
feat(core): throw an error when projects have conflicting names (#2997) 2020-05-23 12:11:52 -04:00