@open-xchange/vite-plugin-ox-manifests 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"manifests.d.ts","sourceRoot":"","sources":["../../src/plugins/manifests.ts"],"names":[],"mappings":";AAyGA,wBAgGE"}
1
+ {"version":3,"file":"manifests.d.ts","sourceRoot":"","sources":["../../src/plugins/manifests.ts"],"names":[],"mappings":";AA2GA,wBAgGE"}
@@ -36,9 +36,9 @@ function getChunkOriginalFileName(chunk, root) {
36
36
  const queryIndex = name.indexOf('?');
37
37
  if (queryIndex >= 0)
38
38
  name = name.substring(0, queryIndex);
39
- // make relative to root
40
- if (name.startsWith(root + '/')) {
41
- name = name.substring(root.length + 1);
39
+ // make relative to root (handles both children and parents like ../node_modules)
40
+ if (path.isAbsolute(name)) {
41
+ name = path.relative(root, name);
42
42
  }
43
43
  return name;
44
44
  }
@@ -87,7 +87,10 @@ function buildManifestFromBundle(bundle, root) {
87
87
  const names = output.originalFileNames?.length
88
88
  ? output.originalFileNames
89
89
  : (output.names?.length ? output.names : []);
90
- for (const name of names) {
90
+ for (let name of names) {
91
+ // make absolute paths relative to root
92
+ if (path.isAbsolute(name))
93
+ name = path.relative(root, name);
91
94
  if (!manifest[name]) {
92
95
  manifest[name] = { file: output.fileName };
93
96
  }
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" ?>
2
2
  <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
- <coverage lines-valid="429" lines-covered="375" line-rate="0.8741" branches-valid="243" branches-covered="194" branch-rate="0.7983" timestamp="1773524784305" complexity="0" version="0.1">
3
+ <coverage lines-valid="431" lines-covered="376" line-rate="0.8723000000000001" branches-valid="245" branches-covered="195" branch-rate="0.7959" timestamp="1773753742584" complexity="0" version="0.1">
4
4
  <sources>
5
5
  <source>/home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests</source>
6
6
  </sources>
@@ -261,7 +261,7 @@
261
261
  </class>
262
262
  </classes>
263
263
  </package>
264
- <package name="dist.plugins" line-rate="0.925" branch-rate="0.8826999999999999">
264
+ <package name="dist.plugins" line-rate="0.9218999999999999" branch-rate="0.8775">
265
265
  <classes>
266
266
  <class name="ejs.js" filename="dist/plugins/ejs.js" line-rate="1" branch-rate="1">
267
267
  <methods>
@@ -312,9 +312,9 @@
312
312
  <line number="16" hits="53"/>
313
313
  </lines>
314
314
  </method>
315
- <method name="(anonymous_3)" hits="1372" signature="()V">
315
+ <method name="(anonymous_3)" hits="1425" signature="()V">
316
316
  <lines>
317
- <line number="17" hits="1372"/>
317
+ <line number="17" hits="1425"/>
318
318
  </lines>
319
319
  </method>
320
320
  <method name="(anonymous_4)" hits="18" signature="()V">
@@ -358,7 +358,7 @@
358
358
  <line number="9" hits="36" branch="false"/>
359
359
  <line number="11" hits="36" branch="false"/>
360
360
  <line number="14" hits="36" branch="false"/>
361
- <line number="17" hits="1372" branch="false"/>
361
+ <line number="17" hits="1425" branch="false"/>
362
362
  <line number="18" hits="53" branch="true" condition-coverage="100% (2/2)"/>
363
363
  <line number="19" hits="44" branch="false"/>
364
364
  <line number="20" hits="9" branch="false"/>
@@ -391,7 +391,7 @@
391
391
  <line number="62" hits="5" branch="false"/>
392
392
  </lines>
393
393
  </class>
394
- <class name="manifests.js" filename="dist/plugins/manifests.js" line-rate="0.9183" branch-rate="0.9152">
394
+ <class name="manifests.js" filename="dist/plugins/manifests.js" line-rate="0.91" branch-rate="0.9016">
395
395
  <methods>
396
396
  <method name="getManifestEntryFile" hits="59" signature="()V">
397
397
  <lines>
@@ -410,52 +410,52 @@
410
410
  </method>
411
411
  <method name="(anonymous_3)" hits="36" signature="()V">
412
412
  <lines>
413
- <line number="98" hits="36"/>
413
+ <line number="101" hits="36"/>
414
414
  </lines>
415
415
  </method>
416
416
  <method name="(anonymous_4)" hits="36" signature="()V">
417
417
  <lines>
418
- <line number="103" hits="36"/>
418
+ <line number="106" hits="36"/>
419
419
  </lines>
420
420
  </method>
421
421
  <method name="(anonymous_5)" hits="36" signature="()V">
422
422
  <lines>
423
- <line number="107" hits="36"/>
423
+ <line number="110" hits="36"/>
424
424
  </lines>
425
425
  </method>
426
426
  <method name="(anonymous_6)" hits="53" signature="()V">
427
427
  <lines>
428
- <line number="110" hits="53"/>
428
+ <line number="113" hits="53"/>
429
429
  </lines>
430
430
  </method>
431
431
  <method name="(anonymous_7)" hits="59" signature="()V">
432
432
  <lines>
433
- <line number="129" hits="59"/>
433
+ <line number="132" hits="59"/>
434
434
  </lines>
435
435
  </method>
436
436
  <method name="(anonymous_8)" hits="15" signature="()V">
437
437
  <lines>
438
- <line number="146" hits="15"/>
438
+ <line number="149" hits="15"/>
439
439
  </lines>
440
440
  </method>
441
441
  <method name="(anonymous_9)" hits="16" signature="()V">
442
442
  <lines>
443
- <line number="147" hits="16"/>
443
+ <line number="150" hits="16"/>
444
444
  </lines>
445
445
  </method>
446
446
  <method name="(anonymous_10)" hits="34" signature="()V">
447
447
  <lines>
448
- <line number="147" hits="34"/>
448
+ <line number="150" hits="34"/>
449
449
  </lines>
450
450
  </method>
451
451
  <method name="(anonymous_11)" hits="110" signature="()V">
452
452
  <lines>
453
- <line number="149" hits="110"/>
453
+ <line number="152" hits="110"/>
454
454
  </lines>
455
455
  </method>
456
456
  <method name="(anonymous_12)" hits="19" signature="()V">
457
457
  <lines>
458
- <line number="155" hits="19"/>
458
+ <line number="158" hits="19"/>
459
459
  </lines>
460
460
  </method>
461
461
  </methods>
@@ -512,52 +512,54 @@
512
512
  <line number="86" hits="0" branch="false"/>
513
513
  <line number="87" hits="6" branch="true" condition-coverage="100% (2/2)"/>
514
514
  <line number="90" hits="76" branch="false"/>
515
- <line number="91" hits="5" branch="true" condition-coverage="100% (2/2)"/>
516
- <line number="92" hits="3" branch="false"/>
517
- <line number="96" hits="19" branch="false"/>
518
- <line number="99" hits="36" branch="false"/>
519
- <line number="101" hits="36" branch="false"/>
520
- <line number="105" hits="36" branch="false"/>
515
+ <line number="92" hits="5" branch="true" condition-coverage="50% (1/2)"/>
516
+ <line number="93" hits="0" branch="false"/>
517
+ <line number="94" hits="5" branch="true" condition-coverage="100% (2/2)"/>
518
+ <line number="95" hits="3" branch="false"/>
519
+ <line number="99" hits="19" branch="false"/>
520
+ <line number="102" hits="36" branch="false"/>
521
+ <line number="104" hits="36" branch="false"/>
521
522
  <line number="108" hits="36" branch="false"/>
522
- <line number="111" hits="53" branch="false"/>
523
- <line number="112" hits="53" branch="true" condition-coverage="100% (2/2)"/>
524
- <line number="113" hits="1" branch="false"/>
525
- <line number="114" hits="1" branch="false"/>
526
- <line number="115" hits="2" branch="false"/>
527
- <line number="116" hits="2" branch="false"/>
528
- <line number="117" hits="2" branch="false"/>
529
- <line number="121" hits="53" branch="false"/>
530
- <line number="122" hits="53" branch="false"/>
523
+ <line number="111" hits="36" branch="false"/>
524
+ <line number="114" hits="53" branch="false"/>
525
+ <line number="115" hits="53" branch="true" condition-coverage="100% (2/2)"/>
526
+ <line number="116" hits="1" branch="false"/>
527
+ <line number="117" hits="1" branch="false"/>
528
+ <line number="118" hits="2" branch="false"/>
529
+ <line number="119" hits="2" branch="false"/>
530
+ <line number="120" hits="2" branch="false"/>
531
531
  <line number="124" hits="53" branch="false"/>
532
- <line number="125" hits="48" branch="false"/>
533
- <line number="126" hits="48" branch="false"/>
534
- <line number="127" hits="48" branch="true" condition-coverage="100% (2/2)"/>
532
+ <line number="125" hits="53" branch="false"/>
533
+ <line number="127" hits="53" branch="false"/>
535
534
  <line number="128" hits="48" branch="false"/>
536
- <line number="129" hits="48" branch="true" condition-coverage="100% (1/1)"/>
537
- <line number="130" hits="59" branch="false"/>
538
- <line number="131" hits="59" branch="false"/>
539
- <line number="132" hits="59" branch="true" condition-coverage="50% (1/2)"/>
535
+ <line number="129" hits="48" branch="false"/>
536
+ <line number="130" hits="48" branch="true" condition-coverage="100% (2/2)"/>
537
+ <line number="131" hits="48" branch="false"/>
538
+ <line number="132" hits="48" branch="true" condition-coverage="100% (1/1)"/>
540
539
  <line number="133" hits="59" branch="false"/>
540
+ <line number="134" hits="59" branch="false"/>
541
+ <line number="135" hits="59" branch="true" condition-coverage="50% (1/2)"/>
541
542
  <line number="136" hits="59" branch="false"/>
542
- <line number="137" hits="59" branch="true" condition-coverage="100% (2/2)"/>
543
- <line number="140" hits="53" branch="true" condition-coverage="100% (2/2)"/>
544
- <line number="141" hits="19" branch="false"/>
545
- <line number="143" hits="53" branch="false"/>
546
- <line number="147" hits="34" branch="false"/>
547
- <line number="150" hits="110" branch="true" condition-coverage="100% (2/2)"/>
548
- <line number="151" hits="7" branch="false"/>
549
- <line number="152" hits="103" branch="false"/>
550
- <line number="153" hits="103" branch="true" condition-coverage="100% (2/2)"/>
551
- <line number="156" hits="19" branch="false"/>
552
- <line number="157" hits="19" branch="false"/>
553
- <line number="158" hits="73" branch="false"/>
554
- <line number="159" hits="73" branch="true" condition-coverage="100% (4/4)"/>
555
- <line number="160" hits="64" branch="false"/>
556
- <line number="164" hits="64" branch="false"/>
557
- <line number="165" hits="64" branch="true" condition-coverage="100% (2/2)"/>
558
- <line number="166" hits="4" branch="true" condition-coverage="100% (2/2)"/>
559
- <line number="168" hits="64" branch="false"/>
560
- <line number="171" hits="19" branch="false"/>
543
+ <line number="139" hits="59" branch="false"/>
544
+ <line number="140" hits="59" branch="true" condition-coverage="100% (2/2)"/>
545
+ <line number="143" hits="53" branch="true" condition-coverage="100% (2/2)"/>
546
+ <line number="144" hits="19" branch="false"/>
547
+ <line number="146" hits="53" branch="false"/>
548
+ <line number="150" hits="34" branch="false"/>
549
+ <line number="153" hits="110" branch="true" condition-coverage="100% (2/2)"/>
550
+ <line number="154" hits="7" branch="false"/>
551
+ <line number="155" hits="103" branch="false"/>
552
+ <line number="156" hits="103" branch="true" condition-coverage="100% (2/2)"/>
553
+ <line number="159" hits="19" branch="false"/>
554
+ <line number="160" hits="19" branch="false"/>
555
+ <line number="161" hits="73" branch="false"/>
556
+ <line number="162" hits="73" branch="true" condition-coverage="100% (4/4)"/>
557
+ <line number="163" hits="64" branch="false"/>
558
+ <line number="167" hits="64" branch="false"/>
559
+ <line number="168" hits="64" branch="true" condition-coverage="100% (2/2)"/>
560
+ <line number="169" hits="4" branch="true" condition-coverage="100% (2/2)"/>
561
+ <line number="171" hits="64" branch="false"/>
562
+ <line number="174" hits="19" branch="false"/>
561
563
  </lines>
562
564
  </class>
563
565
  <class name="meta.js" filename="dist/plugins/meta.js" line-rate="1" branch-rate="1">
@@ -759,9 +761,9 @@
759
761
  <line number="71" hits="36"/>
760
762
  </lines>
761
763
  </method>
762
- <method name="(anonymous_11)" hits="848" signature="()V">
764
+ <method name="(anonymous_11)" hits="876" signature="()V">
763
765
  <lines>
764
- <line number="73" hits="848"/>
766
+ <line number="73" hits="876"/>
765
767
  </lines>
766
768
  </method>
767
769
  <method name="(anonymous_12)" hits="53" signature="()V">
@@ -846,7 +848,7 @@
846
848
  <line number="67" hits="153" branch="true" condition-coverage="100% (2/2)"/>
847
849
  <line number="69" hits="36" branch="false"/>
848
850
  <line number="72" hits="36" branch="false"/>
849
- <line number="73" hits="848" branch="false"/>
851
+ <line number="73" hits="876" branch="false"/>
850
852
  <line number="74" hits="36" branch="true" condition-coverage="100% (2/2)"/>
851
853
  <line number="77" hits="53" branch="true" condition-coverage="100% (2/2)"/>
852
854
  <line number="78" hits="1" branch="false"/>
package/output/junit.xml CHANGED
@@ -1,201 +1,201 @@
1
1
  <?xml version="1.0" encoding="UTF-8" ?>
2
- <testsuites name="vitest tests" tests="42" failures="0" errors="0" time="2.781798094">
3
- <testsuite name="test/deps/main.test.js" timestamp="2026-03-14T21:46:24.300Z" hostname="archon" tests="3" failures="0" errors="0" skipped="0" time="0.153481821">
4
- <testcase classname="test/deps/main.test.js" name="deps &gt; should deliver empty deps in dev mode via /api/deps.json" time="0.079171382">
2
+ <testsuites name="vitest tests" tests="42" failures="0" errors="0" time="2.111757302">
3
+ <testsuite name="test/deps/main.test.js" timestamp="2026-03-17T13:22:22.580Z" hostname="archon" tests="3" failures="0" errors="0" skipped="0" time="0.13967685">
4
+ <testcase classname="test/deps/main.test.js" name="deps &gt; should deliver empty deps in dev mode via /api/deps.json" time="0.084974132">
5
5
  </testcase>
6
- <testcase classname="test/deps/main.test.js" name="deps &gt; should deliver empty deps in dev mode via /dependencies" time="0.02943092">
6
+ <testcase classname="test/deps/main.test.js" name="deps &gt; should deliver empty deps in dev mode via /dependencies" time="0.031113259">
7
7
  </testcase>
8
- <testcase classname="test/deps/main.test.js" name="deps &gt; should deliver empty deps with custom base path" time="0.042191312">
8
+ <testcase classname="test/deps/main.test.js" name="deps &gt; should deliver empty deps with custom base path" time="0.022254464">
9
9
  </testcase>
10
10
  </testsuite>
11
- <testsuite name="test/ejs/main.test.js" timestamp="2026-03-14T21:46:24.301Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.080146005">
12
- <testcase classname="test/ejs/main.test.js" name="EJS template emission &gt; emits index.ejs as a bundle asset" time="0.078816966">
11
+ <testsuite name="test/ejs/main.test.js" timestamp="2026-03-17T13:22:22.580Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.061099366">
12
+ <testcase classname="test/ejs/main.test.js" name="EJS template emission &gt; emits index.ejs as a bundle asset" time="0.059635519">
13
13
  <system-out>
14
14
  [vite-plugin-ox-manifests/ejs] Added index.ejs to bundle
15
15
 
16
16
  </system-out>
17
17
  </testcase>
18
18
  </testsuite>
19
- <testsuite name="test/gettext-chunked/main.test.js" timestamp="2026-03-14T21:46:24.301Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.20811698">
20
- <testcase classname="test/gettext-chunked/main.test.js" name="Dictionary in modules with dynamic imports &gt; works" time="0.145206735">
19
+ <testsuite name="test/gettext-chunked/main.test.js" timestamp="2026-03-17T13:22:22.580Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.145947551">
20
+ <testcase classname="test/gettext-chunked/main.test.js" name="Dictionary in modules with dynamic imports &gt; works" time="0.094783277">
21
21
  <system-out>
22
22
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/gettext-chunked/index.ejs )
23
23
 
24
24
  </system-out>
25
25
  </testcase>
26
- <testcase classname="test/gettext-chunked/main.test.js" name="Dictionary in modules with dynamic imports &gt; works in dev mode" time="0.061555396">
26
+ <testcase classname="test/gettext-chunked/main.test.js" name="Dictionary in modules with dynamic imports &gt; works in dev mode" time="0.049762124">
27
27
  </testcase>
28
28
  </testsuite>
29
- <testsuite name="test/gettext-simple/main.test.js" timestamp="2026-03-14T21:46:24.301Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.188598565">
30
- <testcase classname="test/gettext-simple/main.test.js" name="Simple gettext scenario &gt; works" time="0.131177776">
29
+ <testsuite name="test/gettext-simple/main.test.js" timestamp="2026-03-17T13:22:22.580Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.135585725">
30
+ <testcase classname="test/gettext-simple/main.test.js" name="Simple gettext scenario &gt; works" time="0.08281188">
31
31
  <system-out>
32
32
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/gettext-simple/index.ejs )
33
33
 
34
34
  </system-out>
35
35
  </testcase>
36
- <testcase classname="test/gettext-simple/main.test.js" name="Simple gettext scenario &gt; works in dev mode" time="0.056165648">
36
+ <testcase classname="test/gettext-simple/main.test.js" name="Simple gettext scenario &gt; works in dev mode" time="0.051506138">
37
37
  </testcase>
38
38
  </testsuite>
39
- <testsuite name="test/hmr/main.test.js" timestamp="2026-03-14T21:46:24.301Z" hostname="archon" tests="3" failures="0" errors="0" skipped="0" time="0.212888265">
40
- <testcase classname="test/hmr/main.test.js" name="HMR &gt; adds timestamps to manifest files" time="0.143302804">
41
- </testcase>
42
- <testcase classname="test/hmr/main.test.js" name="HMR &gt; adds timestamps to settings manifest files" time="0.040518004">
43
- </testcase>
44
- <testcase classname="test/hmr/main.test.js" name="HMR &gt; includes base-path in manifests" time="0.027781046">
45
- </testcase>
46
- </testsuite>
47
- <testsuite name="test/gettext-multiple/main.test.js" timestamp="2026-03-14T21:46:24.301Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.159858294">
48
- <testcase classname="test/gettext-multiple/main.test.js" name="Multiple dictionaries gettext scenario &gt; works" time="0.085949992">
39
+ <testsuite name="test/gettext-multiple/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.142544422">
40
+ <testcase classname="test/gettext-multiple/main.test.js" name="Multiple dictionaries gettext scenario &gt; works" time="0.091655416">
49
41
  <system-out>
50
42
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/gettext-multiple/index.ejs )
51
43
 
52
44
  </system-out>
53
45
  </testcase>
54
- <testcase classname="test/gettext-multiple/main.test.js" name="Multiple dictionaries gettext scenario &gt; works in dev mode" time="0.072553734">
46
+ <testcase classname="test/gettext-multiple/main.test.js" name="Multiple dictionaries gettext scenario &gt; works in dev mode" time="0.049748447">
47
+ </testcase>
48
+ </testsuite>
49
+ <testsuite name="test/hmr/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="3" failures="0" errors="0" skipped="0" time="0.145137706">
50
+ <testcase classname="test/hmr/main.test.js" name="HMR &gt; adds timestamps to manifest files" time="0.092320198">
51
+ </testcase>
52
+ <testcase classname="test/hmr/main.test.js" name="HMR &gt; adds timestamps to settings manifest files" time="0.027197915">
53
+ </testcase>
54
+ <testcase classname="test/hmr/main.test.js" name="HMR &gt; includes base-path in manifests" time="0.024421897">
55
55
  </testcase>
56
56
  </testsuite>
57
- <testsuite name="test/html-relative-paths/main.test.js" timestamp="2026-03-14T21:46:24.302Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.138046376">
58
- <testcase classname="test/html-relative-paths/main.test.js" name="HTML relative paths &gt; transforms paths" time="0.109541989">
57
+ <testsuite name="test/html-relative-paths/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.102377901">
58
+ <testcase classname="test/html-relative-paths/main.test.js" name="HTML relative paths &gt; transforms paths" time="0.078085047">
59
59
  </testcase>
60
- <testcase classname="test/html-relative-paths/main.test.js" name="HTML relative paths &gt; warns about deprecated transformAbsolutePaths option" time="0.02719275">
60
+ <testcase classname="test/html-relative-paths/main.test.js" name="HTML relative paths &gt; warns about deprecated transformAbsolutePaths option" time="0.022932461">
61
61
  </testcase>
62
62
  </testsuite>
63
- <testsuite name="test/manifest-dependencies/main.test.js" timestamp="2026-03-14T21:46:24.302Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.192178339">
64
- <testcase classname="test/manifest-dependencies/main.test.js" name="Manifest with dependencies &gt; works" time="0.19112052">
63
+ <testsuite name="test/manifest-dependencies/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.135098137">
64
+ <testcase classname="test/manifest-dependencies/main.test.js" name="Manifest with dependencies &gt; works" time="0.133951418">
65
65
  <system-out>
66
66
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/manifest-dependencies/index.ejs )
67
67
 
