782 Commits

Author SHA1 Message Date
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
df7ff8cbae
feat(react): add better support for file and image imports (#2245) 2019-12-30 13:36:44 -05:00
Jack Hsu
ef995fdabe feat(react): add SVG and SVGR support for React apps 2019-12-28 11:06:45 -05:00
Jack Hsu
ed629114ce
chore(react): update React-related libs (#2235) 2019-12-23 11:32:18 -05:00
Victor Savkin
f816fc424d Revert "feat(core): update to next version of angular deps"
This reverts commit bd230e0530e690b2ae7896a876510f62002943c8.
2019-12-10 08:07:26 -05:00
Jason Jean
bd230e0530 feat(core): update to next version of angular deps 2019-12-08 16:16:33 -05:00
Jonathan Cammisuli
445e794f83 fix(react): file name and style are properly shown when creating a new react app
fix #2049
2019-12-04 11:20:45 -05:00
Jack Hsu
4a3aa1f0fb
chore(react): update React-related libs (#2089) 2019-11-25 15:49:39 -05:00
Brandon
8812ce1fe2
chore(nx): bump dependencies on Angular, Angular DevKit, and NgRx (#2002) 2019-11-07 13:57:36 -06:00
Isaac Mann
8b8d30eff1 chore(nx): storybook schematics for react 2019-11-03 16:57:00 -05:00
Victor Savkin
7109577efb fix(nx): simplify migrations by always updating all first-party plugins 2019-10-22 21:05:45 -04: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
Jack Hsu
a524b2e947 feat(react): add publishable library support
Issue #1521
2019-10-02 16:26:20 -04:00
ben
047fb3200c docs(nx): add nx video course links 2019-09-26 09:23:34 -04:00
Mehrad Rafigh
e6b07e282c fix(nx): use same prettier version (#1869) 2019-09-23 11:24:13 +01:00
Jack Hsu
3cc01b9155
fix(react): add react preset right after env (#1817) 2019-09-10 07:05:18 -04:00
Jack Hsu
bfd77db9eb
feat(react): updates RSK to 0.7 (#1814) 2019-09-09 22:08:40 -04:00
Brandon Roberts
cf147cf405 chore(nx): bump Angular CLI deps to 8.3.3 2019-09-09 14:08:05 -04:00
Victor Savkin
09a94b8958 feat(nx): implement next support 2019-09-08 14:36:30 -04:00
Brandon Roberts
0491ccc5b2 feat(nx): update to Angular 8.2, Devkit 8.3, and NgRx 8.3
Incorporates fix from https://github.com/angular/angular-cli/pull/15041
which changed the behavior of registering schematic defaults
2019-09-07 16:28:07 -04:00
Jack Hsu
811c50b92c feat(web): use babel-loader instead of ts-loader for web build builder
- removes the `differentialLoading` build option
- differential loading is always enabled for prod builds

BEFORE (without ESM):

Benchmark #1: nx build demo --prod
  Time (mean ± σ):     13.834 s ±  1.731 s    [User: 11.817 s, System: 1.352 s]
  Range (min … max):   11.947 s … 16.015 s    10 runs

AFTER (with ESM):

Benchmark #1: nx build demo --prod
  Time (mean ± σ):     18.711 s ±  1.310 s    [User: 12.172 s, System: 1.394 s]
  Range (min … max):   17.232 s … 20.770 s    10 runs
2019-09-05 15:34:01 -04:00
Jack Hsu
7cff67c7e9
fix(react): extend configureStore correctly when adding additional slices (#1769) 2019-08-30 10:30:02 -04:00
ben
a83f47abf3 feat(frontend): update home screens 2019-08-29 16:47:02 -04:00
Jack Hsu
989e5667e0
feat(react): add react-router-dom types (#1762)
Closes #1557
2019-08-28 08:58:35 -04:00
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