126 Commits

Author SHA1 Message Date
Caleb Ukle
2e449da177
fix(vite): add missing types for tsconfigs (#15260) 2023-03-02 13:25:57 -06:00
Jack Hsu
346f5f9f0b
feat(react): update React packages and types (#15300) 2023-02-27 14:27:09 -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
Craigory Coppola
f0fbcf116f
chore(misc): unpin module federation utils version (#14041) 2022-12-28 16:46:48 +00:00
Craigory Coppola
96cab72851
fix(misc): temporarily pin module federation ssr utilities version (#14035) 2022-12-27 16:12:23 -06:00
Katerina Skroumpelou
6c6fd7ce1d
fix(vite): improve vite configuration (#13978) 2022-12-22 16:56:39 +02:00
Katerina Skroumpelou
77d8ee47f5
fix(storybook): optional-chain typeName (#13951) 2022-12-22 09:45:53 +00:00
Yehuda Goldberg
6a2884297c
fix(react): load svg component in buildable library (#12226) 2022-12-19 15:39:26 +00:00
Emily Xiong
14c1c16cf8
feat(react): add unit test examples when inSourceTests is passed (#13779) 2022-12-14 23:46:13 -05:00
Jack Hsu
2392b916c4
fix(react): use correct setup for React SSR with module federation (#13822) 2022-12-14 10:37:55 -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
6c59cbbb3b
feat(react): add SSR suppoprt to host generator for module federation (#13416) 2022-11-29 14:49:15 -05:00
Miroslav Jonaš
9a0db4848f
feat(linter): replace createReactEslintJson with extendReactEslintJson (#13431) 2022-11-28 11:54:30 +01:00
Miroslav Jonaš
110b5f2867
feat(core): enable linter on root projects (#13347) 2022-11-24 22:51:24 +01:00
Jack Hsu
ade6668060
feat(react): update package versions (#13300) 2022-11-21 16:58:34 -05:00
Jack Hsu
23e4fc77c9
feat(react): add SSR support to React apps (#13234) 2022-11-21 14:22:05 -05:00
Miroslav Jonaš
ab6f62a9b5
feat(core): move runtime-lint-utils to eslint plugin (#13222) 2022-11-18 12:24:53 +01:00
Katerina Skroumpelou
24880aab8c
fix(storybook): optional chaining for typename text (#12235)
ISSUES CLOSED: #12155
2022-09-27 08:56:29 +00:00
Jack Hsu
e195546e40
feat(react): update package versions (#12187) 2022-09-22 15:39:32 +00:00
Jack Hsu
81c06f899f
feat(react): update package versions (#11800) 2022-08-31 09:52:49 -04: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
Jack Hsu
6fd0da52c6
feat(react): update packages (#11606) 2022-08-16 13:49:50 +00:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Jack Hsu
e4d60da452
feat(react): update packages (#11499) 2022-08-08 18:38:36 +00:00
Jack Hsu
5d167ee8a4
feat(react): update emotion and tailwind versions (#11409) 2022-08-03 08:35:51 -04:00
Jack Hsu
3b3d8fff22
feat(react): update eslint a11y plugin version (#11279) 2022-07-25 07:48:19 -06:00
Jack Hsu
8173887fbb
feat(react): add tailwind setup generator (#11214)
LGTM!
2022-07-19 13:07:37 -06:00
Leosvel Pérez Espinosa
01f7376169
cleanup(misc): consolidate tslib version in generated projects (#11185) 2022-07-19 12:59:37 -04:00
Jack Hsu
39cc96a936
feat(react): update react package versions (#11168) 2022-07-15 17:42:08 +00:00
Caleb Ukle
8154191eb1
feat(testing): Cypress 10 and component testing support (#9201)
* feat(testing): add generator to aid in the migration to cypress 10

cypress 10 introduces a new configuration format and new layout that requires update settings and
files for e2e projects

* feat(testing): cypress component tests for react/next

initial work for cypress component tests for react and next

* feat(testing): add support for v10 e2e cypress projects

create the correct files for cypress projects >v10 and reorganize tests based on version to allow
easier parsing of tests

* feat(testing): add utils for modifying cypress v10 config

provide ts transformers to take in an existing cypress config and update/add properties within the
given configuration

* fix(testing): fix tests affected by the cypress v10 changes

update tests to assert the correct files/folders/file contents due to the cypress changes in v10

* cleanup(testing): move cypress component testing plugins into the respective packages

move the plugins into out of cypress plugins into the specific vertical plugin to prevent issues
with circular refs

* cleanup(testing): bump cypress version

bump to latest cypress v10 release

* docs(testing): update docs for cypress 10

update cypress docs to include info about component testing and migration to cypress v10

* fix(repo): revert cypress version bump

keep v9 of cypress installed for nx repo until v10 release

* fix(testing): update cypress gen tsconfig and infer targets with converter

* fix(testing): make sure tests use the cypress v10 (for the intermediate)

* fix(testing): update target name after feedback

* fix(testing): support multiple target w/custom configs for cypress v10 migration

* fix(testing): refactor cy component tests into seperate verticals

* feat(testing): create storybook cypress preset

* fix(testing): clean up cy v10 migration

* fix(testing): don't branch for cypress executor testingType

* fix(testing): move cy comp test generator to next

* fix(testing): bump cypress deps

* fix(testing): clean up cy component testing generators

* fix(testing): update cy component testing docs

* fix(testign): dep check. runtime plugin pulls from @nrwl/react

* fix(testing): move e2e into verticals

* fix(testing): address PR feedback

* fix(testing): clean up unit tests

* feat(angular): support migrating angular cli workspaces using cypress v10

* chore(testing): update e2e tests

* fix(testing): address pr feedback

* chore(testing): remove cypress component testing for next.js

* fix(testing): address pr feedback

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-07-08 14:34:00 -05:00
Jack Hsu
7065da3f6b
feat(react): update react package versions (#10915) 2022-06-27 14:05:48 +00:00
Jack Hsu
4aa8101660
feat(react): update @nrwl/react package versions (#10778) 2022-06-16 16:00:31 +00:00
Jack Hsu
b19bce29b9
feat(react): update emotion package versions (#10736) 2022-06-14 13:49:58 +00:00
Jack Hsu
d4c04b5f60
feat(react): update package versions (#10657) 2022-06-09 09:57:09 -04:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Jack Hsu
c4e5b7c7c0
fix(react): host server exits when one of the remotes fail (#10185) 2022-05-06 12:41:40 -04:00
Jack Hsu
2ad824a316
feat(nextjs): update styled-jsx to match the version supported by next.js (#10101) 2022-05-02 20:16:54 +00:00
Jack Hsu
0f2edf2f8f
feat(react): update react packages (#10093) 2022-05-02 10:29:38 -04:00
Katerina Skroumpelou
a74ed0ecfc
fix(storybook): include all react exports for story generation (#10030) 2022-04-29 08:20:56 -04:00
Juri Strumpflohner
fa1bc7b289
fix(react): use Routes component wrapper for react router v6 (#9936) 2022-04-22 11:40:48 -04:00
Jason Jean
cb7fb22bca
feat(core): remove @types/node from default workspace (#9853)
Signed-off-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-20 12:43:23 -04:00
Jack Hsu
25c63b6795
feat(react): upgrade to React 18 (#9847)
BREAKING CHANGE: react-router API has changed, and @testing-library/react-hooks has been deprecated (See: https://nx.dev/guides/react-18)
2022-04-19 11:50:27 -04:00
Jack Hsu
d4682be058
feat(react): update @types/react and other packages (#9767) 2022-04-12 11:29:01 -04:00
Jack Hsu
b02beb551b
feat(react): update to react 18 (#9613) 2022-03-30 17:48:37 +00:00
Jack Hsu
d4ded4063c
feat(react): update packages (#9538) 2022-03-26 10:10:53 -04:00