6116 Commits

Author SHA1 Message Date
Victor Savkin
f0d9bc8cd2 fix(nx): reporters defined in jest.config.js aren't used 2019-08-07 14:04:10 -04:00
Victor Savkin
c07e322370 fix(nx): running affected commands in parallel does not terminate on azure 2019-08-07 14:04:10 -04:00
Victor Savkin
81e8d5b8a9 docs(backend): update the docs to describe the special behavior of port:0 2019-08-07 14:04:10 -04:00
mehrad-rafigh
2d9b604746 fix(nx): run nx command in generated workspace
Fixes #1647
2019-08-07 10:35:59 -04:00
Victor Savkin
6644cb7a24 fix(nx): fix util used in the old migrator 2019-08-01 19:52:12 -04:00
Victor Savkin
5074b82bb2 fix(nx): fix style selection on windows 2019-08-06 15:12:36 -04:00
Victor Savkin
166a21a27b fix(nx): remove invalid peer dependency 2019-08-06 15:12:36 -04:00
Victor Savkin
61194ab171 fix(nx): add a direct dependency on chalk 2019-08-06 15:12:36 -04:00
Victor Savkin
238236a468 fix(nx): 8.0.0 schematic expected workspace.json 2019-08-06 15:12:36 -04:00
Bucky Maler
07d963befd fix(nx): npm scripts documentation generation
Before, a single instance of yargs was accumulating options, so commands parsed later would have options from prior commands. That's because all yargs options are global by default. Now, a new instance of yargs is required before each command is parsed, so global options aren't accumulated.

fixes #1567
2019-08-06 14:27:31 -04:00
Sven Röttering
ec9ed17c9e fix(jest): change reporters option to array type
Jest expects the reporters option to be an array of strings.
2019-08-06 11:28:38 -04:00
Victor Savkin
bb858e4db9 feat(nx): add full stack preset for react/express 2019-08-01 13:26:27 -04:00
Adam Vigneaux
8c7c0b7721 fix(nx): rename browserlist file to browserslist (#1654)
According to [the Browserslist docs](https://github.com/browserslist/browserslist#queries),
the file should be named `browserslist`. The previous name had a missing
"s" in the middle.

I do not know how `browserslist` is integrated in Nx and the Angular
CLI, but it is possible that the configuration file was being ignored
entirely due to this naming error. When the `browserslist` CLI does not
find a configuration file, it uses a sensible default configuration, so
it would not be obvious that the configuration file was ignored.
2019-08-01 11:01:50 -04:00
Victor Savkin
d3dc2f4647 fix(nx): global cli warning false positives 2019-07-30 03:41:13 -04:00
Jack Hsu
790f1748d2 fix(react): add missing polyfills for apps using babel.
Closes #1668
2019-07-30 02:47:47 -04:00
Victor Savkin
fbb3dc63fa fix(nx): set the default linter in presets 2019-07-30 02:33:27 -04:00
James Henry
448233bc5c feat(nx): add eslint support 2019-07-31 17:05:56 -04:00
Jack Hsu
bc336b6749 fix(react): fix a typo in component schematic prompt 2019-07-30 10:55:54 -04:00
Victor Savkin
192a6a083d feat(nx): misc ux improvements 2019-07-29 09:23:51 -04:00
Victor Savkin
6fd181f348 feat(nx): improve the dev ergonomics of create-nx-workspace 2019-07-27 14:38:13 -04:00
mehrad-rafigh
6d6cbf8b0f fix(nx): use correct schematic for angular components
Fixes #1617
2019-07-27 14:36:40 -04:00
Jason Jean
2188077e13
fix(frontend): fix react testing library migration (#1637) 2019-07-26 09:01:59 -04:00
Jason Jean
df0e00d0dd
feat(backend): improve webpack output for node applications (#1634) 2019-07-26 09:01:49 -04:00
Jason Jean
89b522d2bc
fix(frontend): add style tag to head in html output (#1638)
fix #1623
2019-07-26 09:01:38 -04:00
Victor Savkin
1b2eaf81fe fix(nx): minor fixes 2019-07-25 20:21:04 -04:00
Jason Jean
1af0f5068e fix(nx): fix npm lint command 2019-07-25 19:42:27 -04:00
Victor Savkin
2793b6fb26 feat(nx): misc improvements 2019-07-25 15:40:46 -04:00
Jason Jean
f04d1aa937 fix(nx): remove console.log from update tasks in migrations 2019-07-25 15:39:10 -04:00
Jack Hsu
776a185d65
feat(react): adds default babel-loader support for react apps (#1631) 2019-07-25 15:33:26 -04:00
Victor Savkin
563559962b fix(nx): rename lint package into linter 2019-07-25 04:46:23 -04:00
Victor Savkin
8fc5c4cae6 feat(nx): add a generic lint package that works with eslint and tslint 2019-07-25 08:34:05 -04:00
Jack Hsu
b344e0e63c
feat(react): updates generated React app (#1622) 2019-07-24 18:50:04 -04:00
Maciej Kuster
3ec2bb2a0b fix(nx): Keeping original order of dependencies when adding new one (#1598) 2019-07-24 12:45:11 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Jack Hsu
44f1917594
feat(react): updates @types/react-dom to 16.8.5 (#1618) 2019-07-24 09:13:46 -04:00
Jason Jean
25bb527515 fix(frontend): fix es5 compilation for differential loading 2019-07-23 19:39:24 -04:00
Jason Jean
610b4281b8 fix(frontend): fix peer dependency warning errors 2019-07-23 19:39:09 -04:00
Jason Jean
14d8280748 enhancement(nx): improve webpack output 2019-07-23 19:38:41 -04:00
Jack Hsu
0b010dbb52
fix(react): fix version of @types/react-dom to latest (#1610) 2019-07-23 10:04:10 -04:00
Victor Savkin
4022fe80d5 fix(nx): create-nx-workspace cannot depend on typescript 2019-07-15 22:23:00 -04:00
James Henry
8271c7650e chore(workspace): improved logging design and consistency 2019-07-22 20:05:07 -04:00
Victor Savkin
2c81cc02ed chore(nx): update cypress to 3.4 (#1605) 2019-07-22 13:40:28 -04:00
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
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