68
68
  </system-out>
69
69
  </testcase>
70
70
  </testsuite>
71
- <testsuite name="test/manifest-dynamic-deps/main.test.js" timestamp="2026-03-14T21:46:24.302Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.184599242">
72
- <testcase classname="test/manifest-dynamic-deps/main.test.js" name="Manifest with dynamic dependencies &gt; works" time="0.183242752">
71
+ <testsuite name="test/manifest-dynamic-deps/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.138387031">
72
+ <testcase classname="test/manifest-dynamic-deps/main.test.js" name="Manifest with dynamic dependencies &gt; works" time="0.136797768">
73
73
  <system-out>
74
74
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/manifest-dynamic-deps/index.ejs )
75
75
 
76
76
  </system-out>
77
77
  </testcase>
78
78
  </testsuite>
79
- <testsuite name="test/manifest-multiple/main.test.js" timestamp="2026-03-14T21:46:24.302Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.165875653">
80
- <testcase classname="test/manifest-multiple/main.test.js" name="Multiple manifest scenario &gt; works" time="0.104249103">
79
+ <testsuite name="test/manifest-multiple/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.126102174">
80
+ <testcase classname="test/manifest-multiple/main.test.js" name="Multiple manifest scenario &gt; works" time="0.079953166">
81
81
  <system-out>
