4000 Commits

Author SHA1 Message Date
Jason Jean
00ef4c7283
fix(misc): make __unparsed__ not required and add smart provider in adapter (#11262) 2022-07-22 14:53:17 -04:00
Stefan van de Vooren
2f0cd86b6f
fix(core): improve performance of enforce-module-boundaries linting rule on Windows (#11251)
Co-authored-by: fu_cdp_jenkins-git_houston <online.darwin@rabobank.nl>
2022-07-22 18:39:35 +02:00
Leosvel Pérez Espinosa
712e6dda88
cleanup(angular): move all inline version numbers to versions.ts (#11258) 2022-07-22 17:02:13 +01:00
Leosvel Pérez Espinosa
d372be0043
feat(angular): deprecate generating e2e tests with protractor (#11254) 2022-07-22 16:07:03 +01:00
Jack Hsu
8075cb9a9f
chore(nextjs): remove outdir from Next.js config since it is no longer needed (#11257) 2022-07-22 11:06:22 -04:00
Leosvel Pérez Espinosa
46ad8c3d63
feat(angular): support angular v14.1.0 (#11155) 2022-07-22 16:01:24 +01:00
Leosvel Pérez Espinosa
ea3fe2e8b1
feat(angular): add spa option to file-server executor to support reloading client-side routes (#11252) 2022-07-22 15:24:11 +01:00
Juri
8e6a66cdb2 fix(linter): correctly fix absolute imports across package boundaries 2022-07-22 15:11:18 +02:00
Emily Xiong
b89e321753
fix(core): print out configuration for run-many logging (#11228) 2022-07-21 20:37:52 +04:00
Benjamin Cabanes
8c7b76e8f1
docs(nxdev): convert notes into callouts (#11232) 2022-07-20 22:09:33 +00:00
Laforge Thomas
c117ad51ec
fix(linter): update typescript eslint dependency (#11112)
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-07-20 21:57:51 +00:00
Miroslav Jonaš
5f097b90ff
feat(core): improve graph utils matrix generation (#11226) 2022-07-20 16:48:56 -04:00
Leosvel Pérez Espinosa
41693f918b
fix(angular): update package watch version on secondary entrypoint changes when building libraries in watch mode (#11230) 2022-07-20 17:41:18 +01:00
Jack Hsu
3a63eeab21
chore(core): remove checks for built dependencies in executors since dependsOn guarantees that they are built (#11227) 2022-07-20 15:56:57 +00:00
Caleb Ukle
0cd8d8c531
fix(testing): update exports for .ts plugin files (#11200) 2022-07-19 17:28:02 -05: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
Phillip Barta
fc16d6228d
cleanup(devkit): use Mode type from fs for Tree permissions (#11188) 2022-07-19 12:58:23 -04:00
Juri
9436a96309 fix(nextjs): adjust generator reference in Next startup page component 2022-07-19 16:43:33 +02:00
Emily Xiong
38a2d95d9d
feat(detox): add detox config for expo apps (#11104) 2022-07-18 15:39:25 -04:00
Jack Hsu
d657f912d9
feat(web): upgrade webpack plugin versions (#11191) 2022-07-18 15:23:30 -04:00
Leosvel Pérez Espinosa
b7a1cd30fc
fix(angular): add @angular/localize to list of default packages to be eagerly loaded in mf apps (#11189) 2022-07-18 18:02:11 +01:00
Leosvel Pérez Espinosa
6866122db8
feat(angular): deprecate syntax option from the ngrx generator (#11184) 2022-07-18 15:41:17 +01:00
Mads Thines
edc9ce12a1
fix(storybook): adjusted STORYBOOK_ (#11171)
Corrected the `STORYBOOK_` RegExp to match documentation
https://storybook.js.org/docs/react/configure/environment-variable
2022-07-18 11:50:10 +00:00
Leosvel Pérez Espinosa
cc6c2f9c59
feat(angular): deprecate DataPersistence class in favor of data persistence operators (#11183) 2022-07-18 11:40:20 +01:00
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