25 Commits

Author SHA1 Message Date
Jack Hsu
40f9180eba
feat(react): add styled-jsx support for apps, libs, and components (#3204) 2020-06-22 20:41:57 -04:00
Jason Jean
53f7ec3945
fix(react): remove console.log (#3124) 2020-06-05 21:52:05 -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
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
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
Jack Hsu
82088560c4
feat(nextjs): add page and component schematics to Next (#2810)
* `directory` option for react components will override default lib/app path as well
2020-04-14 22:17:38 -04:00
Rares Matei
d37fc66bc7
feat(react): add option to stop generation of components or styles (#2568)
ISSUES CLOSED: 2184
2020-03-03 14:44:10 -05:00
Jack Hsu
f58e6d3d78 feat(react): add --flat option for component schematic to add file at the source root 2020-01-05 16:37:26 -05:00
Jack Hsu
fd47229764
feat(react): add option to generate js files instead of ts files (#2247) 2020-01-02 15:56:14 -05:00
Jack Hsu
4a3aa1f0fb
chore(react): update React-related libs (#2089) 2019-11-25 15:49:39 -05:00
Jack Hsu
3a191dd30c
chore(react): update React-related libs (#1950) 2019-10-17 08:53:03 -04:00
tyankatsu
c732fd2f21 refactor(react): upgrade @testing-library/react (#1905)
* refactor(react): upgrade @testing-library/react

@testing-library/react v.9 doesn't require clean()

close #1855

* chore(react): remove cleanup

* refactor(react): change testingLibraryVersion 8.0.5 to 9.2.0

* refactor(react): update spec
2019-10-15 08:59:32 -04:00
Mehrad Rafigh
e6b07e282c fix(nx): use same prettier version (#1869) 2019-09-23 11:24:13 +01:00
Jack Hsu
989e5667e0
feat(react): add react-router-dom types (#1762)
Closes #1557
2019-08-28 08:58:35 -04:00
Victor Savkin
64063f72df docs(nx): update api docs to contain examples 2019-08-21 11:56:21 -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
5b6da28b71
fix(react): validate style value before proceeding with app/lib/component generate (#1725) 2019-08-14 21:18:17 -04:00
Jack Hsu
bc336b6749 fix(react): fix a typo in component schematic prompt 2019-07-30 10:55:54 -04:00
Victor Savkin
2b646f8eb4 feat(nx): standalone version of nx 2019-07-24 10:27:47 -04:00
Jack Hsu
b3bea39892
feat(react): updates libraries for React to newest versions (#1584) 2019-07-16 22:19:42 -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
2958f503f7 fix(frontend): fix react component for apps 2019-05-27 10:16:32 -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