82
82
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/manifest-multiple/index.ejs )
83
83
 
84
84
  </system-out>
85
85
  </testcase>
86
- <testcase classname="test/manifest-multiple/main.test.js" name="Multiple manifest scenario &gt; works in dev mode" time="0.060135144">
86
+ <testcase classname="test/manifest-multiple/main.test.js" name="Multiple manifest scenario &gt; works in dev mode" time="0.044875279">
87
87
  </testcase>
88
88
  </testsuite>
89
- <testsuite name="test/manifest-simple/main.test.js" timestamp="2026-03-14T21:46:24.302Z" hostname="archon" tests="5" failures="0" errors="0" skipped="0" time="0.223609782">
90
- <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works" time="0.1043328">
89
+ <testsuite name="test/manifest-simple/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="5" failures="0" errors="0" skipped="0" time="0.172018644">
90
+ <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works" time="0.069045412">
91
91
  <system-out>
92
92
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/manifest-simple/index.ejs )
93
93
 
94
94
  </system-out>
95
95
  </testcase>
96
- <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works in dev mode" time="0.060846994">
96
+ <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works in dev mode" time="0.049028892">
97
97
  </testcase>
98
- <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works in dev mode with base set" time="0.018252113">
98
+ <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works in dev mode with base set" time="0.019614282">
99
99
  </testcase>
