6116 Commits

Author SHA1 Message Date
Victor Savkin
c228ea6848 feat(repo): add detailed instructions on how to publish to local registry 2020-06-10 11:33:41 -04:00
Victor Savkin
11e57ea2cc feat(core): add a prompt asking to connect to free tier of Nx Cloud 2020-06-10 11:33:41 -04:00
Devin Shoemaker
3b142691c7
fix(testing): add Cypress ESLint plugin (#2977)
This fixes linting errors when using ESLint with a Cypress project that uses JavaScript.
2020-06-10 08:35:30 -04:00
Adam L Barrett
88a8b7cbd0
fix(react): add React dependencies to package.json when adding a library (#3146)
ISSUES CLOSED: #2188
2020-06-09 22:58:41 -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
539c65c0be
fix(react): add emotion babel preset during migration (#3127) 2020-06-06 20:58:48 -04:00
Jason Jean
014dc4931d
fix(core): fix 9.4 lint migrations (#3126) 2020-06-06 14:51:00 -04:00
Jason Jean
53f7ec3945
fix(react): remove console.log (#3124) 2020-06-05 21:52:05 -04:00
Jonathan Cammisuli
68ea2de29d
feat(nx-plugin): use package and e2e folder instead of libs and apps in create-nx-plugin command (#3120)
* feat(nx-plugin): use package and e2e folder instead of libs and apps in create-nx-plugin command

* feat(nx-plugin): remove console log
2020-06-05 21:51:53 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Devin Shoemaker
1f90080d67
fix(testing): fix generating cypress-project with no project specified (#2965) 2020-06-05 16:00:37 -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
bb7af3b95d fix(linter): fix broken unit test 2020-06-03 16:56:28 -04:00
Jo Hanna Pearce
319f7d0f26 feat(angular): add addModuleSpec flag to library schematic + refactor 2020-06-03 16:46:42 -04:00
Jack Hsu
43460cc7b7 feat(linter): add quiet option for eslint 2020-06-03 16:44:59 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Victor Savkin
2a3116f2e6 feat(misc): add an option not to update package.json files when building libs 2020-06-03 12:55:37 -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
Juri Strumpflohner
e7297f58af
feat(react): copy README when building libraries (#3091) 2020-05-29 15:20:09 -04:00
Daniel Ji
25432a6395
fix(react): exposed the crossOrigin option for web builder options (#2830)
ISSUES CLOSED: 2419

Co-authored-by: danielji <daniel.ji@innovid.com>
2020-05-29 11:04:08 -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
Noriyuki Shinpuku
0f2135958d
feat(react): change browserslist file name into .browserslistrc (#2894)
ISSUES CLOSED: #2893
2020-05-28 20:33:58 -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
Juri Strumpflohner
7f5f2277b0
feat(linter): adds maxWarnings to builder (#3071)
ISSUES CLOSED: #2762
2020-05-25 11:17:31 -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
Will S
3ecf6ea5a9
fix(testing): update maxWorkers jest builder option to support string type (#3025)
* fix(testing): update maxWorkers jest builder option to support string type

Jest supports both number and string args for the maxWorkers option, per their latest docs. This
updates the options for the jest builder to support both number and string types. Also updates the
docs accordingly.

ISSUES CLOSED: #2871

* fix(testing): fix test expectation missing property
2020-05-23 08:49:44 -04:00
Jack Hsu
bd5ca7d909
fix(nextjs): copy public folder to dist when building Next app (#3047)
Closes #3019
2020-05-22 15:56:15 -04:00
Bram Borggreve
693544f07e fix(core): make sure remove schematic respects gitignore 2020-05-21 16:31:08 +01:00
Rares Matei
9fba3355a9
fix(nextjs): fix path to migration file for nextjs dev server rename (#3046) 2020-05-21 09:57:11 -04:00
Rares Matei
f5181ba188
fix(nextjs): add migration for renaming next/dev-server to next/server in workspace.json (#3040)
ISSUES CLOSED: #3039
2020-05-20 17:59:50 -04:00