8 Commits

Author SHA1 Message Date
Colum Ferry
320d9f223f
fix(testing): application generators should accurately configure e2e projects (#27453)
- feat(devkit): add util for determining the e2e web server info
- feat(vite): add util for determining the e2e web server info
- feat(webpack): add util for determining the e2e web server info
- fix(webpack): allow port override
- fix(devkit): e2e web server info util should handle target defaults
- feat(webpack): export the e2e web server info utils
- fix(vite): rename util
- fix(devkit): util should determine the devTarget for cypress
- fix(react): improve accuracy of e2e project generation

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->
The logic for finding the correct targets and web addresses to use when
setting up e2e projects is flawed and missing some key considerations.


## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
The logic is accurate and usage is simplified across plugins 

Projects:
- [x] Angular
- [x] Expo
- [x] Next
- [x] Nuxt
- [x] Vue
- [x] Web
- [x] Remix
- [x] React
- [x] React Native


## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-08-27 10:00:43 -04:00
Dmitriy Stepanenko
8ce0b3cdc7
fix(vite): explicitly export type instead of a value from d.ts files (#15029) 2023-02-16 10:25:42 +02:00
Dmitriy Stepanenko
0e7e76f3e1
fix(vite): expose all executors and schemas (#14763) 2023-02-07 10:15:30 +02:00
Dmitriy Stepanenko
59de87b006
fix(vite): expose "init" generator (#14316) 2023-01-12 17:15:16 -05:00
Katerina Skroumpelou
1ef01f8ccc
feat(testing): cypress vite (#13474) 2022-12-15 04:28:53 +00:00
Jonathan Cammisuli
02e22de7ed
feat(testing): add vitest generators (#13301) 2022-11-23 10:00:29 -05:00
Katerina Skroumpelou
f394608658
feat(bundling): vite generators (#13158) 2022-11-21 13:18:40 -05:00
Jack Hsu
8edcdac5eb
feat(bundling): add initial vite plugin (#12969) 2022-11-03 19:19:29 +02:00