100
- <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works in dev mode with base set (new endpoint)" time="0.019205906">
100
+ <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; works in dev mode with base set (new endpoint)" time="0.014776971">
101
101
  </testcase>
102
- <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; does not empty files on transform" time="0.019576414">
102
+ <testcase classname="test/manifest-simple/main.test.js" name="Simple manifest scenario &gt; does not empty files on transform" time="0.018056598">
103
103
  </testcase>
104
104
  </testsuite>
105
- <testsuite name="test/meta/main.test.js" timestamp="2026-03-14T21:46:24.302Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.079481075">
106
- <testcase classname="test/meta/main.test.js" name="Meta option &gt; works" time="0.078173365">
105
+ <testsuite name="test/meta/main.test.js" timestamp="2026-03-17T13:22:22.581Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.06120764">
106
+ <testcase classname="test/meta/main.test.js" name="Meta option &gt; works" time="0.059923672">
107
107
  <system-out>
108
108
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/meta/index.ejs )
109
109
 
110
110
  </system-out>
111
111
  </testcase>
112
112
  </testsuite>
113
- <testsuite name="test/preload-helper-bundled/main.test.js" timestamp="2026-03-14T21:46:24.302Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.086483666">
114
- <testcase classname="test/preload-helper-bundled/main.test.js" name="Preload helper bundled &gt; works" time="0.085461865">
113
+ <testsuite name="test/preload-helper-bundled/main.test.js" timestamp="2026-03-17T13:22:22.582Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.076694187">
114
+ <testcase classname="test/preload-helper-bundled/main.test.js" name="Preload helper bundled &gt; works" time="0.07556467">
115
115
  <system-out>
