Leosvel Pérez Espinosa
5fea49a980
fix(vite): generate vitest cache dir scoped to each project root and normalize vite cache dir ( #23330 )
...
- Update Vitest `cache.dir` to be scoped to each project root to avoid
collisions (same as what's already done for Vite)
- Normalize Vite `cacheDir` to avoid trailing `/.` paths for root
projects
- Fix Remix & Storybook Vite `cacheDir` 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` -->
## Current Behavior
<!-- This is the behavior we have today -->
## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->
Fixes #21775
2024-05-13 14:14:43 -04:00
Colum Ferry
9e13c8537a
feat(vite): migrate to latest vite-plugin-dts ( #22614 )
2024-04-02 16:33:01 +01:00
Katerina Skroumpelou
fe17fc3287
fix(vite): project conversion generator ( #21646 )
2024-02-20 16:38:12 +02:00
Katerina Skroumpelou
a4aa805c15
fix(react): extensions - vite e2e test ( #21530 )
2024-02-02 10:16:00 -05:00
Jason Jean
1ffd6731dc
feat(core): add target defaults in configuration generators rather th… ( #21105 )
2024-01-17 16:02:47 -05:00
Katerina Skroumpelou
7da53c026e
fix(vite): replaceFile and fileReplacement fixes ( #21077 )
2024-01-10 18:53:34 +02:00
Katerina Skroumpelou
84c9533d9a
fix(vite): dist and coverage paths for root projects ( #20878 )
2023-12-21 14:07:17 +00:00
Katerina Skroumpelou
f04ed1f24a
fix(nuxt): correct outputs for nuxt and vite ( #20627 )
2023-12-07 08:45:08 -05:00
Katerina Skroumpelou
2c88282e8a
fix(vite): adjust config generation ( #20367 )
2023-11-29 15:58:49 +02:00
Nicholas Cunningham
04e4e25db1
fix(js): should respect vitest test environment ( #19859 )
2023-10-26 09:17:29 -06:00
Katerina Skroumpelou
541af1129f
fix(vite): configuration generator fixes ( #19628 )
2023-10-16 19:20:42 +03:00
Jack Hsu
769974b45a
feat(vue): init, app, component and lib generators ( #19130 )
...
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
2023-09-13 15:05:10 -04:00
Jason Jean
7900d56ff2
fix(testing): fix outputs for vitest generator ( #18709 )
2023-08-21 15:05:18 -04:00
Caleb Ukle
6529be96cf
feat(vite): add tsconfig paths resolution plugin ( #17844 )
2023-07-17 15:42:12 +00:00
Jack Hsu
bb88dd934a
fix(testing): set jsdom as the default vitest environment when calling the generator programmatically ( #17632 )
2023-06-16 10:46:13 -04:00
Jack Hsu
8d5ef222cc
feat(testing): add support for additional environment options when generating vite config ( #17560 )
2023-06-13 13:30:52 -04:00
Luca Becker
26e3e16cb9
chore(vite): remove typo in the comment / documentation ( #17488 )
2023-06-08 09:54:47 -04:00
Katerina Skroumpelou
b953565bc2
feat(vite): add type check to vite builder ( #17487 )
2023-06-08 15:57:51 +03:00
Emily Xiong
631a948ded
feat(react): add swc as compiler option for react vite ( #17224 )
2023-05-30 14:06:50 -04:00
Emily Xiong
e8c31d7ac7
fix(react): fix react windows e2e tests ( #16959 )
2023-05-12 11:09:46 +03:00
Jack Hsu
8de17ab1e0
feat(web): remove deprecated executors ( #16416 )
2023-04-20 17:50:31 -04:00
Jason Jean
5a0a4e8d26
feat(repo): replace usages of @nrwl/ with @nx/ in tooling packages ( #16351 )
2023-04-18 12:15:33 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope ( #16069 )
2023-04-14 19:56:37 -04:00
Katerina Skroumpelou
8e838b5aac
fix(vite): configuration docs and optional chain targets ( #15655 )
2023-03-14 19:56:04 +02:00
Katerina Skroumpelou
bff786962b
fix(vite): set root and path on dts plugin ( #14964 )
2023-02-14 12:08:46 +00:00
Dmitriy Stepanenko
0e7e76f3e1
fix(vite): expose all executors and schemas ( #14763 )
2023-02-07 10:15:30 +02:00
Katerina Skroumpelou
b01aa846fb
fix(vite): delete webpack config when converting ( #14582 )
2023-01-24 18:32:18 +02:00
Katerina Skroumpelou
fea80afd5c
fix(vite): proper path for main.tsx for standalone ( #14575 )
2023-01-24 10:07:45 -05:00
Katerina Skroumpelou
51b1f482a3
fix(vite): add configDir to vite config ( #14559 )
2023-01-23 14:05:56 -05:00
Nicholas Cunningham
351b4aabf2
fix(vite): add fix for vitest configuration ( #14404 )
2023-01-16 12:26:47 -07:00
Victor Berchet
c86a361e1c
Vite: preview generator ( #14375 )
2023-01-16 14:12:37 +02:00
Victor Berchet
8d382fb05f
fix(vite): do not include vitest types in tsconfig.json ( #14200 )
2023-01-09 11:14:54 -05:00
Katerina Skroumpelou
29f16483c7
fix(vite): correct worker plugin ( #14147 )
2023-01-04 19:46:25 +00:00
Katerina Skroumpelou
41898df3bb
fix(storybook): refactor target finding function ( #14130 )
2023-01-04 11:42:47 +00:00
Katerina Skroumpelou
5c962d0e3b
fix(vite): add paths plugin for worker ( #14115 )
2023-01-03 12:53:05 -05:00
Caleb Ukle
c82975685d
fix(testing): correctly set task status for failed coverage reports ( #14008 )
2023-01-03 12:09:57 +02:00
Katerina Skroumpelou
6c6fd7ce1d
fix(vite): improve vite configuration ( #13978 )
2022-12-22 16:56:39 +02:00
Katerina Skroumpelou
3bb773da20
fix(vite): add dts to build options ( #13934 )
2022-12-22 12:32:38 +02:00
Katerina Skroumpelou
7beee3c103
fix(vite): dont add server config for libs ( #13931 )
2022-12-20 13:12:19 -05:00
Katerina Skroumpelou
4f50b8929b
fix(vite): inform user to add build config ( #13876 )
2022-12-20 15:44:33 +00:00
Katerina Skroumpelou
d86026ddf0
fix(vite): better warning message ( #13878 )
2022-12-16 16:36:05 +00:00
Katerina Skroumpelou
bb65968df1
fix(vite): change coverage path ( #13867 )
2022-12-16 16:56:18 +02:00
Katerina Skroumpelou
b52b649fcb
feat(vite): allow user to set their custom target for transform ( #13691 )
2022-12-16 13:35:52 +00:00
Katerina Skroumpelou
f4802ae579
fix(vite): set mode in configuration ( #13856 )
2022-12-15 17:44:19 -05:00
Katerina Skroumpelou
1ef01f8ccc
feat(testing): cypress vite ( #13474 )
2022-12-15 04:28:53 +00:00
Katerina Skroumpelou
45ce3b2a0a
feat(vite): update vite-tsconfig-paths ( #13714 )
2022-12-08 18:36:45 +00:00
Katerina Skroumpelou
4b0eb70ef3
fix(vite): better detection for executors ( #13666 )
2022-12-07 08:22:11 -05:00
Katerina Skroumpelou
7d329c0590
fix(vite): remove default for hmr from schema.json ( #13654 )
2022-12-06 08:06:30 -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