@rnx-kit/cli 0.12.5 → 0.14.0
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.
- package/CHANGELOG.md +116 -0
- package/README.md +90 -65
- package/coverage/clover.xml +216 -225
- package/coverage/coverage-final.json +7 -6
- package/coverage/lcov-report/index.html +29 -29
- package/coverage/lcov-report/src/bundle/index.html +29 -29
- package/coverage/lcov-report/src/bundle/kit-config.ts.html +63 -117
- package/coverage/lcov-report/src/bundle/metro.ts.html +40 -163
- package/coverage/lcov-report/src/bundle/overrides.ts.html +28 -58
- package/coverage/lcov-report/src/bundler-plugin-defaults.ts.html +115 -0
- package/coverage/lcov-report/src/copy-assets.ts.html +36 -12
- package/coverage/lcov-report/src/index.html +35 -20
- package/coverage/lcov-report/src/metro-config.ts.html +49 -31
- package/coverage/lcov-report/src/typescript/index.html +1 -1
- package/coverage/lcov-report/src/typescript/project-cache.ts.html +5 -5
- package/coverage/lcov.info +408 -419
- package/lib/bundle/kit-config.d.ts +9 -15
- package/lib/bundle/kit-config.d.ts.map +1 -1
- package/lib/bundle/kit-config.js +29 -43
- package/lib/bundle/kit-config.js.map +1 -1
- package/lib/bundle/metro.d.ts +7 -11
- package/lib/bundle/metro.d.ts.map +1 -1
- package/lib/bundle/metro.js +10 -40
- package/lib/bundle/metro.js.map +1 -1
- package/lib/bundle/overrides.d.ts +11 -9
- package/lib/bundle/overrides.d.ts.map +1 -1
- package/lib/bundle/overrides.js +10 -18
- package/lib/bundle/overrides.js.map +1 -1
- package/lib/bundle/types.d.ts +4 -17
- package/lib/bundle/types.d.ts.map +1 -1
- package/lib/bundle.d.ts +8 -7
- package/lib/bundle.d.ts.map +1 -1
- package/lib/bundle.js +3 -19
- package/lib/bundle.js.map +1 -1
- package/lib/bundler-plugin-defaults.d.ts +3 -0
- package/lib/bundler-plugin-defaults.d.ts.map +1 -0
- package/lib/bundler-plugin-defaults.js +13 -0
- package/lib/bundler-plugin-defaults.js.map +1 -0
- package/lib/copy-assets.d.ts.map +1 -1
- package/lib/copy-assets.js +8 -2
- package/lib/copy-assets.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/lib/metro-config.d.ts +3 -2
- package/lib/metro-config.d.ts.map +1 -1
- package/lib/metro-config.js +7 -5
- package/lib/metro-config.js.map +1 -1
- package/lib/parsers.d.ts +2 -0
- package/lib/parsers.d.ts.map +1 -1
- package/lib/parsers.js +16 -1
- package/lib/parsers.js.map +1 -1
- package/lib/serve/kit-config.d.ts +6 -5
- package/lib/serve/kit-config.d.ts.map +1 -1
- package/lib/serve/kit-config.js +16 -6
- package/lib/serve/kit-config.js.map +1 -1
- package/lib/start.d.ts +2 -2
- package/lib/start.d.ts.map +1 -1
- package/lib/start.js +3 -9
- package/lib/start.js.map +1 -1
- package/package.json +9 -7
- package/react-native.config.js +66 -59
- package/src/bundle/kit-config.ts +42 -60
- package/src/bundle/metro.ts +15 -56
- package/src/bundle/overrides.ts +24 -34
- package/src/bundle/types.ts +17 -23
- package/src/bundle.ts +18 -36
- package/src/bundler-plugin-defaults.ts +10 -0
- package/src/copy-assets.ts +10 -2
- package/src/index.ts +1 -1
- package/src/metro-config.ts +12 -6
- package/src/parsers.ts +19 -0
- package/src/serve/kit-config.ts +23 -11
- package/src/start.ts +7 -13
- package/test/__mocks__/child_process.js +1 -1
- package/test/bundle/__mocks__/@rnx-kit/config.js +2 -3
- package/test/bundle/__mocks__/@rnx-kit/console.js +1 -0
- package/test/bundle/__mocks__/@rnx-kit/metro-service.js +1 -0
- package/test/bundle/kit-config.test.ts +102 -100
- package/test/bundle/metro.test.ts +58 -98
- package/test/bundle/overrides.test.ts +29 -25
- package/test/copy-assets/assembleAarBundle.test.ts +7 -6
- package/lib/types.d.ts +0 -5
- package/lib/types.d.ts.map +0 -1
- package/lib/types.js +0 -3
- package/lib/types.js.map +0 -1
- package/src/types.ts +0 -4
package/coverage/clover.xml
CHANGED
|
@@ -1,281 +1,272 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1655747247381" clover="3.2.0">
|
|
3
|
+
<project timestamp="1655747247381" name="All files">
|
|
4
|
+
<metrics statements="283" coveredstatements="139" conditionals="169" coveredconditionals="81" methods="45" coveredmethods="24" elements="497" coveredelements="244" complexity="0" loc="283" ncloc="283" packages="3" files="7" classes="7"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="209" coveredstatements="110" conditionals="131" coveredconditionals="61" methods="29" coveredmethods="17"/>
|
|
7
|
+
<file name="bundler-plugin-defaults.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundler-plugin-defaults.ts">
|
|
8
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
9
|
+
<line num="4" count="10" type="stmt"/>
|
|
10
|
+
</file>
|
|
7
11
|
<file name="copy-assets.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/copy-assets.ts">
|
|
8
|
-
<metrics statements="
|
|
9
|
-
<line num="
|
|
10
|
-
<line num="
|
|
11
|
-
<line num="70" count="0" type="stmt"/>
|
|
12
|
+
<metrics statements="151" coveredstatements="82" conditionals="99" coveredconditionals="46" methods="18" coveredmethods="14"/>
|
|
13
|
+
<line num="60" count="2" type="stmt"/>
|
|
14
|
+
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
12
15
|
<line num="71" count="0" type="stmt"/>
|
|
13
|
-
<line num="
|
|
14
|
-
<line num="77" count="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="80" count="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="
|
|
22
|
-
<line num="101" count="9" type="
|
|
23
|
-
<line num="102" count="
|
|
24
|
-
<line num="
|
|
16
|
+
<line num="72" count="0" type="stmt"/>
|
|
17
|
+
<line num="77" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
18
|
+
<line num="78" count="3" type="stmt"/>
|
|
19
|
+
<line num="80" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
20
|
+
<line num="81" count="0" type="stmt"/>
|
|
21
|
+
<line num="83" count="1" type="stmt"/>
|
|
22
|
+
<line num="87" count="4" type="stmt"/>
|
|
23
|
+
<line num="93" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
24
|
+
<line num="97" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
25
|
+
<line num="101" count="9" type="stmt"/>
|
|
26
|
+
<line num="102" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
27
|
+
<line num="103" count="1" type="stmt"/>
|
|
25
28
|
<line num="106" count="8" type="stmt"/>
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="115" count="5" type="
|
|
28
|
-
<line num="116" count="
|
|
29
|
-
<line num="
|
|
29
|
+
<line num="107" count="8" type="stmt"/>
|
|
30
|
+
<line num="115" count="5" type="stmt"/>
|
|
31
|
+
<line num="116" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
32
|
+
<line num="117" count="1" type="stmt"/>
|
|
30
33
|
<line num="120" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
34
|
-
<line num="
|
|
34
|
+
<line num="121" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
35
|
+
<line num="123" count="4" type="cond" truecount="1" falsecount="2"/>
|
|
36
|
+
<line num="125" count="0" type="stmt"/>
|
|
37
|
+
<line num="138" count="0" type="stmt"/>
|
|
35
38
|
<line num="151" count="4" type="stmt"/>
|
|
36
|
-
<line num="
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="
|
|
40
|
-
<line num="189" count="
|
|
39
|
+
<line num="152" count="4" type="stmt"/>
|
|
40
|
+
<line num="178" count="3" type="stmt"/>
|
|
41
|
+
<line num="179" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
42
|
+
<line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
43
|
+
<line num="189" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
41
44
|
<line num="190" count="1" type="stmt"/>
|
|
42
|
-
<line num="
|
|
43
|
-
<line num="194" count="
|
|
44
|
-
<line num="
|
|
45
|
-
<line num="
|
|
46
|
-
<line num="
|
|
47
|
-
<line num="
|
|
48
|
-
<line num="
|
|
45
|
+
<line num="193" count="6" type="stmt"/>
|
|
46
|
+
<line num="194" count="6" type="stmt"/>
|
|
47
|
+
<line num="197" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
48
|
+
<line num="198" count="1" type="stmt"/>
|
|
49
|
+
<line num="199" count="1" type="stmt"/>
|
|
50
|
+
<line num="202" count="5" type="stmt"/>
|
|
51
|
+
<line num="207" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
52
|
+
<line num="208" count="1" type="stmt"/>
|
|
53
|
+
<line num="209" count="1" type="stmt"/>
|
|
49
54
|
<line num="212" count="3" type="stmt"/>
|
|
50
55
|
<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
56
|
<line num="220" count="3" type="stmt"/>
|
|
55
|
-
<line num="221" count="3" type="
|
|
56
|
-
<line num="
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="
|
|
57
|
+
<line num="221" count="3" type="stmt"/>
|
|
58
|
+
<line num="223" count="3" type="stmt"/>
|
|
59
|
+
<line num="225" count="3" type="stmt"/>
|
|
60
|
+
<line num="226" count="3" type="stmt"/>
|
|
61
|
+
<line num="228" count="3" type="stmt"/>
|
|
62
|
+
<line num="229" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
63
|
+
<line num="230" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
61
64
|
<line num="231" count="0" type="stmt"/>
|
|
62
65
|
<line num="232" count="0" type="stmt"/>
|
|
63
|
-
<line num="
|
|
64
|
-
<line num="
|
|
65
|
-
<line num="
|
|
66
|
-
<line num="
|
|
67
|
-
<line num="
|
|
68
|
-
<line num="
|
|
69
|
-
<line num="
|
|
70
|
-
<line num="
|
|
71
|
-
<line num="
|
|
72
|
-
<line num="
|
|
66
|
+
<line num="237" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
67
|
+
<line num="238" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
68
|
+
<line num="239" count="0" type="stmt"/>
|
|
69
|
+
<line num="240" count="0" type="stmt"/>
|
|
70
|
+
<line num="241" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
71
|
+
<line num="242" count="0" type="stmt"/>
|
|
72
|
+
<line num="249" count="1" type="stmt"/>
|
|
73
|
+
<line num="251" count="2" type="stmt"/>
|
|
74
|
+
<line num="252" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
75
|
+
<line num="253" count="0" type="stmt"/>
|
|
76
|
+
<line num="256" count="2" type="stmt"/>
|
|
73
77
|
<line num="264" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
74
|
-
<line num="266" count="2" type="
|
|
75
|
-
<line num="
|
|
76
|
-
<line num="
|
|
77
|
-
<line num="
|
|
78
|
+
<line num="266" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
79
|
+
<line num="269" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
80
|
+
<line num="272" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
81
|
+
<line num="274" count="2" type="stmt"/>
|
|
82
|
+
<line num="279" count="2" type="stmt"/>
|
|
78
83
|
<line num="311" count="2" type="stmt"/>
|
|
79
|
-
<line num="312" count="2" type="stmt"/>
|
|
80
84
|
<line num="313" count="2" type="stmt"/>
|
|
81
|
-
<line num="
|
|
85
|
+
<line num="319" count="2" type="stmt"/>
|
|
82
86
|
<line num="320" count="2" type="stmt"/>
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="328" count="
|
|
86
|
-
<line num="331" count="
|
|
87
|
-
<line num="
|
|
88
|
-
<line num="
|
|
89
|
-
<line num="
|
|
90
|
-
<line num="
|
|
91
|
-
<line num="
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="
|
|
94
|
-
<line num="
|
|
95
|
-
<line num="
|
|
96
|
-
<line num="
|
|
97
|
-
<line num="
|
|
98
|
-
<line num="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="
|
|
106
|
-
<line num="
|
|
107
|
-
<line num="388" count="0" type="stmt"/>
|
|
108
|
-
<line num="389" count="0" type="stmt"/>
|
|
87
|
+
<line num="321" count="2" type="stmt"/>
|
|
88
|
+
<line num="325" count="2" type="stmt"/>
|
|
89
|
+
<line num="328" count="2" type="stmt"/>
|
|
90
|
+
<line num="331" count="3" type="stmt"/>
|
|
91
|
+
<line num="335" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
92
|
+
<line num="336" count="8" type="stmt"/>
|
|
93
|
+
<line num="339" count="2" type="stmt"/>
|
|
94
|
+
<line num="340" count="2" type="stmt"/>
|
|
95
|
+
<line num="342" count="2" type="stmt"/>
|
|
96
|
+
<line num="343" count="2" type="stmt"/>
|
|
97
|
+
<line num="352" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
98
|
+
<line num="353" count="3" type="stmt"/>
|
|
99
|
+
<line num="356" count="1" type="stmt"/>
|
|
100
|
+
<line num="357" count="1" type="stmt"/>
|
|
101
|
+
<line num="359" count="1" type="stmt"/>
|
|
102
|
+
<line num="360" count="1" type="stmt"/>
|
|
103
|
+
<line num="370" count="5" type="stmt"/>
|
|
104
|
+
<line num="375" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
105
|
+
<line num="376" count="4" type="stmt"/>
|
|
106
|
+
<line num="379" count="5" type="stmt"/>
|
|
107
|
+
<line num="386" count="1" type="stmt"/>
|
|
108
|
+
<line num="387" count="1" type="stmt"/>
|
|
109
|
+
<line num="388" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
110
|
+
<line num="389" count="1" type="stmt"/>
|
|
109
111
|
<line num="392" count="0" type="stmt"/>
|
|
110
|
-
<line num="393" count="0" type="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="395" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
112
|
+
<line num="393" count="0" type="stmt"/>
|
|
113
|
+
<line num="395" count="0" type="stmt"/>
|
|
113
114
|
<line num="396" count="0" type="stmt"/>
|
|
115
|
+
<line num="397" count="0" type="stmt"/>
|
|
114
116
|
<line num="400" count="0" type="stmt"/>
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
117
|
+
<line num="401" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
118
|
+
<line num="402" count="0" type="stmt"/>
|
|
119
|
+
<line num="403" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
120
|
+
<line num="404" count="0" type="stmt"/>
|
|
118
121
|
<line num="408" count="0" type="stmt"/>
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
+
<line num="413" count="0" type="stmt"/>
|
|
123
|
+
<line num="414" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
124
|
+
<line num="415" count="0" type="stmt"/>
|
|
122
125
|
<line num="416" count="0" type="stmt"/>
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="481" count="0" type="stmt"/>
|
|
130
|
-
<line num="484" count="0" type="stmt"/>
|
|
126
|
+
<line num="417" count="0" type="stmt"/>
|
|
127
|
+
<line num="418" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
128
|
+
<line num="419" count="0" type="stmt"/>
|
|
129
|
+
<line num="424" count="0" type="stmt"/>
|
|
130
|
+
<line num="481" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
131
|
+
<line num="482" count="0" type="stmt"/>
|
|
131
132
|
<line num="485" count="0" type="stmt"/>
|
|
132
|
-
<line num="486" count="0" type="
|
|
133
|
+
<line num="486" count="0" type="stmt"/>
|
|
133
134
|
<line num="487" count="0" type="stmt"/>
|
|
134
|
-
<line num="
|
|
135
|
-
<line num="
|
|
135
|
+
<line num="488" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
136
|
+
<line num="489" count="0" type="stmt"/>
|
|
136
137
|
<line num="492" count="0" type="stmt"/>
|
|
137
138
|
<line num="493" count="0" type="stmt"/>
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
139
|
+
<line num="494" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
140
|
+
<line num="495" count="0" type="stmt"/>
|
|
140
141
|
<line num="498" count="0" type="stmt"/>
|
|
141
|
-
<line num="499" count="0" type="
|
|
142
|
+
<line num="499" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
143
|
+
<line num="500" count="0" type="stmt"/>
|
|
142
144
|
<line num="501" count="0" type="stmt"/>
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
+
<line num="504" count="0" type="stmt"/>
|
|
146
|
+
<line num="505" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
147
|
+
<line num="506" count="0" type="stmt"/>
|
|
145
148
|
<line num="507" count="0" type="stmt"/>
|
|
146
|
-
<line num="508" count="0" type="stmt"/>
|
|
147
149
|
<line num="509" count="0" type="stmt"/>
|
|
148
150
|
<line num="510" count="0" type="stmt"/>
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
151
|
+
<line num="514" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
152
|
+
<line num="515" count="0" type="stmt"/>
|
|
153
|
+
<line num="516" count="0" type="stmt"/>
|
|
154
|
+
<line num="517" count="0" type="stmt"/>
|
|
155
|
+
<line num="518" count="0" type="stmt"/>
|
|
156
|
+
<line num="523" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
157
|
+
<line num="527" count="0" type="stmt"/>
|
|
158
|
+
<line num="528" count="0" type="stmt"/>
|
|
159
|
+
<line num="531" count="0" type="stmt"/>
|
|
160
|
+
<line num="535" count="2" type="stmt"/>
|
|
161
|
+
<line num="540" count="0" type="stmt"/>
|
|
162
|
+
<line num="541" count="0" type="stmt"/>
|
|
163
|
+
<line num="542" count="0" type="stmt"/>
|
|
157
164
|
</file>
|
|
158
165
|
<file name="metro-config.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/metro-config.ts">
|
|
159
|
-
<metrics statements="57" coveredstatements="27" conditionals="32" coveredconditionals="
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="68" count="0" type="stmt"/>
|
|
175
|
-
<line num="69" count="0" type="stmt"/>
|
|
176
|
-
<line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
166
|
+
<metrics statements="57" coveredstatements="27" conditionals="32" coveredconditionals="15" methods="10" coveredmethods="2"/>
|
|
167
|
+
<line num="38" count="9" type="stmt"/>
|
|
168
|
+
<line num="40" count="9" type="stmt"/>
|
|
169
|
+
<line num="41" count="9" type="stmt"/>
|
|
170
|
+
<line num="43" count="9" type="stmt"/>
|
|
171
|
+
<line num="44" count="0" type="stmt"/>
|
|
172
|
+
<line num="45" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
173
|
+
<line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
174
|
+
<line num="50" count="0" type="stmt"/>
|
|
175
|
+
<line num="55" count="0" type="stmt"/>
|
|
176
|
+
<line num="57" count="0" type="stmt"/>
|
|
177
|
+
<line num="60" count="0" type="stmt"/>
|
|
178
|
+
<line num="62" count="0" type="stmt"/>
|
|
179
|
+
<line num="65" count="0" type="stmt"/>
|
|
180
|
+
<line num="71" count="0" type="stmt"/>
|
|
177
181
|
<line num="72" count="0" type="stmt"/>
|
|
178
|
-
<line num="73" count="0" type="
|
|
179
|
-
<line num="74" count="0" type="
|
|
180
|
-
<line num="
|
|
182
|
+
<line num="73" count="0" type="stmt"/>
|
|
183
|
+
<line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
184
|
+
<line num="76" count="0" type="stmt"/>
|
|
185
|
+
<line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
186
|
+
<line num="78" count="0" type="stmt"/>
|
|
181
187
|
<line num="79" count="0" type="stmt"/>
|
|
182
|
-
<line num="80" count="0" type="stmt"/>
|
|
183
|
-
<line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
184
188
|
<line num="83" count="0" type="stmt"/>
|
|
185
189
|
<line num="84" count="0" type="stmt"/>
|
|
186
|
-
<line num="85" count="0" type="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
190
|
-
<line num="
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="
|
|
193
|
-
<line num="
|
|
194
|
-
<line num="
|
|
195
|
-
<line num="
|
|
196
|
-
<line num="
|
|
197
|
-
<line num="
|
|
198
|
-
<line num="
|
|
199
|
-
<line num="
|
|
200
|
-
<line num="
|
|
201
|
-
<line num="
|
|
202
|
-
<line num="
|
|
203
|
-
<line num="
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="143" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
190
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
191
|
+
<line num="87" count="0" type="stmt"/>
|
|
192
|
+
<line num="88" count="0" type="stmt"/>
|
|
193
|
+
<line num="89" count="0" type="stmt"/>
|
|
194
|
+
<line num="94" count="0" type="stmt"/>
|
|
195
|
+
<line num="95" count="0" type="stmt"/>
|
|
196
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
197
|
+
<line num="97" count="0" type="stmt"/>
|
|
198
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
199
|
+
<line num="103" count="0" type="stmt"/>
|
|
200
|
+
<line num="108" count="9" type="stmt"/>
|
|
201
|
+
<line num="111" count="2" type="stmt"/>
|
|
202
|
+
<line num="135" count="10" type="stmt"/>
|
|
203
|
+
<line num="137" count="10" type="stmt"/>
|
|
204
|
+
<line num="138" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
205
|
+
<line num="139" count="1" type="stmt"/>
|
|
206
|
+
<line num="140" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
207
|
+
<line num="141" count="5" type="stmt"/>
|
|
208
|
+
<line num="143" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
206
209
|
<line num="144" count="1" type="stmt"/>
|
|
207
|
-
<line num="145" count="
|
|
208
|
-
<line num="146" count="5" type="
|
|
209
|
-
<line num="
|
|
210
|
-
<line num="
|
|
211
|
-
<line num="
|
|
212
|
-
<line num="
|
|
213
|
-
<line num="
|
|
214
|
-
<line num="167" count="
|
|
215
|
-
<line num="
|
|
216
|
-
<line num="
|
|
210
|
+
<line num="145" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
211
|
+
<line num="146" count="5" type="stmt"/>
|
|
212
|
+
<line num="149" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
213
|
+
<line num="150" count="4" type="stmt"/>
|
|
214
|
+
<line num="151" count="4" type="stmt"/>
|
|
215
|
+
<line num="152" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
216
|
+
<line num="163" count="4" type="stmt"/>
|
|
217
|
+
<line num="167" count="2" type="stmt"/>
|
|
218
|
+
<line num="170" count="10" type="stmt"/>
|
|
219
|
+
<line num="171" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
220
|
+
<line num="172" count="0" type="stmt"/>
|
|
221
|
+
<line num="173" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
222
|
+
<line num="174" count="9" type="stmt"/>
|
|
223
|
+
<line num="176" count="10" type="stmt"/>
|
|
217
224
|
</file>
|
|
218
225
|
</package>
|
|
219
226
|
<package name="src.bundle">
|
|
220
|
-
<metrics statements="
|
|
227
|
+
<metrics statements="25" coveredstatements="25" conditionals="20" coveredconditionals="20" methods="6" coveredmethods="6"/>
|
|
221
228
|
<file name="kit-config.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundle/kit-config.ts">
|
|
222
|
-
<metrics statements="
|
|
223
|
-
<line num="21" count="
|
|
224
|
-
<line num="22" count="
|
|
225
|
-
<line num="
|
|
226
|
-
<line num="
|
|
227
|
-
<line num="
|
|
228
|
-
<line num="34" count="
|
|
229
|
-
<line num="
|
|
230
|
-
<line num="
|
|
231
|
-
<line num="41" count="1" type="stmt"/>
|
|
232
|
-
<line num="45" count="5" type="stmt"/>
|
|
229
|
+
<metrics statements="14" coveredstatements="14" conditionals="14" coveredconditionals="14" methods="4" coveredmethods="4"/>
|
|
230
|
+
<line num="21" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
231
|
+
<line num="22" count="7" type="stmt"/>
|
|
232
|
+
<line num="24" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
233
|
+
<line num="25" count="2" type="stmt"/>
|
|
234
|
+
<line num="27" count="1" type="stmt"/>
|
|
235
|
+
<line num="34" count="10" type="cond" truecount="4" falsecount="0"/>
|
|
236
|
+
<line num="36" count="10" type="stmt"/>
|
|
237
|
+
<line num="58" count="7" type="stmt"/>
|
|
233
238
|
<line num="59" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
234
|
-
<line num="
|
|
235
|
-
<line num="
|
|
236
|
-
<line num="
|
|
237
|
-
<line num="
|
|
238
|
-
<line num="
|
|
239
|
-
<line num="84" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
240
|
-
<line num="85" count="0" type="stmt"/>
|
|
241
|
-
<line num="88" count="4" type="stmt"/>
|
|
242
|
-
<line num="93" count="4" type="stmt"/>
|
|
243
|
-
<line num="94" count="6" type="stmt"/>
|
|
239
|
+
<line num="62" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
240
|
+
<line num="64" count="7" type="stmt"/>
|
|
241
|
+
<line num="66" count="7" type="stmt"/>
|
|
242
|
+
<line num="67" count="10" type="stmt"/>
|
|
243
|
+
<line num="74" count="10" type="stmt"/>
|
|
244
244
|
</file>
|
|
245
245
|
<file name="metro.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundle/metro.ts">
|
|
246
|
-
<metrics statements="
|
|
247
|
-
<line num="
|
|
248
|
-
<line num="
|
|
249
|
-
<line num="
|
|
250
|
-
<line num="
|
|
251
|
-
<line num="
|
|
252
|
-
<line num="
|
|
253
|
-
<line num="
|
|
254
|
-
<line num="44" count="15" type="stmt"/>
|
|
255
|
-
<line num="68" count="0" type="stmt"/>
|
|
256
|
-
<line num="70" count="0" type="stmt"/>
|
|
257
|
-
<line num="73" count="0" type="stmt"/>
|
|
258
|
-
<line num="81" count="0" type="stmt"/>
|
|
259
|
-
<line num="84" count="0" type="stmt"/>
|
|
260
|
-
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
261
|
-
<line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
262
|
-
<line num="90" count="0" type="stmt"/>
|
|
246
|
+
<metrics statements="7" coveredstatements="7" conditionals="4" coveredconditionals="4" methods="1" coveredmethods="1"/>
|
|
247
|
+
<line num="26" count="4" type="stmt"/>
|
|
248
|
+
<line num="28" count="4" type="stmt"/>
|
|
249
|
+
<line num="36" count="4" type="stmt"/>
|
|
250
|
+
<line num="43" count="4" type="stmt"/>
|
|
251
|
+
<line num="44" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
252
|
+
<line num="46" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
253
|
+
<line num="49" count="4" type="stmt"/>
|
|
263
254
|
</file>
|
|
264
255
|
<file name="overrides.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundle/overrides.ts">
|
|
265
256
|
<metrics statements="4" coveredstatements="4" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
|
|
266
|
-
<line num="
|
|
267
|
-
<line num="
|
|
268
|
-
<line num="
|
|
269
|
-
<line num="
|
|
257
|
+
<line num="28" count="9" type="stmt"/>
|
|
258
|
+
<line num="39" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
259
|
+
<line num="40" count="8" type="stmt"/>
|
|
260
|
+
<line num="41" count="8" type="stmt"/>
|
|
270
261
|
</file>
|
|
271
262
|
</package>
|
|
272
263
|
<package name="src.typescript">
|
|
273
264
|
<metrics statements="49" coveredstatements="4" conditionals="18" coveredconditionals="0" methods="10" coveredmethods="1"/>
|
|
274
265
|
<file name="project-cache.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/typescript/project-cache.ts">
|
|
275
266
|
<metrics statements="49" coveredstatements="4" conditionals="18" coveredconditionals="0" methods="10" coveredmethods="1"/>
|
|
276
|
-
<line num="63" count="
|
|
277
|
-
<line num="64" count="
|
|
278
|
-
<line num="70" count="
|
|
267
|
+
<line num="63" count="9" type="stmt"/>
|
|
268
|
+
<line num="64" count="9" type="stmt"/>
|
|
269
|
+
<line num="70" count="9" type="stmt"/>
|
|
279
270
|
<line num="74" count="0" type="stmt"/>
|
|
280
271
|
<line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
281
272
|
<line num="76" count="0" type="stmt"/>
|
|
@@ -321,7 +312,7 @@
|
|
|
321
312
|
<line num="197" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
322
313
|
<line num="198" count="0" type="stmt"/>
|
|
323
314
|
<line num="200" count="0" type="stmt"/>
|
|
324
|
-
<line num="205" count="
|
|
315
|
+
<line num="205" count="9" type="stmt"/>
|
|
325
316
|
</file>
|
|
326
317
|
</package>
|
|
327
318
|
</project>
|