@rnx-kit/cli 0.16.20 → 0.16.22
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 +18 -0
- package/coverage/clover.xml +111 -111
- package/coverage/coverage-final.json +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/src/bundle/defaultPlugins.ts.html +1 -1
- package/coverage/lcov-report/src/bundle/index.html +1 -1
- package/coverage/lcov-report/src/bundle/kit-config.ts.html +1 -1
- package/coverage/lcov-report/src/bundle/metro.ts.html +1 -1
- package/coverage/lcov-report/src/bundle/overrides.ts.html +1 -1
- package/coverage/lcov-report/src/copy-assets.ts.html +7 -10
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/metro-config.ts.html +1 -1
- package/coverage/lcov-report/src/test.ts.html +1 -1
- package/coverage/lcov.info +192 -192
- package/lib/bundle/hermes.d.ts.map +1 -1
- package/lib/bundle/hermes.js +14 -6
- package/lib/bundle/hermes.js.map +1 -1
- package/lib/bundle/kit-config.js.map +1 -1
- package/lib/bundle/metro.js.map +1 -1
- package/lib/bundle/overrides.js.map +1 -1
- package/lib/bundle.js.map +1 -1
- package/lib/clean.js.map +1 -1
- package/lib/copy-assets.d.ts.map +1 -1
- package/lib/copy-assets.js +4 -3
- package/lib/copy-assets.js.map +1 -1
- package/lib/metro-config.js.map +1 -1
- package/lib/parsers.js.map +1 -1
- package/lib/ram-bundle.js.map +1 -1
- package/lib/serve/external.js.map +1 -1
- package/lib/serve/help.js.map +1 -1
- package/lib/serve/keyboard.js.map +1 -1
- package/lib/serve/kit-config.js +1 -1
- package/lib/serve/kit-config.js.map +1 -1
- package/lib/start.js.map +1 -1
- package/lib/test.js.map +1 -1
- package/package.json +11 -7
- package/src/bundle/hermes.ts +18 -8
- package/src/copy-assets.ts +4 -5
- package/test/copy-assets/assembleAarBundle.test.ts +51 -44
- package/test/copy-assets/copyAssets.test.ts +10 -1
- package/test/metro-config.test.ts +2 -2
- package/tsconfig.json +1 -1
- package/test/copy-assets/helpers.ts +0 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Change Log - @rnx-kit/cli
|
|
2
2
|
|
|
3
|
+
## 0.16.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- afe49c6: Automatically compose source maps of the JS and Hermes bytecode bundles
|
|
8
|
+
- Updated dependencies [afe49c6]
|
|
9
|
+
- Updated dependencies [8083856]
|
|
10
|
+
- @rnx-kit/tools-react-native@1.3.5
|
|
11
|
+
- @rnx-kit/align-deps@2.3.3
|
|
12
|
+
|
|
13
|
+
## 0.16.21
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 2ee99d42: Replace `find-up` with `@rnx-kit/tools-node`
|
|
18
|
+
- Updated dependencies [2ee99d42]
|
|
19
|
+
- @rnx-kit/tools-node@2.1.1
|
|
20
|
+
|
|
3
21
|
## 0.16.20
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/coverage/clover.xml
CHANGED
|
@@ -1,154 +1,154 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1705492592442" clover="3.2.0">
|
|
3
|
+
<project timestamp="1705492592442" name="All files">
|
|
4
4
|
<metrics statements="290" coveredstatements="161" conditionals="182" coveredconditionals="93" methods="35" coveredmethods="27" elements="507" coveredelements="281" complexity="0" loc="290" ncloc="290" packages="2" files="7" classes="7"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="253" coveredstatements="128" conditionals="153" coveredconditionals="72" methods="27" coveredmethods="19"/>
|
|
7
7
|
<file name="copy-assets.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/copy-assets.ts">
|
|
8
8
|
<metrics statements="143" coveredstatements="75" conditionals="99" coveredconditionals="47" methods="15" coveredmethods="11"/>
|
|
9
|
-
<line num="
|
|
10
|
-
<line num="
|
|
11
|
-
<line num="73" count="0" type="stmt"/>
|
|
9
|
+
<line num="62" count="2" type="stmt"/>
|
|
10
|
+
<line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
12
11
|
<line num="74" count="0" type="stmt"/>
|
|
13
|
-
<line num="
|
|
14
|
-
<line num="80" count="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="83" count="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="100" count="9" type="
|
|
22
|
-
<line num="101" count="
|
|
23
|
-
<line num="
|
|
12
|
+
<line num="75" count="0" type="stmt"/>
|
|
13
|
+
<line num="80" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
14
|
+
<line num="81" count="3" type="stmt"/>
|
|
15
|
+
<line num="83" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
16
|
+
<line num="84" count="0" type="stmt"/>
|
|
17
|
+
<line num="86" count="1" type="stmt"/>
|
|
18
|
+
<line num="90" count="4" type="stmt"/>
|
|
19
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="3"/>
|
|
20
|
+
<line num="100" count="9" type="stmt"/>
|
|
21
|
+
<line num="101" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
22
|
+
<line num="102" count="1" type="stmt"/>
|
|
24
23
|
<line num="105" count="8" type="stmt"/>
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="114" count="5" type="
|
|
27
|
-
<line num="115" count="
|
|
28
|
-
<line num="
|
|
24
|
+
<line num="106" count="8" type="stmt"/>
|
|
25
|
+
<line num="114" count="5" type="stmt"/>
|
|
26
|
+
<line num="115" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
27
|
+
<line num="116" count="1" type="stmt"/>
|
|
29
28
|
<line num="119" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
29
|
+
<line num="120" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
30
|
+
<line num="122" count="4" type="cond" truecount="1" falsecount="2"/>
|
|
31
|
+
<line num="124" count="0" type="stmt"/>
|
|
32
|
+
<line num="137" count="0" type="stmt"/>
|
|
34
33
|
<line num="150" count="4" type="stmt"/>
|
|
35
|
-
<line num="
|
|
36
|
-
<line num="177" count="3" type="
|
|
37
|
-
<line num="178" count="
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="188" count="
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="192" count="6" type="
|
|
42
|
-
<line num="
|
|
34
|
+
<line num="151" count="4" type="stmt"/>
|
|
35
|
+
<line num="177" count="3" type="stmt"/>
|
|
36
|
+
<line num="178" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
37
|
+
<line num="179" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
38
|
+
<line num="188" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
39
|
+
<line num="189" count="1" type="stmt"/>
|
|
40
|
+
<line num="192" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
41
|
+
<line num="193" count="6" type="stmt"/>
|
|
42
|
+
<line num="194" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
43
|
+
<line num="195" count="1" type="stmt"/>
|
|
43
44
|
<line num="196" count="1" type="stmt"/>
|
|
44
|
-
<line num="
|
|
45
|
-
<line num="
|
|
46
|
-
<line num="205" count="
|
|
45
|
+
<line num="199" count="5" type="stmt"/>
|
|
46
|
+
<line num="204" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
47
|
+
<line num="205" count="1" type="stmt"/>
|
|
47
48
|
<line num="206" count="1" type="stmt"/>
|
|
48
|
-
<line num="
|
|
49
|
+
<line num="209" count="3" type="stmt"/>
|
|
49
50
|
<line num="210" count="3" type="stmt"/>
|
|
50
|
-
<line num="
|
|
51
|
+
<line num="217" count="3" type="stmt"/>
|
|
51
52
|
<line num="218" count="3" type="stmt"/>
|
|
52
|
-
<line num="
|
|
53
|
-
<line num="
|
|
53
|
+
<line num="220" count="3" type="stmt"/>
|
|
54
|
+
<line num="222" count="3" type="stmt"/>
|
|
54
55
|
<line num="223" count="3" type="stmt"/>
|
|
55
|
-
<line num="
|
|
56
|
-
<line num="226" count="3" type="
|
|
57
|
-
<line num="227" count="
|
|
58
|
-
<line num="228" count="
|
|
56
|
+
<line num="225" count="3" type="stmt"/>
|
|
57
|
+
<line num="226" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
58
|
+
<line num="227" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
59
|
+
<line num="228" count="0" type="stmt"/>
|
|
59
60
|
<line num="229" count="0" type="stmt"/>
|
|
60
|
-
<line num="
|
|
61
|
+
<line num="234" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
61
62
|
<line num="235" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
62
|
-
<line num="236" count="0" type="
|
|
63
|
+
<line num="236" count="0" type="stmt"/>
|
|
63
64
|
<line num="237" count="0" type="stmt"/>
|
|
64
|
-
<line num="238" count="0" type="
|
|
65
|
-
<line num="239" count="0" type="
|
|
66
|
-
<line num="
|
|
67
|
-
<line num="
|
|
68
|
-
<line num="249" count="2" type="
|
|
69
|
-
<line num="250" count="
|
|
70
|
-
<line num="
|
|
71
|
-
<line num="
|
|
72
|
-
<line num="
|
|
73
|
-
<line num="
|
|
74
|
-
<line num="
|
|
75
|
-
<line num="
|
|
76
|
-
<line num="273" count="2" type="
|
|
77
|
-
<line num="
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="
|
|
80
|
-
<line num="
|
|
65
|
+
<line num="238" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
66
|
+
<line num="239" count="0" type="stmt"/>
|
|
67
|
+
<line num="246" count="1" type="stmt"/>
|
|
68
|
+
<line num="248" count="2" type="stmt"/>
|
|
69
|
+
<line num="249" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
70
|
+
<line num="250" count="0" type="stmt"/>
|
|
71
|
+
<line num="253" count="2" type="stmt"/>
|
|
72
|
+
<line num="261" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
73
|
+
<line num="263" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
74
|
+
<line num="266" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
75
|
+
<line num="269" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
76
|
+
<line num="272" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
77
|
+
<line num="273" count="2" type="stmt"/>
|
|
78
|
+
<line num="278" count="2" type="stmt"/>
|
|
79
|
+
<line num="312" count="2" type="stmt"/>
|
|
80
|
+
<line num="314" count="2" type="stmt"/>
|
|
81
|
+
<line num="322" count="2" type="stmt"/>
|
|
81
82
|
<line num="323" count="2" type="stmt"/>
|
|
82
83
|
<line num="324" count="2" type="stmt"/>
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="
|
|
87
|
-
<line num="339" count="
|
|
88
|
-
<line num="
|
|
84
|
+
<line num="328" count="2" type="stmt"/>
|
|
85
|
+
<line num="331" count="2" type="stmt"/>
|
|
86
|
+
<line num="334" count="3" type="stmt"/>
|
|
87
|
+
<line num="338" count="14" type="cond" truecount="4" falsecount="0"/>
|
|
88
|
+
<line num="339" count="11" type="stmt"/>
|
|
89
|
+
<line num="342" count="3" type="stmt"/>
|
|
89
90
|
<line num="343" count="3" type="stmt"/>
|
|
90
91
|
<line num="344" count="3" type="stmt"/>
|
|
91
|
-
<line num="
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="359" count="
|
|
94
|
-
<line num="
|
|
95
|
-
<line num="
|
|
92
|
+
<line num="353" count="5" type="stmt"/>
|
|
93
|
+
<line num="358" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
94
|
+
<line num="359" count="4" type="stmt"/>
|
|
95
|
+
<line num="362" count="5" type="stmt"/>
|
|
96
|
+
<line num="369" count="1" type="stmt"/>
|
|
96
97
|
<line num="370" count="1" type="stmt"/>
|
|
97
|
-
<line num="371" count="1" type="
|
|
98
|
-
<line num="372" count="1" type="
|
|
99
|
-
<line num="
|
|
98
|
+
<line num="371" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
99
|
+
<line num="372" count="1" type="stmt"/>
|
|
100
|
+
<line num="375" count="0" type="stmt"/>
|
|
100
101
|
<line num="376" count="0" type="stmt"/>
|
|
101
|
-
<line num="
|
|
102
|
+
<line num="378" count="0" type="stmt"/>
|
|
102
103
|
<line num="379" count="0" type="stmt"/>
|
|
103
104
|
<line num="380" count="0" type="stmt"/>
|
|
104
|
-
<line num="
|
|
105
|
-
<line num="384" count="0" type="
|
|
106
|
-
<line num="385" count="0" type="
|
|
107
|
-
<line num="386" count="0" type="
|
|
108
|
-
<line num="387" count="0" type="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="397" count="0" type="
|
|
112
|
-
<line num="398" count="0" type="
|
|
105
|
+
<line num="383" count="0" type="stmt"/>
|
|
106
|
+
<line num="384" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
107
|
+
<line num="385" count="0" type="stmt"/>
|
|
108
|
+
<line num="386" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
109
|
+
<line num="387" count="0" type="stmt"/>
|
|
110
|
+
<line num="391" count="0" type="stmt"/>
|
|
111
|
+
<line num="396" count="0" type="stmt"/>
|
|
112
|
+
<line num="397" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
113
|
+
<line num="398" count="0" type="stmt"/>
|
|
113
114
|
<line num="399" count="0" type="stmt"/>
|
|
114
115
|
<line num="400" count="0" type="stmt"/>
|
|
115
|
-
<line num="401" count="0" type="
|
|
116
|
-
<line num="402" count="0" type="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="465" count="0" type="
|
|
116
|
+
<line num="401" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
117
|
+
<line num="402" count="0" type="stmt"/>
|
|
118
|
+
<line num="407" count="0" type="stmt"/>
|
|
119
|
+
<line num="464" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
120
|
+
<line num="465" count="0" type="stmt"/>
|
|
120
121
|
<line num="466" count="0" type="stmt"/>
|
|
121
122
|
<line num="467" count="0" type="stmt"/>
|
|
122
|
-
<line num="468" count="0" type="
|
|
123
|
-
<line num="469" count="0" type="
|
|
124
|
-
<line num="
|
|
123
|
+
<line num="468" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
124
|
+
<line num="469" count="0" type="stmt"/>
|
|
125
|
+
<line num="472" count="0" type="stmt"/>
|
|
125
126
|
<line num="473" count="0" type="stmt"/>
|
|
126
|
-
<line num="474" count="0" type="
|
|
127
|
-
<line num="475" count="0" type="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="479" count="0" type="
|
|
130
|
-
<line num="480" count="0" type="
|
|
127
|
+
<line num="474" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
128
|
+
<line num="475" count="0" type="stmt"/>
|
|
129
|
+
<line num="478" count="0" type="stmt"/>
|
|
130
|
+
<line num="479" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
131
|
+
<line num="480" count="0" type="stmt"/>
|
|
131
132
|
<line num="481" count="0" type="stmt"/>
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="485" count="0" type="
|
|
134
|
-
<line num="486" count="0" type="
|
|
133
|
+
<line num="484" count="0" type="stmt"/>
|
|
134
|
+
<line num="485" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
135
|
+
<line num="486" count="0" type="stmt"/>
|
|
135
136
|
<line num="487" count="0" type="stmt"/>
|
|
136
|
-
<line num="
|
|
137
|
+
<line num="489" count="0" type="stmt"/>
|
|
137
138
|
<line num="490" count="0" type="stmt"/>
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="495" count="0" type="
|
|
139
|
+
<line num="494" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
140
|
+
<line num="495" count="0" type="stmt"/>
|
|
140
141
|
<line num="496" count="0" type="stmt"/>
|
|
141
142
|
<line num="497" count="0" type="stmt"/>
|
|
142
143
|
<line num="498" count="0" type="stmt"/>
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
144
|
+
<line num="503" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
145
|
+
<line num="507" count="0" type="stmt"/>
|
|
145
146
|
<line num="508" count="0" type="stmt"/>
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
147
|
+
<line num="511" count="0" type="stmt"/>
|
|
148
|
+
<line num="515" count="2" type="stmt"/>
|
|
149
|
+
<line num="520" count="0" type="stmt"/>
|
|
149
150
|
<line num="521" count="0" type="stmt"/>
|
|
150
151
|
<line num="522" count="0" type="stmt"/>
|
|
151
|
-
<line num="523" count="0" type="stmt"/>
|
|
152
152
|
</file>
|
|
153
153
|
<file name="metro-config.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/metro-config.ts">
|
|
154
154
|
<metrics statements="68" coveredstatements="37" conditionals="42" coveredconditionals="21" methods="6" coveredmethods="4"/>
|