509 Commits

Author SHA1 Message Date
Colum Ferry
f08a3c3c44
feat(react): add skipRemotes option to module-federation-dev-server (#13090) 2022-11-09 19:07:19 +00: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
Colum Ferry
40a2d655c2
feat(devkit): extract more common module federation logic (#13066) 2022-11-09 09:37:14 +00:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Colum Ferry
000eebdbe1
feat(react): use shared helpers from devkit (#13061) 2022-11-08 16:36:36 +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
adam tombleson
dc126ba8e5
docs(storybook): update project param for react:stories (#12804) 2022-11-04 14:22:26 +00:00
Jason Jean
87b91a391a
chore(repo): update nx to 15.0.7-rc.0 (#12952) 2022-11-02 17:28:20 -04: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
Caleb Ukle
f3515e4ddc
fix(testing): use @swc/jest if being used as transformer (#12614) 2022-10-28 10:46:58 -05:00
adam tombleson
6e5ebfa9f8
feat(storybook): generate typed import from storybook/react (#12743) 2022-10-27 16:04:50 -04:00
nikolaidk
6e97c6c2e5
fix(react): export remoteGenerator (#12563) 2022-10-26 12:08:18 -04:00
Ruben Casas
1992adad38
fix(react): fix minification for prod builds in with-module-federation (#12680) 2022-10-26 10:01:05 +01:00
Noriyuki Shinpuku
13c465d46b
fix(react): fix builder options for storybook plugin (#12276) 2022-10-21 14:53:52 -07: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
Victor Savkin
23de788b5e
chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04:00
Craigory Coppola
d8f3c6b186
fix(react): migrations use tsquery, so we should provide it (#12575) 2022-10-13 13:37:37 -04:00
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture (#12535) 2022-10-12 22:06:32 +00:00
Caleb Ukle
80635dbae2
fix(testing): move to using cy.mount (#12273) 2022-10-12 20:50:41 +00:00
Jack Hsu
17cef57656
cleanup(nextjs): re-enable storybook e2e test for next.js (#12384) 2022-10-04 00:19:31 -04:00
Phillip Barta
d91c7ca4ec
fix(linter): remove leftovers after tslint support removal (#12313) 2022-09-30 12:02:05 +01:00
Wenchen Li
ba657da7c5
fix(webpack): regression from #10432 to allow // prefix in remote (#12302) 2022-09-29 16:16:50 +01:00
Colum Ferry
09c6ccb266
feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Jack Hsu
4b491c86f2
fix(web): update http-server lookup so it works with pnpm (#12269) 2022-09-28 09:37:35 -04:00
Jack Hsu
09cfbf090b
feat(react): add stylus as a dependency since stylus-loader requires it (#12266) 2022-09-28 02:07:57 +00:00
Craigory Coppola
9b63ce167a
feat(core): don't generate workspace.json for v2 workspaces (#12127) 2022-09-27 23:16:22 +00: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
24880aab8c
fix(storybook): optional chaining for typename text (#12235)
ISSUES CLOSED: #12155
2022-09-27 08:56:29 +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
Jack Hsu
e195546e40
feat(react): update package versions (#12187) 2022-09-22 15:39:32 +00:00
Jason Gerbes
4dc331c914
feat(react): improve babel preset options (#10940)
Improved the '@nrwl/react/babel' preset to allow for customisation of all options provided by
the
'@nrwl/web/babel' preset.

ISSUES CLOSED: #10939

Co-authored-by: Jason Gerbes <jason.gerbes@vista.co>
2022-09-22 11:16:29 -04:00
Benjamin Cabanes
da0cc4792f
docs(nxdev): update internal reference links (#12083) 2022-09-19 19:15:19 +00:00
Victor Savkin
6e6925f8e4
chore(repo): update to nx 14.7.6-beta.6 2022-09-17 15:59:06 -04:00
MaxKless
fd670d298b
docs(misc): update package descriptions to be more consistent (#12039) 2022-09-16 17:03:33 -04:00
Caleb Ukle
73fd49aab3
fix(testing): use webpack defined in executor options for react ct (#12005)
* fix(testing): resolve custom webpacks for react ct

* chore(testing): add more complex react ct e2e tests

* chore(testing): lower ct test timeout to prevent CI stalling when error
2022-09-14 10:58:01 -05: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
ee8ba2de57
feat(misc): remove unused dependencies from packages (#11986) 2022-09-13 08:27:07 -04:00
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00
Caleb Ukle
6d0c6a83d4 fix(testing): move cypress tsconfig to cypress folder 2022-09-09 10:37:48 -04:00
Caleb Ukle
a0904a601b
feat(testing): support angular cypress component testing (#11790)
* feat(testing): ng cypress component testing

closes: #11602

* chore(testing): move story utils into common util area

* feat(testing): add options for ng component testing

* docs(testing): add more info for component testing

* chore(testing): address PR feedback

* chore(testing): remove logs
2022-09-07 13:32:19 +00:00
Jack Hsu
81c06f899f
feat(react): update package versions (#11800) 2022-08-31 09:52:49 -04:00
Caleb Ukle
c7249db386
fix(testing): handle more complex projects for react component testing (#11725)
* fix(testing): use @nrwl/web:webpack utils to generate a more robust webpack config

fixes: #11372

* fix(testing): do not overwrite existing component test

* fix(testing): add component-test to cacheable operations

* chore(testing): address pr feedback
2022-08-30 16:42:42 +00:00
Jack Hsu
77f0508dde
feat(react): update package versions (#11667) 2022-08-22 11:55:44 -04:00
Caleb Ukle
657b2bff5a
feat(testing): support jest 28 (#10857)
* feat(testing): support jest 28

WIP jest migration

* fix(testing): jest-environment-jsdom must be explicitly added now

* fix(testing): add rxjs to the transform lsit

* fix(testing): jest ts-jest updates and resolver issues

* feat(testing): remove test runner for react native jest

* feat(testing): add preprocessor for react native jest

* fix(testing): update query to handle tsx file syntax, remove rxjs transform

* chore(repo): remove file from accident commit

* chore(testing): update migration to target 14.6 for RN jest preprocessor

* fix(testing): call passed in packageFilter if preset

* docs(testing): add resolver env var to troubleshooting guide

* chore(repo): prep resolver for jest 28 migration

* fix(testing): update deps to handle esbuild-wasm service error

* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list

* fix(testing): force babel-jest preset in transformer for project transforms

* chore(testing): address PR feedback

* fix(testing): address pr feedback, remove react-native transform

* chore(testing): update createTreeWithEmptyWorkspace calls

* chore(testing): address pr feedback

* feat(testing): add migration script for react native to rename .babelrc to babel.config.json

* chore(testing): nx format after rebase

* chore(testing): fix display name for @nrwl/js

Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2022-08-18 18:40:31 -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
David (ダビッド )
34fdbc0de2
fix(react): fix webpack node api config error serving a react app (#11580)
Webpack compiles a react app and the main.js file created contains __dirname variable. This crash
the application when it is served. The webpack node api config has been enabled.

ISSUES CLOSED: #11571
2022-08-17 13:55:32 -04:00