@@ -11,16 +11,16 @@ export default defineConfig({
11
11
cacheDir : ' ../../node_modules/.vite/apps/myhostapp' ,
12
12
plugins : [
13
13
qwikNxVite (),
14
- qwikCity (),
14
+ qwikCity (),
15
15
qwikVite ({
16
- client: {
17
- outDir: ' ../../dist/apps/myhostapp/client' ,
18
- },
19
- ssr: {
20
- outDir: ' ../../dist/apps/myhostapp/server' ,
21
- },
22
- }),
23
- tsconfigPaths ({ root: ' ../../' })
16
+ client: {
17
+ outDir: ' ../../dist/apps/myhostapp/client' ,
18
+ },
19
+ ssr: {
20
+ outDir: ' ../../dist/apps/myhostapp/server' ,
21
+ },
22
+ }),
23
+ tsconfigPaths ({ root: ' ../../' }),
24
24
],
25
25
server : {
26
26
fs: {
@@ -33,15 +33,14 @@ export default defineConfig({
33
33
' Cache-Control' : ' public, max-age=600' ,
34
34
},
35
35
},
36
- test : {
36
+ test : {
37
37
globals: true ,
38
38
cache: {
39
39
dir: ' ../../node_modules/.vitest' ,
40
40
},
41
41
environment: ' node' ,
42
- include: [' src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' ]
43
- }
44
-
42
+ include: [' src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' ],
43
+ },
45
44
} );
46
45
"
47
46
` ;
@@ -104,10 +103,7 @@ exports[`host generator should run successfully 3`] = `
104
103
\\" build\\ " : {
105
104
\\" executor\\ " : \\" qwik-nx:build\\ " ,
106
105
\\" options\\ " : {
107
- \\" runSequence\\ " : [
108
- \\" myhostapp:build.client\\ " ,
109
- \\" myhostapp:build.ssr\\ "
110
- ],
106
+ \\" runSequence\\ " : [\\" myhostapp:build.client\\ " , \\" myhostapp:build.ssr\\ " ],
111
107
\\" outputPath\\ " : \\" dist/apps/myhostapp\\ "
112
108
},
113
109
\\" configurations\\ " : {
@@ -143,9 +139,7 @@ exports[`host generator should run successfully 3`] = `
143
139
},
144
140
\\" test\\ " : {
145
141
\\" executor\\ " : \\" @nrwl/vite:test\\ " ,
146
- \\" outputs\\ " : [
147
- \\" ../../coverage/apps/myhostapp\\ "
148
- ],
142
+ \\" outputs\\ " : [\\" ../../coverage/apps/myhostapp\\ " ],
149
143
\\" options\\ " : {
150
144
\\" passWithNoTests\\ " : true ,
151
145
\\" reportsDirectory\\ " : \\" ../../coverage/apps/myhostapp\\ "
@@ -198,6 +192,10 @@ Array [
198
192
" path" : " libs/.gitignore" ,
199
193
" type" : " CREATE" ,
200
194
} ,
195
+ Object {
196
+ " path" : " .prettierignore" ,
197
+ " type" : " CREATE" ,
198
+ } ,
201
199
Object {
202
200
" path" : " apps/myhostapp/project.json" ,
203
201
" type" : " CREATE" ,
@@ -508,16 +506,16 @@ export default defineConfig({
508
506
cacheDir : ' ../../node_modules/.vite/apps/remote1' ,
509
507
plugins : [
510
508
qwikNxVite (),
511
- qwikCity (),
509
+ qwikCity (),
512
510
qwikVite ({
513
- client: {
514
- outDir: ' ../../dist/apps/remote1/client' ,
515
- },
516
- ssr: {
517
- outDir: ' ../../dist/apps/remote1/server' ,
518
- },
519
- }),
520
- tsconfigPaths ({ root: ' ../../' })
511
+ client: {
512
+ outDir: ' ../../dist/apps/remote1/client' ,
513
+ },
514
+ ssr: {
515
+ outDir: ' ../../dist/apps/remote1/server' ,
516
+ },
517
+ }),
518
+ tsconfigPaths ({ root: ' ../../' }),
521
519
],
522
520
server : {
523
521
fs: {
@@ -530,15 +528,14 @@ export default defineConfig({
530
528
' Cache-Control' : ' public, max-age=600' ,
531
529
},
532
530
},
533
- test : {
531
+ test : {
534
532
globals: true ,
535
533
cache: {
536
534
dir: ' ../../node_modules/.vitest' ,
537
535
},
538
536
environment: ' node' ,
539
- include: [' src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' ]
540
- }
541
-
537
+ include: [' src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' ],
538
+ },
542
539
} );
543
540
"
544
541
` ;
@@ -599,10 +596,7 @@ exports[`host generator should run successfully 7`] = `
599
596
\\" build\\ " : {
600
597
\\" executor\\ " : \\" qwik-nx:build\\ " ,
601
598
\\" options\\ " : {
602
- \\" runSequence\\ " : [
603
- \\" remote1:build.client\\ " ,
604
- \\" remote1:build.ssr\\ "
605
- ],
599
+ \\" runSequence\\ " : [\\" remote1:build.client\\ " , \\" remote1:build.ssr\\ " ],
606
600
\\" outputPath\\ " : \\" dist/apps/remote1\\ "
607
601
},
608
602
\\" configurations\\ " : {
@@ -638,9 +632,7 @@ exports[`host generator should run successfully 7`] = `
638
632
},
639
633
\\" test\\ " : {
640
634
\\" executor\\ " : \\" @nrwl/vite:test\\ " ,
641
- \\" outputs\\ " : [
642
- \\" ../../coverage/apps/remote1\\ "
643
- ],
635
+ \\" outputs\\ " : [\\" ../../coverage/apps/remote1\\ " ],
644
636
\\" options\\ " : {
645
637
\\" passWithNoTests\\ " : true ,
646
638
\\" reportsDirectory\\ " : \\" ../../coverage/apps/remote1\\ "
@@ -678,16 +670,16 @@ export default defineConfig({
678
670
cacheDir : ' ../../node_modules/.vite/apps/remote2' ,
679
671
plugins : [
680
672
qwikNxVite (),
681
- qwikCity (),
673
+ qwikCity (),
682
674
qwikVite ({
683
- client: {
684
- outDir: ' ../../dist/apps/remote2/client' ,
685
- },
686
- ssr: {
687
- outDir: ' ../../dist/apps/remote2/server' ,
688
- },
689
- }),
690
- tsconfigPaths ({ root: ' ../../' })
675
+ client: {
676
+ outDir: ' ../../dist/apps/remote2/client' ,
677
+ },
678
+ ssr: {
679
+ outDir: ' ../../dist/apps/remote2/server' ,
680
+ },
681
+ }),
682
+ tsconfigPaths ({ root: ' ../../' }),
691
683
],
692
684
server : {
693
685
fs: {
@@ -700,15 +692,14 @@ export default defineConfig({
700
692
' Cache-Control' : ' public, max-age=600' ,
701
693
},
702
694
},
703
- test : {
695
+ test : {
704
696
globals: true ,
705
697
cache: {
706
698
dir: ' ../../node_modules/.vitest' ,
707
699
},
708
700
environment: ' node' ,
709
- include: [' src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' ]
710
- }
711
-
701
+ include: [' src/**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}' ],
702
+ },
712
703
} );
713
704
"
714
705
` ;
@@ -769,10 +760,7 @@ exports[`host generator should run successfully 10`] = `
769
760
\\" build\\ " : {
770
761
\\" executor\\ " : \\" qwik-nx:build\\ " ,
771
762
\\" options\\ " : {
772
- \\" runSequence\\ " : [
773
- \\" remote2:build.client\\ " ,
774
- \\" remote2:build.ssr\\ "
775
- ],
763
+ \\" runSequence\\ " : [\\" remote2:build.client\\ " , \\" remote2:build.ssr\\ " ],
776
764
\\" outputPath\\ " : \\" dist/apps/remote2\\ "
777
765
},
778
766
\\" configurations\\ " : {
@@ -808,9 +796,7 @@ exports[`host generator should run successfully 10`] = `
808
796
},
809
797
\\" test\\ " : {
810
798
\\" executor\\ " : \\" @nrwl/vite:test\\ " ,
811
- \\" outputs\\ " : [
812
- \\" ../../coverage/apps/remote2\\ "
813
- ],
799
+ \\" outputs\\ " : [\\" ../../coverage/apps/remote2\\ " ],
814
800
\\" options\\ " : {
815
801
\\" passWithNoTests\\ " : true ,
816
802
\\" reportsDirectory\\ " : \\" ../../coverage/apps/remote2\\ "
0 commit comments