@rnx-kit/cli 0.12.0 → 0.12.3

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +21 -21
  3. package/coverage/clover.xml +158 -131
  4. package/coverage/coverage-final.json +2 -2
  5. package/coverage/lcov-report/index.html +20 -20
  6. package/coverage/lcov-report/src/bundle/index.html +1 -1
  7. package/coverage/lcov-report/src/bundle/kit-config.ts.html +13 -13
  8. package/coverage/lcov-report/src/bundle/metro.ts.html +2 -2
  9. package/coverage/lcov-report/src/bundle/overrides.ts.html +4 -4
  10. package/coverage/lcov-report/src/copy-assets.ts.html +483 -114
  11. package/coverage/lcov-report/src/index.html +21 -21
  12. package/coverage/lcov-report/src/metro-config.ts.html +4 -4
  13. package/coverage/lcov-report/src/typescript/index.html +1 -1
  14. package/coverage/lcov-report/src/typescript/project-cache.ts.html +1 -1
  15. package/coverage/lcov.info +289 -242
  16. package/lib/bundle/metro.js +1 -1
  17. package/lib/bundle/metro.js.map +1 -1
  18. package/lib/bundle/overrides.d.ts +1 -1
  19. package/lib/bundle/overrides.d.ts.map +1 -1
  20. package/lib/bundle/overrides.js +2 -2
  21. package/lib/bundle/overrides.js.map +1 -1
  22. package/lib/bundle.d.ts +1 -0
  23. package/lib/bundle.d.ts.map +1 -1
  24. package/lib/bundle.js +8 -0
  25. package/lib/bundle.js.map +1 -1
  26. package/lib/clean.d.ts.map +1 -1
  27. package/lib/clean.js +40 -18
  28. package/lib/clean.js.map +1 -1
  29. package/lib/copy-assets.d.ts +11 -1
  30. package/lib/copy-assets.d.ts.map +1 -1
  31. package/lib/copy-assets.js +112 -32
  32. package/lib/copy-assets.js.map +1 -1
  33. package/lib/metro-config.d.ts +2 -2
  34. package/lib/metro-config.d.ts.map +1 -1
  35. package/lib/metro-config.js +3 -3
  36. package/lib/metro-config.js.map +1 -1
  37. package/lib/start.js +1 -1
  38. package/lib/start.js.map +1 -1
  39. package/lib/test.js +3 -6
  40. package/lib/test.js.map +1 -1
  41. package/package.json +1 -1
  42. package/react-native.config.js +6 -1
  43. package/src/bundle/metro.ts +1 -1
  44. package/src/bundle/overrides.ts +3 -3
  45. package/src/bundle.ts +13 -1
  46. package/src/clean.ts +6 -7
  47. package/src/copy-assets.ts +170 -47
  48. package/src/metro-config.ts +3 -3
  49. package/src/start.ts +1 -1
  50. package/src/test.ts +3 -3
  51. package/test/__mocks__/child_process.js +5 -0
  52. package/test/__mocks__/fs-extra.js +2 -0
  53. package/test/__mocks__/fs.js +19 -0
  54. package/test/bundle/kit-config.test.ts +23 -1
  55. package/test/bundle/metro.test.ts +1 -1
  56. package/test/bundle/overrides.test.ts +3 -13
  57. package/test/copy-assets/assembleAarBundle.test.ts +306 -0
  58. package/test/{copy-assets.test.ts → copy-assets/copyAssets.test.ts} +13 -13
  59. package/test/copy-assets/helpers.ts +13 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Change Log - @rnx-kit/cli
2
2
 
3
+ ## 0.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 9921b7a: test: don't require `package.json` directly as it may not be exported
8
+ - 9921b7a: copy-assets: Allow assembling arbitrary modules
9
+
10
+ ## 0.12.2
11
+
12
+ ### Patch Changes
13
+
14
+ - e352f4c: Transition tree shaking from experimental to production. Deprecate experimental config/cmdline props, while still supporting them for this major version. They will be removed on the next major version bump. Update documentation and tests.
15
+ - 32eab87: Avoid `fs/promises` to be compatible with Node 12
16
+
17
+ ## 0.12.1
18
+
19
+ ### Patch Changes
20
+
21
+ - d3e2877: Fix `copy-assets` failing to resolve dependencies
22
+
3
23
  ## 0.12.0
4
24
 
