3975 Commits

Author SHA1 Message Date
null
f8104d9410
fix(core): outputs in nx.json targetDefaults is not work (#11157)
* fix(core): outputs in nx.json targetDefaults is not work

ISSUES CLOSED: #11141

* fix(core): handle when targets is undefined

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-07-15 21:43:42 +00:00
Jack Hsu
96e84eea39
fix(misc): add dotenv as dependencies for plugins that import it (#11167) 2022-07-15 16:46:41 -04:00
Ihor
57a6ebcfcd
fix(react): fix typo in testing-library migrations 2022-07-15 14:46:38 -04:00
Jack Hsu
e3d5c53d88
fix(nextjs): set development outputPath to a different one from production build (#11169)
- Avoids conflict with cached output
- Fixes #10312
2022-07-15 14:10:07 -04:00
Jack Hsu
39cc96a936
feat(react): update react package versions (#11168) 2022-07-15 17:42:08 +00:00
Jason Jean
63b74d2a56
feat(core): add ability to use globs as outputs (#10894)
* feat(core): add ability to use globs as outputs

* fix(repo): adjust the way outputs are tracked

* docs(core): improve outputs documentation
2022-07-14 18:31:12 -04:00
Caleb Ukle
df0f334886
chore(testing): remove console.log in migration util (#11149) 2022-07-14 21:07:21 +00:00
Chau Tran
421b4d940e
feat(nest): upgrade nest to v9 (#11120) 2022-07-14 11:55:30 -04:00
Katerina Skroumpelou
943d4ba915
fix(storybook): include polyfills in Storybook tsconfig for ngapps (#11136) 2022-07-14 10:25:14 +00:00
Emily Xiong
c075e69898
feat(react-native): upgrade metro to 0.71.3 (#11105) 2022-07-13 19:50:15 +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
Jack Hsu
b042b80e2d
feat(next): update next.js versions (#11115) 2022-07-13 18:30:12 +00:00
Leosvel Pérez Espinosa
9933d91a1b
fix(core): handle specifying a prerelease version without a package when migrating (#11129) 2022-07-13 16:26:28 +00:00
Leosvel Pérez Espinosa
ba592f8a99
fix(angular): do not set a module federation remote project as the default project (#11127) 2022-07-13 14:19:06 +01:00
Leosvel Pérez Espinosa
8ce1444324
fix(angular): do not write files unnecessarily in mfe to mf migration (#11126) 2022-07-13 13:18:20 +01:00
Leosvel Pérez Espinosa
1b6e5874ee
fix(angular): do not generate ts path mappings for lazy loaded libs in app tsconfig file (#11125) 2022-07-13 12:19:36 +01:00
Leosvel Pérez Espinosa
3ce6f35184 feat(core): allow configuring targets to forward args to its target dependencies 2022-07-12 12:46:33 -04:00
Miroslav Jonaš
5194551d85
fix(linter): improve performance of runtime lint utils (#11100) 2022-07-12 17:04:01 +02:00
Katerina Skroumpelou
a2d9577553
fix(storybook): fix schema to read projectName from config (#11098) 2022-07-12 09:55:22 -04:00
Miroslav Jonaš
d7bbf85f29
feat(linter): support transitive hasBannedImport (#11000) 2022-07-11 14:31:13 +02:00
Leosvel Pérez Espinosa
9352f2ee98
fix(angular): amend wrong project name schema options to hint nx console to show a project dropdown (#11097) 2022-07-11 13:27:33 +01: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
Juri
4e292f2454 feat(core): run-many runs all projects by default 2022-07-08 08:36:54 -04:00
Miroslav Jonaš
16ffa482b5
feat(core): update GitHub CI workflow generator to v0.6 (#11068) 2022-07-08 09:02:39 +00:00
Miroslav Jonaš
b8efa778f6
fix(core): remove eslintrc.json from the package build artifact (#11043) 2022-07-07 18:34:34 +00:00
Rien Coertjens
74c3c6c399
fix(linter): escape dollar signs in filepaths (#11009) 2022-07-07 12:08:24 -04:00
Chau Tran
608ef8ee45 fix(core): adjust add and addDev command for pnpm when it is in a pnpm workspace 2022-07-06 13:27:55 -07:00
Emily Xiong
1a9678298a
feat(react-native): upgrade react-native to 0.69.1 (#11020) 2022-07-06 12:24:57 -04:00
Katerina Skroumpelou
01e25ecb67
fix(storybook): change-storybook-targets should not fail if no build (#11038) 2022-07-06 13:30:00 +00:00
Katerina Skroumpelou
40d9901fa5
cleanup(storybook): remove optional chaining and add warning log for targets (#11035) 2022-07-06 15:44:53 +03:00
Leosvel Pérez Espinosa
bc5c414468
fix(angular): emit dts when using entrypoint name as filename in ng-packagr executors (#11032) 2022-07-06 11:14:53 +01:00
Daniil Tamazlykar
d579f94b6a
fix(core): use generator options from nx config (#11006)
ISSUES CLOSED: #11004
2022-07-05 18:07:42 -04:00
Benjamin Cabanes
b6cd0c4031
chore(core): fix typo in error message (#11019) 2022-07-05 17:34:36 +00:00
Victor Savkin
bfddf94aab
fix(core): merge named inputs from project.json and package.json 2022-07-05 13:27:17 -04: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
Leosvel Pérez Espinosa
e2ddb63aa1
fix(core): resolve default project correctly when running targets (#11016) 2022-07-05 09:05:24 -04:00
Leosvel Pérez Espinosa
6a63138b08
fix(angular): generate stories for secondary entrypoints (#11005) 2022-07-05 09:11:44 +01:00
Chau Tran
2753c11fe9
fix(node): add missing production configuration for serve target in app generator (#10988) 2022-07-05 04:34:32 +00:00
Victor Savkin
b2203d8c17
chore(repo): fix broken test 2022-07-04 12:19:16 -04:00
Victor Savkin
f42113e713
fix(core): plugins config changes should invalidate graph cache 2022-07-04 12:11:30 -04:00
Victor Savkin
da14cfac64
fix(core): expand the number of cases where analyzeSourceFiles is defaulted to true 2022-07-04 12:01:13 -04:00
Victor Savkin
7a945e2e44 cleanup(misc): update nx cloud message 2022-07-01 12:55:35 -04:00
Leosvel Pérez Espinosa
a9e1fd06a9
fix(angular): allow generating scam directive and exporting them from secondary entrypoints (#10981) 2022-07-01 17:03:21 +01:00
Victor Savkin
35bb15908e cleanup(js): js analysis should be disabled by default if no nrwl/workspace or nrwl/js is present 2022-07-01 11:45:18 -04:00
Victor Savkin
43201f288a fix(core): correctly handle * in implicitDependencies derived from inputs 2022-07-01 11:45:18 -04:00
Chau Tran
36b64567a8 fix(core): make nx init search against a regex instead of indexOf 2022-07-01 11:22:13 -04:00
Miroslav Jonaš
c299234557
fix(core): do not attempt to slice leading slash on move if not defined (#10959) 2022-07-01 14:57:19 +00:00
Leosvel Pérez Espinosa
748fb82bd5
fix(angular): allow generating scam pipe and exporting them from secondary entrypoints (#10977) 2022-07-01 15:42:48 +01:00
Colum Ferry
37072bc5d6
feat(angular): replace mfe references with mf (#10957) 2022-07-01 13:48:38 +00:00
Victor Savkin
589637fd82
fix(core): handle removals of dependencies 2022-06-29 14:51:39 -04:00