178 Commits

Author SHA1 Message Date
Colum Ferry
977ff7e21b
fix(react): host generate should include remotes.d.ts for server (#13710) 2022-12-08 13:35:49 +00:00
Jason Jean
61d7d74378 fix(misc): fix tsconfig file includes 2022-12-05 10:39:03 -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
Philip Fulcher
1a3240d651
docs(react): remove Angular references (#13603)
Co-authored-by: Philip Fulcher <philip@Philips-MacBook-Pro.local>
2022-12-02 14:42:03 -07:00
Jonathan Cammisuli
214c6a3175
fix(testing): generate appropriate files when unitTestRunner is vitest without specifying vite as the bundler (#13594) 2022-12-02 12:15:05 -05:00
Jack Hsu
5b7dba1cb7
fix(react): clean-up after dependency removal from @nrwl/react (#13563) 2022-12-02 16:58:07 +00:00
Jonathan Cammisuli
790b0dee13
fix(bundling): add a vite specific readme for react libs when using vite (#13590) 2022-12-02 10:45:45 -05:00
Jonathan Cammisuli
dbc673d74f
fix(testing): remove jest.config.ts from vitest setups (#13586) 2022-12-02 10:17:37 -05: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
Caleb Ukle
74bd0bb00c
feat(testing): support root project generation for jest (#13353)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-11-29 17:03:19 -05:00
Victor Savkin
fe062f42c3 fix(core): deduce layout directory 2022-11-29 16:08:57 -05:00
Jack Hsu
6c59cbbb3b
feat(react): add SSR suppoprt to host generator for module federation (#13416) 2022-11-29 14:49:15 -05:00
Jack Hsu
cf7ad73165
cleanup(bundling): remove unnecessary files and targets for Vite apps… (#13456) 2022-11-28 17:08:37 -05:00
Emily Xiong
662f5413be
feat(react): add minimal flag (#13446) 2022-11-28 13:29:23 -05:00
Jonathan Cammisuli
f0f60fbb94
fix(testing): web and react application fixes for vitest's insourceTests (#13447) 2022-11-28 15:52:39 +00:00
Jack Hsu
8103290470
fix(bundling): place files in the right folders for React Vite apps (#13443) 2022-11-28 15:30:36 +00:00
Katerina Skroumpelou
871f6183d7
fix(bundling): if bundler is vite unitTestRunner is vitest (#13436) 2022-11-28 14:26:15 +02: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
Katerina Skroumpelou
2d860eaf88
feat(storybook): generate config for vite (#13381) 2022-11-25 09:01:35 -05:00
Miroslav Jonaš
110b5f2867
feat(core): enable linter on root projects (#13347) 2022-11-24 22:51:24 +01:00
Jason Jean
020795cecc
fix(bundling): add type for bundler option to enable autocomplete prompt (#13384) 2022-11-24 14:41:28 -05:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Jonathan Cammisuli
02e22de7ed
feat(testing): add vitest generators (#13301) 2022-11-23 10:00:29 -05:00
Jason Jean
1b85e20c78
fix(react): set bundler for preset app (#13338) 2022-11-22 21:42:30 +00:00
Jack Hsu
f98618b8d3
cleanup(react): remove bundler=vite option from host and remote gener… (#13320) 2022-11-22 10:37:24 -05:00
Jack Hsu
23e4fc77c9
feat(react): add SSR support to React apps (#13234) 2022-11-21 14:22:05 -05:00
Katerina Skroumpelou
f394608658
feat(bundling): vite generators (#13158) 2022-11-21 13:18:40 -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
Dan Roujinsky
0432279fc4
fix(react): add missing skipPackageJson flag to application generator schema (#13076) 2022-11-09 12:45:43 -05:00
Colum Ferry
efc100587b
feat(react): remove exposed utils (#13079) 2022-11-09 11:20:21 +00:00
Caleb Ukle
39518e33ba
fix(testing): provide better error messages around component test --build-target (#12886) 2022-11-04 15:42:42 -07:00
Colum Ferry
4a4a149bce
feat(react): add skipPackageJson flag (#12919) 2022-11-02 14:20:56 -04:00
Craigory Coppola
35dd6c95bc
fix(misc): remove -d as alias in generator schema (#12885) 2022-10-28 21:17:16 +00:00
adam tombleson
6e5ebfa9f8
feat(storybook): generate typed import from storybook/react (#12743) 2022-10-27 16:04:50 -04:00
Zachary DeRose
67376209dd
fix(react): fixes broken links to 01-create-application vs 1-code-generation (#12737) 2022-10-21 10:17:13 -07:00
Caleb Ukle
b20c309466
docs(testing): add docs for cypress ct in angular and react packages (#12629)
* docs(react): add cypress component testing example files

* docs(angular): add cypress component test example files
2022-10-19 19:09:35 +00:00
Caleb Ukle
80635dbae2
fix(testing): move to using cy.mount (#12273) 2022-10-12 20:50:41 +00:00
Phillip Barta
d91c7ca4ec
fix(linter): remove leftovers after tslint support removal (#12313) 2022-09-30 12:02:05 +01:00
Colum Ferry
09c6ccb266
feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Katerina Skroumpelou
2f7d647f52
docs(storybook): examples for executors and generators (#12267) 2022-09-27 13:03:23 -04:00
Julien Tanay
2f91d962e8
feat(storybook): add support for basic test-runner configuration (#11101)
Closes #11047
2022-09-27 09:04:28 +00:00
Katerina Skroumpelou
b74201fb53
fix(storybook): set type of Story directly (#12241)
#12125

ISSUES CLOSED: #12125
2022-09-27 08:53:56 +00:00
Caleb Ukle
1a9df531b6
fix(testing): normalize paths for component-testing (#11963)
* fix(testing): normalize paths before accessing the project graph

* fix(testing): return object with offset input instead of string

* fix(testing): update schemas to provide better prompts
2022-09-13 14:17:49 +00:00
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00