116
116
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/preload-helper-bundled/index.ejs )
117
117
 
118
118
  </system-out>
119
119
  </testcase>
120
120
  </testsuite>
121
- <testsuite name="test/preload-helper-separate/main.test.js" timestamp="2026-03-14T21:46:24.303Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.084485628">
122
- <testcase classname="test/preload-helper-separate/main.test.js" name="Preload helper separate &gt; replaces code for relative path loading" time="0.083305699">
121
+ <testsuite name="test/preload-helper-separate/main.test.js" timestamp="2026-03-17T13:22:22.582Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.06556148">
122
+ <testcase classname="test/preload-helper-separate/main.test.js" name="Preload helper separate &gt; replaces code for relative path loading" time="0.064351531">
123
123
  <system-out>
124
124
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/preload-helper-separate/index.ejs )
125
125
 
126
126
  </system-out>
127
127
  </testcase>
128
128
  </testsuite>
129
- <testsuite name="test/settings-core/main.test.js" timestamp="2026-03-14T21:46:24.303Z" hostname="archon" tests="3" failures="0" errors="0" skipped="0" time="0.172239364">
130
- <testcase classname="test/settings-core/main.test.js" name="Settings like in core &gt; works" time="0.088134551">
129
+ <testsuite name="test/settings-core/main.test.js" timestamp="2026-03-17T13:22:22.582Z" hostname="archon" tests="3" failures="0" errors="0" skipped="0" time="0.139550282">
130
+ <testcase classname="test/settings-core/main.test.js" name="Settings like in core &gt; works" time="0.07386541">
131
131
  <system-out>
