Jack Hsu
0a2f7fd78a
feat(react): add redux schematic ( #1761 )
2019-08-28 08:25:34 -04:00
Jack Hsu
d222ef04fe
fix(react): set configPath for @babel/preset-env to match project context ( #1758 )
2019-08-27 13:06:36 -04:00
Victor Savkin
64063f72df
docs(nx): update api docs to contain examples
2019-08-21 11:56:21 -04:00
Victor Savkin
3bf8818def
fix(react): fix invalid version o @types/react-dom
2019-08-17 12:36:40 -04:00
Jack Hsu
e93064a758
fix(react): fix eslint config so it does not override module boundaries from parent. ( #1733 )
2019-08-16 13:11:22 -04:00
Jack Hsu
f4d83548f3
feat(react): add aliases for common React commands ( #1732 )
2019-08-16 13:01:57 -04:00
Jack Hsu
fa7c9a7c7f
feat(react): add --directory option for React components ( #1729 )
...
Also adds alias support to tao cli.
Closes #1702
2019-08-16 09:22:15 -04:00
Victor Savkin
01f1c8145b
fix(react): add missing dependencies to react package.json
2019-08-14 10:43:31 -04:00
Jack Hsu
13e7b69c5a
feat(react): add react-specific eslint configuration ( #1727 )
2019-08-15 13:01:22 -04:00
Mehrad Rafigh
ff1de5b7f0
build(nx): update dependencies ( #1711 )
...
* build(nx): update husky and conventional-changelog-cli to latest version
* build(nx): update react and react-dom
update react and react-dom to 16.9.0
update @types/react to 16.9.1
* build(nx): update graphviz to 0.0.9
* build(nx): update express 4.17.1 and @types/express to 4.17.0
* build(nx): update cypress to 3.4.1
2019-08-15 11:21:33 -04:00
Jack Hsu
a9a1f669d7
feat(react): update workspace defaults based on app schematic option ( #1726 )
...
The defaults make it easier to generate other apps/libs/components later.
An option `skipWorkspaceJson` can be used to skip updates entirely.
2019-08-14 23:21:44 -04:00
Jack Hsu
5b6da28b71
fix(react): validate style value before proceeding with app/lib/component generate ( #1725 )
2019-08-14 21:18:17 -04:00
Jack Hsu
a2fbc47c13
feat(react): improve lib schematic by replacing parentRoute with appProject option
...
- Instead of providing full path to app component, just pass the project's name.
- Updates both app.tsx and main.tsx so user no longer need to do any maual updates.
2019-08-14 18:10:51 -04:00
Victor Savkin
96d0203b1e
fix(react): add tsx files to includes to fix the linter
2019-08-14 11:58:19 -04:00
Victor Savkin
53027b4635
refactor(nx): do not ask for directory when creating apps and libs
2019-08-13 21:13:46 -04:00
Jason Jean
aecdd2bc4c
fix(angular): use build-angular for linting
2019-08-09 11:15:40 -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
Jack Hsu
790f1748d2
fix(react): add missing polyfills for apps using babel.
...
Closes #1668
2019-07-30 02:47:47 -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
Jason Jean
2188077e13
fix(frontend): fix react testing library migration ( #1637 )
2019-07-26 09:01:59 -04:00
Victor Savkin
1b2eaf81fe
fix(nx): minor fixes
2019-07-25 20:21:04 -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
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
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
Jack Hsu
0b010dbb52
fix(react): fix version of @types/react-dom to latest ( #1610 )
2019-07-23 10:04:10 -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
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
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
7640598239
feat(nx): remove prompt asking for tags and for unit and e2e test runners
2019-06-26 08:22:25 -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
cf37c8ec31
feat(nx): add prompts for routing configuration
2019-06-05 11:33:04 -04:00
Jason Jean
7a161ae6b4
chore(nx): update angular devkit to 8.0.1
2019-06-04 11:22:12 -04:00
Jack Hsu
57fe219c03
feat(react): add routing support to react app, lib, and component schematics
...
* `--routing` for app, lib, component generates component with default
`<Route>` and `<Link>`
* `--parentRoute` for feature lib adds its routes to the specified
component (by path)
2019-05-31 12:54:57 -04:00
Jason Jean
2cd4a72fe7
feat(nx): update to angular 8
2019-05-29 11:57:54 -04:00
Jason Jean
678750b98f
fix(nx): set generated app to default app if none is set
2019-05-28 12:11:22 -04:00
Jason Jean
df23cba0e1
feat(nx): target es2015 by default for all applications
2019-05-27 10:19:47 -04:00
Jason Jean
2958f503f7
fix(frontend): fix react component for apps
2019-05-27 10:16:32 -04:00
Jason Jean
4ead996320
fix(frontend): fix react style ( #1391 )
2019-05-25 01:07:33 -04:00
Jack Hsu
0923dab318
feat(react): adds and updates React schematics with more options
...
- Added component schematic that adds to existing project.
* Supports CSS-in-JS styles, functional components, etc.
- Lib and app schematics now support new style, funtional components options (same as component)
2019-05-22 17:06:46 -04:00
Jason Jean
416ba048ea
feat(nx): update angular to v8-rc.4
2019-05-21 12:11:38 -04:00
Victor Savkin
f007ca9d17
fix(nx): make distribution ivy-friendly
2019-05-21 11:51:40 -04:00
Jason Jean
a5351c9d36
feat(nx): set default collection on ngadd
2019-05-21 09:01:29 -04:00
Jason Jean
ff729156b3
fix(nx): extend @nrwl/workspace collection and cleanup inconsistencies
2019-05-17 19:56:26 -04:00
Jason Jean
b6170bdb17
feat(nx): update angular to v8 ( #1334 )
...
feat(nx): update angular to v8
2019-05-10 12:09:47 -04:00