@rnx-kit/cli 0.12.2 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## 0.12.2
4
11
 
5
12
  ### Patch Changes
@@ -1,132 +1,159 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1652124583510" clover="3.2.0">
3
- <project timestamp="1652124583510" name="All files">
4
- <metrics statements="259" coveredstatements="87" conditionals="153" coveredconditionals="48" methods="43" coveredmethods="17" elements="455" coveredelements="152" 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="51" conditionals="105" coveredconditionals="22" methods="26" coveredmethods="10"/>
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="24" conditionals="77" coveredconditionals="8" methods="16" coveredmethods="8"/>
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="2" type="stmt"/>
20
- <line num="74" count="1" 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"/>