132
132
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-core/index.ejs )
133
133
 
134
134
  </system-out>
135
135
  </testcase>
136
- <testcase classname="test/settings-core/main.test.js" name="Settings like in core &gt; skips settings detection when autoloadSettings is false" time="0.029379193">
136
+ <testcase classname="test/settings-core/main.test.js" name="Settings like in core &gt; skips settings detection when autoloadSettings is false" time="0.019017428">
137
137
  <system-out>
138
138
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-core/index.ejs )
139
139
 
140
140
  </system-out>
141
141
  </testcase>
142
- <testcase classname="test/settings-core/main.test.js" name="Settings like in core &gt; works in dev mode" time="0.053437707">
142
+ <testcase classname="test/settings-core/main.test.js" name="Settings like in core &gt; works in dev mode" time="0.04526319">
143
143
  </testcase>
144
144
  </testsuite>
145
- <testsuite name="test/settings-external/main.test.js" timestamp="2026-03-14T21:46:24.303Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.173673752">
146
- <testcase classname="test/settings-external/main.test.js" name="Settings external &gt; works" time="0.123435954">
145
+ <testsuite name="test/settings-external/main.test.js" timestamp="2026-03-17T13:22:22.582Z" hostname="archon" tests="2" failures="0" errors="0" skipped="0" time="0.10157067">
146
+ <testcase classname="test/settings-external/main.test.js" name="Settings external &gt; works" time="0.056703096">
147
147
  <system-out>
