126 Commits

Author SHA1 Message Date
Jack Hsu
ec533c521d
feat(react): update packages (#9296) 2022-03-11 12:18:40 -05:00
Miroslav Jonaš
06ff832ea9
chore(react): fix version on eslint-plugin-react (#9121) 2022-02-25 17:25:06 +01:00
Katerina Skroumpelou
1abba90f4d
fix(react): get component name for self-closing elements as well (#8991)
ISSUES CLOSED: #8715
2022-02-16 09:07:37 -05:00
Philip Fulcher
9ba836bfda
feat(react): upgrade eslint-plugin-react-hooks to 4.3.0 2022-01-28 13:52:16 -05:00
Kirils L
4ce7c7aaa8
fix(react): update conflicting eslint plugin versions (#8376) 2022-01-06 19:03:38 +00:00
Jack Hsu
6d6f29439d
feat(testing): add --compiler=tsc|swc|babel option for jest project generator (#8177) 2021-12-15 14:27:53 +00:00
Emily Xiong
7712167d3e
chore(react): remove deprecated @types/styled-jsx (#7697) 2021-11-11 13:12:52 -05:00
Nico
6ac6e981cd
fix(react): install missing react-test-renderer dependency (#7675)
When we install @nrwl/react we should also install react-test-renderer.

ISSUES CLOSED: #7578
2021-11-10 11:47:17 -05:00
Jack Hsu
22294e98a5
chore(react): update react packages (#7434) 2021-10-19 22:08:55 -04:00
Himadu2000
e5b9d80abc
feat(react): updating @reduxjs/toolkit to 1.6.1 (#6939)
Updated @reduxjs/toolkit from 1.5.0 to 1.6.1
2021-09-16 14:05:32 +00:00
Jack Hsu
28ebfae4ea
feat(react): add a hook generator (e.g. useThing) (#6773)
1- Implement a hook generator which provides the skeleton for a new hook, including a test which
uses @testing-library/react-hooks
2- add --pascalCaseDirs to the component generator, so you can
have 'SomeComponent/SomeComponent.tsx' instead of 'some-component/SomeComponent.tsx'

Co-authored-by: Sam Clement <samclement@msn.com>
2021-08-19 13:19:35 -04:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
Tuan Dang
13ca51c60a
fix(storybook): generate story file in new jsx transform (#5369)
fix(storybook): generate story file in new jsx transform
2021-04-16 08:45:52 -04:00
katerina
379d48f1f9 feat(react): remove @types/react-redux package and migrator for older projects
ISSUES CLOSED: #5149
2021-04-06 20:21:40 -04:00
Jack Hsu
c84bbb3c93
feat(react): add support for new jsx transform (#5131) 2021-04-01 13:46:12 +00:00
James Henry
48c7c7b6a3
fix(core): always use project level tsconfigs with eslint (#4657)
* chore(core): increase coverage of eslint config file contents

* fix(core): always use project level tsconfigs with eslint

* chore(core): enhance depcheck to ignore type only imports

* chore(linter): migration always-use-project-level-tsconfigs-with-eslint

* fix(core): snapshots

* feat(core): thin wrapper around tseslint parser

* fix(core): depcheck for eslint-plugin-nx

* fix(core): revert wrapped parser

* fix(linter): add tsconfig root dir to allow for normalized paths for project configs

* fix(linter): move migration to 11.5.0

* fix(linter): add dependency on to @nrwl/workspace

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-03-05 11:48:18 -05:00
Jason Jean
33acb41afb
cleanup(react): cleanup generators for react and next (#4769) 2021-02-12 15:29:31 -05:00
Jonathan Cammisuli
d9aef75bd5
chore(react): move react schematics to generators (#4745)
* chore(react): move react schematics to generators

* chore(react): update lib generators

* chore(react): update redux generators

* chore(react): move react story book generators

* chore(react): add old implementation for update babel in next

* chore(react): rename tsconfig json template files to include __tmpl__

* chore(react): update deps

* chore(react): fix component template file

* chore(react): remove angular-devkit deps

* chore(react): remove angular-devkit deps
2021-02-10 21:30:55 -05:00
Victor Savkin
a25e081a84 feat(core): remove angular devkit deps 2021-01-25 12:52:30 -05:00
Adam L Barrett
889b648886
Emotion upgrade for React and Next plugins (#4088)
* chore(react): update emotion to new versions and new package names on react plugin

* chore(nextjs): update emotion to latest version and the new package names

* feat(misc): have react and next plugin migrations update emotion imports

 * add renamePackageImports and renameNpmPackage rules to workspace utils
 * update migrations to update emotion imports to the new name and version
2020-11-27 13:32:42 -06:00
victor savkin
234ca36385 cleanup(misc): clean up devkit 2020-11-26 10:19:13 -05:00
Jack Hsu
d7ac67f4f8
chore(react): bump versions for react dependencies and add migration (#4082) 2020-11-12 12:41:35 -05:00
James Henry
588effd5c5
feat(linter): shareable eslint configs (#3882)
* feat(linter): shareable eslint configs

* chore(linter): migration towards shareable eslint configs
2020-10-16 15:31:26 -04:00
Juri Strumpflohner
574f97c240
cleanup(repo): fix formatting (#3442) 2020-07-31 15:17:09 +02:00
Sushruth Shastry
c835ecfaa9
Using @typescript-eslint/no-unused-expressions instead (#3297)
Co-authored-by: Sushruth Sastry <susastry@microsoft.com>
2020-07-31 00:28:09 -04:00
Jack Hsu
c47480bbc8
chore(react): update library versions and update RTK generated code (#3226) 2020-06-24 14:02:01 -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
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
Victor Savkin
d0cbc35efa feat(repo): build nx with nx 2020-06-03 16:25:25 -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
Juri Strumpflohner
a47c24c05f
feat(react): improve storybook schematics (#2831) 2020-04-27 18:47:23 +02: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
czaplej#26
edbadee252
feat(react): update styled-components (#2663)
`update to 5.0.1`
2020-03-24 16:08:38 -04: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
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
a0299cbb64
feat(react): update to babel 8.7.0 which includes nullish coalescing and optional chaining (#2346) 2020-01-20 13:49:54 -05:00
Jack Hsu
121d070321
feat(react): update styled-components to v5 (#2335) 2020-01-20 10:04:20 -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
Jack Hsu
4a3aa1f0fb
chore(react): update React-related libs (#2089) 2019-11-25 15:49:39 -05:00
Isaac Mann
8b8d30eff1 chore(nx): storybook schematics for react 2019-11-03 16:57:00 -05:00
Jack Hsu
3a191dd30c
chore(react): update React-related libs (#1950) 2019-10-17 08:53:03 -04:00