5
25
  ### Minor Changes
package/README.md CHANGED
@@ -37,7 +37,7 @@ yarn react-native rnx-bundle --platform ios --dev false --minify true
37
37
  ```
38
38
 
39
39
  ```bash
40
- yarn react-native rnx-bundle --bundle-prefix test-app --experimental-tree-shake true
40
+ yarn react-native rnx-bundle --bundle-prefix test-app --tree-shake true
41
41
  ```
42
42
 
43
43
  ### Example Configuration
@@ -55,7 +55,7 @@ yarn react-native rnx-bundle --bundle-prefix test-app --experimental-tree-shake
55
55
  "ignoredModules": ["react-is"]
56
56
  },
57
57
  "typescriptValidation": true,
58
- "experimental_treeShake": true,
58
+ "treeShake": true,
59
59
  "targets": ["ios", "android", "windows", "macos"],
60
60
  "platforms": {
61
61
  "android": {
@@ -72,24 +72,24 @@ yarn react-native rnx-bundle --bundle-prefix test-app --experimental-tree-shake
72
72
 
73
73
  ### Command-Line Overrides
74
74
 
75
- | Override | Description |
76
- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
77
- | --id [id] | Target bundle definition. This is only needed when the kit configuration has multiple bundle definitions. |
78
- | --platform [`ios` | `android` | `windows` | `win32` | `macos`] | Target platform. When not given, all platforms in the kit configuration are bundled. |
79
- | --entry-path [file] | Path to the root JavaScript file, either absolute or relative to the kit package. |
80
- | --dist-path [path] | Path where the bundle is written, either absolute or relative to the kit package. |
81
- | --assets-path [path] | Path where bundle assets like images are written, either absolute or relative to the kit package. |
82
- | --bundle-prefix [prefix] | Bundle file prefix. This is followed by the platform and bundle file extension. |
83
- | --bundle-encoding [`utf8` | `utf16le` | `ascii`] | [Character encoding](https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings) to use when writing the bundle file. |
84
- | --dev [boolean] | If false, warnings are disabled and the bundle is minified (default: true). |
85
- | --minify [boolean] | Controls whether or not the bundle is minified. Disabling minification is useful for test builds. |
86
- | --experimental-tree-shake [boolean] | Controls whether or not the bundle is tree shaken. Enabling it turns on dead-code elimination, potentially making the bundle smaller. This feature is experimental. |
87
- | --max-workers [number] | Specifies the maximum number of parallel worker threads to use for transforming files. This defaults to the number of cores available on your machine. |
88
- | --sourcemap-output [string] | Path where the bundle source map is written, either absolute or relative to the dist-path. |
89
- | --sourcemap-sources-root [string] | Path to use when relativizing file entries in the bundle source map. |
90
- | --reset-cache | Reset the Metro cache. |
91
- | --config [string] | Path to the Metro configuration file. |
92
- | -h, --help | Show usage information. |
75
+ | Override | Description |
76
+ | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
77
+ | --id [id] | Target bundle definition. This is only needed when the kit configuration has multiple bundle definitions. |
78
+ | --platform [`ios` | `android` | `windows` | `win32` | `macos`] | Target platform. When not given, all platforms in the kit configuration are bundled. |
79
+ | --entry-path [file] | Path to the root JavaScript file, either absolute or relative to the kit package. |
80
+ | --dist-path [path] | Path where the bundle is written, either absolute or relative to the kit package. |
81
+ | --assets-path [path] | Path where bundle assets like images are written, either absolute or relative to the kit package. |
82
+ | --bundle-prefix [prefix] | Bundle file prefix. This is followed by the platform and bundle file extension. |
83
+ | --bundle-encoding [`utf8` | `utf16le` | `ascii`] | [Character encoding](https://nodejs.org/api/buffer.html#buffer_buffers_and_character_encodings) to use when writing the bundle file. |
84
+ | --dev [boolean] | If false, warnings are disabled and the bundle is minified (default: true). |
85
+ | --minify [boolean] | Controls whether or not the bundle is minified. Disabling minification is useful for test builds. |
86
+ | --tree-shake [boolean] | Controls whether or not the bundle is tree shaken. Enabling it turns on dead-code elimination, potentially making the bundle smaller. |
87
+ | --max-workers [number] | Specifies the maximum number of parallel worker threads to use for transforming files. This defaults to the number of cores available on your machine. |
88
+ | --sourcemap-output [string] | Path where the bundle source map is written, either absolute or relative to the dist-path. |
89
+ | --sourcemap-sources-root [string] | Path to use when relativizing file entries in the bundle source map. |
90
+ | --reset-cache | Reset the Metro cache. |
91
+ | --config [string] | Path to the Metro configuration file. |
92
+ | -h, --help | Show usage information. |
93
93
 
94
94
  ## Start a Bundle Server
95
95
 
@@ -121,7 +121,7 @@ yarn react-native rnx-start --host localhost --port 8812
121
121
  "throwOnError": false
122
122
  },
123
123
  "typescriptValidation": true,
124
- "experimental_treeShake": true
124
+ "treeShake": true
125
125
  }
126
126
  }
127
127
  }
@@ -1,132 +1,159 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1651649063627" clover="3.2.0">
3
- <project timestamp="1651649063627" name="All files">
4
- <metrics statements="259" coveredstatements="85" conditionals="153" coveredconditionals="48" methods="43" coveredmethods="16" elements="455" coveredelements="149" complexity="0" loc="259" ncloc="259" packages="3" files="6" classes="6"/>
2
+ <coverage generated="1652168757831" clover="3.2.0">
3
+ <project timestamp="1652168757831" name="All files">
4
+ <metrics statements="286" coveredstatements="143" conditionals="171" coveredconditionals="85" methods="44" coveredmethods="22" elements="501" coveredelements="250" complexity="0" loc="286" ncloc="286" packages="3" files="6" classes="6"/>
5
5
  <package name="src">
6
- <metrics statements="174" coveredstatements="49" conditionals="105" coveredconditionals="22" methods="26" coveredmethods="9"/>
6
+ <metrics statements="201" coveredstatements="107" conditionals="123" coveredconditionals="59" methods="27" coveredmethods="15"/>
7
7
  <file name="copy-assets.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/copy-assets.ts">
8
- <metrics statements="121" coveredstatements="22" conditionals="77" coveredconditionals="8" methods="16" coveredmethods="7"/>
9
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
10
- <line num="49" count="0" type="stmt"/>
11
- <line num="50" count="0" type="stmt"/>
12
- <line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
13
- <line num="56" count="0" type="stmt"/>
14
- <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
15
- <line num="59" count="0" type="stmt"/>
16
- <line num="61" count="0" type="stmt"/>
17
- <line num="65" count="0" type="cond" truecount="0" falsecount="3"/>
18
- <line num="69" count="2" type="cond" truecount="1" falsecount="1"/>
19
- <line num="73" count="0" type="stmt"/>
20
- <line num="74" count="0" type="stmt"/>
21
- <line num="82" count="0" type="stmt"/>
22
- <line num="86" count="0" type="cond" truecount="0" falsecount="3"/>
23
- <line num="88" count="0" type="stmt"/>
24
- <line num="99" count="0" type="stmt"/>
25
- <line num="110" count="0" type="stmt"/>
26
- <line num="111" count="0" type="stmt"/>
27
- <line num="139" count="0" type="cond" truecount="0" falsecount="2"/>
28
- <line num="140" count="0" type="stmt"/>
29
- <line num="143" count="0" type="stmt"/>
30
- <line num="144" count="0" type="stmt"/>
31
- <line num="147" count="0" type="cond" truecount="0" falsecount="2"/>
32
- <line num="148" count="0" type="stmt"/>
33
- <line num="149" count="0" type="stmt"/>
34
- <line num="152" count="0" type="stmt"/>
35
- <line num="153" count="0" type="cond" truecount="0" falsecount="4"/>
36
- <line num="154" count="0" type="stmt"/>
37
- <line num="155" count="0" type="stmt"/>
38
- <line num="158" count="0" type="stmt"/>
39
- <line num="159" count="0" type="stmt"/>
40
- <line num="160" count="0" type="stmt"/>
41
- <line num="161" count="0" type="cond" truecount="0" falsecount="2"/>
42
- <line num="162" count="0" type="stmt"/>
43
- <line num="163" count="0" type="stmt"/>
44
- <line num="168" count="0" type="cond" truecount="0" falsecount="2"/>
45
- <line num="169" count="0" type="cond" truecount="0" falsecount="2"/>
46
- <line num="170" count="0" type="stmt"/>
47
- <line num="171" count="0" type="stmt"/>
48
- <line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
49
- <line num="173" count="0" type="stmt"/>
50
- <line num="180" count="0" type="stmt"/>
51
- <line num="192" count="0" type="stmt"/>
52
- <line num="193" count="0" type="stmt"/>
53
- <line num="195" count="0" type="cond" truecount="0" falsecount="2"/>
54
- <line num="196" count="0" type="stmt"/>
55
- <line num="197" count="0" type="stmt"/>
56
- <line num="199" count="0" type="stmt"/>
57
- <line num="204" count="10" type="cond" truecount="2" falsecount="0"/>
58
- <line num="205" count="8" type="stmt"/>
59
- <line num="208" count="2" type="stmt"/>
60
- <line num="209" count="2" type="stmt"/>
61
- <line num="211" count="2" type="stmt"/>
62
- <line num="212" count="2" type="stmt"/>
63
- <line num="221" count="4" type="cond" truecount="2" falsecount="0"/>
64
- <line num="222" count="3" type="stmt"/>
65
- <line num="225" count="1" type="stmt"/>
66
- <line num="226" count="1" type="stmt"/>
67
- <line num="228" count="1" type="stmt"/>
68
- <line num="229" count="1" type="stmt"/>
69
- <line num="239" count="5" type="stmt"/>
70
- <line num="244" count="5" type="cond" truecount="2" falsecount="0"/>
71
- <line num="245" count="4" type="stmt"/>
72
- <line num="248" count="5" type="stmt"/>
73
- <line num="255" count="1" type="stmt"/>
74
- <line num="256" count="1" type="stmt"/>
75
- <line num="257" count="1" type="cond" truecount="1" falsecount="1"/>
76
- <line num="258" count="1" type="stmt"/>
77
- <line num="261" count="0" type="stmt"/>
78
- <line num="262" count="0" type="stmt"/>
79
- <line num="264" count="0" type="stmt"/>
80
- <line num="265" count="0" type="stmt"/>
81
- <line num="266" count="0" type="stmt"/>
82
- <line num="269" count="0" type="stmt"/>
83
- <line num="270" count="0" type="cond" truecount="0" falsecount="2"/>
84
- <line num="271" count="0" type="stmt"/>
85
- <line num="272" count="0" type="cond" truecount="0" falsecount="2"/>
86
- <line num="273" count="0" type="stmt"/>
87
- <line num="277" count="0" type="stmt"/>
88
- <line num="282" count="0" type="stmt"/>
89
- <line num="283" count="0" type="cond" truecount="0" falsecount="2"/>
90
- <line num="284" count="0" type="stmt"/>
91
- <line num="285" count="0" type="stmt"/>
92
- <line num="286" count="0" type="stmt"/>
93
- <line num="287" count="0" type="cond" truecount="0" falsecount="4"/>
94
- <line num="288" count="0" type="stmt"/>
95
- <line num="293" count="0" type="stmt"/>
96
- <line num="350" count="0" type="cond" truecount="0" falsecount="2"/>
97
- <line num="351" count="0" type="stmt"/>
98
- <line num="354" count="0" type="stmt"/>
99
- <line num="355" count="0" type="stmt"/>
100
- <line num="356" count="0" type="stmt"/>
101
- <line num="357" count="0" type="cond" truecount="0" falsecount="2"/>
102
- <line num="358" count="0" type="stmt"/>
103
- <line num="361" count="0" type="stmt"/>
104
- <line num="362" count="0" type="stmt"/>
105
- <line num="363" count="0" type="cond" truecount="0" falsecount="2"/>
106
- <line num="364" count="0" type="stmt"/>
107
- <line num="367" count="0" type="stmt"/>
108
- <line num="368" count="0" type="cond" truecount="0" falsecount="2"/>
109
- <line num="369" count="0" type="stmt"/>
110
- <line num="370" count="0" type="stmt"/>
111
- <line num="373" count="0" type="stmt"/>
112
- <line num="374" count="0" type="cond" truecount="0" falsecount="4"/>
113
- <line num="375" count="0" type="stmt"/>
114
- <line num="376" count="0" type="stmt"/>
115
- <line num="378" count="0" type="stmt"/>
116
- <line num="379" count="0" type="stmt"/>
117
- <line num="383" count="0" type="cond" truecount="0" falsecount="2"/>
8
+ <metrics statements="148" coveredstatements="80" conditionals="95" coveredconditionals="45" methods="17" coveredmethods="13"/>
9
+ <line num="59" count="2" type="stmt"/>
10
+ <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
11
+ <line num="70" count="0" type="stmt"/>
12
+ <line num="71" count="0" type="stmt"/>
13
+ <line num="76" count="4" type="cond" truecount="2" falsecount="0"/>
14
+ <line num="77" count="3" type="stmt"/>
15
+ <line num="79" count="1" type="cond" truecount="1" falsecount="1"/>
16
+ <line num="80" count="0" type="stmt"/>
17
+ <line num="82" count="1" type="stmt"/>
18
+ <line num="86" count="4" type="stmt"/>
19
+ <line num="92" count="0" type="cond" truecount="0" falsecount="3"/>
20
+ <line num="96" count="2" type="cond" truecount="1" falsecount="1"/>
21
+ <line num="100" count="9" type="stmt"/>
22
+ <line num="101" count="9" type="cond" truecount="2" falsecount="0"/>
23
+ <line num="102" count="1" type="stmt"/>
24
+ <line num="105" count="8" type="stmt"/>
25
+ <line num="106" count="8" type="stmt"/>
26
+ <line num="114" count="5" type="stmt"/>
27
+ <line num="115" count="5" type="cond" truecount="2" falsecount="0"/>
28
+ <line num="116" count="1" type="stmt"/>
29
+ <line num="119" count="4" type="cond" truecount="2" falsecount="0"/>
30
+ <line num="120" count="4" type="cond" truecount="2" falsecount="0"/>
31
+ <line num="122" count="4" type="cond" truecount="1" falsecount="2"/>
32
+ <line num="124" count="0" type="stmt"/>
33
+ <line num="137" count="0" type="stmt"/>
34
+ <line num="150" count="4" type="stmt"/>
35
+ <line num="151" count="4" type="stmt"/>
36
+ <line num="181" count="7" type="cond" truecount="2" falsecount="0"/>
37
+ <line num="182" count="1" type="stmt"/>
38
+ <line num="185" count="6" type="stmt"/>
39
+ <line num="186" count="6" type="stmt"/>
40
+ <line num="189" count="6" type="cond" truecount="2" falsecount="0"/>
41
+ <line num="190" count="1" type="stmt"/>
42
+ <line num="191" count="1" type="stmt"/>
43
+ <line num="194" count="5" type="stmt"/>
44
+ <line num="199" count="4" type="cond" truecount="4" falsecount="0"/>
45
+ <line num="200" count="1" type="stmt"/>
46
+ <line num="201" count="1" type="stmt"/>
47
+ <line num="204" count="3" type="stmt"/>
48
+ <line num="205" count="3" type="stmt"/>
49
+ <line num="212" count="3" type="stmt"/>
50
+ <line num="213" count="3" type="stmt"/>
51
+ <line num="215" count="3" type="stmt"/>
52
+ <line num="217" count="3" type="stmt"/>
53
+ <line num="218" count="3" type="stmt"/>
54
+ <line num="220" count="3" type="stmt"/>
55
+ <line num="221" count="3" type="cond" truecount="2" falsecount="0"/>
56
+ <line num="222" count="1" type="cond" truecount="1" falsecount="1"/>
57
+ <line num="223" count="0" type="stmt"/>
58
+ <line num="224" count="0" type="stmt"/>
59
+ <line num="229" count="0" type="cond" truecount="0" falsecount="2"/>
60
+ <line num="230" count="0" type="cond" truecount="0" falsecount="2"/>
61
+ <line num="231" count="0" type="stmt"/>
62
+ <line num="232" count="0" type="stmt"/>
63
+ <line num="233" count="0" type="cond" truecount="0" falsecount="2"/>
64
+ <line num="234" count="0" type="stmt"/>
65
+ <line num="241" count="1" type="stmt"/>
66
+ <line num="243" count="2" type="stmt"/>
67
+ <line num="244" count="2" type="cond" truecount="1" falsecount="1"/>
68
+ <line num="245" count="0" type="stmt"/>
69
+ <line num="248" count="2" type="stmt"/>
70
+ <line num="256" count="2" type="cond" truecount="2" falsecount="0"/>
71
+ <line num="258" count="2" type="cond" truecount="2" falsecount="0"/>
72
+ <line num="261" count="2" type="cond" truecount="2" falsecount="0"/>
73
+ <line num="264" count="2" type="cond" truecount="2" falsecount="0"/>
74
+ <line num="266" count="2" type="stmt"/>
75
+ <line num="271" count="2" type="stmt"/>
76
+ <line num="303" count="2" type="stmt"/>
77
+ <line num="305" count="2" type="stmt"/>
78
+ <line num="311" count="2" type="stmt"/>
79
+ <line num="312" count="2" type="stmt"/>
80
+ <line num="313" count="2" type="stmt"/>
81
+ <line num="317" count="2" type="stmt"/>
82
+ <line num="320" count="2" type="stmt"/>
83
+ <line num="323" count="3" type="stmt"/>
84
+ <line num="327" count="10" type="cond" truecount="2" falsecount="0"/>
85
+ <line num="328" count="8" type="stmt"/>
86
+ <line num="331" count="2" type="stmt"/>
87
+ <line num="332" count="2" type="stmt"/>
88
+ <line num="334" count="2" type="stmt"/>
89
+ <line num="335" count="2" type="stmt"/>
90
+ <line num="344" count="4" type="cond" truecount="2" falsecount="0"/>
91
+ <line num="345" count="3" type="stmt"/>
92
+ <line num="348" count="1" type="stmt"/>
93
+ <line num="349" count="1" type="stmt"/>
94
+ <line num="351" count="1" type="stmt"/>
95
+ <line num="352" count="1" type="stmt"/>
96
+ <line num="362" count="5" type="stmt"/>
97
+ <line num="367" count="5" type="cond" truecount="2" falsecount="0"/>
98
+ <line num="368" count="4" type="stmt"/>
99
+ <line num="371" count="5" type="stmt"/>
100
+ <line num="378" count="1" type="stmt"/>
101
+ <line num="379" count="1" type="stmt"/>
102
+ <line num="380" count="1" type="cond" truecount="1" falsecount="1"/>
103
+ <line num="381" count="1" type="stmt"/>
118
104
  <line num="384" count="0" type="stmt"/>
119
105
  <line num="385" count="0" type="stmt"/>
120
- <line num="386" count="0" type="stmt"/>
121
106
  <line num="387" count="0" type="stmt"/>
122
- <line num="392" count="0" type="cond" truecount="0" falsecount="2"/>
107
+ <line num="388" count="0" type="stmt"/>
108
+ <line num="389" count="0" type="stmt"/>
109
+ <line num="392" count="0" type="stmt"/>
110
+ <line num="393" count="0" type="cond" truecount="0" falsecount="2"/>
111
+ <line num="394" count="0" type="stmt"/>
112
+ <line num="395" count="0" type="cond" truecount="0" falsecount="2"/>
123
113
  <line num="396" count="0" type="stmt"/>
124
- <line num="397" count="0" type="stmt"/>
125
114
  <line num="400" count="0" type="stmt"/>
126
- <line num="404" count="1" type="stmt"/>
115
+ <line num="405" count="0" type="stmt"/>
116
+ <line num="406" count="0" type="cond" truecount="0" falsecount="2"/>
117
+ <line num="407" count="0" type="stmt"/>
118
+ <line num="408" count="0" type="stmt"/>
127
119
  <line num="409" count="0" type="stmt"/>
128
- <line num="410" count="0" type="stmt"/>
120
+ <line num="410" count="0" type="cond" truecount="0" falsecount="4"/>
129
121
  <line num="411" count="0" type="stmt"/>
122
+ <line num="416" count="0" type="stmt"/>
123
+ <line num="473" count="0" type="cond" truecount="0" falsecount="2"/>
124
+ <line num="474" count="0" type="stmt"/>
125
+ <line num="477" count="0" type="stmt"/>
126
+ <line num="478" count="0" type="stmt"/>
127
+ <line num="479" count="0" type="stmt"/>
128
+ <line num="480" count="0" type="cond" truecount="0" falsecount="2"/>
129
+ <line num="481" count="0" type="stmt"/>
130
+ <line num="484" count="0" type="stmt"/>
131
+ <line num="485" count="0" type="stmt"/>
132
+ <line num="486" count="0" type="cond" truecount="0" falsecount="2"/>
133
+ <line num="487" count="0" type="stmt"/>
134
+ <line num="490" count="0" type="stmt"/>
135
+ <line num="491" count="0" type="cond" truecount="0" falsecount="2"/>
136
+ <line num="492" count="0" type="stmt"/>
137
+ <line num="493" count="0" type="stmt"/>
138
+ <line num="496" count="0" type="stmt"/>
139
+ <line num="497" count="0" type="cond" truecount="0" falsecount="4"/>
140
+ <line num="498" count="0" type="stmt"/>
141
+ <line num="499" count="0" type="stmt"/>
142
+ <line num="501" count="0" type="stmt"/>
143
+ <line num="502" count="0" type="stmt"/>
144
+ <line num="506" count="0" type="cond" truecount="0" falsecount="2"/>
145
+ <line num="507" count="0" type="stmt"/>
146
+ <line num="508" count="0" type="stmt"/>
147
+ <line num="509" count="0" type="stmt"/>
148
+ <line num="510" count="0" type="stmt"/>
149
+ <line num="515" count="0" type="cond" truecount="0" falsecount="2"/>
150
+ <line num="519" count="0" type="stmt"/>
151
+ <line num="520" count="0" type="stmt"/>
152
+ <line num="523" count="0" type="stmt"/>
153
+ <line num="527" count="2" type="stmt"/>
154
+ <line num="532" count="0" type="stmt"/>
155
+ <line num="533" count="0" type="stmt"/>
156
+ <line num="534" count="0" type="stmt"/>
130
157
  </file>
131
158
  <file name="metro-config.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/metro-config.ts">
132
159
  <metrics statements="53" coveredstatements="27" conditionals="28" coveredconditionals="14" methods="10" coveredmethods="2"/>
@@ -189,27 +216,27 @@
189
216
  <metrics statements="41" coveredstatements="32" conditionals="34" coveredconditionals="26" methods="7" coveredmethods="6"/>
190
217
  <file name="kit-config.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundle/kit-config.ts">
191
218
  <metrics statements="21" coveredstatements="20" conditionals="16" coveredconditionals="15" methods="4" coveredmethods="4"/>
192
- <line num="21" count="7" type="stmt"/>
193
- <line num="22" count="7" type="cond" truecount="2" falsecount="0"/>
219
+ <line num="21" count="8" type="stmt"/>
220
+ <line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
194
221
  <line num="23" count="1" type="stmt"/>
195
- <line num="28" count="6" type="cond" truecount="4" falsecount="0"/>
222
+ <line num="28" count="7" type="cond" truecount="4" falsecount="0"/>
196
223
  <line num="29" count="1" type="stmt"/>
197
224
  <line num="34" count="1" type="stmt"/>
198
- <line num="35" count="5" type="cond" truecount="2" falsecount="0"/>
225
+ <line num="35" count="6" type="cond" truecount="2" falsecount="0"/>
199
226
  <line num="36" count="1" type="stmt"/>
200
227
  <line num="41" count="1" type="stmt"/>
201
- <line num="45" count="4" type="stmt"/>
202
- <line num="59" count="6" type="cond" truecount="2" falsecount="0"/>
203
- <line num="60" count="2" type="stmt"/>
228
+ <line num="45" count="5" type="stmt"/>
229
+ <line num="59" count="7" type="cond" truecount="2" falsecount="0"/>
230
+ <line num="60" count="3" type="stmt"/>
204
231
  <line num="62" count="4" type="cond" truecount="4" falsecount="0"/>
205
232
  <line num="63" count="3" type="stmt"/>
206
233
  <line num="65" count="1" type="stmt"/>
207
- <line num="83" count="3" type="stmt"/>
208
- <line num="84" count="3" type="cond" truecount="1" falsecount="1"/>
234
+ <line num="83" count="4" type="stmt"/>
235
+ <line num="84" count="4" type="cond" truecount="1" falsecount="1"/>
209
236
  <line num="85" count="0" type="stmt"/>
210
- <line num="88" count="3" type="stmt"/>
211
- <line num="93" count="3" type="stmt"/>
212
- <line num="94" count="5" type="stmt"/>
237
+ <line num="88" count="4" type="stmt"/>
238
+ <line num="93" count="4" type="stmt"/>
239
+ <line num="94" count="6" type="stmt"/>
213
240
  </file>
214
241
  <file name="metro.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundle/metro.ts">
215
242
  <metrics statements="16" coveredstatements="8" conditionals="16" coveredconditionals="9" methods="2" coveredmethods="1"/>