443 Commits

Author SHA1 Message Date
Ihor
57a6ebcfcd
fix(react): fix typo in testing-library migrations 2022-07-15 14:46:38 -04:00
Jack Hsu
39cc96a936
feat(react): update react package versions (#11168) 2022-07-15 17:42:08 +00:00
Leosvel Pérez Espinosa
2163c54b85
fix(react): do not set a module federation remote project as the default project (#11128) 2022-07-13 15:32:03 -04:00
Katerina Skroumpelou
a2d9577553
fix(storybook): fix schema to read projectName from config (#11098) 2022-07-12 09:55:22 -04: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
Miroslav Jonaš
b8efa778f6
fix(core): remove eslintrc.json from the package build artifact (#11043) 2022-07-07 18:34:34 +00:00
Leosvel Pérez Espinosa
23d94a82d0
fix(misc): handle external nodes correctly in module federation additional shared config (#11018) 2022-07-05 14:21:19 +01:00
Jack Hsu
7065da3f6b
feat(react): update react package versions (#10915) 2022-06-27 14:05:48 +00:00
Craigory Coppola
5b90514008
feat(core): move workspace configuration computation to daemon (#10860) 2022-06-24 09:45:51 -04:00
Katerina Skroumpelou
26d837693c
fix(storybook): fix support for nextjs and swc (#10828)
* fix(storybook): proper path for nextjs stories

* fix(storybook): adding swc options
2022-06-23 20:42:00 +03:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Katerina Skroumpelou
26627e3441
fix(storybook): pass tsConfiguration option from framework generators to storybook (#10837) 2022-06-21 19:35:46 +00:00
Jack Hsu
3d526098a4
fix(nextjs): storybook generator properly supports nextjs apps (#10816) 2022-06-21 10:08:54 +03:00
Jack Hsu
4aa8101660
feat(react): update @nrwl/react package versions (#10778) 2022-06-16 16:00:31 +00:00
Dylan Andersen
8cae2c9eca
docs(core): fix links to nx tutorials (#10763)
Co-authored-by: Dylan Andersen <dylan@joinhandshake.com@Dylans-MBP.attlocal.net>
2022-06-16 10:54:22 -04:00
Jack Hsu
b19bce29b9
feat(react): update emotion package versions (#10736) 2022-06-14 13:49:58 +00:00
Damian
6e924c86a9
fix(react): update nx generator commands in react sample app (#10680) 2022-06-10 09:34:51 -04:00
Craigory Coppola
15c04b099e
chore(repo): enable eslint plugin checks (#10666) 2022-06-09 18:04:06 -04:00
Katerina Skroumpelou
1fe3ba60eb
fix(storybook): remove projectBuildConfig from everywhere (#10664) 2022-06-09 15:16:23 +00:00
Jack Hsu
d4c04b5f60
feat(react): update package versions (#10657) 2022-06-09 09:57:09 -04:00
Leosvel Pérez Espinosa
a1f3e0e21e
fix(react): set migration to use nx cli (#10638) 2022-06-08 14:28:26 +01:00
Jorge Rodriguez
52f824cfe1
feat(storybook): Custom .babelrc in Storybook (#10551) 2022-06-07 17:18:34 -04:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators (#10601) 2022-06-06 20:03:46 +00:00
Craigory Coppola
10363e3bec
feat(nx-plugin): add plugin eslint rules (#9697)
* feat(nx-plugin): add lint rule for nx-plugin validation

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(nx-plugin): review comments

* chore(nx-plugin): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>
2022-06-03 16:03:39 -04:00
Katerina Skroumpelou
1de896f3e8
feat(storybook): choose to generate ts config (#10572)
ISSUES CLOSED: #10394
2022-06-03 15:31:18 +00:00
Katerina Skroumpelou
d48a709f88
fix(storybook): dont generate stories for stories (#10570)
ISSUES CLOSED: #10286
2022-06-03 13:53:40 +00:00
Noriyuki Shinpuku
bb166a5ae9
fix(storybook): allow NX_* environment variables (#10061) 2022-06-02 13:54:32 -04:00
Guilherme Siquinelli
0407d8a515
fix(react): fixes typescript override error in the render method of a generated app (#10069) 2022-06-02 10:56:25 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Timo Santi
b35e3836c2
feat(storybook): change react stories template to use ComponentStory and ComponentMeta (#10490) 2022-05-31 11:19:53 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Noriyuki Shinpuku
a2c22eb63a
fix(react): fix external option for @emotion/react (#7870) 2022-05-30 13:36:45 -04:00
Colum Ferry
a299469925
feat(angular): support alternate remote entry filenames #10206 (#10432) 2022-05-24 12:16:33 +01:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Jonathan Wagner
c35b13dd26
fix(react): migrations should not crash when adding development configuration (#10261) 2022-05-12 14:30:33 -04:00
Chau Tran
512237caf7
feat(core): add nx.json, workspace.json, and project.json JSON schemas (#10228)
* feat(core): add nx.json, workspace.json, and project.json JSON schemas

ISSUES CLOSED: #8574, #2299

* fix(core): add ajv to test generated config files based on JSON schema

* fix(core): only add $schema to project.json if it is standalone and in create mode

* feat(core): add migration to add json schema to config files for 14.2.0

* fix(core): adjust schemas

* chore(core): adjust tests across repo to adhere to JSON schema if generated

* fix(core): construct the json schema object instead of using a boolean flag

* chore(core): add ajv tests for workspacejson and nxjson

* chore(core): remove unnecessary standalone check
2022-05-10 15:05:26 -05:00
James Garbutt
99252cccfa
fix(react): aliases should be an array in schematics (#10198) 2022-05-09 23:58:51 +00:00
Leosvel Pérez Espinosa
425adf1d00
feat(react): add support for passing additional shared dependencies in the module federation config (#10169) 2022-05-09 09:00:31 -04:00
Jack Hsu
c4e5b7c7c0
fix(react): host server exits when one of the remotes fail (#10185) 2022-05-06 12:41:40 -04:00
Leosvel Pérez Espinosa
67e233d8d7
fix(react): remove collected dependency from module federation shared config when not found in package.json (#10157) 2022-05-05 10:43:37 -04:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
95412cfa17
fix(misc): fix incorrect nx imports (#10131) 2022-05-04 14:24:31 +00: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
Leosvel Pérez Espinosa
91fc6f6866
cleanup(react): simplify collecting mf application dependencies (#10024) 2022-04-28 15:09:39 +01:00
Jay Bell
4d17b3275e
fix(angular): shared transitive npm deps from host and remote applica… (#9997) 2022-04-26 17:29:15 +01:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Caleb Ukle
88971468db
fix(testing): pass --js flag to jest generators (#9965) 2022-04-22 22:43:59 -04:00