804 Commits

Author SHA1 Message Date
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
Bram Borggreve
693544f07e fix(core): make sure remove schematic respects gitignore 2020-05-21 16:31:08 +01:00
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -04:00
Isaac Mann
ba86bbd51b
docs(core): add docs about .nxignore (#3013)
* docs(core): add docs about .nxignore

* docs(docs): change backticks to quotes

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2020-05-15 16:17:39 -04:00
Victor Savkin
10282bbcc9
feat(core): include node_modules into the computation hash key (#2993) 2020-05-13 10:38:12 -04:00
Devin Shoemaker
0a70e46b6b
cleanup(core): export setDefaultCollection from @nrwl/workspace (#2970) 2020-05-09 12:12:40 -04:00
Adam L Barrett
515cc37ec6
Use local-registry for E2E tests (#2821) 2020-05-09 12:05:17 -04:00
Philip Fulcher
06c35fa71d
fix(core): fix directory grouping on dep-graph (#2972) 2020-05-08 13:55:02 -04:00
Jonathan Cammisuli
4095d21d20
feat(core): add npm dependencies to package.json for publishable libs (#2879) 2020-05-08 13:54:00 -04:00
Michael Kriese
69faaed32d
fix(core): fix path for secondary entrypoints (#2498)
Related to #1765
2020-05-06 10:40:17 -05:00
Brandon
5eca6d5187
feat(angular): update NgRx libraries to 9.1.0 (#2929)
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2020-05-05 19:16:18 -04:00
Jason Jean
c4e33123fd
feat(core): add hash details to the task object (#2943) 2020-04-30 11:17:48 -04:00
James Spivey
5cd5b7da86
fix(core): change chunkify length to 50 to prevent windows crashes (#2913)
Issue 2362 requests a length of 50 as 70 was still causing issues
this pr addresses that by reducing
the length to 50

ISSUES CLOSED: #2362
2020-04-29 01:11:04 -04:00
Jason Jean
e06822da7e
chore(repo): update prettier to v2 (#2934)
this is just for the repo, and not the workspace

Co-authored-by: Rares Matei <matei.rar@gmail.com>
2020-04-29 01:09:37 -04:00
Rares Matei
9b585cb3b8
feat(core): update prettier to 2.0.4 (#2885) 2020-04-28 23:10:10 -04:00
Juri Strumpflohner
c9cac2d57a
fix(react): pass linter option properly to storybook cypress setup (#2903)
* fix(react): pass linter option to cypress storybook setup

* fix(react): add storybook linter defaults
2020-04-28 20:28:54 -04:00
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics (#2831) 2020-04-27 18:47:23 +02:00
James Gibson
73d0312be2
feat(core): adds deselect all button to dep-graph (#2912)
Closes #2911

ISSUES CLOSED: 2911
2020-04-24 14:47:28 -04:00
Jason Jean
3bdcc0b012
fix(core): rework where tmp tsconfigs are generated (#2805) 2020-04-16 14:30:49 -04:00
Nathan Walker
a06c256f04
fix(core): file-utils workspaceFileName now returns proper file… (#2811)
closes https://github.com/nrwl/nx/issues/2253
2020-04-11 21:51:44 +02:00
Jack Hsu
36e1d40784
feat(nextjs): support building and serving production server (#2792) 2020-04-04 14:57:08 -04:00
James Henry
97c607a638
fix(core): runtime support for outputPath array on run-commands builder (#2807) 2020-04-04 14:00:26 -04:00
Jason Jean
4e4bd6d764
fix(misc): skip jest and cypress configuration when generating… (#2743) 2020-04-02 12:49:55 -04:00
Jason Jean
efae1694cc
cleanup(misc): refactor how installs are added during schematics (#2788) 2020-04-02 12:41:08 -04:00
Jason Jean
f5c9651e06
fix(core): return single level roots as is without slicing (#2789) 2020-04-02 10:47:06 -04:00