148
148
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-external/index.ejs )
149
149
 
150
150
  </system-out>
151
151
  </testcase>
152
- <testcase classname="test/settings-external/main.test.js" name="Settings external &gt; works in dev mode" time="0.048828897">
152
+ <testcase classname="test/settings-external/main.test.js" name="Settings external &gt; works in dev mode" time="0.043462028">
153
153
  </testcase>
154
154
  </testsuite>
155
- <testsuite name="test/settings-ts/main.test.js" timestamp="2026-03-14T21:46:24.303Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.107226794">
156
- <testcase classname="test/settings-ts/main.test.js" name="Settings typescript &gt; works" time="0.105756429">
155
+ <testsuite name="test/settings-ts/main.test.js" timestamp="2026-03-17T13:22:22.582Z" hostname="archon" tests="1" failures="0" errors="0" skipped="0" time="0.085982602">
156
+ <testcase classname="test/settings-ts/main.test.js" name="Settings typescript &gt; works" time="0.084883712">
157
157
  <system-out>
158
158
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-ts/index.ejs )
159
159
 
160
160
  </system-out>
161
161
  </testcase>
162
162
  </testsuite>
163
- <testsuite name="test/settings-with-requirements/main.test.js" timestamp="2026-03-14T21:46:24.303Z" hostname="archon" tests="4" failures="0" errors="0" skipped="0" time="0.167109625">
164
- <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; works" time="0.07456644">
163
+ <testsuite name="test/settings-with-requirements/main.test.js" timestamp="2026-03-17T13:22:22.582Z" hostname="archon" tests="4" failures="0" errors="0" skipped="0" time="0.133637406">
164
+ <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; works" time="0.07000006">
165
165
  <system-out>
