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
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
Mehrad Rafigh
e6b07e282c
fix(nx): use same prettier version ( #1869 )
2019-09-23 11:24:13 +01:00
Jack Hsu
bfd77db9eb
feat(react): updates RSK to 0.7 ( #1814 )
2019-09-09 22:08:40 -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
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
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
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
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
Jack Hsu
790f1748d2
fix(react): add missing polyfills for apps using babel.
...
Closes #1668
2019-07-30 02:47:47 -04:00
Jack Hsu
776a185d65
feat(react): adds default babel-loader support for react apps ( #1631 )
2019-07-25 15:33:26 -04:00
Jack Hsu
b344e0e63c
feat(react): updates generated React app ( #1622 )
2019-07-24 18:50:04 -04:00