56 Commits

Author SHA1 Message Date
Jack Hsu
8d5ef222cc
feat(testing): add support for additional environment options when generating vite config (#17560) 2023-06-13 13:30:52 -04:00
Jack Hsu
08339ee49f
feat(js): do not generate root babel.config.json for babel projects (#17289) 2023-06-06 15:45:33 -04:00
Zachary Morgan
b0732e1554
@nx/react:library - Add simpleName option to remove dir name from generated file names (#17226) 2023-05-31 10:28:23 -04:00
Emily Xiong
631a948ded
feat(react): add swc as compiler option for react vite (#17224) 2023-05-30 14:06:50 -04:00
Nicholas Cunningham
36c162cf62
fix(react): Fix .module css being generated when --globalCss is passed (#16648) 2023-04-28 13:31:23 -06:00
Jack Hsu
bb11fe31bb
fix(nextjs): support workspace libs with standalone Next.js app (#16471) 2023-04-21 20:31:37 +00:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Jack Hsu
0578116fbf
feat(nextjs): update to Next.js 13.3.0 (#16130) 2023-04-12 10:47:44 -04:00
Leosvel Pérez Espinosa
4eb7cc7bf1
fix(misc): skip formatting files in nested generator calls (#15961) 2023-03-31 11:22:18 -04:00
Colum Ferry
8744698a01
feat(devkit): move runTasksInSerial to devkit (#15467) 2023-03-06 13:55:44 -05:00
Jason Jean
fa6e8ea987
fix(js): refactor ensurePackage (#15074) 2023-02-22 18:47:40 -05:00
Emily Xiong
a97212b601
feat(core): move tsconfig.base.json to @nrwl/js:init (#14467) 2023-02-16 11:17:30 -05:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Jack Hsu
99b49189eb
fix(react): remove unit test runner prompt when generating library (#14457) 2023-01-18 09:38:52 -05:00
Nicholas Cunningham
70e1aabb09
fix(vite): Failing to build when generated library uses jest (#13797)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-12-15 11:32:27 -05:00
Emily Xiong
14c1c16cf8
feat(react): add unit test examples when inSourceTests is passed (#13779) 2022-12-14 23:46:13 -05:00
Victor Savkin
91c19f5c0a
feat(misc): do not generate tsconfig.base.json for simple standalone … (#13605) 2022-12-05 10:07:01 -05:00
Jack Hsu
67c7822ad3
fix(react): add missing style preprocessors when using Vite (#13600) 2022-12-02 21:56:23 +00:00
Jack Hsu
cded83b2c5
feat(react): remove unnecessary dependencies from @nrwl/react (#13525) 2022-12-01 17:06:32 -05:00
Jack Hsu
08689b03be
fix(react): generate new libs with @nrwl/rollup:rollup instead of @nr… (#13526) 2022-12-01 04:38:36 +00:00
Jack Hsu
5d0f50e424
feat(react): add --bundler=none option for React lib generator if the… (#13511) 2022-11-30 19:48:02 +00:00
Jack Hsu
a9ac43b86f
feat(react): add CRA support to "nx init" (#13488) 2022-11-29 23:20:27 -05:00
Victor Savkin
fe062f42c3 fix(core): deduce layout directory 2022-11-29 16:08:57 -05:00
Miroslav Jonaš
9a0db4848f
feat(linter): replace createReactEslintJson with extendReactEslintJson (#13431) 2022-11-28 11:54:30 +01:00
Jack Hsu
a63a25d2e2
feat(react): add Vite bundler option for buildable libraries (#13382) 2022-11-25 20:25:37 +00:00
Jonathan Cammisuli
02e22de7ed
feat(testing): add vitest generators (#13301) 2022-11-23 10:00:29 -05:00
Caleb Ukle
620f6a6afd
fix(testing): add babel-jest transform options for react libraries (#13175) 2022-11-16 12:41:58 -05:00
Victor Savkin
c4ebef2803 feat(react): add a preset to generate a workspace with a single app at the root 2022-11-12 17:17:58 -05:00
Colum Ferry
4a4a149bce
feat(react): add skipPackageJson flag (#12919) 2022-11-02 14:20:56 -04:00
Colum Ferry
09c6ccb266
feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Miroslav Jonaš
187f5200c0
fix(linter): add jest to root .eslintrc if selected as unit test runner (#11555) 2022-08-18 14:51:09 +02:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Noriyuki Shinpuku
a2c22eb63a
fix(react): fix external option for @emotion/react (#7870) 2022-05-30 13:36:45 -04:00
Caleb Ukle
88971468db
fix(testing): pass --js flag to jest generators (#9965) 2022-04-22 22:43:59 -04:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json (#9195)
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json

* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -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
Chau Tran
214ef8ac4f chore(testing): adjust tests that are affected by removing swc 2021-12-23 19:56:58 -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
015f1b78f4
feat(web): support swc compiler (#7997) 2021-12-09 21:16:35 +00:00
Kirils L
bfd1a4715a
feat(web): rename package executor to rollup (#7904) 2021-11-30 09:32:12 -05: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
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
Noriyuki Shinpuku
d3c45b32b9
fix(react): fix externals for buildable libraries (#5540)
ISSUES CLOSED: #5508
2021-05-31 10:17:33 -04:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Noriyuki Shinpuku
321815d56d
fix(react): fix react library generator for strict option (#5249) 2021-05-02 22:01:51 -04:00
Tuan Dang
656d808aa3
fix(react): fix react publish library copy readme (#5345) 2021-04-15 00:01:03 -04:00
Jack Hsu
c84bbb3c93
feat(react): add support for new jsx transform (#5131) 2021-04-01 13:46:12 +00:00