Skip to content

Commit

Permalink
Merge pull request #20 from beezen/dev
Browse files Browse the repository at this point in the history
feat: 添加 docs 文档站点
  • Loading branch information
beezen authored Jan 9, 2024
2 parents 85a3407 + 634a785 commit 9c69171
Show file tree
Hide file tree
Showing 17 changed files with 211 additions and 144 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.8.8](https://github.com/beezen/nucm/compare/v1.8.7...v1.8.8) (2024-01-09)


### Bug Fixes

* 优化 update 安装时包管理器调用逻辑 ([648ca44](https://github.com/beezen/nucm/commit/648ca4432a2f94ae7d690fc32f861279e82637ce))

### [1.8.7](https://github.com/beezen/nucm/compare/v1.8.6...v1.8.7) (2023-10-31)


Expand Down
58 changes: 31 additions & 27 deletions coverage/clover.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1704261161194" clover="3.2.0">
<project timestamp="1704261161194" name="All files">
<metrics statements="122" coveredstatements="112" conditionals="66" coveredconditionals="50" methods="18" coveredmethods="18" elements="206" coveredelements="180" complexity="0" loc="122" ncloc="122" packages="4" files="5" classes="5"/>
<coverage generated="1704765480213" clover="3.2.0">
<project timestamp="1704765480213" name="All files">
<metrics statements="126" coveredstatements="112" conditionals="68" coveredconditionals="50" methods="19" coveredmethods="18" elements="213" coveredelements="180" complexity="0" loc="126" ncloc="126" packages="4" files="5" classes="5"/>
<package name="actions">
<metrics statements="55" coveredstatements="50" conditionals="27" coveredconditionals="18" methods="8" coveredmethods="8"/>
<file name="base.js" path="/Users/beezen/mine/github/nucm/src/actions/base.js">
Expand All @@ -10,18 +10,18 @@
<line num="10" count="2" type="stmt"/>
<line num="11" count="2" type="stmt"/>
<line num="12" count="2" type="cond" truecount="0" falsecount="1"/>
<line num="13" count="4" type="stmt"/>
<line num="13" count="3" type="stmt"/>
<line num="15" count="8" type="cond" truecount="1" falsecount="1"/>
<line num="18" count="8" type="cond" truecount="2" falsecount="0"/>
<line num="19" count="4" type="stmt"/>
<line num="21" count="4" type="stmt"/>
<line num="19" count="3" type="stmt"/>
<line num="21" count="5" type="stmt"/>
<line num="25" count="2" type="stmt"/>
<line num="26" count="2" type="stmt"/>
<line num="29" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="30" count="1" type="stmt"/>
<line num="31" count="1" type="stmt"/>
<line num="34" count="3" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="3" type="stmt"/>
<line num="34" count="2" type="cond" truecount="2" falsecount="0"/>
<line num="37" count="2" type="stmt"/>
<line num="40" count="1" type="stmt"/>
<line num="42" count="1" type="stmt"/>
<line num="43" count="1" type="stmt"/>
Expand All @@ -36,7 +36,7 @@
<line num="57" count="0" type="stmt"/>
<line num="59" count="2" type="stmt"/>
<line num="61" count="2" type="stmt"/>
<line num="62" count="4" type="cond" truecount="2" falsecount="0"/>
<line num="62" count="6" type="cond" truecount="2" falsecount="0"/>
<line num="63" count="1" type="stmt"/>
<line num="66" count="2" type="stmt"/>
<line num="67" count="2" type="stmt"/>
Expand Down Expand Up @@ -127,28 +127,32 @@
</file>
</package>
<package name="utils">
<metrics statements="19" coveredstatements="19" conditionals="8" coveredconditionals="8" methods="3" coveredmethods="3"/>
<metrics statements="23" coveredstatements="19" conditionals="10" coveredconditionals="8" methods="4" coveredmethods="3"/>
<file name="index.js" path="/Users/beezen/mine/github/nucm/src/utils/index.js">
<metrics statements="19" coveredstatements="19" conditionals="8" coveredconditionals="8" methods="3" coveredmethods="3"/>
<line num="8" count="11" type="stmt"/>
<line num="17" count="11" type="cond" truecount="2" falsecount="0"/>
<line num="18" count="10" type="cond" truecount="2" falsecount="0"/>
<line num="19" count="8" type="stmt"/>
<line num="29" count="7" type="stmt"/>
<metrics statements="23" coveredstatements="19" conditionals="10" coveredconditionals="8" methods="4" coveredmethods="3"/>
<line num="9" count="11" type="stmt"/>
<line num="18" count="11" type="cond" truecount="2" falsecount="0"/>
<line num="19" count="10" type="cond" truecount="2" falsecount="0"/>
<line num="20" count="8" type="stmt"/>
<line num="30" count="7" type="stmt"/>
<line num="31" count="7" type="stmt"/>
<line num="33" count="7" type="stmt"/>
<line num="34" count="1" type="stmt"/>
<line num="36" count="7" type="stmt"/>
<line num="37" count="3" type="stmt"/>
<line num="40" count="7" type="stmt"/>
<line num="41" count="16" type="stmt"/>
<line num="32" count="7" type="stmt"/>
<line num="34" count="7" type="stmt"/>
<line num="35" count="1" type="stmt"/>
<line num="37" count="7" type="stmt"/>
<line num="38" count="3" type="stmt"/>
<line num="41" count="7" type="stmt"/>
<line num="42" count="16" type="stmt"/>
<line num="44" count="16" type="cond" truecount="2" falsecount="0"/>
<line num="45" count="3" type="stmt"/>
<line num="46" count="13" type="cond" truecount="2" falsecount="0"/>
<line num="47" count="2" type="stmt"/>
<line num="50" count="2" type="stmt"/>
<line num="43" count="16" type="stmt"/>
<line num="45" count="16" type="cond" truecount="2" falsecount="0"/>
<line num="46" count="3" type="stmt"/>
<line num="47" count="13" type="cond" truecount="2" falsecount="0"/>
<line num="48" count="2" type="stmt"/>
<line num="51" count="2" type="stmt"/>
<line num="57" count="0" type="stmt"/>
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
<line num="59" count="0" type="stmt"/>
<line num="61" count="0" type="stmt"/>
</file>
</package>
</project>
Expand Down
4 changes: 2 additions & 2 deletions coverage/coverage-final.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions coverage/lcov-report/actions/base.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,15 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">actions</a> bas
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">8x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">5x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand All @@ -196,10 +196,10 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">actions</a> bas
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">3x</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1x</span>
Expand All @@ -224,7 +224,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">actions</a> bas
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">2x</span>
<span class="cline-any cline-yes">4x</span>
<span class="cline-any cline-yes">6x</span>
<span class="cline-any cline-yes">1x</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
Expand Down Expand Up @@ -370,7 +370,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">actions</a> bas
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/actions/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> actions</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/common/env.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">common</a> env.
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/common/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ <h1><a href="../index.html">All files</a> common</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/common/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">common</a> inde
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
38 changes: 19 additions & 19 deletions coverage/lcov-report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1>All files</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">89.92% </span>
<span class="strong">87.21% </span>
<span class="quiet">Statements</span>
<span class='fraction'>116/129</span>
<span class='fraction'>116/133</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">75.75% </span>
<span class="strong">73.52% </span>
<span class="quiet">Branches</span>
<span class='fraction'>50/66</span>
<span class='fraction'>50/68</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="strong">94.73% </span>
<span class="quiet">Functions</span>
<span class='fraction'>18/18</span>
<span class='fraction'>18/19</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">91.8% </span>
<span class="strong">88.88% </span>
<span class="quiet">Lines</span>
<span class='fraction'>112/122</span>
<span class='fraction'>112/126</span>
</div>


Expand Down Expand Up @@ -125,17 +125,17 @@ <h1>All files</h1>

<tr>
<td class="file high" data-value="utils"><a href="utils/index.html">utils</a></td>
<td data-value="100" class="pic high">
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
<td data-value="84.61" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 84%"></div><div class="cover-empty" style="width: 16%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="22" class="abs high">22/22</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="8" class="abs high">8/8</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="19" class="abs high">19/19</td>
<td data-value="84.61" class="pct high">84.61%</td>
<td data-value="26" class="abs high">22/26</td>
<td data-value="80" class="pct high">80%</td>
<td data-value="10" class="abs high">8/10</td>
<td data-value="75" class="pct medium">75%</td>
<td data-value="4" class="abs medium">3/4</td>
<td data-value="82.6" class="pct high">82.6%</td>
<td data-value="23" class="abs high">19/23</td>
</tr>

</tbody>
Expand All @@ -146,7 +146,7 @@ <h1>All files</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/lang/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> lang</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
2 changes: 1 addition & 1 deletion coverage/lcov-report/lang/index.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ <h1><a href="../index.html">All files</a> / <a href="index.html">lang</a> index.
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
38 changes: 19 additions & 19 deletions coverage/lcov-report/utils/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,30 @@ <h1><a href="../index.html">All files</a> utils</h1>
<div class='clearfix'>

<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="strong">84.61% </span>
<span class="quiet">Statements</span>
<span class='fraction'>22/22</span>
<span class='fraction'>22/26</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="strong">80% </span>
<span class="quiet">Branches</span>
<span class='fraction'>8/8</span>
<span class='fraction'>8/10</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="strong">75% </span>
<span class="quiet">Functions</span>
<span class='fraction'>3/3</span>
<span class='fraction'>3/4</span>
</div>


<div class='fl pad1y space-right2'>
<span class="strong">100% </span>
<span class="strong">82.6% </span>
<span class="quiet">Lines</span>
<span class='fraction'>19/19</span>
<span class='fraction'>19/23</span>
</div>


Expand Down Expand Up @@ -80,17 +80,17 @@ <h1><a href="../index.html">All files</a> utils</h1>
</thead>
<tbody><tr>
<td class="file high" data-value="index.js"><a href="index.js.html">index.js</a></td>
<td data-value="100" class="pic high">
<div class="chart"><div class="cover-fill cover-full" style="width: 100%"></div><div class="cover-empty" style="width: 0%"></div></div>
<td data-value="84.61" class="pic high">
<div class="chart"><div class="cover-fill" style="width: 84%"></div><div class="cover-empty" style="width: 16%"></div></div>
</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="22" class="abs high">22/22</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="8" class="abs high">8/8</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="3" class="abs high">3/3</td>
<td data-value="100" class="pct high">100%</td>
<td data-value="19" class="abs high">19/19</td>
<td data-value="84.61" class="pct high">84.61%</td>
<td data-value="26" class="abs high">22/26</td>
<td data-value="80" class="pct high">80%</td>
<td data-value="10" class="abs high">8/10</td>
<td data-value="75" class="pct medium">75%</td>
<td data-value="4" class="abs medium">3/4</td>
<td data-value="82.6" class="pct high">82.6%</td>
<td data-value="23" class="abs high">19/23</td>
</tr>

</tbody>
Expand All @@ -101,7 +101,7 @@ <h1><a href="../index.html">All files</a> utils</h1>
<div class='footer quiet pad2 space-top1 center small'>
Code coverage generated by
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
at 2024-01-03T05:52:41.172Z
at 2024-01-09T01:58:00.177Z
</div>
<script src="../prettify.js"></script>
<script>
Expand Down
Loading

0 comments on commit 9c69171

Please sign in to comment.