@rnx-kit/cli 0.11.2 → 0.12.2
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 +24 -0
- package/README.md +30 -22
- package/coverage/clover.xml +140 -16
- package/coverage/coverage-final.json +3 -2
- package/coverage/lcov-report/index.html +20 -20
- package/coverage/lcov-report/src/bundle/index.html +1 -1
- package/coverage/lcov-report/src/bundle/kit-config.ts.html +13 -13
- package/coverage/lcov-report/src/bundle/metro.ts.html +2 -2
- package/coverage/lcov-report/src/bundle/overrides.ts.html +4 -4
- package/coverage/lcov-report/src/copy-assets.ts.html +1387 -0
- package/coverage/lcov-report/src/index.html +25 -10
- package/coverage/lcov-report/src/metro-config.ts.html +4 -4
- package/coverage/lcov-report/src/typescript/index.html +1 -1
- package/coverage/lcov-report/src/typescript/project-cache.ts.html +1 -1
- package/coverage/lcov.info +262 -23
- package/lib/bundle/metro.js +1 -1
- package/lib/bundle/metro.js.map +1 -1
- package/lib/bundle/overrides.d.ts +1 -1
- package/lib/bundle/overrides.d.ts.map +1 -1
- package/lib/bundle/overrides.js +2 -2
- package/lib/bundle/overrides.js.map +1 -1
- package/lib/bundle.d.ts +1 -0
- package/lib/bundle.d.ts.map +1 -1
- package/lib/bundle.js +8 -0
- package/lib/bundle.js.map +1 -1
- package/lib/clean.d.ts.map +1 -1
- package/lib/clean.js +40 -18
- package/lib/clean.js.map +1 -1
- package/lib/copy-assets.d.ts +112 -0
- package/lib/copy-assets.d.ts.map +1 -0
- package/lib/copy-assets.js +353 -0
- package/lib/copy-assets.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -1
- package/lib/index.js.map +1 -1
- package/lib/metro-config.d.ts +2 -2
- package/lib/metro-config.d.ts.map +1 -1
- package/lib/metro-config.js +3 -3
- package/lib/metro-config.js.map +1 -1
- package/lib/start.js +1 -1
- package/lib/start.js.map +1 -1
- package/package.json +5 -2
- package/react-native.config.js +8 -1
- package/src/bundle/metro.ts +1 -1
- package/src/bundle/overrides.ts +3 -3
- package/src/bundle.ts +13 -1
- package/src/clean.ts +6 -7
- package/src/copy-assets.ts +434 -0
- package/src/index.ts +1 -0
- package/src/metro-config.ts +3 -3
- package/src/start.ts +1 -1
- package/test/__mocks__/fs-extra.js +20 -0
- package/test/bundle/kit-config.test.ts +23 -1
- package/test/bundle/metro.test.ts +1 -1
- package/test/bundle/overrides.test.ts +3 -13
- package/test/copy-assets.test.ts +123 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Change Log - @rnx-kit/cli
|
|
2
2
|
|
|
3
|
+
## 0.12.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
- 32eab87: Avoid `fs/promises` to be compatible with Node 12
|
|
9
|
+
|
|
10
|
+
## 0.12.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- d3e2877: Fix `copy-assets` failing to resolve dependencies
|
|
15
|
+
|
|
16
|
+
## 0.12.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- d9e63f0: Add a command, `rnx-copy-assets`, to copy assets that are not referenced from JS. Usually, Metro copies imported assets for you, but sometimes you need additional files if they are only accessed from native modules.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [d9e63f0]
|
|
25
|
+
- @rnx-kit/tools-language@1.3.0
|
|
26
|
+
|
|
3
27
|
## 0.11.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
|
+
<!--remove-block start-->
|
|
2
|
+
|
|
1
3
|
# @rnx-kit/cli
|
|
2
4
|
|
|
3
5
|
[](https://github.com/microsoft/rnx-kit/actions/workflows/build.yml)
|
|
4
6
|
[](https://www.npmjs.com/package/@rnx-kit/cli)
|
|
5
7
|
|
|
8
|
+
<!--remove-block end-->
|
|
9
|
+
|
|
6
10
|
Command-line interface for working with `kit` packages in your repo.
|
|
7
11
|
|
|
12
|
+
<!--remove-block start-->
|
|
13
|
+
|
|
8
14
|
- [Bundle a kit](#Bundle-a-Kit)
|
|
9
15
|
- [Start a bundle server](#Start-a-Bundle-Server)
|
|
10
16
|
- [Manage kit dependencies](#Manage-Kit-Dependencies)
|
|
11
17
|
- [Generate a 3rd-party notice for a kit](#Generate-a-Third%2dParty-Notice-for-a-Kit)
|
|
12
18
|
- [Clean a React Native Project](#Clean-a-React-Native-Project)
|
|
13
19
|
|
|
20
|
+
<!--remove-block end-->
|
|
21
|
+
|
|
14
22
|
## Bundle a Kit
|
|
15
23
|
|
|
16
24
|
Bundle an application using [Metro](https://facebook.github.io/metro). The
|
|
@@ -29,7 +37,7 @@ yarn react-native rnx-bundle --platform ios --dev false --minify true
|
|
|
29
37
|
```
|
|
30
38
|
|
|
31
39
|
```bash
|
|
32
|
-
yarn react-native rnx-bundle --bundle-prefix test-app --
|
|
40
|
+
yarn react-native rnx-bundle --bundle-prefix test-app --tree-shake true
|
|
33
41
|
```
|
|
34
42
|
|
|
35
43
|
### Example Configuration
|
|
@@ -47,11 +55,11 @@ yarn react-native rnx-bundle --bundle-prefix test-app --experimental-tree-shake
|
|
|
47
55
|
"ignoredModules": ["react-is"]
|
|
48
56
|
},
|
|
49
57
|
"typescriptValidation": true,
|
|
50
|
-
"
|
|
58
|
+
"treeShake": true,
|
|
51
59
|
"targets": ["ios", "android", "windows", "macos"],
|
|
52
60
|
"platforms": {
|
|
53
61
|
"android": {
|
|
54
|
-
"assetsPath": "dist/
|
|
62
|
+
"assetsPath": "dist/res"
|
|
55
63
|
},
|
|
56
64
|
"macos": {
|
|
57
65
|
"typescriptValidation": false
|
|
@@ -64,24 +72,24 @@ yarn react-native rnx-bundle --bundle-prefix test-app --experimental-tree-shake
|
|
|
64
72
|
|
|
65
73
|
### Command-Line Overrides
|
|
66
74
|
|
|
67
|
-
| Override | Description
|
|
68
|
-
| ---------------------------------------------------------------------------------- |
|
|
69
|
-
| --id [id] | Target bundle definition. This is only needed when the kit configuration has multiple bundle definitions.
|
|
70
|
-
| --platform [`ios` | `android` | `windows` | `win32` | `macos`] | Target platform. When not given, all platforms in the kit configuration are bundled.
|
|
71
|
-
| --entry-path [file] | Path to the root JavaScript file, either absolute or relative to the kit package.
|
|
72
|
-
| --dist-path [path] | Path where the bundle is written, either absolute or relative to the kit package.
|
|
73
|
-
| --assets-path [path] | Path where bundle assets like images are written, either absolute or relative to the kit package.
|
|
74
|
-
| --bundle-prefix [prefix] | Bundle file prefix. This is followed by the platform and bundle file extension.
|
|
75
|
-
| --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.
|
|
76
|
-
| --dev [boolean] | If false, warnings are disabled and the bundle is minified (default: true).
|
|
77
|
-
| --minify [boolean] | Controls whether or not the bundle is minified. Disabling minification is useful for test builds.
|
|
78
|
-
| --
|
|
79
|
-
| --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.
|
|
80
|
-
| --sourcemap-output [string] | Path where the bundle source map is written, either absolute or relative to the dist-path.
|
|
81
|
-
| --sourcemap-sources-root [string] | Path to use when relativizing file entries in the bundle source map.
|
|
82
|
-
| --reset-cache | Reset the Metro cache.
|
|
83
|
-
| --config [string] | Path to the Metro configuration file.
|
|
84
|
-
| -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. |
|
|
85
93
|
|
|
86
94
|
## Start a Bundle Server
|
|
87
95
|
|
|
@@ -113,7 +121,7 @@ yarn react-native rnx-start --host localhost --port 8812
|
|
|
113
121
|
"throwOnError": false
|
|
114
122
|
},
|
|
115
123
|
"typescriptValidation": true,
|
|
116
|
-
"
|
|
124
|
+
"treeShake": true
|
|
117
125
|
}
|
|
118
126
|
}
|
|
119
127
|
}
|
package/coverage/clover.xml
CHANGED
|
@@ -1,9 +1,133 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
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"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="174" coveredstatements="51" conditionals="105" coveredconditionals="22" methods="26" coveredmethods="10"/>
|
|
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"/>
|
|
118
|
+
<line num="384" count="0" type="stmt"/>
|
|
119
|
+
<line num="385" count="0" type="stmt"/>
|
|
120
|
+
<line num="386" count="0" type="stmt"/>
|
|
121
|
+
<line num="387" count="0" type="stmt"/>
|
|
122
|
+
<line num="392" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
123
|
+
<line num="396" count="0" type="stmt"/>
|
|
124
|
+
<line num="397" count="0" type="stmt"/>
|
|
125
|
+
<line num="400" count="0" type="stmt"/>
|
|
126
|
+
<line num="404" count="1" type="stmt"/>
|
|
127
|
+
<line num="409" count="0" type="stmt"/>
|
|
128
|
+
<line num="410" count="0" type="stmt"/>
|
|
129
|
+
<line num="411" count="0" type="stmt"/>
|
|
130
|
+
</file>
|
|
7
131
|
<file name="metro-config.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/metro-config.ts">
|
|
8
132
|
<metrics statements="53" coveredstatements="27" conditionals="28" coveredconditionals="14" methods="10" coveredmethods="2"/>
|
|
9
133
|
<line num="34" count="6" type="stmt"/>
|
|
@@ -65,27 +189,27 @@
|
|
|
65
189
|
<metrics statements="41" coveredstatements="32" conditionals="34" coveredconditionals="26" methods="7" coveredmethods="6"/>
|
|
66
190
|
<file name="kit-config.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundle/kit-config.ts">
|
|
67
191
|
<metrics statements="21" coveredstatements="20" conditionals="16" coveredconditionals="15" methods="4" coveredmethods="4"/>
|
|
68
|
-
<line num="21" count="
|
|
69
|
-
<line num="22" count="
|
|
192
|
+
<line num="21" count="8" type="stmt"/>
|
|
193
|
+
<line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
70
194
|
<line num="23" count="1" type="stmt"/>
|
|
71
|
-
<line num="28" count="
|
|
195
|
+
<line num="28" count="7" type="cond" truecount="4" falsecount="0"/>
|
|
72
196
|
<line num="29" count="1" type="stmt"/>
|
|
73
197
|
<line num="34" count="1" type="stmt"/>
|
|
74
|
-
<line num="35" count="
|
|
198
|
+
<line num="35" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
75
199
|
<line num="36" count="1" type="stmt"/>
|
|
76
200
|
<line num="41" count="1" type="stmt"/>
|
|
77
|
-
<line num="45" count="
|
|
78
|
-
<line num="59" count="
|
|
79
|
-
<line num="60" count="
|
|
201
|
+
<line num="45" count="5" type="stmt"/>
|
|
202
|
+
<line num="59" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
203
|
+
<line num="60" count="3" type="stmt"/>
|
|
80
204
|
<line num="62" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
81
205
|
<line num="63" count="3" type="stmt"/>
|
|
82
206
|
<line num="65" count="1" type="stmt"/>
|
|
83
|
-
<line num="83" count="
|
|
84
|
-
<line num="84" count="
|
|
207
|
+
<line num="83" count="4" type="stmt"/>
|
|
208
|
+
<line num="84" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
85
209
|
<line num="85" count="0" type="stmt"/>
|
|
86
|
-
<line num="88" count="
|
|
87
|
-
<line num="93" count="
|
|
88
|
-
<line num="94" count="
|
|
210
|
+
<line num="88" count="4" type="stmt"/>
|
|
211
|
+
<line num="93" count="4" type="stmt"/>
|
|
212
|
+
<line num="94" count="6" type="stmt"/>
|
|
89
213
|
</file>
|
|
90
214
|
<file name="metro.ts" path="/home/runner/work/rnx-kit/rnx-kit/packages/cli/src/bundle/metro.ts">
|
|
91
215
|
<metrics statements="16" coveredstatements="8" conditionals="16" coveredconditionals="9" methods="2" coveredmethods="1"/>
|