@kya-os/create-mcpi-app 1.7.36 → 1.7.37

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.
@@ -1,87 +0,0 @@
1
- /* eslint-disable */
2
- var jumpToCode = (function init() {
3
- // Classes of code we would like to highlight in the file view
4
- var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
5
-
6
- // Elements to highlight in the file listing view
7
- var fileListingElements = ['td.pct.low'];
8
-
9
- // We don't want to select elements that are direct descendants of another match
10
- var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
11
-
12
- // Selector that finds elements on the page to which we can jump
13
- var selector =
14
- fileListingElements.join(', ') +
15
- ', ' +
16
- notSelector +
17
- missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
18
-
19
- // The NodeList of matching elements
20
- var missingCoverageElements = document.querySelectorAll(selector);
21
-
22
- var currentIndex;
23
-
24
- function toggleClass(index) {
25
- missingCoverageElements
26
- .item(currentIndex)
27
- .classList.remove('highlighted');
28
- missingCoverageElements.item(index).classList.add('highlighted');
29
- }
30
-
31
- function makeCurrent(index) {
32
- toggleClass(index);
33
- currentIndex = index;
34
- missingCoverageElements.item(index).scrollIntoView({
35
- behavior: 'smooth',
36
- block: 'center',
37
- inline: 'center'
38
- });
39
- }
40
-
41
- function goToPrevious() {
42
- var nextIndex = 0;
43
- if (typeof currentIndex !== 'number' || currentIndex === 0) {
44
- nextIndex = missingCoverageElements.length - 1;
45
- } else if (missingCoverageElements.length > 1) {
46
- nextIndex = currentIndex - 1;
47
- }
48
-
49
- makeCurrent(nextIndex);
50
- }
51
-
52
- function goToNext() {
53
- var nextIndex = 0;
54
-
55
- if (
56
- typeof currentIndex === 'number' &&
57
- currentIndex < missingCoverageElements.length - 1
58
- ) {
59
- nextIndex = currentIndex + 1;
60
- }
61
-
62
- makeCurrent(nextIndex);
63
- }
64
-
65
- return function jump(event) {
66
- if (
67
- document.getElementById('fileSearch') === document.activeElement &&
68
- document.activeElement != null
69
- ) {
70
- // if we're currently focused on the search input, we don't want to navigate
71
- return;
72
- }
73
-
74
- switch (event.which) {
75
- case 78: // n
76
- case 74: // j
77
- goToNext();
78
- break;
79
- case 66: // b
80
- case 75: // k
81
- case 80: // p
82
- goToPrevious();
83
- break;
84
- }
85
- };
86
- })();
87
- window.addEventListener('keydown', jumpToCode);
@@ -1,268 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1762202012035" clover="3.2.0">
3
- <project timestamp="1762202012035" name="All files">
4
- <metrics statements="244" coveredstatements="231" conditionals="168" coveredconditionals="153" methods="16" coveredmethods="16" elements="428" coveredelements="400" complexity="0" loc="244" ncloc="244" packages="1" files="6" classes="6"/>
5
- <file name="config-builder.ts" path="/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/helpers/config-builder.ts">
6
- <metrics statements="10" coveredstatements="10" conditionals="23" coveredconditionals="23" methods="2" coveredmethods="2"/>
7
- <line num="67" count="11" type="cond" truecount="3" falsecount="0"/>
8
- <line num="68" count="11" type="stmt"/>
9
- <line num="70" count="11" type="stmt"/>
10
- <line num="125" count="11" type="stmt"/>
11
- <line num="141" count="6" type="stmt"/>
12
- <line num="144" count="6" type="cond" truecount="4" falsecount="0"/>
13
- <line num="145" count="4" type="stmt"/>
14
- <line num="157" count="4" type="cond" truecount="2" falsecount="0"/>
15
- <line num="158" count="3" type="stmt"/>
16
- <line num="163" count="3" type="stmt"/>
17
- </file>
18
- <file name="fetch-cloudflare-mcpi-template.ts" path="/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/helpers/fetch-cloudflare-mcpi-template.ts">
19
- <metrics statements="128" coveredstatements="115" conditionals="96" coveredconditionals="81" methods="1" coveredmethods="1"/>
20
- <line num="28" count="46" type="stmt"/>
21
- <line num="31" count="46" type="stmt"/>
22
- <line num="35" count="46" type="stmt"/>
23
- <line num="37" count="46" type="stmt"/>
24
- <line num="38" count="46" type="stmt"/>
25
- <line num="41" count="46" type="stmt"/>
26
- <line num="99" count="46" type="stmt"/>
27
- <line num="100" count="46" type="stmt"/>
28
- <line num="105" count="46" type="stmt"/>
29
- <line num="106" count="46" type="stmt"/>
30
- <line num="107" count="46" type="stmt"/>
31
- <line num="110" count="46" type="stmt"/>
32
- <line num="111" count="46" type="stmt"/>
33
- <line num="114" count="46" type="stmt"/>
34
- <line num="449" count="46" type="stmt"/>
35
- <line num="452" count="46" type="cond" truecount="2" falsecount="0"/>
36
- <line num="453" count="42" type="stmt"/>
37
- <line num="457" count="42" type="stmt"/>
38
- <line num="458" count="42" type="stmt"/>
39
- <line num="461" count="42" type="stmt"/>
40
- <line num="545" count="42" type="stmt"/>
41
- <line num="551" count="42" type="stmt"/>
42
- <line num="633" count="42" type="stmt"/>
43
- <line num="639" count="42" type="stmt"/>
44
- <line num="701" count="42" type="stmt"/>
45
- <line num="707" count="42" type="stmt"/>
46
- <line num="738" count="42" type="stmt"/>
47
- <line num="744" count="42" type="stmt"/>
48
- <line num="789" count="42" type="stmt"/>
49
- <line num="792" count="42" type="stmt"/>
50
- <line num="889" count="42" type="stmt"/>
51
- <line num="895" count="42" type="stmt"/>
52
- <line num="1714" count="42" type="stmt"/>
53
- <line num="1717" count="42" type="stmt"/>
54
- <line num="1821" count="46" type="stmt"/>
55
- <line num="1824" count="46" type="cond" truecount="2" falsecount="0"/>
56
- <line num="1825" count="39" type="stmt"/>
57
- <line num="1827" count="39" type="stmt"/>
58
- <line num="1828" count="39" type="stmt"/>
59
- <line num="1831" count="39" type="stmt"/>
60
- <line num="1832" count="39" type="stmt"/>
61
- <line num="1836" count="39" type="stmt"/>
62
- <line num="1837" count="39" type="cond" truecount="1" falsecount="1"/>
63
- <line num="1838" count="39" type="stmt"/>
64
- <line num="1839" count="39" type="stmt"/>
65
- <line num="1862" count="39" type="cond" truecount="1" falsecount="1"/>
66
- <line num="1863" count="0" type="stmt"/>
67
- <line num="1868" count="39" type="cond" truecount="1" falsecount="1"/>
68
- <line num="1869" count="0" type="stmt"/>
69
- <line num="1876" count="39" type="cond" truecount="4" falsecount="0"/>
70
- <line num="1877" count="3" type="stmt"/>
71
- <line num="1884" count="39" type="cond" truecount="1" falsecount="1"/>
72
- <line num="1888" count="0" type="stmt"/>
73
- <line num="1895" count="39" type="cond" truecount="4" falsecount="0"/>
74
- <line num="1896" count="3" type="stmt"/>
75
- <line num="1904" count="39" type="stmt"/>
76
- <line num="1907" count="39" type="stmt"/>
77
- <line num="1910" count="39" type="stmt"/>
78
- <line num="1911" count="39" type="stmt"/>
79
- <line num="1914" count="39" type="stmt"/>
80
- <line num="1917" count="39" type="stmt"/>
81
- <line num="1923" count="39" type="stmt"/>
82
- <line num="1925" count="39" type="cond" truecount="1" falsecount="1"/>
83
- <line num="1930" count="0" type="stmt"/>
84
- <line num="1933" count="0" type="stmt"/>
85
- <line num="1936" count="0" type="stmt"/>
86
- <line num="1941" count="39" type="cond" truecount="1" falsecount="1"/>
87
- <line num="1942" count="0" type="stmt"/>
88
- <line num="1944" count="39" type="cond" truecount="1" falsecount="1"/>
89
- <line num="1945" count="0" type="stmt"/>
90
- <line num="1947" count="39" type="cond" truecount="1" falsecount="1"/>
91
- <line num="1948" count="0" type="stmt"/>
92
- <line num="1952" count="39" type="cond" truecount="1" falsecount="1"/>
93
- <line num="1959" count="39" type="cond" truecount="1" falsecount="2"/>
94
- <line num="1961" count="39" type="cond" truecount="1" falsecount="1"/>
95
- <line num="1962" count="39" type="stmt"/>
96
- <line num="1970" count="39" type="stmt"/>
97
- <line num="1973" count="39" type="stmt"/>
98
- <line num="1974" count="39" type="stmt"/>
99
- <line num="1995" count="39" type="stmt"/>
100
- <line num="1998" count="39" type="stmt"/>
101
- <line num="2002" count="39" type="stmt"/>
102
- <line num="2015" count="39" type="stmt"/>
103
- <line num="2017" count="39" type="stmt"/>
104
- <line num="2018" count="39" type="stmt"/>
105
- <line num="2019" count="39" type="stmt"/>
106
- <line num="2020" count="39" type="stmt"/>
107
- <line num="2023" count="39" type="stmt"/>
108
- <line num="2026" count="39" type="stmt"/>
109
- <line num="2027" count="39" type="stmt"/>
110
- <line num="2028" count="39" type="stmt"/>
111
- <line num="2029" count="39" type="stmt"/>
112
- <line num="2032" count="39" type="stmt"/>
113
- <line num="2035" count="39" type="stmt"/>
114
- <line num="2038" count="39" type="stmt"/>
115
- <line num="2041" count="39" type="stmt"/>
116
- <line num="2044" count="0" type="stmt"/>
117
- <line num="2048" count="0" type="stmt"/>
118
- <line num="2049" count="0" type="stmt"/>
119
- <line num="2052" count="0" type="stmt"/>
120
- <line num="2057" count="42" type="stmt"/>
121
- <line num="2073" count="42" type="stmt"/>
122
- <line num="2078" count="42" type="stmt"/>
123
- <line num="2086" count="42" type="stmt"/>
124
- <line num="2089" count="42" type="stmt"/>
125
- <line num="2373" count="46" type="stmt"/>
126
- <line num="2375" count="46" type="stmt"/>
127
- <line num="2376" count="46" type="stmt"/>
128
- <line num="2378" count="46" type="cond" truecount="2" falsecount="0"/>
129
- <line num="2379" count="3" type="stmt"/>
130
- <line num="2382" count="3" type="stmt"/>
131
- <line num="2385" count="3" type="stmt"/>
132
- <line num="2386" count="3" type="stmt"/>
133
- <line num="2388" count="39" type="stmt"/>
134
- <line num="2389" count="39" type="stmt"/>
135
- <line num="2394" count="39" type="stmt"/>
136
- <line num="2397" count="39" type="stmt"/>
137
- <line num="2400" count="42" type="stmt"/>
138
- <line num="2401" count="42" type="stmt"/>
139
- <line num="2402" count="42" type="stmt"/>
140
- <line num="2403" count="42" type="stmt"/>
141
- <line num="2404" count="42" type="stmt"/>
142
- <line num="2405" count="42" type="stmt"/>
143
- <line num="2408" count="42" type="stmt"/>
144
- <line num="2409" count="42" type="stmt"/>
145
- <line num="2412" count="42" type="stmt"/>
146
- <line num="2414" count="4" type="stmt"/>
147
- <line num="2418" count="4" type="stmt"/>
148
- </file>
149
- <file name="generate-config.ts" path="/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/helpers/generate-config.ts">
150
- <metrics statements="18" coveredstatements="18" conditionals="7" coveredconditionals="7" methods="2" coveredmethods="2"/>
151
- <line num="10" count="25" type="stmt"/>
152
- <line num="11" count="25" type="stmt"/>
153
- <line num="13" count="25" type="stmt"/>
154
- <line num="22" count="25" type="cond" truecount="2" falsecount="0"/>
155
- <line num="23" count="24" type="stmt"/>
156
- <line num="32" count="25" type="cond" truecount="2" falsecount="0"/>
157
- <line num="33" count="2" type="stmt"/>
158
- <line num="39" count="25" type="cond" truecount="2" falsecount="0"/>
159
- <line num="40" count="22" type="stmt"/>
160
- <line num="46" count="25" type="stmt"/>
161
- <line num="52" count="25" type="stmt"/>
162
- <line num="54" count="25" type="stmt"/>
163
- <line num="55" count="25" type="stmt"/>
164
- <line num="58" count="25" type="stmt"/>
165
- <line num="65" count="25" type="stmt"/>
166
- <line num="116" count="25" type="stmt"/>
167
- <line num="117" count="25" type="stmt"/>
168
- <line num="118" count="25" type="stmt"/>
169
- </file>
170
- <file name="generate-identity.ts" path="/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/helpers/generate-identity.ts">
171
- <metrics statements="25" coveredstatements="25" conditionals="2" coveredconditionals="2" methods="6" coveredmethods="6"/>
172
- <line num="38" count="72" type="stmt"/>
173
- <line num="47" count="72" type="stmt"/>
174
- <line num="48" count="72" type="stmt"/>
175
- <line num="52" count="72" type="stmt"/>
176
- <line num="53" count="72" type="stmt"/>
177
- <line num="56" count="72" type="stmt"/>
178
- <line num="57" count="72" type="stmt"/>
179
- <line num="60" count="72" type="stmt"/>
180
- <line num="63" count="72" type="stmt"/>
181
- <line num="86" count="72" type="stmt"/>
182
- <line num="89" count="72" type="stmt"/>
183
- <line num="90" count="72" type="stmt"/>
184
- <line num="91" count="72" type="stmt"/>
185
- <line num="94" count="72" type="stmt"/>
186
- <line num="95" count="72" type="stmt"/>
187
- <line num="98" count="72" type="stmt"/>
188
- <line num="100" count="72" type="stmt"/>
189
- <line num="116" count="72" type="stmt"/>
190
- <line num="130" count="72" type="stmt"/>
191
- <line num="135" count="72" type="stmt"/>
192
- <line num="146" count="16" type="stmt"/>
193
- <line num="147" count="16" type="stmt"/>
194
- <line num="157" count="5" type="cond" truecount="2" falsecount="0"/>
195
- <line num="158" count="3" type="stmt"/>
196
- <line num="162" count="2" type="stmt"/>
197
- </file>
198
- <file name="install.ts" path="/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/helpers/install.ts">
199
- <metrics statements="23" coveredstatements="23" conditionals="14" coveredconditionals="14" methods="3" coveredmethods="3"/>
200
- <line num="9" count="6" type="cond" truecount="2" falsecount="0"/>
201
- <line num="10" count="2" type="stmt"/>
202
- <line num="12" count="4" type="cond" truecount="2" falsecount="0"/>
203
- <line num="13" count="2" type="stmt"/>
204
- <line num="15" count="2" type="cond" truecount="2" falsecount="0"/>
205
- <line num="16" count="1" type="stmt"/>
206
- <line num="18" count="1" type="stmt"/>
207
- <line num="26" count="14" type="stmt"/>
208
- <line num="29" count="14" type="cond" truecount="2" falsecount="0"/>
209
- <line num="35" count="14" type="stmt"/>
210
- <line num="36" count="14" type="stmt"/>
211
- <line num="42" count="14" type="stmt"/>
212
- <line num="44" count="4" type="stmt"/>
213
- <line num="45" count="4" type="stmt"/>
214
- <line num="50" count="10" type="stmt"/>
215
- <line num="56" count="10" type="stmt"/>
216
- <line num="59" count="10" type="cond" truecount="2" falsecount="0"/>
217
- <line num="60" count="1" type="stmt"/>
218
- <line num="63" count="1" type="stmt"/>
219
- <line num="66" count="9" type="stmt"/>
220
- <line num="68" count="9" type="cond" truecount="2" falsecount="0"/>
221
- <line num="69" count="7" type="stmt"/>
222
- <line num="75" count="2" type="stmt"/>
223
- </file>
224
- <file name="validate-project-structure.ts" path="/Users/dylanhobbs/Documents/@kya-os/xmcp-i/packages/create-mcpi-app/src/helpers/validate-project-structure.ts">
225
- <metrics statements="40" coveredstatements="40" conditionals="26" coveredconditionals="26" methods="2" coveredmethods="2"/>
226
- <line num="17" count="18" type="stmt"/>
227
- <line num="20" count="18" type="stmt"/>
228
- <line num="21" count="18" type="cond" truecount="2" falsecount="0"/>
229
- <line num="22" count="17" type="stmt"/>
230
- <line num="23" count="17" type="cond" truecount="2" falsecount="0"/>
231
- <line num="24" count="17" type="stmt"/>
232
- <line num="26" count="17" type="cond" truecount="2" falsecount="0"/>
233
- <line num="28" count="8" type="cond" truecount="2" falsecount="0"/>
234
- <line num="29" count="5" type="stmt"/>
235
- <line num="34" count="8" type="stmt"/>
236
- <line num="45" count="8" type="stmt"/>
237
- <line num="46" count="64" type="cond" truecount="2" falsecount="0"/>
238
- <line num="47" count="30" type="stmt"/>
239
- <line num="52" count="9" type="cond" truecount="2" falsecount="0"/>
240
- <line num="53" count="1" type="stmt"/>
241
- <line num="58" count="9" type="stmt"/>
242
- <line num="59" count="9" type="stmt"/>
243
- <line num="60" count="27" type="cond" truecount="2" falsecount="0"/>
244
- <line num="61" count="2" type="stmt"/>
245
- <line num="66" count="1" type="stmt"/>
246
- <line num="70" count="18" type="stmt"/>
247
- <line num="76" count="18" type="stmt"/>
248
- <line num="77" count="54" type="cond" truecount="2" falsecount="0"/>
249
- <line num="78" count="30" type="stmt"/>
250
- <line num="83" count="18" type="cond" truecount="2" falsecount="0"/>
251
- <line num="84" count="9" type="stmt"/>
252
- <line num="85" count="9" type="cond" truecount="2" falsecount="0"/>
253
- <line num="86" count="3" type="stmt"/>
254
- <line num="87" count="3" type="cond" truecount="2" falsecount="0"/>
255
- <line num="88" count="1" type="stmt"/>
256
- <line num="93" count="18" type="stmt"/>
257
- <line num="106" count="5" type="stmt"/>
258
- <line num="112" count="5" type="stmt"/>
259
- <line num="113" count="5" type="cond" truecount="2" falsecount="0"/>
260
- <line num="114" count="1" type="stmt"/>
261
- <line num="115" count="1" type="stmt"/>
262
- <line num="118" count="4" type="stmt"/>
263
- <line num="122" count="4" type="cond" truecount="2" falsecount="0"/>
264
- <line num="123" count="3" type="stmt"/>
265
- <line num="125" count="1" type="stmt"/>
266
- </file>
267
- </project>
268
- </coverage>