647 Commits

Author SHA1 Message Date
Jack Hsu
1b34bd791c
fix(react): add styled-jsx type definitions for React libs (#3221) 2020-06-23 09:15:10 -04:00
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
0ab2fc7875
fix(repo): register local collections for unit tests (#3207) 2020-06-20 03:01:03 -04:00
Victor Savkin
1e593a2b07 fix(misc): minor format changes in readmes 2020-06-15 10:27:07 -04:00
Victor Savkin
0111d87575 feat(repo): have separate readmes for all plugins 2020-06-14 23:33:05 -04:00
Noriyuki Shinpuku
6314e24450
fix(react): fix .browserslistrc template file name (#3167)
ISSUES CLOSED: #3166
2020-06-13 00:10:58 -04:00
Adam L Barrett
2700cb7596
feat(react): make React schematics use babel-jest by default (#3154)
* feat(react): make React schematics use babel-jest by default

The babelJest option was removed from the React application
and library schematics and set to true by default

ISSUES CLOSED: 2365

* feat(react): remove babelJest option test
2020-06-11 16:26:23 -04:00
Adam L Barrett
d17d437078
feat(react): add jsx-no-useless-fragment warning to lint rules (#3159)
ISSUES CLOSED: #2432
2020-06-11 14:43:22 -04:00
Adam L Barrett
88a8b7cbd0
fix(react): add React dependencies to package.json when adding a library (#3146)
ISSUES CLOSED: #2188
2020-06-09 22:58:41 -04:00
Victor Savkin
e71ceba4ce feat(repo): run e2e tests using nx 2020-06-07 23:31:38 -04:00
Jason Jean
539c65c0be
fix(react): add emotion babel preset during migration (#3127) 2020-06-06 20:58:48 -04:00
Jason Jean
53f7ec3945
fix(react): remove console.log (#3124) 2020-06-05 21:52:05 -04:00
Rares Matei
5a59f090fe
fix(linter): fix exclude pattern for tslint and eslint schematics (#3113) 2020-06-05 16:04:53 -04:00
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -04:00
Juri Strumpflohner
e7297f58af
feat(react): copy README when building libraries (#3091) 2020-05-29 15:20:09 -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
Noriyuki Shinpuku
0f2135958d
feat(react): change browserslist file name into .browserslistrc (#2894)
ISSUES CLOSED: #2893
2020-05-28 20:33:58 -04:00
Victor Savkin
690be207be fix(misc): several misc fixes 2020-05-28 15:02:06 -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
Victor Savkin
a95cba3144 feat(core): support different workspace layouts 2020-05-17 16:39:14 -04:00
Juri Strumpflohner
e43229a28c
fix(storybook): windows path mapping (#2995)
uses join from angular-devkit/core to accomodate for Windows paths
2020-05-12 18:12:44 -04:00
Devin Shoemaker
0a70e46b6b
cleanup(core): export setDefaultCollection from @nrwl/workspace (#2970) 2020-05-09 12:12:40 -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
Juri Strumpflohner
c9cac2d57a
fix(react): pass linter option properly to storybook cypress setup (#2903)
* fix(react): pass linter option to cypress storybook setup

* fix(react): add storybook linter defaults
2020-04-28 20:28:54 -04:00
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics (#2831) 2020-04-27 18:47:23 +02:00
Jonathan Cammisuli
b4fc65cdf8
fix(react): do not include package.json in libs without publishable flag (#2896) 2020-04-27 10:09:56 -04:00
Jo Hanna Pearce
54d06f0fc9
feat(react): upgrade redux toolkit version and generated slice code (#2835) 2020-04-17 11:42:08 -04:00
Jack Hsu
c993957bbf
fix(react): add styled-components babel plugin only if it will not conflict with emotion (#2863)
Closes #2845
2020-04-16 14:03:22 -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
Juri Strumpflohner
d9baf7daba
docs: add link to nxcloud when generating a new react/angular a… (#2819)
* docs(angular): add link to nxcloud in generated app

* docs(react): add link to nxcloud in generated app
2020-04-11 22:13:00 +02:00
Jason Jean
4e4bd6d764
fix(misc): skip jest and cypress configuration when generating… (#2743) 2020-04-02 12:49:55 -04:00
Brandon Roberts
49d8ce1297 feat(angular): update Angular libraries to version 9.1.0 2020-03-31 11:25:30 -04:00
Jo Hanna Pearce
9ad9b2eb34
feat(testing): add option to use babel-jest rather than ts-jest (#2722) 2020-03-30 07:15:33 -04:00
Jason Jean
09c4654ae9 fix(misc): add formatting to all migrations 2020-03-29 11:30:59 -04:00
Jason Jean
aeb0bdcb4e feat(core): enable caching by default 2020-03-26 17:14:17 -04:00
Jack Hsu
975bd49af0
fix(react): change default browserslist so IE11 is support (via "not dead" query) (#2718)
Closes #2209
2020-03-24 21:34:55 -04:00
czaplej#26
edbadee252
feat(react): update styled-components (#2663)
`update to 5.0.1`
2020-03-24 16:08:38 -04:00
Michael Lancaster
2d02777c9a feat(core): add web:build support for environment variables 2020-03-23 16:26:11 +00:00
Victor Savkin
2c42431130 feat(core): rewrite path mappings when buildings apps 2020-03-19 21:41:03 -04:00
Jack Hsu
122af4fff3 fix(react): fix rollup options extension to be compatible with output arrays 2020-03-04 14:27:17 -05:00
Jack Hsu
5cdf3728da
feat(react): adds styled-components and emotion plugins for react apps so SSR works correctly. (#2605)
Closes #2119
2020-03-04 11:27:22 -05: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
Rares Matei
fd29f8ec7e
fix(react): pascalCaseFiles option not working (#2554)
ISSUES CLOSED: #2488
2020-02-28 16:37:04 -05:00
Mathias Remshardt
7aaa09bfff
cleanup(node): moves some schematic helper to shared workspace rules 2020-02-26 20:19:17 -05:00
Jack Hsu
a433035eca
chore(react): update web/react dependencies and clean up npm warnings (#2547) 2020-02-25 11:03:58 -05:00
Jack Hsu
df4004cd0e
fix(nextjs): fix SVG import for generated Next app (#2545) 2020-02-24 10:13:13 -05:00
Victor Savkin
49168c10e3
feat(react): rework react buildable libraries to read deps from dist (#2513) 2020-02-20 11:00:13 -05:00
Juri
7723e941c0 docs(core): adjusts description on library schematics
right now "where the app is placed" is displayed which might be confusing given we generate a
library
2020-02-20 08:26:28 -05:00
Jason Jean
e5db43f92b fix(misc): loosen dependencies for angular dependencies 2020-02-16 09:59:11 -05:00