647 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson (#8806) 2022-02-01 16:32:47 -05:00
Jack Hsu
120e987580
fix(react): fix issue with postcss and images in webpack config (#8802)
Fixes #8300
2022-02-01 11:43:01 -05:00
Jack Hsu
d727de33f3
feat(react): enable support for avif images (#8803) 2022-02-01 10:33:24 -05:00
Philip Fulcher
9ba836bfda
feat(react): upgrade eslint-plugin-react-hooks to 4.3.0 2022-01-28 13:52:16 -05:00
William Ghelfi
b577646589
feat(storybook): enable SVGR support for MDX stories (#7553)
* chore(core): nx plugin submission nx-plugin-unused-deps

* feat(storybook): enable SVGR support for MDX stories
2022-01-27 08:49:34 -05:00
Noriyuki Shinpuku
6a3914ed42
fix(linter): remove @typescript-eslint/no-unused-vars override (#8147)
Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2022-01-24 15:57:25 +01:00
Victor Savkin
298ceba5b3
chore(repo): readme fixes 2022-01-24 09:39:31 -05:00
Philip Fulcher
5e66babcee
fix(react): enforce valid jest config when creating workspace with react preset (#8626)
ISSUES CLOSED: #8354
2022-01-21 14:25:15 -07:00
Isaac Mann
07ebdb36a3
feat(core): add nx graph as alias of nx dep-graph (#8539)
* feat(core): add nx graph as alias of nx dep-graph

* docs(core): add note about old dep-graph syntax

* cleanup(core): formatting

* feat(core): formatting

* feat(core): formatting

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-01-21 11:15:23 -05:00
Victor Savkin
9e75918154
feat(core): speed up file map creation (#8597) 2022-01-19 15:30:21 -05:00
Phillip Barta
574160ddc4
cleanup(repo): import ignore instead of require (#8579) 2022-01-19 10:11:22 -05:00
Chau Tran
978cfe942d
fix(testing): turn swc/jest back on for react, web, and js (#8464) 2022-01-11 09:28:30 -05:00
Emily Xiong
549b272158
docs(react-native): add overview page for react native and detox (#8451) 2022-01-11 09:06:47 -05:00
Phillip Barta
8abcaab7c3
fix(misc): dont publish jest.config.js files (#8341) 2022-01-07 14:10:24 -05:00
Kirils L
4ce7c7aaa8
fix(react): update conflicting eslint plugin versions (#8376) 2022-01-06 19:03:38 +00:00
Jack Hsu
027bb9d9ad
feat(react): SVGR and http-server version updates for security fixes (#8334) 2021-12-30 04:55:55 +00:00
Chau Tran
214ef8ac4f chore(testing): adjust tests that are affected by removing swc 2021-12-23 19:56:58 -05:00
Chau Tran
4430733f57 chore(testing): assert options.compiler to tsc 2021-12-23 19:56:58 -05:00
Phillip Barta
e57cef0901
cleanup(repo): use devkit instead of devkit reexports from workspace (#7773) 2021-12-21 21:06:31 +00:00
Victor Savkin
88751a3685 chore(repo): clean up the language to match the new tag line 2021-12-17 16:08:38 -05: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
Noriyuki Shinpuku
e4f7e2e40b
feat(react): update complier options for strict mode (#8127) 2021-12-14 22:31:40 -05:00
Kirils L
232eaafc21
fix(nextjs): incorrectly named nested page component files (#8170) 2021-12-14 16:00:44 -05:00
Craigory Coppola
a23284e9ce
fix(core): misc. ng cli compat layer fixes (#8141)
* fix(core): misc. ng cli compat layer fixes

* chore(core): unit test fixes
2021-12-13 18:48:11 -05:00
Jack Hsu
f8c394af46
feat(web): add swc compiler option for webpack executor (#8114) 2021-12-10 16:09:20 -05:00
Kirils L
015f1b78f4
feat(web): support swc compiler (#7997) 2021-12-09 21:16:35 +00:00
Benjamin Cabanes
1560a43acd
docs(nxdev): flatten ui libs (#8006) 2021-12-04 02:14:13 +00:00
Benjamin Cabanes
66e4e85067
feat(core): new nx starter (#7912) 2021-12-03 11:05:09 -05:00
Jack Hsu
157c6e0fb0
feat(web): rename @nrwl/web:build to @nrwl/web:webpack (#7952) 2021-11-30 14:22:34 -05:00
Kirils L
bfd1a4715a
feat(web): rename package executor to rollup (#7904) 2021-11-30 09:32:12 -05:00
Katerina Skroumpelou
c293e7779d
fix(storybook): fix webpack5 check (#7836)
ISSUES CLOSED: #7640
2021-11-26 09:26:01 -05:00
James Henry
98ffe8574b feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
James Henry
8fa36ff3e8
feat(linter): support eslint v8 (#7800)
* feat(core): support eslint v8

* fix(core): align version of eslint across all packages
2021-11-19 17:22:21 +00:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 (#7796) 2021-11-18 16:56:36 -05:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05: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
Caleb Ukle
0ca5a88bf1
fix(testing) generated jest ts configs mismatch (#7556)
* fix(testing): add .test. files to spec tsconfig template

add support for .test.ts and with supportTsx .test.{js|tsx|jsx} files
in the tsconfig.spec.json template.

Note each package that excludes testing files will need to be updated to
exclude the new files (coming in future commits)

* fix(angular): add .test.ts support in tsconfigs

add .test.ts in angular jest template
update angular generators to exclude test files

* fix(gatsby): add .test. file prefixes to tsconfig ignore

ignore the new .test.{js|ts|jsx|tsx} files added to jest configs

* fix(react): add .test. file prefix to app/lib tsconfigs

add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig

* fix(node): add .test. file prefix to app/lib tsconfig

add .test.{ts|js|tsx|jsx} files to be excluded by app/lib tsconfig

ISSUES CLOSED: #7263

* fix(nest): update tests for new .test.ts files in tsconfig

update tests to account for changes in node generators which add .test.ts to the exclude of
tsconfigs

* fix(express): update tests to account for new tsconfig changes

updated snapshots
added new patterns for tsconfig

* fix(linter): update snapshots for new tsconfig changes

snapshot updated to include new .test.ts file changes for tsconfig

* fix(node): update testing to account for spec tsconfig changes

add .test.ts files in e2e tests

* fix(testing): add migration for tsconfig changes

initial migration and test for tsconfig changes

* chore(testing): add to migrations collection

add the update-ts-config-for-test-filenames to migrations

* fix(testing): fix filesystem issue with jest tests

mock readConfig to always return an basic config to prevent issues of not finding a config in non
linux environments, aka missing /root

* cleanup(testing): update error message

update message logged when tsconfig isn't found to mention what was trying to be accompished so it
can be manually updated if desired.
2021-11-05 14:25:25 -05:00
Juri Strumpflohner
0d3a5c375d
fix(storybook): make sure Storybook can use TypeScript for the config files (#7566)
ISSUES CLOSED: #7515
2021-10-29 20:23:34 +03:00
Jack Hsu
75513d6f8b
chore(repo): add tests to make sure migration factory/implementation are correct (#7541) 2021-10-27 16:12:07 -04:00
Jack Hsu
8686e919fb
fix(core): update generator logic so empty strings ("") for appsDir and libsDir work properly (#7508) 2021-10-25 12:01:53 -04:00
Krzysztof Orkisz
d0d1a6187e fix(react): migration to 13

Fixes migration to nx 13: when there are no react projects with storybook but other kind of projects uses SB migration to fails 2021-10-22 18:29:33 +02:00
Jack Hsu
22294e98a5
chore(react): update react packages (#7434) 2021-10-19 22:08:55 -04:00
Jack Hsu
9c1ae3a1b0
chore(web): clean up webpack setup (#7411) 2021-10-19 09:07:33 -06:00
Katerina Skroumpelou
fd3868c94e feat(storybook): migrator for webpack 5 2021-10-19 16:31:16 +02:00
Katerina Skroumpelou
ce9dbd011c fix(storybook): if there is no propstype name do not add angle brackets 2021-10-18 18:11:25 +02:00
Noriyuki Shinpuku
d4f8ba2b2d
feat(react): support css prop for emotion (#7395)
* feat(react): support css prop for emotion

* feat(react): add migration for css prop
2021-10-17 22:17:16 -04:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Leosvel Pérez Espinosa
324129b88d
fix(react): fix react webpack plugin check for babel-loader (#7382) 2021-10-15 12:53:01 -04:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00