Jack Hsu
402bae2ce1
fix(vite): load the correct config file from @nx/vite:test executor ( #27514 )
...
This PR ensures that we pass Vite config file to the programmatic
`startTest` API from Vitest. It fixes the issue with plugins not loading
as well as other issues with the config file not being used.
This mainly affects a custom `configFile` option being passed to the
executor. The previous fix to additionally load in `plugins` via
overrides is causing plugins to load twice when the Vite config file is
picked up by Vitest (e.g. #27500 ).
## 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 #27500 , #22001
2024-08-19 14:08:29 -04:00
Katerina Skroumpelou
00dae6a811
fix(vite): update vitest and use parseCLI ( #21890 )
2024-02-22 11:03:08 -05:00
beeman
a9974d3f25
docs(misc): change http:// to https:// ( #19534 )
2024-01-30 11:33:13 -05:00
Vinit Neogi
d147604c7f
feat(vite): allow passing path to custom tsconfig file when skipTypeCheck is false ( #19784 )
2024-01-30 16:14:53 +02:00
Katerina Skroumpelou
7da53c026e
fix(vite): replaceFile and fileReplacement fixes ( #21077 )
2024-01-10 18:53:34 +02:00
Katerina Skroumpelou
2c88282e8a
fix(vite): adjust config generation ( #20367 )
2023-11-29 15:58:49 +02:00
Julius Osokinas
6bf3dc91ad
feat(vite): server executor https prop as object ( #18048 )
...
Co-authored-by: Julius Osokinas <julius.osokinas@kevin.eu>
2023-07-10 13:42:59 +03:00
Joe Walton
a995940b19
feat(vite): allow passing multiple test files to vite:test ( #17496 )
...
Co-authored-by: Caleb Ukle <caleb.ukle+github@pm.me>
2023-06-26 15:31:04 -05:00
Katerina Skroumpelou
b953565bc2
feat(vite): add type check to vite builder ( #17487 )
2023-06-08 15:57:51 +03:00
Vinícius Neto
a9f8cc61fa
feat(vite): add incremental builds support to Vite plugin build executor ( #17433 )
...
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
2023-06-08 10:07:57 +03:00
Katerina Skroumpelou
636b9115e9
feat(vite): add cssCodeSplit in build options ( #17213 )
2023-05-25 14:07:51 +00:00
Joe Walton
402a00f841
feat(vite): add option to generate a package.json to build executor ( #16428 )
2023-05-08 17:43:10 +03:00
Isaac Mann
afa5eb59fa
docs(core): document the @nrwl => @nx rescope ( #16403 )
...
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-04-27 18:14:59 -04:00
Katerina Skroumpelou
44654251bd
feat(vite): allow setting of build target ( #16588 )
2023-04-26 16:26:26 -04:00
Liam McAteer
83ada9dcc1
feat(vite): add --testFile argument to @nrwl/vite:test ( #16324 )
...
Co-authored-by: Liam McAteer <=>
2023-04-26 15:11:14 -05:00
Ethan Pursley
ae6dc6b91d
fix(vite): add configuration option for emptyOutDir ( #15619 )
2023-03-13 11:53:24 +02:00
Dmitriy Stepanenko
2f9978f4d3
feat(vite): be able to use a custom build target for the preview server ( #14951 )
2023-02-13 13:44:53 +02:00
Chau Tran
259d4b29cf
fix(vite): fix watch schema for build executor to object or boolean i… ( #14756 )
2023-02-02 15:58:37 +00:00
Katerina Skroumpelou
2876996a39
docs(vite): frontmatter and description to documents ( #14750 )
2023-02-01 21:53:19 +02:00
Victor Berchet
bd2b5ca8d3
feat(vite): enable watch mode for preview ( #14412 )
2023-01-18 09:41:00 +02:00
Victor Berchet
c94ac41f56
feat(vite): add a preview-server executor for Vite ( #14326 )
2023-01-13 20:45:35 +02:00
Katerina Skroumpelou
abfa8640b2
docs(misc): add x-priority flag for generators and executors ( #14336 )
2023-01-13 13:14:36 +00:00
Victor Berchet
1cc8cbf9be
docs(vite): configFile is configured on the build target ( #14288 )
2023-01-12 20:45:17 +02:00
Victor Berchet
02d1cc85ca
fix(vite): move clearScreen and logLevel to the shared options ( #14174 )
2023-01-09 18:16:45 +02:00
Benjamin Cabanes
19fd40ddc7
docs(nxdev): refactor docs sources generation and app consumption ( #13834 )
2022-12-19 18:59:50 +00:00