8697 Commits

Author SHA1 Message Date
Wes Grimes
e29f37ef22 fix(testing): disable collectCoverage by default (#1586)
* fix(testing): disable collectCoverage by default

Disabling collectCoverage by default as this causes issues with latest version of Jest

Temp fix #1531

* Adding back code coverage reporters

* feat(nx): add migration to update collectCoverage to false in jest.config.js

Added new migration script to update jest.config.js collectCoverage property to false

* refactor(nx): move migrations to @nrwl/jest

Move the collectCoverage migration to the jest package

* chore: refactor to use AST utils
2019-07-22 13:40:11 -04:00
Jason Jean
98e5bbc100 fix(frontend): fix ngrx migration requiring angular cli 8.1 2019-07-19 15:23:44 -04:00
Victor Savkin
297eca023a refactor(nx): simplify the cli script 2019-07-19 14:54:05 -04:00
Victor Savkin
d0bdb75253 fix(nx): add @nrwl/workspace to the packageGroup list 2019-07-19 14:54:05 -04:00
Brandon Roberts
4f7ec84741 feat(nx): add migration to update Angular CLI devDependencies to 8.1.x
Angular CLI 8.1.x is required in order to use the --allow-dirty option.
This also covers the additional build dependencies added when generating
libraries.
2019-07-18 18:32:44 -04:00
Victor Savkin
16a4e8d1f2 build(nx): parallelize ci job 2019-07-18 18:32:19 -04:00
Brandon Roberts
6516176b65 feat(nx): update to NgRx 8 and add schematics support for creators and entities
Move addUpdateTask util function to @nrwl/workspace to run updates from @nrwl/angular migrations
Run update migration to latest version for NgRx if installed
2019-07-17 14:42:54 -04:00
Brandon Roberts
93aac33b79 docs(nx): update description of Nx in schematics, and frontend links
The schematics for React and Angular still refer to Angular CLI power-ups.
This also links the generated schematic for an Angular or React application
to their framework-specific pages.
2019-07-17 14:39:43 -04:00
Jack Hsu
a07f019ca1
feat(react): move BrowserRouter to main.tsx for routing (#1588)
Close #1558
2019-07-16 23:30:06 -04:00
Jack Hsu
b3bea39892
feat(react): updates libraries for React to newest versions (#1584) 2019-07-16 22:19:42 -04:00
Jason Jean
93c000d96c fix(nx): fix assets option object input 2019-07-16 21:22:34 -04:00
Victor Savkin
f1f0663383 build(nx): clean up build scripts 2019-07-13 18:33:11 -04:00
Victor Savkin
c16f250136 feat(nx): implement global nx cli to remove the need to use yarn nx 2019-07-10 17:53:47 -04:00
Victor Savkin
518d91d0ad docs(nx): update readme 2019-07-10 17:47:43 -04:00
Jason Jean
3495e940f7 fix(nx): fix lint exclusion for workspace libs 2019-07-10 17:18:28 -04:00
Victor Savkin
e51c7a4069 cleanup(nx): clean up scripts and e2e tests 2019-07-08 20:44:28 -04:00
Bucky Maler
1f5f0c2933 feat(testing): add findRelatedTests option to jest builder
closes #1527
2019-07-08 20:01:28 -04:00
Thomas
83311ae3fb fix(nx): fix typo in nx and cli documentation 2019-07-08 20:00:25 -04:00
Juri
82ee4f10ba fix(workspace): delegate to local ng script to allow customization 2019-07-08 19:59:35 -04:00
Thomas
429e25b07d docs(nx): fix wrong command for express app in documentation (#1556) 2019-07-08 12:29:08 -05:00
Victor Savkin
7b00b920aa feat(nx): delegate to cli when command is not recognized 2019-07-07 21:48:56 -04:00
Sven Röttering
dc556bd377 feat(testing): adding jest option testPathPattern
IntelliJ Idea passes this option to jest when running tests directly in the IDE.
2019-07-07 19:03:45 -04:00
João Dias
055e8bc7b3 fix(cypress): return a non 0 exit status on failures 2019-07-07 19:02:52 -04:00
Bucky Maler
83c15590d3 fix(nx): make target a required option when running affected npm script 2019-07-07 18:53:15 -04:00
Terry
4297aefc71 fix(frontend): remove unused double dashes to avoid yarn's warning 2019-07-03 19:15:13 -04:00
MSakamaki
df77d6c5e8 fix(nx): review correction #1530 2019-07-03 19:12:17 -04:00
MSakamaki
d80c3810cf fix(nx): fix migration of angular.json for with no architect property 2019-07-03 19:12:17 -04:00
Kristof Degrave
9278a8e4db fix(nx): fixed path to $schema in ng-package.json
The ng-package.json in a library had the $schema generate by the angular cli. This pointed to the ../node_modules by default, instead of  an offset to the project root. This is fixed in this commit.
2019-07-03 19:11:35 -04:00
Jason Jean
7a95983169 docs(nx): add docs for updating nx 2019-07-03 19:00:23 -04:00
Brian Martin
7a7ab9f231 feat(testing): adding jest options for colors, reporters, verbose, coverage, coverageReporters, and 2019-07-03 18:58:05 -04:00
Brandon
e88babaf78 docs(nx): update contributing guide with latest instructions (#1529) 2019-06-28 11:21:52 -04:00
Victor Savkin
c16ef6339f Release 8.2.0 2019-06-27 16:34:32 -04:00
Jason Jean
889d13f3aa enhancement(testing): do not bundle node_modules for cypress files 2019-06-27 16:31:55 -04:00
Jason Jean
3b699dacef fix(testing): fix cypress 8.2 for windows 2019-06-27 10:28:26 -04:00
Victor Savkin
7640598239 feat(nx): remove prompt asking for tags and for unit and e2e test runners 2019-06-26 08:22:25 -04:00
Victor Savkin
e720dde7ae fix(nx): replace app-root-path with a custom function to fix tslint in vscode 2019-06-25 13:11:04 -04:00
Victor Savkin
ccd5854a98 docs(nx): update docs for web components and react 2019-06-25 13:09:33 -04:00
Jason Jean
6dd7353636 feat(testing): rework how typescript is loaded into cypress 2019-06-24 12:12:06 -04:00
Sebastián Guevara
3aa7500546 docs(nx): add a guide on using lazy loading 2019-06-21 18:29:47 -04:00
Jason Jean
c79d4371ca fix(nx): add rootDir field when using ng add @nrwl/workspace 2019-06-21 18:15:01 -04:00
Victor Savkin
815a3b5595 feat(nx): add a warning about using --all flag 2019-06-21 13:32:32 -04:00
Victor Savkin
5b4127eb8f feat(docs): scope docs 2019-06-19 17:13:32 -04:00
Marko Binic
9e15f4a7f5 feat(nx): detect package manager in workspace-schematic
workspace-schematic now tries to detect the right package manager using Angular CLI config and can
identify pnpm from lock file.
2019-06-15 19:25:28 -04:00
Marko Binic
26903c04e2 feat(nx): when creating a nx workspace try to use the same package manager as Angular CLI
create-nx-workspace now prefers to use the package manager configured in global angular.json.
2019-06-15 19:25:28 -04:00
Zachary Williams
bf624b7e67 fix(nx): wrap files inputted to prettier in quotes
Files that contained parentheses caused 'yarn format' to fail unless the files passed to the
prettier cli are wrapped in quotes

fix #1473
2019-06-15 19:16:32 -04:00
Jason Jean
1af94ad3ea fix(nx): use fork so max_old_space_size is passed through 2019-06-15 19:16:14 -04:00
Victor Savkin
da352baf20 fix(workspace): typo in schematic description 2019-06-15 19:15:40 -04:00
ben
b98a6f5cfa chore(doc): update video link 2019-06-15 19:15:23 -04:00
Jason Jean
2f27cc2156 feat(nx): exclude files from outside the project root when linting 2019-06-15 19:10:41 -04:00
Jason Jean
1748ac9e9c fix(nx): handle reading json with comments 2019-06-15 18:35:18 -04:00