166
166
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-with-requirements/index.ejs )
167
167
 
168
168
  </system-out>
169
169
  </testcase>
170
- <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; merges requirements for manifests" time="0.023363356">
170
+ <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; merges requirements for manifests" time="0.029908039">
171
171
  <system-out>
172
172
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-with-requirements/index.ejs )
173
173
 
174
174
  </system-out>
175
175
  </testcase>
176
- <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; merges single requirement for manifests" time="0.039123531">
176
+ <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; merges single requirement for manifests" time="0.017672345">
177
177
  <system-out>
178
178
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-with-requirements/index.ejs )
179
179
 
180
180
  </system-out>
181
181
  </testcase>
182
- <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; merges multiple requirement for manifests" time="0.028408537">
182
+ <testcase classname="test/settings-with-requirements/main.test.js" name="Settings like in core, with requirements &gt; merges multiple requirement for manifests" time="0.014676933">
183
183
  <system-out>
184
184
  [vite-plugin-ox-manifests/ejs] Skipped (no index.ejs found at /home/db/Repositories/gitlab.com/openxchange/appsuite/web-foundation/tools/packages/vite-plugin-ox-manifests/test/settings-with-requirements/index.ejs )
185
185
 
186
186
  </system-out>
187
187
  </testcase>
188
188
  </testsuite>
189
- <testsuite name="test/util/deep-merge.test.js" timestamp="2026-03-14T21:46:24.303Z" hostname="archon" tests="5" failures="0" errors="0" skipped="0" time="0.003698868">
190
- <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with objects" time="0.001699447">
189
+ <testsuite name="test/util/deep-merge.test.js" timestamp="2026-03-17T13:22:22.582Z" hostname="archon" tests="5" failures="0" errors="0" skipped="0" time="0.003577528">
190
+ <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with objects" time="0.00151311">
191
191
  </testcase>
192
- <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with arrays" time="0.000207721">
192
+ <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with arrays" time="0.000189668">
193
193
  </testcase>
194
- <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with strings" time="0.000113123">
194
+ <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with strings" time="0.000110899">
195
195
  </testcase>
196
- <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with different types - arrays / object" time="0.000540156">
196
+ <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with different types - arrays / object" time="0.0006106">
197
197
  </testcase>
198
- <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with different types - object / string" time="0.000106741">
198
+ <testcase classname="test/util/deep-merge.test.js" name="Deep merge &gt; with different types - object / string" time="0.00014844">
199
199
  </testcase>
200
200
  </testsuite>
201
201
  </testsuites>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/vite-plugin-ox-manifests",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A vite plugin to concat and serve ox manifests",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",